From e069024049b33d329235af9434c8ac5e3a39f943 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 30 Jul 2008 00:27:57 +0000 Subject: [PATCH] Model generated for 352a --- .../org/compiere/model/I_AD_AccessLog.java | 16 +- base/src/org/compiere/model/I_AD_Alert.java | 42 +- .../compiere/model/I_AD_AlertProcessor.java | 16 +- .../model/I_AD_AlertProcessorLog.java | 42 +- .../compiere/model/I_AD_AlertRecipient.java | 42 +- .../org/compiere/model/I_AD_AlertRule.java | 42 +- base/src/org/compiere/model/I_AD_Archive.java | 16 +- .../org/compiere/model/I_AD_Attachment.java | 16 +- .../compiere/model/I_AD_AttachmentNote.java | 42 +- .../org/compiere/model/I_AD_Attribute.java | 46 +- .../compiere/model/I_AD_Attribute_Value.java | 16 +- .../org/compiere/model/I_AD_ChangeLog.java | 16 +- base/src/org/compiere/model/I_AD_Client.java | 16 +- .../org/compiere/model/I_AD_ClientInfo.java | 16 +- .../org/compiere/model/I_AD_ClientShare.java | 16 +- base/src/org/compiere/model/I_AD_Color.java | 16 +- base/src/org/compiere/model/I_AD_Column.java | 62 +- .../compiere/model/I_AD_Column_Access.java | 16 +- base/src/org/compiere/model/I_AD_Desktop.java | 16 +- .../compiere/model/I_AD_DesktopWorkbench.java | 34 +- .../model/I_AD_Document_Action_Access.java | 16 +- base/src/org/compiere/model/I_AD_Element.java | 16 +- .../org/compiere/model/I_AD_EntityType.java | 16 +- base/src/org/compiere/model/I_AD_Error.java | 16 +- base/src/org/compiere/model/I_AD_Field.java | 16 +- .../org/compiere/model/I_AD_FieldGroup.java | 16 +- base/src/org/compiere/model/I_AD_Find.java | 16 +- base/src/org/compiere/model/I_AD_Form.java | 42 +- .../org/compiere/model/I_AD_Form_Access.java | 16 +- base/src/org/compiere/model/I_AD_Image.java | 16 +- .../org/compiere/model/I_AD_ImpFormat.java | 16 +- .../compiere/model/I_AD_ImpFormat_Row.java | 16 +- .../org/compiere/model/I_AD_InfoColumn.java | 16 +- .../org/compiere/model/I_AD_InfoWindow.java | 16 +- base/src/org/compiere/model/I_AD_Issue.java | 248 ++-- .../org/compiere/model/I_AD_LabelPrinter.java | 16 +- .../model/I_AD_LabelPrinterFunction.java | 16 +- .../src/org/compiere/model/I_AD_Language.java | 16 +- .../org/compiere/model/I_AD_LdapAccess.java | 16 +- .../compiere/model/I_AD_LdapProcessor.java | 16 +- .../compiere/model/I_AD_LdapProcessorLog.java | 42 +- base/src/org/compiere/model/I_AD_Menu.java | 42 +- base/src/org/compiere/model/I_AD_Message.java | 16 +- .../compiere/model/I_AD_MigrationScript.java | 34 +- .../compiere/model/I_AD_ModelValidator.java | 16 +- .../org/compiere/model/I_AD_Modification.java | 16 +- base/src/org/compiere/model/I_AD_Note.java | 16 +- base/src/org/compiere/model/I_AD_Org.java | 16 +- base/src/org/compiere/model/I_AD_OrgInfo.java | 16 +- base/src/org/compiere/model/I_AD_OrgType.java | 16 +- .../org/compiere/model/I_AD_PInstance.java | 16 +- .../compiere/model/I_AD_PInstance_Log.java | 16 +- .../compiere/model/I_AD_PInstance_Para.java | 34 +- .../org/compiere/model/I_AD_Package_Exp.java | 16 +- .../model/I_AD_Package_Exp_Common.java | 34 +- .../model/I_AD_Package_Exp_Detail.java | 34 +- .../org/compiere/model/I_AD_Package_Imp.java | 16 +- .../model/I_AD_Package_Imp_Backup.java | 16 +- .../model/I_AD_Package_Imp_Detail.java | 60 +- .../compiere/model/I_AD_Package_Imp_Inst.java | 16 +- .../compiere/model/I_AD_Package_Imp_Proc.java | 16 +- .../org/compiere/model/I_AD_Preference.java | 16 +- .../org/compiere/model/I_AD_PrintColor.java | 16 +- .../org/compiere/model/I_AD_PrintFont.java | 16 +- .../org/compiere/model/I_AD_PrintForm.java | 50 +- .../org/compiere/model/I_AD_PrintFormat.java | 16 +- .../compiere/model/I_AD_PrintFormatItem.java | 42 +- .../org/compiere/model/I_AD_PrintGraph.java | 42 +- .../org/compiere/model/I_AD_PrintLabel.java | 16 +- .../compiere/model/I_AD_PrintLabelLine.java | 42 +- .../org/compiere/model/I_AD_PrintPaper.java | 16 +- .../compiere/model/I_AD_PrintTableFormat.java | 94 +- .../compiere/model/I_AD_Private_Access.java | 16 +- base/src/org/compiere/model/I_AD_Process.java | 42 +- .../compiere/model/I_AD_Process_Access.java | 16 +- .../org/compiere/model/I_AD_Process_Para.java | 46 +- .../compiere/model/I_AD_Record_Access.java | 16 +- .../src/org/compiere/model/I_AD_Ref_List.java | 42 +- .../org/compiere/model/I_AD_Ref_Table.java | 16 +- .../org/compiere/model/I_AD_Reference.java | 42 +- .../org/compiere/model/I_AD_Registration.java | 16 +- .../org/compiere/model/I_AD_Replication.java | 42 +- .../model/I_AD_ReplicationDocument.java | 16 +- .../model/I_AD_ReplicationStrategy.java | 38 +- .../compiere/model/I_AD_ReplicationTable.java | 16 +- .../compiere/model/I_AD_Replication_Log.java | 46 +- .../compiere/model/I_AD_Replication_Run.java | 16 +- .../org/compiere/model/I_AD_ReportView.java | 16 +- .../compiere/model/I_AD_ReportView_Col.java | 16 +- base/src/org/compiere/model/I_AD_Role.java | 34 +- .../compiere/model/I_AD_Role_OrgAccess.java | 16 +- base/src/org/compiere/model/I_AD_Rule.java | 34 +- .../org/compiere/model/I_AD_Scheduler.java | 16 +- .../org/compiere/model/I_AD_SchedulerLog.java | 42 +- .../model/I_AD_SchedulerRecipient.java | 42 +- .../compiere/model/I_AD_Scheduler_Para.java | 16 +- .../src/org/compiere/model/I_AD_Sequence.java | 16 +- .../compiere/model/I_AD_Sequence_Audit.java | 16 +- .../org/compiere/model/I_AD_Sequence_No.java | 16 +- base/src/org/compiere/model/I_AD_Session.java | 16 +- .../org/compiere/model/I_AD_SysConfig.java | 16 +- base/src/org/compiere/model/I_AD_System.java | 34 +- base/src/org/compiere/model/I_AD_Tab.java | 46 +- base/src/org/compiere/model/I_AD_Table.java | 42 +- .../org/compiere/model/I_AD_Table_Access.java | 42 +- .../model/I_AD_Table_ScriptValidator.java | 16 +- base/src/org/compiere/model/I_AD_Task.java | 42 +- .../org/compiere/model/I_AD_TaskInstance.java | 34 +- .../org/compiere/model/I_AD_Task_Access.java | 16 +- base/src/org/compiere/model/I_AD_Tree.java | 16 +- base/src/org/compiere/model/I_AD_TreeBar.java | 16 +- .../src/org/compiere/model/I_AD_TreeNode.java | 16 +- .../org/compiere/model/I_AD_TreeNodeBP.java | 16 +- .../org/compiere/model/I_AD_TreeNodeCMC.java | 16 +- .../org/compiere/model/I_AD_TreeNodeCMM.java | 16 +- .../org/compiere/model/I_AD_TreeNodeCMS.java | 16 +- .../org/compiere/model/I_AD_TreeNodeCMT.java | 16 +- .../org/compiere/model/I_AD_TreeNodeMM.java | 16 +- .../org/compiere/model/I_AD_TreeNodePR.java | 16 +- .../org/compiere/model/I_AD_TreeNodeU1.java | 16 +- .../org/compiere/model/I_AD_TreeNodeU2.java | 16 +- .../org/compiere/model/I_AD_TreeNodeU3.java | 16 +- .../org/compiere/model/I_AD_TreeNodeU4.java | 16 +- base/src/org/compiere/model/I_AD_User.java | 45 +- .../org/compiere/model/I_AD_UserBPAccess.java | 16 +- .../compiere/model/I_AD_UserDef_Field.java | 16 +- .../org/compiere/model/I_AD_UserDef_Tab.java | 16 +- .../org/compiere/model/I_AD_UserDef_Win.java | 16 +- .../src/org/compiere/model/I_AD_UserMail.java | 42 +- .../org/compiere/model/I_AD_UserQuery.java | 42 +- .../compiere/model/I_AD_User_OrgAccess.java | 16 +- .../org/compiere/model/I_AD_User_Roles.java | 16 +- .../compiere/model/I_AD_User_Substitute.java | 16 +- .../src/org/compiere/model/I_AD_Val_Rule.java | 16 +- .../org/compiere/model/I_AD_WF_Activity.java | 16 +- .../model/I_AD_WF_ActivityResult.java | 42 +- .../src/org/compiere/model/I_AD_WF_Block.java | 16 +- .../compiere/model/I_AD_WF_EventAudit.java | 16 +- .../compiere/model/I_AD_WF_NextCondition.java | 16 +- base/src/org/compiere/model/I_AD_WF_Node.java | 98 +- .../org/compiere/model/I_AD_WF_NodeNext.java | 42 +- .../org/compiere/model/I_AD_WF_Node_Para.java | 16 +- .../org/compiere/model/I_AD_WF_Process.java | 16 +- .../compiere/model/I_AD_WF_ProcessData.java | 16 +- .../compiere/model/I_AD_WF_Responsible.java | 16 +- base/src/org/compiere/model/I_AD_Window.java | 42 +- .../compiere/model/I_AD_Window_Access.java | 16 +- .../org/compiere/model/I_AD_Workbench.java | 16 +- .../compiere/model/I_AD_WorkbenchWindow.java | 34 +- .../src/org/compiere/model/I_AD_Workflow.java | 132 +- .../model/I_AD_WorkflowProcessor.java | 16 +- .../model/I_AD_WorkflowProcessorLog.java | 42 +- .../compiere/model/I_AD_Workflow_Access.java | 16 +- .../compiere/model/I_ASP_ClientException.java | 16 +- .../org/compiere/model/I_ASP_ClientLevel.java | 16 +- base/src/org/compiere/model/I_ASP_Field.java | 16 +- base/src/org/compiere/model/I_ASP_Form.java | 16 +- base/src/org/compiere/model/I_ASP_Level.java | 16 +- base/src/org/compiere/model/I_ASP_Module.java | 16 +- .../src/org/compiere/model/I_ASP_Process.java | 16 +- .../compiere/model/I_ASP_Process_Para.java | 16 +- base/src/org/compiere/model/I_ASP_Tab.java | 34 +- base/src/org/compiere/model/I_ASP_Task.java | 16 +- base/src/org/compiere/model/I_ASP_Window.java | 16 +- .../org/compiere/model/I_ASP_Workflow.java | 16 +- base/src/org/compiere/model/I_A_Asset.java | 98 +- .../org/compiere/model/I_A_Asset_Acct.java | 16 +- .../compiere/model/I_A_Asset_Addition.java | 16 +- .../org/compiere/model/I_A_Asset_Change.java | 86 +- .../compiere/model/I_A_Asset_Delivery.java | 98 +- .../compiere/model/I_A_Asset_Disposed.java | 16 +- .../org/compiere/model/I_A_Asset_Group.java | 16 +- .../compiere/model/I_A_Asset_Group_Acct.java | 16 +- .../compiere/model/I_A_Asset_Info_Fin.java | 16 +- .../compiere/model/I_A_Asset_Info_Ins.java | 34 +- .../compiere/model/I_A_Asset_Info_Lic.java | 16 +- .../compiere/model/I_A_Asset_Info_Oth.java | 16 +- .../compiere/model/I_A_Asset_Info_Tax.java | 16 +- .../compiere/model/I_A_Asset_Retirement.java | 16 +- .../compiere/model/I_A_Asset_Reval_Entry.java | 34 +- .../compiere/model/I_A_Asset_Reval_Index.java | 16 +- .../org/compiere/model/I_A_Asset_Split.java | 16 +- .../org/compiere/model/I_A_Asset_Spread.java | 16 +- .../compiere/model/I_A_Asset_Transfer.java | 16 +- .../src/org/compiere/model/I_A_Asset_Use.java | 16 +- .../org/compiere/model/I_A_Depreciation.java | 16 +- .../model/I_A_Depreciation_Build.java | 16 +- .../model/I_A_Depreciation_Convention.java | 16 +- .../model/I_A_Depreciation_Entry.java | 16 +- .../compiere/model/I_A_Depreciation_Exp.java | 16 +- .../model/I_A_Depreciation_Forecast.java | 16 +- .../model/I_A_Depreciation_Method.java | 16 +- .../model/I_A_Depreciation_Table_Detail.java | 16 +- .../model/I_A_Depreciation_Table_Header.java | 16 +- .../model/I_A_Depreciation_Workfile.java | 16 +- .../org/compiere/model/I_A_Registration.java | 46 +- .../model/I_A_RegistrationAttribute.java | 16 +- .../model/I_A_RegistrationProduct.java | 16 +- .../compiere/model/I_A_RegistrationValue.java | 16 +- base/src/org/compiere/model/I_B_Bid.java | 16 +- .../org/compiere/model/I_B_BidComment.java | 16 +- base/src/org/compiere/model/I_B_Buyer.java | 16 +- .../org/compiere/model/I_B_BuyerFunds.java | 42 +- base/src/org/compiere/model/I_B_Offer.java | 16 +- base/src/org/compiere/model/I_B_Seller.java | 16 +- .../org/compiere/model/I_B_SellerFunds.java | 42 +- base/src/org/compiere/model/I_B_Topic.java | 42 +- .../org/compiere/model/I_B_TopicCategory.java | 16 +- .../src/org/compiere/model/I_B_TopicType.java | 42 +- .../compiere/model/I_CM_AccessContainer.java | 16 +- .../model/I_CM_AccessListBPGroup.java | 46 +- .../compiere/model/I_CM_AccessListRole.java | 16 +- .../org/compiere/model/I_CM_AccessMedia.java | 16 +- .../model/I_CM_AccessNewsChannel.java | 16 +- .../compiere/model/I_CM_AccessProfile.java | 16 +- .../org/compiere/model/I_CM_AccessStage.java | 16 +- base/src/org/compiere/model/I_CM_Ad.java | 42 +- base/src/org/compiere/model/I_CM_Ad_Cat.java | 16 +- .../compiere/model/I_CM_BroadcastServer.java | 16 +- base/src/org/compiere/model/I_CM_CStage.java | 42 +- .../org/compiere/model/I_CM_CStageTTable.java | 42 +- .../compiere/model/I_CM_CStage_Element.java | 16 +- base/src/org/compiere/model/I_CM_Chat.java | 42 +- .../org/compiere/model/I_CM_ChatEntry.java | 124 +- .../src/org/compiere/model/I_CM_ChatType.java | 16 +- .../compiere/model/I_CM_ChatTypeUpdate.java | 16 +- .../org/compiere/model/I_CM_ChatUpdate.java | 16 +- .../org/compiere/model/I_CM_Container.java | 42 +- .../compiere/model/I_CM_ContainerTTable.java | 42 +- .../model/I_CM_Container_Element.java | 16 +- .../compiere/model/I_CM_Container_URL.java | 42 +- base/src/org/compiere/model/I_CM_Media.java | 16 +- .../org/compiere/model/I_CM_MediaDeploy.java | 16 +- .../org/compiere/model/I_CM_Media_Server.java | 16 +- .../org/compiere/model/I_CM_NewsChannel.java | 16 +- .../src/org/compiere/model/I_CM_NewsItem.java | 16 +- .../src/org/compiere/model/I_CM_Template.java | 16 +- .../compiere/model/I_CM_TemplateTable.java | 42 +- .../compiere/model/I_CM_Template_Ad_Cat.java | 16 +- .../org/compiere/model/I_CM_WebAccessLog.java | 42 +- .../org/compiere/model/I_CM_WebProject.java | 16 +- .../model/I_CM_WebProject_Domain.java | 16 +- .../org/compiere/model/I_CM_WikiToken.java | 16 +- .../org/compiere/model/I_C_AcctProcessor.java | 16 +- .../compiere/model/I_C_AcctProcessorLog.java | 42 +- .../org/compiere/model/I_C_AcctSchema.java | 46 +- .../model/I_C_AcctSchema_Default.java | 260 ++-- .../model/I_C_AcctSchema_Element.java | 46 +- .../org/compiere/model/I_C_AcctSchema_GL.java | 42 +- base/src/org/compiere/model/I_C_Activity.java | 16 +- .../org/compiere/model/I_C_AllocationHdr.java | 16 +- .../compiere/model/I_C_AllocationLine.java | 16 +- .../compiere/model/I_C_BP_BankAccount.java | 112 +- .../compiere/model/I_C_BP_Customer_Acct.java | 16 +- base/src/org/compiere/model/I_C_BP_EDI.java | 42 +- .../compiere/model/I_C_BP_Employee_Acct.java | 16 +- base/src/org/compiere/model/I_C_BP_Group.java | 16 +- .../org/compiere/model/I_C_BP_Group_Acct.java | 16 +- .../org/compiere/model/I_C_BP_Relation.java | 94 +- .../compiere/model/I_C_BP_Vendor_Acct.java | 16 +- .../compiere/model/I_C_BP_Withholding.java | 16 +- base/src/org/compiere/model/I_C_BPartner.java | 308 ++-- .../compiere/model/I_C_BPartner_Location.java | 42 +- .../compiere/model/I_C_BPartner_Product.java | 42 +- base/src/org/compiere/model/I_C_Bank.java | 16 +- .../org/compiere/model/I_C_BankAccount.java | 42 +- .../compiere/model/I_C_BankAccountDoc.java | 16 +- .../compiere/model/I_C_BankAccount_Acct.java | 42 +- .../org/compiere/model/I_C_BankStatement.java | 16 +- .../compiere/model/I_C_BankStatementLine.java | 98 +- .../model/I_C_BankStatementLoader.java | 42 +- .../model/I_C_BankStatementMatcher.java | 16 +- base/src/org/compiere/model/I_C_Calendar.java | 16 +- base/src/org/compiere/model/I_C_Campaign.java | 16 +- base/src/org/compiere/model/I_C_Cash.java | 16 +- base/src/org/compiere/model/I_C_CashBook.java | 16 +- .../org/compiere/model/I_C_CashBook_Acct.java | 46 +- base/src/org/compiere/model/I_C_CashLine.java | 68 +- base/src/org/compiere/model/I_C_Channel.java | 16 +- base/src/org/compiere/model/I_C_Charge.java | 42 +- .../org/compiere/model/I_C_Charge_Acct.java | 16 +- base/src/org/compiere/model/I_C_City.java | 42 +- .../org/compiere/model/I_C_Commission.java | 16 +- .../org/compiere/model/I_C_CommissionAmt.java | 16 +- .../compiere/model/I_C_CommissionDetail.java | 42 +- .../compiere/model/I_C_CommissionLine.java | 88 +- .../org/compiere/model/I_C_CommissionRun.java | 42 +- .../compiere/model/I_C_ConversionType.java | 16 +- .../compiere/model/I_C_Conversion_Rate.java | 42 +- base/src/org/compiere/model/I_C_Country.java | 16 +- base/src/org/compiere/model/I_C_Currency.java | 42 +- .../org/compiere/model/I_C_Currency_Acct.java | 16 +- base/src/org/compiere/model/I_C_Cycle.java | 16 +- .../org/compiere/model/I_C_CyclePhase.java | 16 +- .../src/org/compiere/model/I_C_CycleStep.java | 42 +- base/src/org/compiere/model/I_C_DocType.java | 94 +- .../compiere/model/I_C_DocTypeCounter.java | 16 +- base/src/org/compiere/model/I_C_Dunning.java | 16 +- .../org/compiere/model/I_C_DunningLevel.java | 58 +- .../org/compiere/model/I_C_DunningRun.java | 16 +- .../compiere/model/I_C_DunningRunEntry.java | 16 +- .../compiere/model/I_C_DunningRunLine.java | 72 +- base/src/org/compiere/model/I_C_Element.java | 16 +- .../org/compiere/model/I_C_ElementValue.java | 42 +- base/src/org/compiere/model/I_C_Greeting.java | 16 +- .../org/compiere/model/I_C_InterOrg_Acct.java | 16 +- base/src/org/compiere/model/I_C_Invoice.java | 176 ++- .../org/compiere/model/I_C_InvoiceBatch.java | 16 +- .../compiere/model/I_C_InvoiceBatchLine.java | 62 +- .../org/compiere/model/I_C_InvoiceLine.java | 116 +- .../model/I_C_InvoicePaySchedule.java | 42 +- .../compiere/model/I_C_InvoiceSchedule.java | 16 +- .../org/compiere/model/I_C_InvoiceTax.java | 16 +- base/src/org/compiere/model/I_C_Job.java | 16 +- .../org/compiere/model/I_C_JobAssignment.java | 16 +- .../org/compiere/model/I_C_JobCategory.java | 16 +- .../compiere/model/I_C_JobRemuneration.java | 42 +- .../org/compiere/model/I_C_LandedCost.java | 46 +- .../model/I_C_LandedCostAllocation.java | 16 +- base/src/org/compiere/model/I_C_Location.java | 42 +- .../compiere/model/I_C_NonBusinessDay.java | 16 +- base/src/org/compiere/model/I_C_Order.java | 230 ++- .../src/org/compiere/model/I_C_OrderLine.java | 98 +- base/src/org/compiere/model/I_C_OrderTax.java | 16 +- .../org/compiere/model/I_C_OrgAssignment.java | 16 +- base/src/org/compiere/model/I_C_POS.java | 80 +- base/src/org/compiere/model/I_C_POSKey.java | 42 +- .../org/compiere/model/I_C_POSKeyLayout.java | 16 +- .../org/compiere/model/I_C_PaySchedule.java | 42 +- .../org/compiere/model/I_C_PaySelection.java | 16 +- .../compiere/model/I_C_PaySelectionCheck.java | 64 +- .../compiere/model/I_C_PaySelectionLine.java | 42 +- base/src/org/compiere/model/I_C_Payment.java | 242 ++-- .../compiere/model/I_C_PaymentAllocate.java | 16 +- .../org/compiere/model/I_C_PaymentBatch.java | 16 +- .../compiere/model/I_C_PaymentProcessor.java | 68 +- .../org/compiere/model/I_C_PaymentTerm.java | 42 +- base/src/org/compiere/model/I_C_Period.java | 16 +- .../org/compiere/model/I_C_PeriodControl.java | 16 +- base/src/org/compiere/model/I_C_Phase.java | 16 +- base/src/org/compiere/model/I_C_Project.java | 206 ++- .../org/compiere/model/I_C_ProjectIssue.java | 72 +- .../compiere/model/I_C_ProjectIssueMA.java | 16 +- .../org/compiere/model/I_C_ProjectLine.java | 114 +- .../org/compiere/model/I_C_ProjectPhase.java | 58 +- .../org/compiere/model/I_C_ProjectTask.java | 42 +- .../org/compiere/model/I_C_ProjectType.java | 16 +- .../org/compiere/model/I_C_Project_Acct.java | 16 +- .../src/org/compiere/model/I_C_Recurring.java | 16 +- .../org/compiere/model/I_C_Recurring_Run.java | 16 +- base/src/org/compiere/model/I_C_Region.java | 16 +- .../org/compiere/model/I_C_Remuneration.java | 16 +- .../model/I_C_RevenueRecognition.java | 16 +- .../model/I_C_RevenueRecognition_Plan.java | 16 +- .../model/I_C_RevenueRecognition_Run.java | 16 +- base/src/org/compiere/model/I_C_RfQ.java | 78 +- base/src/org/compiere/model/I_C_RfQLine.java | 42 +- .../org/compiere/model/I_C_RfQLineQty.java | 42 +- .../org/compiere/model/I_C_RfQResponse.java | 54 +- .../compiere/model/I_C_RfQResponseLine.java | 42 +- .../model/I_C_RfQResponseLineQty.java | 42 +- .../src/org/compiere/model/I_C_RfQ_Topic.java | 16 +- .../model/I_C_RfQ_TopicSubscriber.java | 42 +- .../model/I_C_RfQ_TopicSubscriberOnly.java | 42 +- .../org/compiere/model/I_C_SalesRegion.java | 16 +- .../org/compiere/model/I_C_ServiceLevel.java | 16 +- .../compiere/model/I_C_ServiceLevelLine.java | 42 +- base/src/org/compiere/model/I_C_SubAcct.java | 16 +- .../org/compiere/model/I_C_Subscription.java | 42 +- .../compiere/model/I_C_SubscriptionType.java | 16 +- .../model/I_C_Subscription_Delivery.java | 16 +- base/src/org/compiere/model/I_C_Task.java | 16 +- base/src/org/compiere/model/I_C_Tax.java | 16 +- .../org/compiere/model/I_C_TaxCategory.java | 42 +- .../compiere/model/I_C_TaxDeclaration.java | 16 +- .../model/I_C_TaxDeclarationAcct.java | 16 +- .../model/I_C_TaxDeclarationLine.java | 62 +- .../src/org/compiere/model/I_C_TaxPostal.java | 42 +- base/src/org/compiere/model/I_C_Tax_Acct.java | 16 +- base/src/org/compiere/model/I_C_UOM.java | 42 +- .../compiere/model/I_C_UOM_Conversion.java | 16 +- .../compiere/model/I_C_UserRemuneration.java | 16 +- .../compiere/model/I_C_ValidCombination.java | 120 +- .../org/compiere/model/I_C_Withholding.java | 16 +- .../compiere/model/I_C_Withholding_Acct.java | 16 +- base/src/org/compiere/model/I_C_Year.java | 16 +- base/src/org/compiere/model/I_Fact_Acct.java | 150 +- base/src/org/compiere/model/I_GL_Budget.java | 16 +- .../compiere/model/I_GL_BudgetControl.java | 16 +- .../src/org/compiere/model/I_GL_Category.java | 16 +- .../org/compiere/model/I_GL_Distribution.java | 42 +- .../compiere/model/I_GL_DistributionLine.java | 68 +- base/src/org/compiere/model/I_GL_Fund.java | 16 +- .../compiere/model/I_GL_FundRestriction.java | 42 +- base/src/org/compiere/model/I_GL_Journal.java | 42 +- .../org/compiere/model/I_GL_JournalBatch.java | 42 +- .../org/compiere/model/I_GL_JournalLine.java | 86 +- base/src/org/compiere/model/I_I_Asset.java | 42 +- base/src/org/compiere/model/I_I_BPartner.java | 154 +- .../org/compiere/model/I_I_BankStatement.java | 158 +- .../compiere/model/I_I_Conversion_Rate.java | 98 +- .../org/compiere/model/I_I_ElementValue.java | 62 +- .../src/org/compiere/model/I_I_FAJournal.java | 352 +++-- .../src/org/compiere/model/I_I_GLJournal.java | 270 ++-- .../compiere/model/I_I_InOutLineConfirm.java | 16 +- .../src/org/compiere/model/I_I_Inventory.java | 72 +- base/src/org/compiere/model/I_I_Invoice.java | 222 ++- base/src/org/compiere/model/I_I_Order.java | 208 ++- base/src/org/compiere/model/I_I_Payment.java | 252 ++-- base/src/org/compiere/model/I_I_Product.java | 156 +- .../org/compiere/model/I_I_ReportLine.java | 56 +- base/src/org/compiere/model/I_K_Category.java | 16 +- .../org/compiere/model/I_K_CategoryValue.java | 42 +- base/src/org/compiere/model/I_K_Comment.java | 16 +- base/src/org/compiere/model/I_K_Entry.java | 42 +- .../org/compiere/model/I_K_EntryCategory.java | 46 +- .../org/compiere/model/I_K_EntryRelated.java | 42 +- base/src/org/compiere/model/I_K_Index.java | 88 +- base/src/org/compiere/model/I_K_IndexLog.java | 16 +- .../src/org/compiere/model/I_K_IndexStop.java | 72 +- base/src/org/compiere/model/I_K_Source.java | 16 +- base/src/org/compiere/model/I_K_Synonym.java | 16 +- base/src/org/compiere/model/I_K_Topic.java | 16 +- base/src/org/compiere/model/I_K_Type.java | 16 +- .../src/org/compiere/model/I_M_Attribute.java | 42 +- .../compiere/model/I_M_AttributeInstance.java | 46 +- .../compiere/model/I_M_AttributeSearch.java | 16 +- .../org/compiere/model/I_M_AttributeSet.java | 42 +- .../model/I_M_AttributeSetExclude.java | 16 +- .../model/I_M_AttributeSetInstance.java | 42 +- .../org/compiere/model/I_M_AttributeUse.java | 46 +- .../compiere/model/I_M_AttributeValue.java | 42 +- base/src/org/compiere/model/I_M_BOM.java | 16 +- .../compiere/model/I_M_BOMAlternative.java | 16 +- .../org/compiere/model/I_M_BOMProduct.java | 42 +- .../org/compiere/model/I_M_ChangeNotice.java | 16 +- .../org/compiere/model/I_M_ChangeRequest.java | 16 +- base/src/org/compiere/model/I_M_Cost.java | 24 +- .../org/compiere/model/I_M_CostDetail.java | 16 +- .../org/compiere/model/I_M_CostElement.java | 16 +- .../src/org/compiere/model/I_M_CostQueue.java | 16 +- base/src/org/compiere/model/I_M_CostType.java | 16 +- base/src/org/compiere/model/I_M_Demand.java | 16 +- .../org/compiere/model/I_M_DemandDetail.java | 16 +- .../org/compiere/model/I_M_DemandLine.java | 42 +- .../compiere/model/I_M_DiscountSchema.java | 16 +- .../model/I_M_DiscountSchemaBreak.java | 16 +- .../model/I_M_DiscountSchemaLine.java | 42 +- .../compiere/model/I_M_DistributionList.java | 16 +- .../model/I_M_DistributionListLine.java | 42 +- .../compiere/model/I_M_DistributionRun.java | 16 +- .../model/I_M_DistributionRunLine.java | 68 +- base/src/org/compiere/model/I_M_EDI.java | 16 +- base/src/org/compiere/model/I_M_EDI_Info.java | 16 +- base/src/org/compiere/model/I_M_Forecast.java | 16 +- .../org/compiere/model/I_M_ForecastLine.java | 42 +- base/src/org/compiere/model/I_M_Freight.java | 16 +- .../compiere/model/I_M_FreightCategory.java | 16 +- base/src/org/compiere/model/I_M_InOut.java | 120 +- .../org/compiere/model/I_M_InOutConfirm.java | 42 +- .../src/org/compiere/model/I_M_InOutLine.java | 124 +- .../compiere/model/I_M_InOutLineConfirm.java | 16 +- .../org/compiere/model/I_M_InOutLineMA.java | 16 +- .../src/org/compiere/model/I_M_Inventory.java | 42 +- .../org/compiere/model/I_M_InventoryLine.java | 42 +- .../compiere/model/I_M_InventoryLineMA.java | 16 +- base/src/org/compiere/model/I_M_Locator.java | 16 +- base/src/org/compiere/model/I_M_Lot.java | 16 +- base/src/org/compiere/model/I_M_LotCtl.java | 16 +- .../org/compiere/model/I_M_LotCtlExclude.java | 16 +- base/src/org/compiere/model/I_M_MatchInv.java | 16 +- base/src/org/compiere/model/I_M_MatchPO.java | 16 +- base/src/org/compiere/model/I_M_Movement.java | 93 +- .../compiere/model/I_M_MovementConfirm.java | 16 +- .../org/compiere/model/I_M_MovementLine.java | 90 +- .../model/I_M_MovementLineConfirm.java | 16 +- .../compiere/model/I_M_MovementLineMA.java | 16 +- .../compiere/model/I_M_OperationResource.java | 16 +- base/src/org/compiere/model/I_M_Package.java | 16 +- .../org/compiere/model/I_M_PackageLine.java | 42 +- .../org/compiere/model/I_M_PerpetualInv.java | 16 +- .../src/org/compiere/model/I_M_PriceList.java | 16 +- .../compiere/model/I_M_PriceList_Version.java | 42 +- base/src/org/compiere/model/I_M_Product.java | 156 +- .../compiere/model/I_M_ProductDownload.java | 16 +- .../compiere/model/I_M_ProductOperation.java | 42 +- .../org/compiere/model/I_M_ProductPrice.java | 16 +- .../org/compiere/model/I_M_Product_Acct.java | 16 +- .../org/compiere/model/I_M_Product_BOM.java | 34 +- .../compiere/model/I_M_Product_Category.java | 46 +- .../model/I_M_Product_Category_Acct.java | 34 +- .../compiere/model/I_M_Product_Costing.java | 16 +- .../org/compiere/model/I_M_Product_PO.java | 68 +- .../org/compiere/model/I_M_Production.java | 42 +- .../compiere/model/I_M_ProductionLine.java | 42 +- .../compiere/model/I_M_ProductionLineMA.java | 42 +- .../compiere/model/I_M_ProductionPlan.java | 42 +- base/src/org/compiere/model/I_M_RMA.java | 42 +- base/src/org/compiere/model/I_M_RMALine.java | 42 +- base/src/org/compiere/model/I_M_RMAType.java | 16 +- .../compiere/model/I_M_RelatedProduct.java | 34 +- .../src/org/compiere/model/I_M_Replenish.java | 42 +- .../org/compiere/model/I_M_Requisition.java | 16 +- .../compiere/model/I_M_RequisitionLine.java | 42 +- base/src/org/compiere/model/I_M_SerNoCtl.java | 16 +- .../compiere/model/I_M_SerNoCtlExclude.java | 16 +- base/src/org/compiere/model/I_M_Shipper.java | 16 +- base/src/org/compiere/model/I_M_Storage.java | 16 +- .../org/compiere/model/I_M_Substitute.java | 16 +- .../org/compiere/model/I_M_Transaction.java | 94 +- .../model/I_M_TransactionAllocation.java | 16 +- .../src/org/compiere/model/I_M_Warehouse.java | 42 +- .../compiere/model/I_M_Warehouse_Acct.java | 16 +- .../org/compiere/model/I_PA_Achievement.java | 16 +- .../org/compiere/model/I_PA_Benchmark.java | 16 +- .../compiere/model/I_PA_BenchmarkData.java | 16 +- .../org/compiere/model/I_PA_ColorSchema.java | 16 +- .../compiere/model/I_PA_DashboardContent.java | 16 +- base/src/org/compiere/model/I_PA_Goal.java | 42 +- .../compiere/model/I_PA_GoalRestriction.java | 72 +- .../org/compiere/model/I_PA_Hierarchy.java | 16 +- base/src/org/compiere/model/I_PA_Measure.java | 42 +- .../org/compiere/model/I_PA_MeasureCalc.java | 16 +- base/src/org/compiere/model/I_PA_Ratio.java | 16 +- .../org/compiere/model/I_PA_RatioElement.java | 42 +- base/src/org/compiere/model/I_PA_Report.java | 38 +- .../org/compiere/model/I_PA_ReportColumn.java | 78 +- .../compiere/model/I_PA_ReportColumnSet.java | 16 +- .../org/compiere/model/I_PA_ReportLine.java | 34 +- .../compiere/model/I_PA_ReportLineSet.java | 16 +- .../org/compiere/model/I_PA_ReportSource.java | 16 +- .../org/compiere/model/I_PA_SLA_Criteria.java | 16 +- .../src/org/compiere/model/I_PA_SLA_Goal.java | 16 +- .../org/compiere/model/I_PA_SLA_Measure.java | 16 +- .../src/org/compiere/model/I_RV_BPartner.java | 536 ++++--- .../compiere/model/I_RV_WarehousePrice.java | 42 +- base/src/org/compiere/model/I_R_Category.java | 16 +- .../compiere/model/I_R_CategoryUpdates.java | 16 +- .../compiere/model/I_R_ContactInterest.java | 16 +- base/src/org/compiere/model/I_R_Group.java | 16 +- .../org/compiere/model/I_R_GroupUpdates.java | 16 +- .../org/compiere/model/I_R_InterestArea.java | 16 +- .../org/compiere/model/I_R_IssueKnown.java | 42 +- .../org/compiere/model/I_R_IssueProject.java | 16 +- .../model/I_R_IssueRecommendation.java | 16 +- .../org/compiere/model/I_R_IssueStatus.java | 16 +- .../org/compiere/model/I_R_IssueSystem.java | 16 +- .../src/org/compiere/model/I_R_IssueUser.java | 16 +- base/src/org/compiere/model/I_R_MailText.java | 16 +- base/src/org/compiere/model/I_R_Request.java | 280 ++-- .../org/compiere/model/I_R_RequestAction.java | 128 +- .../compiere/model/I_R_RequestProcessor.java | 42 +- .../model/I_R_RequestProcessorLog.java | 48 +- .../model/I_R_RequestProcessor_Route.java | 16 +- .../org/compiere/model/I_R_RequestType.java | 16 +- .../model/I_R_RequestTypeUpdates.java | 16 +- .../org/compiere/model/I_R_RequestUpdate.java | 48 +- .../compiere/model/I_R_RequestUpdates.java | 16 +- .../org/compiere/model/I_R_Resolution.java | 16 +- .../compiere/model/I_R_StandardResponse.java | 42 +- base/src/org/compiere/model/I_R_Status.java | 16 +- .../compiere/model/I_R_StatusCategory.java | 16 +- .../org/compiere/model/I_S_ExpenseType.java | 16 +- base/src/org/compiere/model/I_S_Resource.java | 60 +- .../model/I_S_ResourceAssignment.java | 16 +- .../org/compiere/model/I_S_ResourceType.java | 34 +- .../model/I_S_ResourceUnAvailable.java | 34 +- .../org/compiere/model/I_S_TimeExpense.java | 16 +- .../compiere/model/I_S_TimeExpenseLine.java | 98 +- base/src/org/compiere/model/I_S_TimeType.java | 16 +- base/src/org/compiere/model/I_S_Training.java | 16 +- .../compiere/model/I_S_Training_Class.java | 42 +- base/src/org/compiere/model/I_T_Aging.java | 206 ++- .../model/I_T_DistributionRunDetail.java | 90 +- .../compiere/model/I_T_InventoryValue.java | 16 +- .../src/org/compiere/model/I_T_InvoiceGL.java | 42 +- .../src/org/compiere/model/I_T_Replenish.java | 68 +- base/src/org/compiere/model/I_T_Report.java | 16 +- .../compiere/model/I_T_ReportStatement.java | 16 +- .../org/compiere/model/I_T_Transaction.java | 224 ++- base/src/org/compiere/model/I_Test.java | 60 +- .../compiere/model/I_U_BlackListCheque.java | 16 +- base/src/org/compiere/model/I_U_RoleMenu.java | 16 +- base/src/org/compiere/model/I_U_WebMenu.java | 16 +- .../compiere/model/I_U_Web_Properties.java | 16 +- .../org/compiere/model/I_W_Advertisement.java | 42 +- base/src/org/compiere/model/I_W_Basket.java | 16 +- .../org/compiere/model/I_W_BasketLine.java | 42 +- base/src/org/compiere/model/I_W_Click.java | 42 +- .../org/compiere/model/I_W_ClickCount.java | 16 +- base/src/org/compiere/model/I_W_Counter.java | 42 +- .../org/compiere/model/I_W_CounterCount.java | 16 +- base/src/org/compiere/model/I_W_MailMsg.java | 16 +- base/src/org/compiere/model/I_W_Store.java | 120 +- .../org/compiere/model/X_AD_AccessLog.java | 32 +- base/src/org/compiere/model/X_AD_Alert.java | 78 +- .../compiere/model/X_AD_AlertProcessor.java | 22 +- .../model/X_AD_AlertProcessorLog.java | 72 +- .../compiere/model/X_AD_AlertRecipient.java | 48 +- .../org/compiere/model/X_AD_AlertRule.java | 96 +- base/src/org/compiere/model/X_AD_Archive.java | 20 +- .../org/compiere/model/X_AD_Attachment.java | 14 +- .../compiere/model/X_AD_AttachmentNote.java | 60 +- .../org/compiere/model/X_AD_Attribute.java | 90 +- .../compiere/model/X_AD_Attribute_Value.java | 14 +- .../org/compiere/model/X_AD_ChangeLog.java | 46 +- base/src/org/compiere/model/X_AD_Client.java | 114 +- .../org/compiere/model/X_AD_ClientInfo.java | 2 +- .../org/compiere/model/X_AD_ClientShare.java | 22 +- base/src/org/compiere/model/X_AD_Color.java | 24 +- base/src/org/compiere/model/X_AD_Column.java | 170 +-- .../compiere/model/X_AD_Column_Access.java | 2 +- base/src/org/compiere/model/X_AD_Desktop.java | 20 +- .../compiere/model/X_AD_DesktopWorkbench.java | 42 +- .../model/X_AD_Document_Action_Access.java | 2 +- base/src/org/compiere/model/X_AD_Element.java | 62 +- .../org/compiere/model/X_AD_EntityType.java | 44 +- base/src/org/compiere/model/X_AD_Error.java | 20 +- base/src/org/compiere/model/X_AD_Field.java | 60 +- .../org/compiere/model/X_AD_FieldGroup.java | 22 +- base/src/org/compiere/model/X_AD_Find.java | 30 +- base/src/org/compiere/model/X_AD_Form.java | 110 +- .../org/compiere/model/X_AD_Form_Access.java | 2 +- base/src/org/compiere/model/X_AD_Image.java | 26 +- .../org/compiere/model/X_AD_ImpFormat.java | 22 +- .../compiere/model/X_AD_ImpFormat_Row.java | 46 +- .../org/compiere/model/X_AD_InfoColumn.java | 32 +- .../org/compiere/model/X_AD_InfoWindow.java | 38 +- base/src/org/compiere/model/X_AD_Issue.java | 590 +++----- .../org/compiere/model/X_AD_LabelPrinter.java | 14 +- .../model/X_AD_LabelPrinterFunction.java | 32 +- .../src/org/compiere/model/X_AD_Language.java | 38 +- .../org/compiere/model/X_AD_LdapAccess.java | 14 +- .../compiere/model/X_AD_LdapProcessor.java | 14 +- .../compiere/model/X_AD_LdapProcessorLog.java | 72 +- base/src/org/compiere/model/X_AD_Menu.java | 94 +- base/src/org/compiere/model/X_AD_Message.java | 34 +- .../compiere/model/X_AD_MigrationScript.java | 108 +- .../compiere/model/X_AD_ModelValidator.java | 32 +- .../org/compiere/model/X_AD_Modification.java | 32 +- base/src/org/compiere/model/X_AD_Note.java | 20 +- base/src/org/compiere/model/X_AD_Org.java | 20 +- base/src/org/compiere/model/X_AD_OrgInfo.java | 14 +- base/src/org/compiere/model/X_AD_OrgType.java | 14 +- .../org/compiere/model/X_AD_PInstance.java | 8 +- .../compiere/model/X_AD_PInstance_Log.java | 8 +- .../compiere/model/X_AD_PInstance_Para.java | 76 +- .../org/compiere/model/X_AD_Package_Exp.java | 66 +- .../model/X_AD_Package_Exp_Common.java | 94 +- .../model/X_AD_Package_Exp_Detail.java | 114 +- .../org/compiere/model/X_AD_Package_Imp.java | 56 +- .../model/X_AD_Package_Imp_Backup.java | 20 +- .../model/X_AD_Package_Imp_Detail.java | 106 +- .../compiere/model/X_AD_Package_Imp_Inst.java | 56 +- .../compiere/model/X_AD_Package_Imp_Proc.java | 22 +- .../org/compiere/model/X_AD_Preference.java | 14 +- .../org/compiere/model/X_AD_PrintColor.java | 14 +- .../org/compiere/model/X_AD_PrintFont.java | 14 +- .../org/compiere/model/X_AD_PrintForm.java | 84 +- .../org/compiere/model/X_AD_PrintFormat.java | 38 +- .../compiere/model/X_AD_PrintFormatItem.java | 120 +- .../org/compiere/model/X_AD_PrintGraph.java | 70 +- .../org/compiere/model/X_AD_PrintLabel.java | 20 +- .../compiere/model/X_AD_PrintLabelLine.java | 68 +- .../org/compiere/model/X_AD_PrintPaper.java | 28 +- .../compiere/model/X_AD_PrintTableFormat.java | 222 +-- .../compiere/model/X_AD_Private_Access.java | 2 +- base/src/org/compiere/model/X_AD_Process.java | 136 +- .../compiere/model/X_AD_Process_Access.java | 2 +- .../org/compiere/model/X_AD_Process_Para.java | 96 +- .../compiere/model/X_AD_Record_Access.java | 2 +- .../src/org/compiere/model/X_AD_Ref_List.java | 72 +- .../org/compiere/model/X_AD_Ref_Table.java | 20 +- .../org/compiere/model/X_AD_Reference.java | 74 +- .../org/compiere/model/X_AD_Registration.java | 32 +- .../org/compiere/model/X_AD_Replication.java | 84 +- .../model/X_AD_ReplicationDocument.java | 16 +- .../model/X_AD_ReplicationStrategy.java | 64 +- .../compiere/model/X_AD_ReplicationTable.java | 16 +- .../compiere/model/X_AD_Replication_Log.java | 86 +- .../compiere/model/X_AD_Replication_Run.java | 14 +- .../org/compiere/model/X_AD_ReportView.java | 32 +- .../compiere/model/X_AD_ReportView_Col.java | 8 +- base/src/org/compiere/model/X_AD_Role.java | 80 +- .../compiere/model/X_AD_Role_OrgAccess.java | 2 +- base/src/org/compiere/model/X_AD_Rule.java | 100 +- .../org/compiere/model/X_AD_Scheduler.java | 38 +- .../org/compiere/model/X_AD_SchedulerLog.java | 72 +- .../model/X_AD_SchedulerRecipient.java | 48 +- .../compiere/model/X_AD_Scheduler_Para.java | 14 +- .../src/org/compiere/model/X_AD_Sequence.java | 44 +- .../compiere/model/X_AD_Sequence_Audit.java | 8 +- .../org/compiere/model/X_AD_Sequence_No.java | 8 +- base/src/org/compiere/model/X_AD_Session.java | 26 +- .../org/compiere/model/X_AD_SysConfig.java | 34 +- base/src/org/compiere/model/X_AD_System.java | 160 +-- base/src/org/compiere/model/X_AD_Tab.java | 140 +- base/src/org/compiere/model/X_AD_Table.java | 124 +- .../org/compiere/model/X_AD_Table_Access.java | 64 +- .../model/X_AD_Table_ScriptValidator.java | 10 +- base/src/org/compiere/model/X_AD_Task.java | 104 +- .../org/compiere/model/X_AD_TaskInstance.java | 48 +- .../org/compiere/model/X_AD_Task_Access.java | 2 +- base/src/org/compiere/model/X_AD_Tree.java | 22 +- base/src/org/compiere/model/X_AD_TreeBar.java | 2 +- .../src/org/compiere/model/X_AD_TreeNode.java | 2 +- .../org/compiere/model/X_AD_TreeNodeBP.java | 2 +- .../org/compiere/model/X_AD_TreeNodeCMC.java | 2 +- .../org/compiere/model/X_AD_TreeNodeCMM.java | 2 +- .../org/compiere/model/X_AD_TreeNodeCMS.java | 2 +- .../org/compiere/model/X_AD_TreeNodeCMT.java | 2 +- .../org/compiere/model/X_AD_TreeNodeMM.java | 2 +- .../org/compiere/model/X_AD_TreeNodePR.java | 2 +- .../org/compiere/model/X_AD_TreeNodeU1.java | 2 +- .../org/compiere/model/X_AD_TreeNodeU2.java | 2 +- .../org/compiere/model/X_AD_TreeNodeU3.java | 2 +- .../org/compiere/model/X_AD_TreeNodeU4.java | 2 +- base/src/org/compiere/model/X_AD_User.java | 156 +- .../org/compiere/model/X_AD_UserBPAccess.java | 18 +- .../compiere/model/X_AD_UserDef_Field.java | 32 +- .../org/compiere/model/X_AD_UserDef_Tab.java | 20 +- .../org/compiere/model/X_AD_UserDef_Win.java | 26 +- .../src/org/compiere/model/X_AD_UserMail.java | 80 +- .../org/compiere/model/X_AD_UserQuery.java | 58 +- .../compiere/model/X_AD_User_OrgAccess.java | 2 +- .../org/compiere/model/X_AD_User_Roles.java | 2 +- .../compiere/model/X_AD_User_Substitute.java | 14 +- .../src/org/compiere/model/X_AD_Val_Rule.java | 34 +- .../org/compiere/model/X_AD_WF_Activity.java | 16 +- .../model/X_AD_WF_ActivityResult.java | 72 +- .../src/org/compiere/model/X_AD_WF_Block.java | 14 +- .../compiere/model/X_AD_WF_EventAudit.java | 48 +- .../compiere/model/X_AD_WF_NextCondition.java | 36 +- base/src/org/compiere/model/X_AD_WF_Node.java | 338 ++--- .../org/compiere/model/X_AD_WF_NodeNext.java | 66 +- .../org/compiere/model/X_AD_WF_Node_Para.java | 26 +- .../org/compiere/model/X_AD_WF_Process.java | 16 +- .../compiere/model/X_AD_WF_ProcessData.java | 14 +- .../compiere/model/X_AD_WF_Responsible.java | 28 +- base/src/org/compiere/model/X_AD_Window.java | 88 +- .../compiere/model/X_AD_Window_Access.java | 2 +- .../org/compiere/model/X_AD_Workbench.java | 26 +- .../compiere/model/X_AD_WorkbenchWindow.java | 64 +- .../src/org/compiere/model/X_AD_Workflow.java | 294 ++-- .../model/X_AD_WorkflowProcessor.java | 22 +- .../model/X_AD_WorkflowProcessorLog.java | 72 +- .../compiere/model/X_AD_Workflow_Access.java | 2 +- .../compiere/model/X_ASP_ClientException.java | 10 +- .../org/compiere/model/X_ASP_ClientLevel.java | 8 +- base/src/org/compiere/model/X_ASP_Field.java | 10 +- base/src/org/compiere/model/X_ASP_Form.java | 10 +- base/src/org/compiere/model/X_ASP_Level.java | 26 +- base/src/org/compiere/model/X_ASP_Module.java | 26 +- .../src/org/compiere/model/X_ASP_Process.java | 10 +- .../compiere/model/X_ASP_Process_Para.java | 10 +- base/src/org/compiere/model/X_ASP_Tab.java | 52 +- base/src/org/compiere/model/X_ASP_Task.java | 10 +- base/src/org/compiere/model/X_ASP_Window.java | 10 +- .../org/compiere/model/X_ASP_Workflow.java | 10 +- base/src/org/compiere/model/X_A_Asset.java | 218 ++- .../org/compiere/model/X_A_Asset_Acct.java | 26 +- .../compiere/model/X_A_Asset_Addition.java | 38 +- .../org/compiere/model/X_A_Asset_Change.java | 198 +-- .../compiere/model/X_A_Asset_Delivery.java | 236 ++- .../compiere/model/X_A_Asset_Disposed.java | 24 +- .../org/compiere/model/X_A_Asset_Group.java | 20 +- .../compiere/model/X_A_Asset_Group_Acct.java | 26 +- .../compiere/model/X_A_Asset_Info_Fin.java | 24 +- .../compiere/model/X_A_Asset_Info_Ins.java | 48 +- .../compiere/model/X_A_Asset_Info_Lic.java | 26 +- .../compiere/model/X_A_Asset_Info_Oth.java | 98 +- .../compiere/model/X_A_Asset_Info_Tax.java | 28 +- .../compiere/model/X_A_Asset_Retirement.java | 2 +- .../compiere/model/X_A_Asset_Reval_Entry.java | 102 +- .../compiere/model/X_A_Asset_Reval_Index.java | 20 +- .../org/compiere/model/X_A_Asset_Split.java | 20 +- .../org/compiere/model/X_A_Asset_Spread.java | 14 +- .../compiere/model/X_A_Asset_Transfer.java | 42 +- .../src/org/compiere/model/X_A_Asset_Use.java | 10 +- .../org/compiere/model/X_A_Depreciation.java | 26 +- .../model/X_A_Depreciation_Build.java | 10 +- .../model/X_A_Depreciation_Convention.java | 26 +- .../model/X_A_Depreciation_Entry.java | 34 +- .../compiere/model/X_A_Depreciation_Exp.java | 22 +- .../model/X_A_Depreciation_Forecast.java | 12 +- .../model/X_A_Depreciation_Method.java | 26 +- .../model/X_A_Depreciation_Table_Detail.java | 16 +- .../model/X_A_Depreciation_Table_Header.java | 30 +- .../model/X_A_Depreciation_Workfile.java | 10 +- .../org/compiere/model/X_A_Registration.java | 118 +- .../model/X_A_RegistrationAttribute.java | 20 +- .../model/X_A_RegistrationProduct.java | 8 +- .../compiere/model/X_A_RegistrationValue.java | 14 +- base/src/org/compiere/model/X_B_Bid.java | 20 +- .../org/compiere/model/X_B_BidComment.java | 8 +- base/src/org/compiere/model/X_B_Buyer.java | 16 +- .../org/compiere/model/X_B_BuyerFunds.java | 46 +- base/src/org/compiere/model/X_B_Offer.java | 20 +- base/src/org/compiere/model/X_B_Seller.java | 16 +- .../org/compiere/model/X_B_SellerFunds.java | 46 +- base/src/org/compiere/model/X_B_Topic.java | 92 +- .../org/compiere/model/X_B_TopicCategory.java | 14 +- .../src/org/compiere/model/X_B_TopicType.java | 76 +- .../compiere/model/X_CM_AccessContainer.java | 2 +- .../model/X_CM_AccessListBPGroup.java | 80 +- .../compiere/model/X_CM_AccessListRole.java | 2 +- .../org/compiere/model/X_CM_AccessMedia.java | 2 +- .../model/X_CM_AccessNewsChannel.java | 2 +- .../compiere/model/X_CM_AccessProfile.java | 20 +- .../org/compiere/model/X_CM_AccessStage.java | 2 +- base/src/org/compiere/model/X_CM_Ad.java | 74 +- base/src/org/compiere/model/X_CM_Ad_Cat.java | 20 +- .../compiere/model/X_CM_BroadcastServer.java | 26 +- base/src/org/compiere/model/X_CM_CStage.java | 156 +- .../org/compiere/model/X_CM_CStageTTable.java | 72 +- .../compiere/model/X_CM_CStage_Element.java | 20 +- base/src/org/compiere/model/X_CM_Chat.java | 68 +- .../org/compiere/model/X_CM_ChatEntry.java | 174 +-- .../src/org/compiere/model/X_CM_ChatType.java | 22 +- .../compiere/model/X_CM_ChatTypeUpdate.java | 2 +- .../org/compiere/model/X_CM_ChatUpdate.java | 2 +- .../org/compiere/model/X_CM_Container.java | 156 +- .../compiere/model/X_CM_ContainerTTable.java | 72 +- .../model/X_CM_Container_Element.java | 20 +- .../compiere/model/X_CM_Container_URL.java | 54 +- base/src/org/compiere/model/X_CM_Media.java | 34 +- .../org/compiere/model/X_CM_MediaDeploy.java | 8 +- .../org/compiere/model/X_CM_Media_Server.java | 50 +- .../org/compiere/model/X_CM_NewsChannel.java | 32 +- .../src/org/compiere/model/X_CM_NewsItem.java | 26 +- .../src/org/compiere/model/X_CM_Template.java | 32 +- .../compiere/model/X_CM_TemplateTable.java | 72 +- .../compiere/model/X_CM_Template_Ad_Cat.java | 14 +- .../org/compiere/model/X_CM_WebAccessLog.java | 110 +- .../org/compiere/model/X_CM_WebProject.java | 50 +- .../model/X_CM_WebProject_Domain.java | 26 +- .../org/compiere/model/X_CM_WikiToken.java | 40 +- .../org/compiere/model/X_C_AcctProcessor.java | 22 +- .../compiere/model/X_C_AcctProcessorLog.java | 72 +- .../org/compiere/model/X_C_AcctSchema.java | 246 ++-- .../model/X_C_AcctSchema_Default.java | 450 +++--- .../model/X_C_AcctSchema_Element.java | 92 +- .../org/compiere/model/X_C_AcctSchema_GL.java | 44 +- base/src/org/compiere/model/X_C_Activity.java | 26 +- .../org/compiere/model/X_C_AllocationHdr.java | 34 +- .../compiere/model/X_C_AllocationLine.java | 2 +- .../compiere/model/X_C_BP_BankAccount.java | 332 ++--- .../compiere/model/X_C_BP_Customer_Acct.java | 2 +- base/src/org/compiere/model/X_C_BP_EDI.java | 110 +- .../compiere/model/X_C_BP_Employee_Acct.java | 2 +- base/src/org/compiere/model/X_C_BP_Group.java | 28 +- .../org/compiere/model/X_C_BP_Group_Acct.java | 2 +- .../org/compiere/model/X_C_BP_Relation.java | 158 +- .../compiere/model/X_C_BP_Vendor_Acct.java | 2 +- .../compiere/model/X_C_BP_Withholding.java | 8 +- base/src/org/compiere/model/X_C_BPartner.java | 654 ++++----- .../compiere/model/X_C_BPartner_Location.java | 66 +- .../compiere/model/X_C_BPartner_Product.java | 60 +- base/src/org/compiere/model/X_C_Bank.java | 26 +- .../org/compiere/model/X_C_BankAccount.java | 68 +- .../compiere/model/X_C_BankAccountDoc.java | 22 +- .../compiere/model/X_C_BankAccount_Acct.java | 44 +- .../org/compiere/model/X_C_BankStatement.java | 50 +- .../compiere/model/X_C_BankStatementLine.java | 252 ++-- .../model/X_C_BankStatementLoader.java | 126 +- .../model/X_C_BankStatementMatcher.java | 20 +- base/src/org/compiere/model/X_C_Calendar.java | 14 +- base/src/org/compiere/model/X_C_Campaign.java | 20 +- base/src/org/compiere/model/X_C_Cash.java | 34 +- base/src/org/compiere/model/X_C_CashBook.java | 14 +- .../org/compiere/model/X_C_CashBook_Acct.java | 80 +- base/src/org/compiere/model/X_C_CashLine.java | 126 +- base/src/org/compiere/model/X_C_Channel.java | 14 +- base/src/org/compiere/model/X_C_Charge.java | 60 +- .../org/compiere/model/X_C_Charge_Acct.java | 2 +- base/src/org/compiere/model/X_C_City.java | 66 +- .../org/compiere/model/X_C_Commission.java | 36 +- .../org/compiere/model/X_C_CommissionAmt.java | 2 +- .../compiere/model/X_C_CommissionDetail.java | 58 +- .../compiere/model/X_C_CommissionLine.java | 166 +-- .../org/compiere/model/X_C_CommissionRun.java | 62 +- .../compiere/model/X_C_ConversionType.java | 20 +- .../compiere/model/X_C_Conversion_Rate.java | 66 +- base/src/org/compiere/model/X_C_Country.java | 104 +- base/src/org/compiere/model/X_C_Currency.java | 76 +- .../org/compiere/model/X_C_Currency_Acct.java | 2 +- base/src/org/compiere/model/X_C_Cycle.java | 14 +- .../org/compiere/model/X_C_CyclePhase.java | 2 +- .../src/org/compiere/model/X_C_CycleStep.java | 54 +- base/src/org/compiere/model/X_C_DocType.java | 186 +-- .../compiere/model/X_C_DocTypeCounter.java | 22 +- base/src/org/compiere/model/X_C_Dunning.java | 14 +- .../org/compiere/model/X_C_DunningLevel.java | 126 +- .../org/compiere/model/X_C_DunningRun.java | 16 +- .../compiere/model/X_C_DunningRunEntry.java | 8 +- .../compiere/model/X_C_DunningRunLine.java | 124 +- base/src/org/compiere/model/X_C_Element.java | 28 +- .../org/compiere/model/X_C_ElementValue.java | 82 +- base/src/org/compiere/model/X_C_Greeting.java | 14 +- .../org/compiere/model/X_C_InterOrg_Acct.java | 2 +- base/src/org/compiere/model/X_C_Invoice.java | 358 ++--- .../org/compiere/model/X_C_InvoiceBatch.java | 16 +- .../compiere/model/X_C_InvoiceBatchLine.java | 120 +- .../org/compiere/model/X_C_InvoiceLine.java | 230 ++- .../model/X_C_InvoicePaySchedule.java | 52 +- .../compiere/model/X_C_InvoiceSchedule.java | 38 +- .../org/compiere/model/X_C_InvoiceTax.java | 2 +- base/src/org/compiere/model/X_C_Job.java | 20 +- .../org/compiere/model/X_C_JobAssignment.java | 10 +- .../org/compiere/model/X_C_JobCategory.java | 20 +- .../compiere/model/X_C_JobRemuneration.java | 56 +- .../org/compiere/model/X_C_LandedCost.java | 94 +- .../model/X_C_LandedCostAllocation.java | 2 +- base/src/org/compiere/model/X_C_Location.java | 100 +- .../compiere/model/X_C_NonBusinessDay.java | 10 +- base/src/org/compiere/model/X_C_Order.java | 466 +++--- .../src/org/compiere/model/X_C_OrderLine.java | 184 ++- base/src/org/compiere/model/X_C_OrderTax.java | 2 +- .../org/compiere/model/X_C_OrgAssignment.java | 10 +- base/src/org/compiere/model/X_C_POS.java | 142 +- base/src/org/compiere/model/X_C_POSKey.java | 60 +- .../org/compiere/model/X_C_POSKeyLayout.java | 20 +- .../org/compiere/model/X_C_PaySchedule.java | 56 +- .../org/compiere/model/X_C_PaySelection.java | 22 +- .../compiere/model/X_C_PaySelectionCheck.java | 134 +- .../compiere/model/X_C_PaySelectionLine.java | 78 +- base/src/org/compiere/model/X_C_Payment.java | 680 +++------ .../compiere/model/X_C_PaymentAllocate.java | 2 +- .../org/compiere/model/X_C_PaymentBatch.java | 14 +- .../compiere/model/X_C_PaymentProcessor.java | 164 +-- .../org/compiere/model/X_C_PaymentTerm.java | 80 +- base/src/org/compiere/model/X_C_Period.java | 18 +- .../org/compiere/model/X_C_PeriodControl.java | 26 +- base/src/org/compiere/model/X_C_Phase.java | 20 +- base/src/org/compiere/model/X_C_Project.java | 362 ++--- .../org/compiere/model/X_C_ProjectIssue.java | 134 +- .../compiere/model/X_C_ProjectIssueMA.java | 2 +- .../org/compiere/model/X_C_ProjectLine.java | 206 ++- .../org/compiere/model/X_C_ProjectPhase.java | 110 +- .../org/compiere/model/X_C_ProjectTask.java | 74 +- .../org/compiere/model/X_C_ProjectType.java | 28 +- .../org/compiere/model/X_C_Project_Acct.java | 2 +- .../src/org/compiere/model/X_C_Recurring.java | 38 +- .../org/compiere/model/X_C_Recurring_Run.java | 2 +- base/src/org/compiere/model/X_C_Region.java | 14 +- .../org/compiere/model/X_C_Remuneration.java | 28 +- .../model/X_C_RevenueRecognition.java | 22 +- .../model/X_C_RevenueRecognition_Plan.java | 2 +- .../model/X_C_RevenueRecognition_Run.java | 2 +- base/src/org/compiere/model/X_C_RfQ.java | 156 +- base/src/org/compiere/model/X_C_RfQLine.java | 60 +- .../org/compiere/model/X_C_RfQLineQty.java | 48 +- .../org/compiere/model/X_C_RfQResponse.java | 88 +- .../compiere/model/X_C_RfQResponseLine.java | 60 +- .../model/X_C_RfQResponseLineQty.java | 48 +- .../src/org/compiere/model/X_C_RfQ_Topic.java | 14 +- .../model/X_C_RfQ_TopicSubscriber.java | 48 +- .../model/X_C_RfQ_TopicSubscriberOnly.java | 54 +- .../org/compiere/model/X_C_SalesRegion.java | 20 +- .../org/compiere/model/X_C_ServiceLevel.java | 8 +- .../compiere/model/X_C_ServiceLevelLine.java | 56 +- base/src/org/compiere/model/X_C_SubAcct.java | 26 +- .../org/compiere/model/X_C_Subscription.java | 60 +- .../compiere/model/X_C_SubscriptionType.java | 22 +- .../model/X_C_Subscription_Delivery.java | 2 +- base/src/org/compiere/model/X_C_Task.java | 20 +- base/src/org/compiere/model/X_C_Tax.java | 30 +- .../org/compiere/model/X_C_TaxCategory.java | 54 +- .../compiere/model/X_C_TaxDeclaration.java | 20 +- .../model/X_C_TaxDeclarationAcct.java | 8 +- .../model/X_C_TaxDeclarationLine.java | 112 +- .../src/org/compiere/model/X_C_TaxPostal.java | 60 +- base/src/org/compiere/model/X_C_Tax_Acct.java | 2 +- base/src/org/compiere/model/X_C_UOM.java | 68 +- .../compiere/model/X_C_UOM_Conversion.java | 2 +- .../compiere/model/X_C_UserRemuneration.java | 10 +- .../compiere/model/X_C_ValidCombination.java | 210 ++- .../org/compiere/model/X_C_Withholding.java | 14 +- .../compiere/model/X_C_Withholding_Acct.java | 2 +- base/src/org/compiere/model/X_C_Year.java | 14 +- base/src/org/compiere/model/X_Fact_Acct.java | 286 ++-- base/src/org/compiere/model/X_GL_Budget.java | 22 +- .../compiere/model/X_GL_BudgetControl.java | 36 +- .../src/org/compiere/model/X_GL_Category.java | 22 +- .../org/compiere/model/X_GL_Distribution.java | 78 +- .../compiere/model/X_GL_DistributionLine.java | 104 +- base/src/org/compiere/model/X_GL_Fund.java | 20 +- .../compiere/model/X_GL_FundRestriction.java | 60 +- base/src/org/compiere/model/X_GL_Journal.java | 82 +- .../org/compiere/model/X_GL_JournalBatch.java | 94 +- .../org/compiere/model/X_GL_JournalLine.java | 144 +- base/src/org/compiere/model/X_I_Asset.java | 126 +- base/src/org/compiere/model/X_I_BPartner.java | 566 +++----- .../org/compiere/model/X_I_BankStatement.java | 388 ++--- .../compiere/model/X_I_Conversion_Rate.java | 172 +-- .../org/compiere/model/X_I_ElementValue.java | 164 +-- .../src/org/compiere/model/X_I_FAJournal.java | 712 ++++----- .../src/org/compiere/model/X_I_GLJournal.java | 516 +++---- .../compiere/model/X_I_InOutLineConfirm.java | 20 +- .../src/org/compiere/model/X_I_Inventory.java | 180 +-- base/src/org/compiere/model/X_I_Invoice.java | 482 +++---- base/src/org/compiere/model/X_I_Order.java | 428 ++---- base/src/org/compiere/model/X_I_Payment.java | 592 +++----- base/src/org/compiere/model/X_I_Product.java | 330 ++--- .../org/compiere/model/X_I_ReportLine.java | 184 +-- base/src/org/compiere/model/X_K_Category.java | 20 +- .../org/compiere/model/X_K_CategoryValue.java | 60 +- base/src/org/compiere/model/X_K_Comment.java | 8 +- base/src/org/compiere/model/X_K_Entry.java | 60 +- .../org/compiere/model/X_K_EntryCategory.java | 80 +- .../org/compiere/model/X_K_EntryRelated.java | 74 +- base/src/org/compiere/model/X_K_Index.java | 178 ++- base/src/org/compiere/model/X_K_IndexLog.java | 16 +- .../src/org/compiere/model/X_K_IndexStop.java | 142 +- base/src/org/compiere/model/X_K_Source.java | 14 +- base/src/org/compiere/model/X_K_Synonym.java | 20 +- base/src/org/compiere/model/X_K_Topic.java | 20 +- base/src/org/compiere/model/X_K_Type.java | 20 +- .../src/org/compiere/model/X_M_Attribute.java | 66 +- .../compiere/model/X_M_AttributeInstance.java | 86 +- .../compiere/model/X_M_AttributeSearch.java | 14 +- .../org/compiere/model/X_M_AttributeSet.java | 98 +- .../model/X_M_AttributeSetExclude.java | 2 +- .../model/X_M_AttributeSetInstance.java | 82 +- .../org/compiere/model/X_M_AttributeUse.java | 80 +- .../compiere/model/X_M_AttributeValue.java | 66 +- base/src/org/compiere/model/X_M_BOM.java | 36 +- .../compiere/model/X_M_BOMAlternative.java | 14 +- .../org/compiere/model/X_M_BOMProduct.java | 68 +- .../org/compiere/model/X_M_ChangeNotice.java | 20 +- .../org/compiere/model/X_M_ChangeRequest.java | 26 +- base/src/org/compiere/model/X_M_Cost.java | 24 +- .../org/compiere/model/X_M_CostDetail.java | 8 +- .../org/compiere/model/X_M_CostElement.java | 30 +- .../src/org/compiere/model/X_M_CostQueue.java | 2 +- base/src/org/compiere/model/X_M_CostType.java | 20 +- base/src/org/compiere/model/X_M_Demand.java | 20 +- .../org/compiere/model/X_M_DemandDetail.java | 2 +- .../org/compiere/model/X_M_DemandLine.java | 48 +- .../compiere/model/X_M_DiscountSchema.java | 38 +- .../model/X_M_DiscountSchemaBreak.java | 2 +- .../model/X_M_DiscountSchemaLine.java | 116 +- .../compiere/model/X_M_DistributionList.java | 20 +- .../model/X_M_DistributionListLine.java | 54 +- .../compiere/model/X_M_DistributionRun.java | 14 +- .../model/X_M_DistributionRunLine.java | 100 +- base/src/org/compiere/model/X_M_EDI.java | 38 +- base/src/org/compiere/model/X_M_EDI_Info.java | 9 +- base/src/org/compiere/model/X_M_Forecast.java | 20 +- .../org/compiere/model/X_M_ForecastLine.java | 50 +- base/src/org/compiere/model/X_M_Freight.java | 4 +- .../compiere/model/X_M_FreightCategory.java | 26 +- base/src/org/compiere/model/X_M_InOut.java | 310 ++-- .../org/compiere/model/X_M_InOutConfirm.java | 84 +- .../src/org/compiere/model/X_M_InOutLine.java | 216 ++- .../compiere/model/X_M_InOutLineConfirm.java | 14 +- .../org/compiere/model/X_M_InOutLineMA.java | 2 +- .../src/org/compiere/model/X_M_Inventory.java | 84 +- .../org/compiere/model/X_M_InventoryLine.java | 62 +- .../compiere/model/X_M_InventoryLineMA.java | 2 +- base/src/org/compiere/model/X_M_Locator.java | 26 +- base/src/org/compiere/model/X_M_Lot.java | 20 +- base/src/org/compiere/model/X_M_LotCtl.java | 26 +- .../org/compiere/model/X_M_LotCtlExclude.java | 2 +- base/src/org/compiere/model/X_M_MatchInv.java | 18 +- base/src/org/compiere/model/X_M_MatchPO.java | 18 +- base/src/org/compiere/model/X_M_Movement.java | 183 +-- .../compiere/model/X_M_MovementConfirm.java | 30 +- .../org/compiere/model/X_M_MovementLine.java | 136 +- .../model/X_M_MovementLineConfirm.java | 8 +- .../compiere/model/X_M_MovementLineMA.java | 2 +- .../compiere/model/X_M_OperationResource.java | 20 +- base/src/org/compiere/model/X_M_Package.java | 26 +- .../org/compiere/model/X_M_PackageLine.java | 54 +- .../org/compiere/model/X_M_PerpetualInv.java | 16 +- .../src/org/compiere/model/X_M_PriceList.java | 14 +- .../compiere/model/X_M_PriceList_Version.java | 66 +- base/src/org/compiere/model/X_M_Product.java | 330 ++--- .../compiere/model/X_M_ProductDownload.java | 14 +- .../compiere/model/X_M_ProductOperation.java | 66 +- .../org/compiere/model/X_M_ProductPrice.java | 2 +- .../org/compiere/model/X_M_Product_Acct.java | 2 +- .../org/compiere/model/X_M_Product_BOM.java | 56 +- .../compiere/model/X_M_Product_Category.java | 106 +- .../model/X_M_Product_Category_Acct.java | 60 +- .../compiere/model/X_M_Product_Costing.java | 2 +- .../org/compiere/model/X_M_Product_PO.java | 100 +- .../org/compiere/model/X_M_Production.java | 56 +- .../compiere/model/X_M_ProductionLine.java | 54 +- .../compiere/model/X_M_ProductionLineMA.java | 48 +- .../compiere/model/X_M_ProductionPlan.java | 54 +- base/src/org/compiere/model/X_M_RMA.java | 94 +- base/src/org/compiere/model/X_M_RMALine.java | 54 +- base/src/org/compiere/model/X_M_RMAType.java | 20 +- .../compiere/model/X_M_RelatedProduct.java | 68 +- .../src/org/compiere/model/X_M_Replenish.java | 60 +- .../org/compiere/model/X_M_Requisition.java | 48 +- .../compiere/model/X_M_RequisitionLine.java | 54 +- base/src/org/compiere/model/X_M_SerNoCtl.java | 26 +- .../compiere/model/X_M_SerNoCtlExclude.java | 2 +- base/src/org/compiere/model/X_M_Shipper.java | 20 +- base/src/org/compiere/model/X_M_Storage.java | 2 +- .../org/compiere/model/X_M_Substitute.java | 14 +- .../org/compiere/model/X_M_Transaction.java | 200 ++- .../model/X_M_TransactionAllocation.java | 10 +- .../src/org/compiere/model/X_M_Warehouse.java | 76 +- .../compiere/model/X_M_Warehouse_Acct.java | 2 +- .../org/compiere/model/X_PA_Achievement.java | 20 +- .../org/compiere/model/X_PA_Benchmark.java | 28 +- .../compiere/model/X_PA_BenchmarkData.java | 16 +- .../org/compiere/model/X_PA_ColorSchema.java | 20 +- .../compiere/model/X_PA_DashboardContent.java | 14 +- base/src/org/compiere/model/X_PA_Goal.java | 80 +- .../compiere/model/X_PA_GoalRestriction.java | 140 +- .../org/compiere/model/X_PA_Hierarchy.java | 20 +- base/src/org/compiere/model/X_PA_Measure.java | 76 +- .../org/compiere/model/X_PA_MeasureCalc.java | 62 +- base/src/org/compiere/model/X_PA_Ratio.java | 20 +- .../org/compiere/model/X_PA_RatioElement.java | 88 +- base/src/org/compiere/model/X_PA_Report.java | 66 +- .../org/compiere/model/X_PA_ReportColumn.java | 200 +-- .../compiere/model/X_PA_ReportColumnSet.java | 14 +- .../org/compiere/model/X_PA_ReportLine.java | 86 +- .../compiere/model/X_PA_ReportLineSet.java | 14 +- .../org/compiere/model/X_PA_ReportSource.java | 16 +- .../org/compiere/model/X_PA_SLA_Criteria.java | 26 +- .../src/org/compiere/model/X_PA_SLA_Goal.java | 20 +- .../org/compiere/model/X_PA_SLA_Measure.java | 10 +- .../src/org/compiere/model/X_RV_BPartner.java | 1270 +++++++---------- .../compiere/model/X_RV_WarehousePrice.java | 78 +- base/src/org/compiere/model/X_R_Category.java | 20 +- .../compiere/model/X_R_CategoryUpdates.java | 2 +- .../compiere/model/X_R_ContactInterest.java | 2 +- base/src/org/compiere/model/X_R_Group.java | 20 +- .../org/compiere/model/X_R_GroupUpdates.java | 2 +- .../org/compiere/model/X_R_InterestArea.java | 20 +- .../org/compiere/model/X_R_IssueKnown.java | 100 +- .../org/compiere/model/X_R_IssueProject.java | 34 +- .../model/X_R_IssueRecommendation.java | 20 +- .../org/compiere/model/X_R_IssueStatus.java | 14 +- .../org/compiere/model/X_R_IssueSystem.java | 28 +- .../src/org/compiere/model/X_R_IssueUser.java | 14 +- base/src/org/compiere/model/X_R_MailText.java | 32 +- base/src/org/compiere/model/X_R_Request.java | 574 ++++---- .../org/compiere/model/X_R_RequestAction.java | 328 ++--- .../compiere/model/X_R_RequestProcessor.java | 64 +- .../model/X_R_RequestProcessorLog.java | 74 +- .../model/X_R_RequestProcessor_Route.java | 8 +- .../org/compiere/model/X_R_RequestType.java | 22 +- .../model/X_R_RequestTypeUpdates.java | 2 +- .../org/compiere/model/X_R_RequestUpdate.java | 80 +- .../compiere/model/X_R_RequestUpdates.java | 2 +- .../org/compiere/model/X_R_Resolution.java | 20 +- .../compiere/model/X_R_StandardResponse.java | 54 +- base/src/org/compiere/model/X_R_Status.java | 26 +- .../compiere/model/X_R_StatusCategory.java | 20 +- .../org/compiere/model/X_S_ExpenseType.java | 20 +- base/src/org/compiere/model/X_S_Resource.java | 130 +- .../model/X_S_ResourceAssignment.java | 16 +- .../org/compiere/model/X_S_ResourceType.java | 54 +- .../model/X_S_ResourceUnAvailable.java | 50 +- .../org/compiere/model/X_S_TimeExpense.java | 32 +- .../compiere/model/X_S_TimeExpenseLine.java | 180 ++- base/src/org/compiere/model/X_S_TimeType.java | 20 +- base/src/org/compiere/model/X_S_Training.java | 38 +- .../compiere/model/X_S_Training_Class.java | 60 +- base/src/org/compiere/model/X_T_Aging.java | 410 +++--- .../model/X_T_DistributionRunDetail.java | 158 +- .../compiere/model/X_T_InventoryValue.java | 2 +- .../src/org/compiere/model/X_T_InvoiceGL.java | 62 +- .../src/org/compiere/model/X_T_Replenish.java | 122 +- base/src/org/compiere/model/X_T_Report.java | 14 +- .../compiere/model/X_T_ReportStatement.java | 16 +- .../org/compiere/model/X_T_Transaction.java | 534 ++++--- base/src/org/compiere/model/X_Test.java | 92 +- .../compiere/model/X_U_BlackListCheque.java | 14 +- base/src/org/compiere/model/X_U_RoleMenu.java | 2 +- base/src/org/compiere/model/X_U_WebMenu.java | 50 +- .../compiere/model/X_U_Web_Properties.java | 14 +- .../org/compiere/model/X_W_Advertisement.java | 98 +- base/src/org/compiere/model/X_W_Basket.java | 8 +- .../org/compiere/model/X_W_BasketLine.java | 60 +- base/src/org/compiere/model/X_W_Click.java | 78 +- .../org/compiere/model/X_W_ClickCount.java | 20 +- base/src/org/compiere/model/X_W_Counter.java | 78 +- .../org/compiere/model/X_W_CounterCount.java | 20 +- base/src/org/compiere/model/X_W_MailMsg.java | 46 +- base/src/org/compiere/model/X_W_Store.java | 464 +++--- .../model/I_DD_NetworkDistribution.java | 16 +- .../model/I_DD_NetworkDistributionLine.java | 60 +- base/src/org/eevolution/model/I_DD_Order.java | 104 +- .../org/eevolution/model/I_DD_OrderLine.java | 126 +- .../org/eevolution/model/I_EXP_Format.java | 16 +- .../eevolution/model/I_EXP_FormatLine.java | 34 +- .../org/eevolution/model/I_EXP_Processor.java | 16 +- .../model/I_EXP_ProcessorParameter.java | 34 +- .../model/I_EXP_Processor_Type.java | 16 +- .../org/eevolution/model/I_HR_Attribute.java | 16 +- .../org/eevolution/model/I_HR_Concept.java | 16 +- .../eevolution/model/I_HR_Concept_Acct.java | 16 +- .../model/I_HR_Concept_Category.java | 16 +- .../org/eevolution/model/I_HR_Contract.java | 16 +- .../org/eevolution/model/I_HR_Department.java | 31 +- .../org/eevolution/model/I_HR_Employee.java | 16 +- base/src/org/eevolution/model/I_HR_Job.java | 16 +- base/src/org/eevolution/model/I_HR_List.java | 34 +- .../org/eevolution/model/I_HR_ListLine.java | 16 +- .../org/eevolution/model/I_HR_ListType.java | 16 +- .../eevolution/model/I_HR_ListVersion.java | 34 +- .../org/eevolution/model/I_HR_Movement.java | 133 +- .../org/eevolution/model/I_HR_Payroll.java | 16 +- .../eevolution/model/I_HR_PayrollConcept.java | 16 +- .../src/org/eevolution/model/I_HR_Period.java | 16 +- .../org/eevolution/model/I_HR_Process.java | 68 +- base/src/org/eevolution/model/I_HR_Year.java | 16 +- .../org/eevolution/model/I_IMP_Processor.java | 16 +- .../eevolution/model/I_IMP_ProcessorLog.java | 34 +- .../model/I_IMP_ProcessorParameter.java | 34 +- .../model/I_IMP_Processor_Type.java | 16 +- .../eevolution/model/I_PP_Cost_Collector.java | 20 +- base/src/org/eevolution/model/I_PP_MRP.java | 16 +- base/src/org/eevolution/model/I_PP_Order.java | 16 +- .../org/eevolution/model/I_PP_Order_BOM.java | 16 +- .../eevolution/model/I_PP_Order_BOMLine.java | 16 +- .../model/I_PP_Order_BOMLineMA.java | 16 +- .../org/eevolution/model/I_PP_Order_Cost.java | 16 +- .../org/eevolution/model/I_PP_Order_Node.java | 20 +- .../eevolution/model/I_PP_Order_NodeNext.java | 20 +- .../model/I_PP_Order_Node_Asset.java | 20 +- .../model/I_PP_Order_Node_Product.java | 20 +- .../eevolution/model/I_PP_Order_Workflow.java | 20 +- .../eevolution/model/I_PP_Product_BOM.java | 83 +- .../model/I_PP_Product_BOMLine.java | 29 +- .../model/I_PP_Product_Planning.java | 16 +- .../eevolution/model/I_PP_WF_Node_Asset.java | 16 +- .../model/I_PP_WF_Node_Product.java | 16 +- .../eevolution/model/I_QM_Specification.java | 16 +- .../model/I_QM_SpecificationLine.java | 34 +- .../src/org/eevolution/model/I_RV_PP_WIP.java | 16 +- .../src/org/eevolution/model/I_T_BOMLine.java | 46 +- .../src/org/eevolution/model/I_T_MRP_CRP.java | 16 +- .../model/X_DD_NetworkDistribution.java | 44 +- .../model/X_DD_NetworkDistributionLine.java | 100 +- base/src/org/eevolution/model/X_DD_Order.java | 252 ++-- .../org/eevolution/model/X_DD_OrderLine.java | 248 ++-- .../org/eevolution/model/X_EXP_Format.java | 50 +- .../eevolution/model/X_EXP_FormatLine.java | 78 +- .../org/eevolution/model/X_EXP_Processor.java | 44 +- .../model/X_EXP_ProcessorParameter.java | 72 +- .../model/X_EXP_Processor_Type.java | 32 +- .../org/eevolution/model/X_HR_Attribute.java | 24 +- .../org/eevolution/model/X_HR_Concept.java | 44 +- .../eevolution/model/X_HR_Concept_Acct.java | 2 +- .../model/X_HR_Concept_Category.java | 20 +- .../org/eevolution/model/X_HR_Contract.java | 20 +- .../org/eevolution/model/X_HR_Department.java | 61 +- .../org/eevolution/model/X_HR_Employee.java | 34 +- base/src/org/eevolution/model/X_HR_Job.java | 20 +- base/src/org/eevolution/model/X_HR_List.java | 58 +- .../org/eevolution/model/X_HR_ListLine.java | 8 +- .../org/eevolution/model/X_HR_ListType.java | 20 +- .../eevolution/model/X_HR_ListVersion.java | 54 +- .../org/eevolution/model/X_HR_Movement.java | 303 +++- .../org/eevolution/model/X_HR_Payroll.java | 28 +- .../eevolution/model/X_HR_PayrollConcept.java | 10 +- .../src/org/eevolution/model/X_HR_Period.java | 30 +- .../org/eevolution/model/X_HR_Process.java | 120 +- base/src/org/eevolution/model/X_HR_Year.java | 4 +- .../org/eevolution/model/X_IMP_Processor.java | 52 +- .../eevolution/model/X_IMP_ProcessorLog.java | 72 +- .../model/X_IMP_ProcessorParameter.java | 72 +- .../model/X_IMP_Processor_Type.java | 32 +- .../eevolution/model/X_PP_Cost_Collector.java | 44 +- base/src/org/eevolution/model/X_PP_MRP.java | 52 +- base/src/org/eevolution/model/X_PP_Order.java | 74 +- .../org/eevolution/model/X_PP_Order_BOM.java | 62 +- .../eevolution/model/X_PP_Order_BOMLine.java | 44 +- .../model/X_PP_Order_BOMLineMA.java | 2 +- .../org/eevolution/model/X_PP_Order_Cost.java | 10 +- .../org/eevolution/model/X_PP_Order_Node.java | 116 +- .../eevolution/model/X_PP_Order_NodeNext.java | 28 +- .../model/X_PP_Order_Node_Asset.java | 10 +- .../model/X_PP_Order_Node_Product.java | 10 +- .../eevolution/model/X_PP_Order_Workflow.java | 98 +- .../eevolution/model/X_PP_Product_BOM.java | 181 +-- .../model/X_PP_Product_BOMLine.java | 60 +- .../model/X_PP_Product_Planning.java | 10 +- .../eevolution/model/X_PP_WF_Node_Asset.java | 2 +- .../model/X_PP_WF_Node_Product.java | 16 +- .../eevolution/model/X_QM_Specification.java | 20 +- .../model/X_QM_SpecificationLine.java | 68 +- .../src/org/eevolution/model/X_RV_PP_WIP.java | 2 +- .../src/org/eevolution/model/X_T_BOMLine.java | 86 +- .../src/org/eevolution/model/X_T_MRP_CRP.java | 8 +- 1294 files changed, 24379 insertions(+), 41726 deletions(-) diff --git a/base/src/org/compiere/model/I_AD_AccessLog.java b/base/src/org/compiere/model/I_AD_AccessLog.java index 802d4dd24f..d69901e18f 100644 --- a/base/src/org/compiere/model/I_AD_AccessLog.java +++ b/base/src/org/compiere/model/I_AD_AccessLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AccessLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_AccessLog { diff --git a/base/src/org/compiere/model/I_AD_Alert.java b/base/src/org/compiere/model/I_AD_Alert.java index 8dad6bd838..efb419152d 100644 --- a/base/src/org/compiere/model/I_AD_Alert.java +++ b/base/src/org/compiere/model/I_AD_Alert.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Alert - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Alert { @@ -56,6 +52,19 @@ public interface I_AD_Alert /** Load Meta Data */ + /** Column name AD_Alert_ID */ + public static final String COLUMNNAME_AD_Alert_ID = "AD_Alert_ID"; + + /** Set Alert. + * Adempiere Alert + */ + public void setAD_Alert_ID (int AD_Alert_ID); + + /** Get Alert. + * Adempiere Alert + */ + public int getAD_Alert_ID(); + /** Column name AD_AlertProcessor_ID */ public static final String COLUMNNAME_AD_AlertProcessor_ID = "AD_AlertProcessor_ID"; @@ -71,19 +80,6 @@ public interface I_AD_Alert public I_AD_AlertProcessor getAD_AlertProcessor() throws Exception; - /** Column name AD_Alert_ID */ - public static final String COLUMNNAME_AD_Alert_ID = "AD_Alert_ID"; - - /** Set Alert. - * Adempiere Alert - */ - public void setAD_Alert_ID (int AD_Alert_ID); - - /** Get Alert. - * Adempiere Alert - */ - public int getAD_Alert_ID(); - /** Column name AlertMessage */ public static final String COLUMNNAME_AlertMessage = "AlertMessage"; diff --git a/base/src/org/compiere/model/I_AD_AlertProcessor.java b/base/src/org/compiere/model/I_AD_AlertProcessor.java index 75802a6252..35508a97c7 100644 --- a/base/src/org/compiere/model/I_AD_AlertProcessor.java +++ b/base/src/org/compiere/model/I_AD_AlertProcessor.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AlertProcessor - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_AlertProcessor { diff --git a/base/src/org/compiere/model/I_AD_AlertProcessorLog.java b/base/src/org/compiere/model/I_AD_AlertProcessorLog.java index fba238c23d..370edd1538 100644 --- a/base/src/org/compiere/model/I_AD_AlertProcessorLog.java +++ b/base/src/org/compiere/model/I_AD_AlertProcessorLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AlertProcessorLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_AlertProcessorLog { @@ -56,19 +52,6 @@ public interface I_AD_AlertProcessorLog /** Load Meta Data */ - /** Column name AD_AlertProcessorLog_ID */ - public static final String COLUMNNAME_AD_AlertProcessorLog_ID = "AD_AlertProcessorLog_ID"; - - /** Set Alert Processor Log. - * Result of the execution of the Alert Processor - */ - public void setAD_AlertProcessorLog_ID (int AD_AlertProcessorLog_ID); - - /** Get Alert Processor Log. - * Result of the execution of the Alert Processor - */ - public int getAD_AlertProcessorLog_ID(); - /** Column name AD_AlertProcessor_ID */ public static final String COLUMNNAME_AD_AlertProcessor_ID = "AD_AlertProcessor_ID"; @@ -84,6 +67,19 @@ public interface I_AD_AlertProcessorLog public I_AD_AlertProcessor getAD_AlertProcessor() throws Exception; + /** Column name AD_AlertProcessorLog_ID */ + public static final String COLUMNNAME_AD_AlertProcessorLog_ID = "AD_AlertProcessorLog_ID"; + + /** Set Alert Processor Log. + * Result of the execution of the Alert Processor + */ + public void setAD_AlertProcessorLog_ID (int AD_AlertProcessorLog_ID); + + /** Get Alert Processor Log. + * Result of the execution of the Alert Processor + */ + public int getAD_AlertProcessorLog_ID(); + /** Column name BinaryData */ public static final String COLUMNNAME_BinaryData = "BinaryData"; diff --git a/base/src/org/compiere/model/I_AD_AlertRecipient.java b/base/src/org/compiere/model/I_AD_AlertRecipient.java index eacd4bbfe7..0e8a05f007 100644 --- a/base/src/org/compiere/model/I_AD_AlertRecipient.java +++ b/base/src/org/compiere/model/I_AD_AlertRecipient.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AlertRecipient - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_AlertRecipient { @@ -56,19 +52,6 @@ public interface I_AD_AlertRecipient /** Load Meta Data */ - /** Column name AD_AlertRecipient_ID */ - public static final String COLUMNNAME_AD_AlertRecipient_ID = "AD_AlertRecipient_ID"; - - /** Set Alert Recipient. - * Recipient of the Alert Notification - */ - public void setAD_AlertRecipient_ID (int AD_AlertRecipient_ID); - - /** Get Alert Recipient. - * Recipient of the Alert Notification - */ - public int getAD_AlertRecipient_ID(); - /** Column name AD_Alert_ID */ public static final String COLUMNNAME_AD_Alert_ID = "AD_Alert_ID"; @@ -84,6 +67,19 @@ public interface I_AD_AlertRecipient public I_AD_Alert getAD_Alert() throws Exception; + /** Column name AD_AlertRecipient_ID */ + public static final String COLUMNNAME_AD_AlertRecipient_ID = "AD_AlertRecipient_ID"; + + /** Set Alert Recipient. + * Recipient of the Alert Notification + */ + public void setAD_AlertRecipient_ID (int AD_AlertRecipient_ID); + + /** Get Alert Recipient. + * Recipient of the Alert Notification + */ + public int getAD_AlertRecipient_ID(); + /** Column name AD_Role_ID */ public static final String COLUMNNAME_AD_Role_ID = "AD_Role_ID"; diff --git a/base/src/org/compiere/model/I_AD_AlertRule.java b/base/src/org/compiere/model/I_AD_AlertRule.java index 7b556b913b..ea27f42d05 100644 --- a/base/src/org/compiere/model/I_AD_AlertRule.java +++ b/base/src/org/compiere/model/I_AD_AlertRule.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AlertRule - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_AlertRule { @@ -56,19 +52,6 @@ public interface I_AD_AlertRule /** Load Meta Data */ - /** Column name AD_AlertRule_ID */ - public static final String COLUMNNAME_AD_AlertRule_ID = "AD_AlertRule_ID"; - - /** Set Alert Rule. - * Definition of the alert element - */ - public void setAD_AlertRule_ID (int AD_AlertRule_ID); - - /** Get Alert Rule. - * Definition of the alert element - */ - public int getAD_AlertRule_ID(); - /** Column name AD_Alert_ID */ public static final String COLUMNNAME_AD_Alert_ID = "AD_Alert_ID"; @@ -84,6 +67,19 @@ public interface I_AD_AlertRule public I_AD_Alert getAD_Alert() throws Exception; + /** Column name AD_AlertRule_ID */ + public static final String COLUMNNAME_AD_AlertRule_ID = "AD_AlertRule_ID"; + + /** Set Alert Rule. + * Definition of the alert element + */ + public void setAD_AlertRule_ID (int AD_AlertRule_ID); + + /** Get Alert Rule. + * Definition of the alert element + */ + public int getAD_AlertRule_ID(); + /** Column name AD_Table_ID */ public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID"; diff --git a/base/src/org/compiere/model/I_AD_Archive.java b/base/src/org/compiere/model/I_AD_Archive.java index a5bd52d1fa..d55d97edab 100644 --- a/base/src/org/compiere/model/I_AD_Archive.java +++ b/base/src/org/compiere/model/I_AD_Archive.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Archive - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Archive { diff --git a/base/src/org/compiere/model/I_AD_Attachment.java b/base/src/org/compiere/model/I_AD_Attachment.java index 3784ecf339..db46e8c011 100644 --- a/base/src/org/compiere/model/I_AD_Attachment.java +++ b/base/src/org/compiere/model/I_AD_Attachment.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Attachment - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Attachment { diff --git a/base/src/org/compiere/model/I_AD_AttachmentNote.java b/base/src/org/compiere/model/I_AD_AttachmentNote.java index add30cdba7..370e563500 100644 --- a/base/src/org/compiere/model/I_AD_AttachmentNote.java +++ b/base/src/org/compiere/model/I_AD_AttachmentNote.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AttachmentNote - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_AttachmentNote { @@ -56,19 +52,6 @@ public interface I_AD_AttachmentNote /** Load Meta Data */ - /** Column name AD_AttachmentNote_ID */ - public static final String COLUMNNAME_AD_AttachmentNote_ID = "AD_AttachmentNote_ID"; - - /** Set Attachment Note. - * Personal Attachment Note - */ - public void setAD_AttachmentNote_ID (int AD_AttachmentNote_ID); - - /** Get Attachment Note. - * Personal Attachment Note - */ - public int getAD_AttachmentNote_ID(); - /** Column name AD_Attachment_ID */ public static final String COLUMNNAME_AD_Attachment_ID = "AD_Attachment_ID"; @@ -84,6 +67,19 @@ public interface I_AD_AttachmentNote public I_AD_Attachment getAD_Attachment() throws Exception; + /** Column name AD_AttachmentNote_ID */ + public static final String COLUMNNAME_AD_AttachmentNote_ID = "AD_AttachmentNote_ID"; + + /** Set Attachment Note. + * Personal Attachment Note + */ + public void setAD_AttachmentNote_ID (int AD_AttachmentNote_ID); + + /** Get Attachment Note. + * Personal Attachment Note + */ + public int getAD_AttachmentNote_ID(); + /** Column name AD_User_ID */ public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; diff --git a/base/src/org/compiere/model/I_AD_Attribute.java b/base/src/org/compiere/model/I_AD_Attribute.java index 9ba3974a27..b1f1043072 100644 --- a/base/src/org/compiere/model/I_AD_Attribute.java +++ b/base/src/org/compiere/model/I_AD_Attribute.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Attribute - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Attribute { @@ -333,21 +329,6 @@ public interface I_AD_Attribute */ public int getSeqNo(); - /** Column name VFormat */ - public static final String COLUMNNAME_VFormat = "VFormat"; - - /** Set Value Format. - * Format of the value; - Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public void setVFormat (String VFormat); - - /** Get Value Format. - * Format of the value; - Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public String getVFormat(); - /** Column name ValueMax */ public static final String COLUMNNAME_ValueMax = "ValueMax"; @@ -373,4 +354,19 @@ public interface I_AD_Attribute * Minimum Value for a field */ public String getValueMin(); + + /** Column name VFormat */ + public static final String COLUMNNAME_VFormat = "VFormat"; + + /** Set Value Format. + * Format of the value; + Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public void setVFormat (String VFormat); + + /** Get Value Format. + * Format of the value; + Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public String getVFormat(); } diff --git a/base/src/org/compiere/model/I_AD_Attribute_Value.java b/base/src/org/compiere/model/I_AD_Attribute_Value.java index aac4500e9c..4d9ec8c5c0 100644 --- a/base/src/org/compiere/model/I_AD_Attribute_Value.java +++ b/base/src/org/compiere/model/I_AD_Attribute_Value.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Attribute_Value - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Attribute_Value { diff --git a/base/src/org/compiere/model/I_AD_ChangeLog.java b/base/src/org/compiere/model/I_AD_ChangeLog.java index 337e1b54c2..1b2dd63958 100644 --- a/base/src/org/compiere/model/I_AD_ChangeLog.java +++ b/base/src/org/compiere/model/I_AD_ChangeLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ChangeLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ChangeLog { diff --git a/base/src/org/compiere/model/I_AD_Client.java b/base/src/org/compiere/model/I_AD_Client.java index bf731bb2df..6e8af3d697 100644 --- a/base/src/org/compiere/model/I_AD_Client.java +++ b/base/src/org/compiere/model/I_AD_Client.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Client - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Client { diff --git a/base/src/org/compiere/model/I_AD_ClientInfo.java b/base/src/org/compiere/model/I_AD_ClientInfo.java index 4aada29cac..632ea65681 100644 --- a/base/src/org/compiere/model/I_AD_ClientInfo.java +++ b/base/src/org/compiere/model/I_AD_ClientInfo.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ClientInfo - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ClientInfo { diff --git a/base/src/org/compiere/model/I_AD_ClientShare.java b/base/src/org/compiere/model/I_AD_ClientShare.java index 77c364083d..be0d29b2fe 100644 --- a/base/src/org/compiere/model/I_AD_ClientShare.java +++ b/base/src/org/compiere/model/I_AD_ClientShare.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ClientShare - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ClientShare { diff --git a/base/src/org/compiere/model/I_AD_Color.java b/base/src/org/compiere/model/I_AD_Color.java index 1f467d9a10..8edab6b081 100644 --- a/base/src/org/compiere/model/I_AD_Color.java +++ b/base/src/org/compiere/model/I_AD_Color.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Color - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Color { diff --git a/base/src/org/compiere/model/I_AD_Column.java b/base/src/org/compiere/model/I_AD_Column.java index 1c122f3245..0f2e215767 100644 --- a/base/src/org/compiere/model/I_AD_Column.java +++ b/base/src/org/compiere/model/I_AD_Column.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Column - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Column { @@ -276,6 +272,19 @@ public interface I_AD_Column */ public String getInfoFactoryClass(); + /** Column name IsAllowLogging */ + public static final String COLUMNNAME_IsAllowLogging = "IsAllowLogging"; + + /** Set IsAllowLogging. + * Determine if a column must be recorded into the change log + */ + public void setIsAllowLogging (boolean IsAllowLogging); + + /** Get IsAllowLogging. + * Determine if a column must be recorded into the change log + */ + public boolean isAllowLogging(); + /** Column name IsAlwaysUpdateable */ public static final String COLUMNNAME_IsAlwaysUpdateable = "IsAlwaysUpdateable"; @@ -469,21 +478,6 @@ public interface I_AD_Column */ public int getSeqNo(); - /** Column name VFormat */ - public static final String COLUMNNAME_VFormat = "VFormat"; - - /** Set Value Format. - * Format of the value; - Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public void setVFormat (String VFormat); - - /** Get Value Format. - * Format of the value; - Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public String getVFormat(); - /** Column name ValueMax */ public static final String COLUMNNAME_ValueMax = "ValueMax"; @@ -522,13 +516,19 @@ public interface I_AD_Column * Version of the table definition */ public BigDecimal getVersion(); - - /** Column name IsAllowLogging */ - public static final String COLUMNNAME_isAllowLogging = "IsAllowLogging"; + /** Column name VFormat */ + public static final String COLUMNNAME_VFormat = "VFormat"; - /** Get IsAllowLogging . - * Determines, if a column must be recorded into the change log + /** Set Value Format. + * Format of the value; + Can contain fixed format elements, Variables: "_lLoOaAcCa09" */ - public boolean IsAllowLogging() ; + public void setVFormat (String VFormat); + + /** Get Value Format. + * Format of the value; + Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public String getVFormat(); } diff --git a/base/src/org/compiere/model/I_AD_Column_Access.java b/base/src/org/compiere/model/I_AD_Column_Access.java index ca9e70d000..ab28e6c924 100644 --- a/base/src/org/compiere/model/I_AD_Column_Access.java +++ b/base/src/org/compiere/model/I_AD_Column_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Column_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Column_Access { diff --git a/base/src/org/compiere/model/I_AD_Desktop.java b/base/src/org/compiere/model/I_AD_Desktop.java index 3cb0e32cd5..f60af76c8b 100644 --- a/base/src/org/compiere/model/I_AD_Desktop.java +++ b/base/src/org/compiere/model/I_AD_Desktop.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Desktop - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Desktop { diff --git a/base/src/org/compiere/model/I_AD_DesktopWorkbench.java b/base/src/org/compiere/model/I_AD_DesktopWorkbench.java index 3db7857dad..eb99fa4dbc 100644 --- a/base/src/org/compiere/model/I_AD_DesktopWorkbench.java +++ b/base/src/org/compiere/model/I_AD_DesktopWorkbench.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_DesktopWorkbench - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_DesktopWorkbench { @@ -56,15 +52,6 @@ public interface I_AD_DesktopWorkbench /** Load Meta Data */ - /** Column name AD_DesktopWorkbench_ID */ - public static final String COLUMNNAME_AD_DesktopWorkbench_ID = "AD_DesktopWorkbench_ID"; - - /** Set Desktop Workbench */ - public void setAD_DesktopWorkbench_ID (int AD_DesktopWorkbench_ID); - - /** Get Desktop Workbench */ - public int getAD_DesktopWorkbench_ID(); - /** Column name AD_Desktop_ID */ public static final String COLUMNNAME_AD_Desktop_ID = "AD_Desktop_ID"; @@ -80,6 +67,15 @@ public interface I_AD_DesktopWorkbench public I_AD_Desktop getAD_Desktop() throws Exception; + /** Column name AD_DesktopWorkbench_ID */ + public static final String COLUMNNAME_AD_DesktopWorkbench_ID = "AD_DesktopWorkbench_ID"; + + /** Set Desktop Workbench */ + public void setAD_DesktopWorkbench_ID (int AD_DesktopWorkbench_ID); + + /** Get Desktop Workbench */ + public int getAD_DesktopWorkbench_ID(); + /** Column name AD_Workbench_ID */ public static final String COLUMNNAME_AD_Workbench_ID = "AD_Workbench_ID"; diff --git a/base/src/org/compiere/model/I_AD_Document_Action_Access.java b/base/src/org/compiere/model/I_AD_Document_Action_Access.java index 269b0967eb..3670b06111 100644 --- a/base/src/org/compiere/model/I_AD_Document_Action_Access.java +++ b/base/src/org/compiere/model/I_AD_Document_Action_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Document_Action_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Document_Action_Access { diff --git a/base/src/org/compiere/model/I_AD_Element.java b/base/src/org/compiere/model/I_AD_Element.java index 8d671d69a2..16f3faf977 100644 --- a/base/src/org/compiere/model/I_AD_Element.java +++ b/base/src/org/compiere/model/I_AD_Element.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Element - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Element { diff --git a/base/src/org/compiere/model/I_AD_EntityType.java b/base/src/org/compiere/model/I_AD_EntityType.java index 5b4761c29b..00b84c297a 100644 --- a/base/src/org/compiere/model/I_AD_EntityType.java +++ b/base/src/org/compiere/model/I_AD_EntityType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_EntityType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_EntityType { diff --git a/base/src/org/compiere/model/I_AD_Error.java b/base/src/org/compiere/model/I_AD_Error.java index d2b8bd0a8d..d3924121ba 100644 --- a/base/src/org/compiere/model/I_AD_Error.java +++ b/base/src/org/compiere/model/I_AD_Error.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Error - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Error { diff --git a/base/src/org/compiere/model/I_AD_Field.java b/base/src/org/compiere/model/I_AD_Field.java index 2bc94daf4e..278a3f218e 100644 --- a/base/src/org/compiere/model/I_AD_Field.java +++ b/base/src/org/compiere/model/I_AD_Field.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Field - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Field { diff --git a/base/src/org/compiere/model/I_AD_FieldGroup.java b/base/src/org/compiere/model/I_AD_FieldGroup.java index f4c82baec8..e2cc597d53 100644 --- a/base/src/org/compiere/model/I_AD_FieldGroup.java +++ b/base/src/org/compiere/model/I_AD_FieldGroup.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_FieldGroup - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_FieldGroup { diff --git a/base/src/org/compiere/model/I_AD_Find.java b/base/src/org/compiere/model/I_AD_Find.java index a8f0a66fae..f95631eb15 100644 --- a/base/src/org/compiere/model/I_AD_Find.java +++ b/base/src/org/compiere/model/I_AD_Find.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Find - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Find { diff --git a/base/src/org/compiere/model/I_AD_Form.java b/base/src/org/compiere/model/I_AD_Form.java index 095daccc68..91cc77a9db 100644 --- a/base/src/org/compiere/model/I_AD_Form.java +++ b/base/src/org/compiere/model/I_AD_Form.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Form - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Form { @@ -56,19 +52,6 @@ public interface I_AD_Form /** Load Meta Data */ - /** Column name AD_Form_ID */ - public static final String COLUMNNAME_AD_Form_ID = "AD_Form_ID"; - - /** Set Special Form. - * Special Form - */ - public void setAD_Form_ID (int AD_Form_ID); - - /** Get Special Form. - * Special Form - */ - public int getAD_Form_ID(); - /** Column name AccessLevel */ public static final String COLUMNNAME_AccessLevel = "AccessLevel"; @@ -82,6 +65,19 @@ public interface I_AD_Form */ public String getAccessLevel(); + /** Column name AD_Form_ID */ + public static final String COLUMNNAME_AD_Form_ID = "AD_Form_ID"; + + /** Set Special Form. + * Special Form + */ + public void setAD_Form_ID (int AD_Form_ID); + + /** Get Special Form. + * Special Form + */ + public int getAD_Form_ID(); + /** Column name Classname */ public static final String COLUMNNAME_Classname = "Classname"; diff --git a/base/src/org/compiere/model/I_AD_Form_Access.java b/base/src/org/compiere/model/I_AD_Form_Access.java index e6b130422c..6cf185d5b1 100644 --- a/base/src/org/compiere/model/I_AD_Form_Access.java +++ b/base/src/org/compiere/model/I_AD_Form_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Form_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Form_Access { diff --git a/base/src/org/compiere/model/I_AD_Image.java b/base/src/org/compiere/model/I_AD_Image.java index c52ac54830..60c6b2b4b3 100644 --- a/base/src/org/compiere/model/I_AD_Image.java +++ b/base/src/org/compiere/model/I_AD_Image.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Image - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Image { diff --git a/base/src/org/compiere/model/I_AD_ImpFormat.java b/base/src/org/compiere/model/I_AD_ImpFormat.java index 587673902a..bf5bb5e5f1 100644 --- a/base/src/org/compiere/model/I_AD_ImpFormat.java +++ b/base/src/org/compiere/model/I_AD_ImpFormat.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ImpFormat - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ImpFormat { diff --git a/base/src/org/compiere/model/I_AD_ImpFormat_Row.java b/base/src/org/compiere/model/I_AD_ImpFormat_Row.java index 7f00af1caa..9fee578afd 100644 --- a/base/src/org/compiere/model/I_AD_ImpFormat_Row.java +++ b/base/src/org/compiere/model/I_AD_ImpFormat_Row.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ImpFormat_Row - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ImpFormat_Row { diff --git a/base/src/org/compiere/model/I_AD_InfoColumn.java b/base/src/org/compiere/model/I_AD_InfoColumn.java index cead541360..2179bd4d7d 100644 --- a/base/src/org/compiere/model/I_AD_InfoColumn.java +++ b/base/src/org/compiere/model/I_AD_InfoColumn.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_InfoColumn - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_InfoColumn { diff --git a/base/src/org/compiere/model/I_AD_InfoWindow.java b/base/src/org/compiere/model/I_AD_InfoWindow.java index c7dc5bf271..58a5d90b53 100644 --- a/base/src/org/compiere/model/I_AD_InfoWindow.java +++ b/base/src/org/compiere/model/I_AD_InfoWindow.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_InfoWindow - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_InfoWindow { diff --git a/base/src/org/compiere/model/I_AD_Issue.java b/base/src/org/compiere/model/I_AD_Issue.java index cd598214e7..4a024822af 100644 --- a/base/src/org/compiere/model/I_AD_Issue.java +++ b/base/src/org/compiere/model/I_AD_Issue.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Issue - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Issue { @@ -56,6 +52,21 @@ public interface I_AD_Issue /** Load Meta Data */ + /** Column name A_Asset_ID */ + public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; + + /** Set Asset. + * Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID); + + /** Get Asset. + * Asset used internally or by customers + */ + public int getA_Asset_ID(); + + public I_A_Asset getA_Asset() throws Exception; + /** Column name AD_Form_ID */ public static final String COLUMNNAME_AD_Form_ID = "AD_Form_ID"; @@ -114,21 +125,6 @@ public interface I_AD_Issue public I_AD_Window getAD_Window() throws Exception; - /** Column name A_Asset_ID */ - public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; - - /** Set Asset. - * Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID); - - /** Get Asset. - * Asset used internally or by customers - */ - public int getA_Asset_ID(); - - public I_A_Asset getA_Asset() throws Exception; - /** Column name Comments */ public static final String COLUMNNAME_Comments = "Comments"; @@ -142,19 +138,6 @@ public interface I_AD_Issue */ public String getComments(); - /** Column name DBAddress */ - public static final String COLUMNNAME_DBAddress = "DBAddress"; - - /** Set DB Address. - * JDBC URL of the database server - */ - public void setDBAddress (String DBAddress); - - /** Get DB Address. - * JDBC URL of the database server - */ - public String getDBAddress(); - /** Column name DatabaseInfo */ public static final String COLUMNNAME_DatabaseInfo = "DatabaseInfo"; @@ -168,6 +151,19 @@ public interface I_AD_Issue */ public String getDatabaseInfo(); + /** Column name DBAddress */ + public static final String COLUMNNAME_DBAddress = "DBAddress"; + + /** Set DB Address. + * JDBC URL of the database server + */ + public void setDBAddress (String DBAddress); + + /** Get DB Address. + * JDBC URL of the database server + */ + public String getDBAddress(); + /** Column name ErrorTrace */ public static final String COLUMNNAME_ErrorTrace = "ErrorTrace"; @@ -194,19 +190,6 @@ public interface I_AD_Issue */ public String getIsReproducible(); - /** Column name IsVanillaSystem */ - public static final String COLUMNNAME_IsVanillaSystem = "IsVanillaSystem"; - - /** Set Vanilla System. - * The system was NOT compiled from Source - i.e. standard distribution - */ - public void setIsVanillaSystem (String IsVanillaSystem); - - /** Get Vanilla System. - * The system was NOT compiled from Source - i.e. standard distribution - */ - public String getIsVanillaSystem(); - /** Column name IssueSource */ public static final String COLUMNNAME_IssueSource = "IssueSource"; @@ -233,6 +216,19 @@ public interface I_AD_Issue */ public String getIssueSummary(); + /** Column name IsVanillaSystem */ + public static final String COLUMNNAME_IsVanillaSystem = "IsVanillaSystem"; + + /** Set Vanilla System. + * The system was NOT compiled from Source - i.e. standard distribution + */ + public void setIsVanillaSystem (String IsVanillaSystem); + + /** Get Vanilla System. + * The system was NOT compiled from Source - i.e. standard distribution + */ + public String getIsVanillaSystem(); + /** Column name JavaInfo */ public static final String COLUMNNAME_JavaInfo = "JavaInfo"; @@ -346,81 +342,6 @@ public interface I_AD_Issue */ public String getProfileInfo(); - /** Column name R_IssueKnown_ID */ - public static final String COLUMNNAME_R_IssueKnown_ID = "R_IssueKnown_ID"; - - /** Set Known Issue. - * Known Issue - */ - public void setR_IssueKnown_ID (int R_IssueKnown_ID); - - /** Get Known Issue. - * Known Issue - */ - public int getR_IssueKnown_ID(); - - public I_R_IssueKnown getR_IssueKnown() throws Exception; - - /** Column name R_IssueProject_ID */ - public static final String COLUMNNAME_R_IssueProject_ID = "R_IssueProject_ID"; - - /** Set Issue Project. - * Implementation Projects - */ - public void setR_IssueProject_ID (int R_IssueProject_ID); - - /** Get Issue Project. - * Implementation Projects - */ - public int getR_IssueProject_ID(); - - public I_R_IssueProject getR_IssueProject() throws Exception; - - /** Column name R_IssueSystem_ID */ - public static final String COLUMNNAME_R_IssueSystem_ID = "R_IssueSystem_ID"; - - /** Set Issue System. - * System creating the issue - */ - public void setR_IssueSystem_ID (int R_IssueSystem_ID); - - /** Get Issue System. - * System creating the issue - */ - public int getR_IssueSystem_ID(); - - public I_R_IssueSystem getR_IssueSystem() throws Exception; - - /** Column name R_IssueUser_ID */ - public static final String COLUMNNAME_R_IssueUser_ID = "R_IssueUser_ID"; - - /** Set IssueUser. - * User who reported issues - */ - public void setR_IssueUser_ID (int R_IssueUser_ID); - - /** Get IssueUser. - * User who reported issues - */ - public int getR_IssueUser_ID(); - - public I_R_IssueUser getR_IssueUser() throws Exception; - - /** Column name R_Request_ID */ - public static final String COLUMNNAME_R_Request_ID = "R_Request_ID"; - - /** Set Request. - * Request from a Business Partner or Prospect - */ - public void setR_Request_ID (int R_Request_ID); - - /** Get Request. - * Request from a Business Partner or Prospect - */ - public int getR_Request_ID(); - - public I_R_Request getR_Request() throws Exception; - /** Column name Record_ID */ public static final String COLUMNNAME_Record_ID = "Record_ID"; @@ -512,6 +433,81 @@ public interface I_AD_Issue */ public String getResponseText(); + /** Column name R_IssueKnown_ID */ + public static final String COLUMNNAME_R_IssueKnown_ID = "R_IssueKnown_ID"; + + /** Set Known Issue. + * Known Issue + */ + public void setR_IssueKnown_ID (int R_IssueKnown_ID); + + /** Get Known Issue. + * Known Issue + */ + public int getR_IssueKnown_ID(); + + public I_R_IssueKnown getR_IssueKnown() throws Exception; + + /** Column name R_IssueProject_ID */ + public static final String COLUMNNAME_R_IssueProject_ID = "R_IssueProject_ID"; + + /** Set Issue Project. + * Implementation Projects + */ + public void setR_IssueProject_ID (int R_IssueProject_ID); + + /** Get Issue Project. + * Implementation Projects + */ + public int getR_IssueProject_ID(); + + public I_R_IssueProject getR_IssueProject() throws Exception; + + /** Column name R_IssueSystem_ID */ + public static final String COLUMNNAME_R_IssueSystem_ID = "R_IssueSystem_ID"; + + /** Set Issue System. + * System creating the issue + */ + public void setR_IssueSystem_ID (int R_IssueSystem_ID); + + /** Get Issue System. + * System creating the issue + */ + public int getR_IssueSystem_ID(); + + public I_R_IssueSystem getR_IssueSystem() throws Exception; + + /** Column name R_IssueUser_ID */ + public static final String COLUMNNAME_R_IssueUser_ID = "R_IssueUser_ID"; + + /** Set IssueUser. + * User who reported issues + */ + public void setR_IssueUser_ID (int R_IssueUser_ID); + + /** Get IssueUser. + * User who reported issues + */ + public int getR_IssueUser_ID(); + + public I_R_IssueUser getR_IssueUser() throws Exception; + + /** Column name R_Request_ID */ + public static final String COLUMNNAME_R_Request_ID = "R_Request_ID"; + + /** Set Request. + * Request from a Business Partner or Prospect + */ + public void setR_Request_ID (int R_Request_ID); + + /** Get Request. + * Request from a Business Partner or Prospect + */ + public int getR_Request_ID(); + + public I_R_Request getR_Request() throws Exception; + /** Column name SourceClassName */ public static final String COLUMNNAME_SourceClassName = "SourceClassName"; diff --git a/base/src/org/compiere/model/I_AD_LabelPrinter.java b/base/src/org/compiere/model/I_AD_LabelPrinter.java index 3bf5c1968e..4a5bad9637 100644 --- a/base/src/org/compiere/model/I_AD_LabelPrinter.java +++ b/base/src/org/compiere/model/I_AD_LabelPrinter.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LabelPrinter - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_LabelPrinter { diff --git a/base/src/org/compiere/model/I_AD_LabelPrinterFunction.java b/base/src/org/compiere/model/I_AD_LabelPrinterFunction.java index 68088c501b..9396a3d108 100644 --- a/base/src/org/compiere/model/I_AD_LabelPrinterFunction.java +++ b/base/src/org/compiere/model/I_AD_LabelPrinterFunction.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LabelPrinterFunction - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_LabelPrinterFunction { diff --git a/base/src/org/compiere/model/I_AD_Language.java b/base/src/org/compiere/model/I_AD_Language.java index 31012a65bb..272cfd13be 100644 --- a/base/src/org/compiere/model/I_AD_Language.java +++ b/base/src/org/compiere/model/I_AD_Language.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Language - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Language { diff --git a/base/src/org/compiere/model/I_AD_LdapAccess.java b/base/src/org/compiere/model/I_AD_LdapAccess.java index cf10a5fb94..9bba3af3f3 100644 --- a/base/src/org/compiere/model/I_AD_LdapAccess.java +++ b/base/src/org/compiere/model/I_AD_LdapAccess.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LdapAccess - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_LdapAccess { diff --git a/base/src/org/compiere/model/I_AD_LdapProcessor.java b/base/src/org/compiere/model/I_AD_LdapProcessor.java index e799486926..355cb3e3e3 100644 --- a/base/src/org/compiere/model/I_AD_LdapProcessor.java +++ b/base/src/org/compiere/model/I_AD_LdapProcessor.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LdapProcessor - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_LdapProcessor { diff --git a/base/src/org/compiere/model/I_AD_LdapProcessorLog.java b/base/src/org/compiere/model/I_AD_LdapProcessorLog.java index 7c9f1c03e9..f7f70f7b45 100644 --- a/base/src/org/compiere/model/I_AD_LdapProcessorLog.java +++ b/base/src/org/compiere/model/I_AD_LdapProcessorLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LdapProcessorLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_LdapProcessorLog { @@ -56,19 +52,6 @@ public interface I_AD_LdapProcessorLog /** Load Meta Data */ - /** Column name AD_LdapProcessorLog_ID */ - public static final String COLUMNNAME_AD_LdapProcessorLog_ID = "AD_LdapProcessorLog_ID"; - - /** Set Ldap Processor Log. - * LDAP Server Log - */ - public void setAD_LdapProcessorLog_ID (int AD_LdapProcessorLog_ID); - - /** Get Ldap Processor Log. - * LDAP Server Log - */ - public int getAD_LdapProcessorLog_ID(); - /** Column name AD_LdapProcessor_ID */ public static final String COLUMNNAME_AD_LdapProcessor_ID = "AD_LdapProcessor_ID"; @@ -84,6 +67,19 @@ public interface I_AD_LdapProcessorLog public I_AD_LdapProcessor getAD_LdapProcessor() throws Exception; + /** Column name AD_LdapProcessorLog_ID */ + public static final String COLUMNNAME_AD_LdapProcessorLog_ID = "AD_LdapProcessorLog_ID"; + + /** Set Ldap Processor Log. + * LDAP Server Log + */ + public void setAD_LdapProcessorLog_ID (int AD_LdapProcessorLog_ID); + + /** Get Ldap Processor Log. + * LDAP Server Log + */ + public int getAD_LdapProcessorLog_ID(); + /** Column name BinaryData */ public static final String COLUMNNAME_BinaryData = "BinaryData"; diff --git a/base/src/org/compiere/model/I_AD_Menu.java b/base/src/org/compiere/model/I_AD_Menu.java index ed7c6c97ce..4654fdfb58 100644 --- a/base/src/org/compiere/model/I_AD_Menu.java +++ b/base/src/org/compiere/model/I_AD_Menu.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Menu - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Menu { @@ -56,6 +52,19 @@ public interface I_AD_Menu /** Load Meta Data */ + /** Column name Action */ + public static final String COLUMNNAME_Action = "Action"; + + /** Set Action. + * Indicates the Action to be performed + */ + public void setAction (String Action); + + /** Get Action. + * Indicates the Action to be performed + */ + public String getAction(); + /** Column name AD_Form_ID */ public static final String COLUMNNAME_AD_Form_ID = "AD_Form_ID"; @@ -159,19 +168,6 @@ public interface I_AD_Menu public I_AD_Workflow getAD_Workflow() throws Exception; - /** Column name Action */ - public static final String COLUMNNAME_Action = "Action"; - - /** Set Action. - * Indicates the Action to be performed - */ - public void setAction (String Action); - - /** Get Action. - * Indicates the Action to be performed - */ - public String getAction(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_AD_Message.java b/base/src/org/compiere/model/I_AD_Message.java index fa4e72b343..9a4170bc1f 100644 --- a/base/src/org/compiere/model/I_AD_Message.java +++ b/base/src/org/compiere/model/I_AD_Message.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Message - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Message { diff --git a/base/src/org/compiere/model/I_AD_MigrationScript.java b/base/src/org/compiere/model/I_AD_MigrationScript.java index b2253788fc..7038ade1f0 100644 --- a/base/src/org/compiere/model/I_AD_MigrationScript.java +++ b/base/src/org/compiere/model/I_AD_MigrationScript.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_MigrationScript - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_MigrationScript { @@ -100,6 +96,15 @@ public interface I_AD_MigrationScript */ public String getFileName(); + /** Column name isApply */ + public static final String COLUMNNAME_isApply = "isApply"; + + /** Set Apply Script */ + public void setisApply (boolean isApply); + + /** Get Apply Script */ + public boolean isApply(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; @@ -199,13 +204,4 @@ public interface I_AD_MigrationScript * Full URL address - e.g. http://www.adempiere.org */ public String getURL(); - - /** Column name isApply */ - public static final String COLUMNNAME_isApply = "isApply"; - - /** Set Apply Script */ - public void setisApply (boolean isApply); - - /** Get Apply Script */ - public boolean isApply(); } diff --git a/base/src/org/compiere/model/I_AD_ModelValidator.java b/base/src/org/compiere/model/I_AD_ModelValidator.java index 15fdc57e5a..ce74a39efc 100644 --- a/base/src/org/compiere/model/I_AD_ModelValidator.java +++ b/base/src/org/compiere/model/I_AD_ModelValidator.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ModelValidator - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ModelValidator { diff --git a/base/src/org/compiere/model/I_AD_Modification.java b/base/src/org/compiere/model/I_AD_Modification.java index ececb8cc4d..fcc7cb8525 100644 --- a/base/src/org/compiere/model/I_AD_Modification.java +++ b/base/src/org/compiere/model/I_AD_Modification.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Modification - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Modification { diff --git a/base/src/org/compiere/model/I_AD_Note.java b/base/src/org/compiere/model/I_AD_Note.java index febb82b475..3e36910fa3 100644 --- a/base/src/org/compiere/model/I_AD_Note.java +++ b/base/src/org/compiere/model/I_AD_Note.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Note - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Note { diff --git a/base/src/org/compiere/model/I_AD_Org.java b/base/src/org/compiere/model/I_AD_Org.java index 64cd440f8c..3e95aa5892 100644 --- a/base/src/org/compiere/model/I_AD_Org.java +++ b/base/src/org/compiere/model/I_AD_Org.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Org - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Org { diff --git a/base/src/org/compiere/model/I_AD_OrgInfo.java b/base/src/org/compiere/model/I_AD_OrgInfo.java index 82c23919e8..a1885025e7 100644 --- a/base/src/org/compiere/model/I_AD_OrgInfo.java +++ b/base/src/org/compiere/model/I_AD_OrgInfo.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_OrgInfo - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_OrgInfo { diff --git a/base/src/org/compiere/model/I_AD_OrgType.java b/base/src/org/compiere/model/I_AD_OrgType.java index 169fd4cb08..c1fbb70409 100644 --- a/base/src/org/compiere/model/I_AD_OrgType.java +++ b/base/src/org/compiere/model/I_AD_OrgType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_OrgType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_OrgType { diff --git a/base/src/org/compiere/model/I_AD_PInstance.java b/base/src/org/compiere/model/I_AD_PInstance.java index da32c17a40..d1a7de65d8 100644 --- a/base/src/org/compiere/model/I_AD_PInstance.java +++ b/base/src/org/compiere/model/I_AD_PInstance.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PInstance - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PInstance { diff --git a/base/src/org/compiere/model/I_AD_PInstance_Log.java b/base/src/org/compiere/model/I_AD_PInstance_Log.java index d075f9d7b6..2ffdfe6043 100644 --- a/base/src/org/compiere/model/I_AD_PInstance_Log.java +++ b/base/src/org/compiere/model/I_AD_PInstance_Log.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PInstance_Log - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PInstance_Log { diff --git a/base/src/org/compiere/model/I_AD_PInstance_Para.java b/base/src/org/compiere/model/I_AD_PInstance_Para.java index 08a6b6a52a..3194e300e1 100644 --- a/base/src/org/compiere/model/I_AD_PInstance_Para.java +++ b/base/src/org/compiere/model/I_AD_PInstance_Para.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PInstance_Para - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PInstance_Para { @@ -94,6 +90,15 @@ public interface I_AD_PInstance_Para /** Get Info To */ public String getInfo_To(); + /** Column name ParameterName */ + public static final String COLUMNNAME_ParameterName = "ParameterName"; + + /** Set Parameter Name */ + public void setParameterName (String ParameterName); + + /** Get Parameter Name */ + public String getParameterName(); + /** Column name P_Date */ public static final String COLUMNNAME_P_Date = "P_Date"; @@ -172,15 +177,6 @@ public interface I_AD_PInstance_Para */ public String getP_String_To(); - /** Column name ParameterName */ - public static final String COLUMNNAME_ParameterName = "ParameterName"; - - /** Set Parameter Name */ - public void setParameterName (String ParameterName); - - /** Get Parameter Name */ - public String getParameterName(); - /** Column name SeqNo */ public static final String COLUMNNAME_SeqNo = "SeqNo"; diff --git a/base/src/org/compiere/model/I_AD_Package_Exp.java b/base/src/org/compiere/model/I_AD_Package_Exp.java index 48bbe02a66..6791173609 100644 --- a/base/src/org/compiere/model/I_AD_Package_Exp.java +++ b/base/src/org/compiere/model/I_AD_Package_Exp.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Exp - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Package_Exp { diff --git a/base/src/org/compiere/model/I_AD_Package_Exp_Common.java b/base/src/org/compiere/model/I_AD_Package_Exp_Common.java index ade205e916..5c16518d1d 100644 --- a/base/src/org/compiere/model/I_AD_Package_Exp_Common.java +++ b/base/src/org/compiere/model/I_AD_Package_Exp_Common.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Exp_Common - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Package_Exp_Common { @@ -242,6 +238,15 @@ public interface I_AD_Package_Exp_Common /** Get Destination_Directory */ public String getDestination_Directory(); + /** Column name File_Directory */ + public static final String COLUMNNAME_File_Directory = "File_Directory"; + + /** Set File_Directory */ + public void setFile_Directory (String File_Directory); + + /** Get File_Directory */ + public String getFile_Directory(); + /** Column name FileName */ public static final String COLUMNNAME_FileName = "FileName"; @@ -255,15 +260,6 @@ public interface I_AD_Package_Exp_Common */ public String getFileName(); - /** Column name File_Directory */ - public static final String COLUMNNAME_File_Directory = "File_Directory"; - - /** Set File_Directory */ - public void setFile_Directory (String File_Directory); - - /** Get File_Directory */ - public String getFile_Directory(); - /** Column name Line */ public static final String COLUMNNAME_Line = "Line"; diff --git a/base/src/org/compiere/model/I_AD_Package_Exp_Detail.java b/base/src/org/compiere/model/I_AD_Package_Exp_Detail.java index b420fd09d0..802a7c6da8 100644 --- a/base/src/org/compiere/model/I_AD_Package_Exp_Detail.java +++ b/base/src/org/compiere/model/I_AD_Package_Exp_Detail.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Exp_Detail - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Package_Exp_Detail { @@ -336,6 +332,15 @@ public interface I_AD_Package_Exp_Detail /** Get Destination_FileName */ public String getDestination_FileName(); + /** Column name File_Directory */ + public static final String COLUMNNAME_File_Directory = "File_Directory"; + + /** Set File_Directory */ + public void setFile_Directory (String File_Directory); + + /** Get File_Directory */ + public String getFile_Directory(); + /** Column name FileName */ public static final String COLUMNNAME_FileName = "FileName"; @@ -349,15 +354,6 @@ public interface I_AD_Package_Exp_Detail */ public String getFileName(); - /** Column name File_Directory */ - public static final String COLUMNNAME_File_Directory = "File_Directory"; - - /** Set File_Directory */ - public void setFile_Directory (String File_Directory); - - /** Get File_Directory */ - public String getFile_Directory(); - /** Column name Line */ public static final String COLUMNNAME_Line = "Line"; diff --git a/base/src/org/compiere/model/I_AD_Package_Imp.java b/base/src/org/compiere/model/I_AD_Package_Imp.java index 0579c2bf14..bfbb07e993 100644 --- a/base/src/org/compiere/model/I_AD_Package_Imp.java +++ b/base/src/org/compiere/model/I_AD_Package_Imp.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Package_Imp { diff --git a/base/src/org/compiere/model/I_AD_Package_Imp_Backup.java b/base/src/org/compiere/model/I_AD_Package_Imp_Backup.java index 0825b70cc7..bfea26bb2c 100644 --- a/base/src/org/compiere/model/I_AD_Package_Imp_Backup.java +++ b/base/src/org/compiere/model/I_AD_Package_Imp_Backup.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp_Backup - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Package_Imp_Backup { diff --git a/base/src/org/compiere/model/I_AD_Package_Imp_Detail.java b/base/src/org/compiere/model/I_AD_Package_Imp_Detail.java index 986f81fe7a..e009dec5b6 100644 --- a/base/src/org/compiere/model/I_AD_Package_Imp_Detail.java +++ b/base/src/org/compiere/model/I_AD_Package_Imp_Detail.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp_Detail - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Package_Imp_Detail { @@ -56,6 +52,28 @@ public interface I_AD_Package_Imp_Detail /** Load Meta Data */ + /** Column name Action */ + public static final String COLUMNNAME_Action = "Action"; + + /** Set Action. + * Indicates the Action to be performed + */ + public void setAction (String Action); + + /** Get Action. + * Indicates the Action to be performed + */ + public String getAction(); + + /** Column name Ad_Backup_ID */ + public static final String COLUMNNAME_Ad_Backup_ID = "Ad_Backup_ID"; + + /** Set Ad_Backup_ID */ + public void setAd_Backup_ID (int Ad_Backup_ID); + + /** Get Ad_Backup_ID */ + public int getAd_Backup_ID(); + /** Column name AD_Original_ID */ public static final String COLUMNNAME_AD_Original_ID = "AD_Original_ID"; @@ -96,28 +114,6 @@ public interface I_AD_Package_Imp_Detail */ public int getAD_Table_ID(); - /** Column name Action */ - public static final String COLUMNNAME_Action = "Action"; - - /** Set Action. - * Indicates the Action to be performed - */ - public void setAction (String Action); - - /** Get Action. - * Indicates the Action to be performed - */ - public String getAction(); - - /** Column name Ad_Backup_ID */ - public static final String COLUMNNAME_Ad_Backup_ID = "Ad_Backup_ID"; - - /** Set Ad_Backup_ID */ - public void setAd_Backup_ID (int Ad_Backup_ID); - - /** Get Ad_Backup_ID */ - public int getAd_Backup_ID(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_AD_Package_Imp_Inst.java b/base/src/org/compiere/model/I_AD_Package_Imp_Inst.java index ec714e034e..3a45477c56 100644 --- a/base/src/org/compiere/model/I_AD_Package_Imp_Inst.java +++ b/base/src/org/compiere/model/I_AD_Package_Imp_Inst.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp_Inst - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Package_Imp_Inst { diff --git a/base/src/org/compiere/model/I_AD_Package_Imp_Proc.java b/base/src/org/compiere/model/I_AD_Package_Imp_Proc.java index e20d779bf4..bdd00ed7d5 100644 --- a/base/src/org/compiere/model/I_AD_Package_Imp_Proc.java +++ b/base/src/org/compiere/model/I_AD_Package_Imp_Proc.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp_Proc - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Package_Imp_Proc { diff --git a/base/src/org/compiere/model/I_AD_Preference.java b/base/src/org/compiere/model/I_AD_Preference.java index 74da5fe153..bc8ddb36c4 100644 --- a/base/src/org/compiere/model/I_AD_Preference.java +++ b/base/src/org/compiere/model/I_AD_Preference.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Preference - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Preference { diff --git a/base/src/org/compiere/model/I_AD_PrintColor.java b/base/src/org/compiere/model/I_AD_PrintColor.java index 30cd7101a8..0654ac0387 100644 --- a/base/src/org/compiere/model/I_AD_PrintColor.java +++ b/base/src/org/compiere/model/I_AD_PrintColor.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintColor - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintColor { diff --git a/base/src/org/compiere/model/I_AD_PrintFont.java b/base/src/org/compiere/model/I_AD_PrintFont.java index 9acca5b6cd..8d3ff56c43 100644 --- a/base/src/org/compiere/model/I_AD_PrintFont.java +++ b/base/src/org/compiere/model/I_AD_PrintFont.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintFont - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintFont { diff --git a/base/src/org/compiere/model/I_AD_PrintForm.java b/base/src/org/compiere/model/I_AD_PrintForm.java index 79387f4d0a..3232fab2a3 100644 --- a/base/src/org/compiere/model/I_AD_PrintForm.java +++ b/base/src/org/compiere/model/I_AD_PrintForm.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintForm - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintForm { @@ -82,19 +78,6 @@ public interface I_AD_PrintForm */ public String getDescription(); - /** Column name DistributionOrder_MailText_ID */ - public static final String COLUMNNAME_DistributionOrder_MailText_ID = "DistributionOrder_MailText_ID"; - - /** Set Distribution Order Mail Text. - * Email text used for sending Distribution Order - */ - public void setDistributionOrder_MailText_ID (int DistributionOrder_MailText_ID); - - /** Get Distribution Order Mail Text. - * Email text used for sending Distribution Order - */ - public int getDistributionOrder_MailText_ID(); - /** Column name Distrib_Order_PrintFormat_ID */ public static final String COLUMNNAME_Distrib_Order_PrintFormat_ID = "Distrib_Order_PrintFormat_ID"; @@ -108,6 +91,19 @@ public interface I_AD_PrintForm */ public int getDistrib_Order_PrintFormat_ID(); + /** Column name DistributionOrder_MailText_ID */ + public static final String COLUMNNAME_DistributionOrder_MailText_ID = "DistributionOrder_MailText_ID"; + + /** Set Distribution Order Mail Text. + * Email text used for sending Distribution Order + */ + public void setDistributionOrder_MailText_ID (int DistributionOrder_MailText_ID); + + /** Get Distribution Order Mail Text. + * Email text used for sending Distribution Order + */ + public int getDistributionOrder_MailText_ID(); + /** Column name Invoice_MailText_ID */ public static final String COLUMNNAME_Invoice_MailText_ID = "Invoice_MailText_ID"; @@ -134,18 +130,18 @@ public interface I_AD_PrintForm */ public int getInvoice_PrintFormat_ID(); - /** Column name ManufacturingOrder_MailText_ID */ - public static final String COLUMNNAME_ManufacturingOrder_MailText_ID = "ManufacturingOrder_MailText_ID"; + /** Column name Manuf_Order_MailText_ID */ + public static final String COLUMNNAME_Manuf_Order_MailText_ID = "Manuf_Order_MailText_ID"; /** Set Manufacturing Order Mail Text. * Email text used for sending Manufacturing Order */ - public void setManufacturingOrder_MailText_ID (int ManufacturingOrder_MailText_ID); + public void setManuf_Order_MailText_ID (int Manuf_Order_MailText_ID); /** Get Manufacturing Order Mail Text. * Email text used for sending Manufacturing Order */ - public int getManufacturingOrder_MailText_ID(); + public int getManuf_Order_MailText_ID(); /** Column name Manuf_Order_PrintFormat_ID */ public static final String COLUMNNAME_Manuf_Order_PrintFormat_ID = "Manuf_Order_PrintFormat_ID"; diff --git a/base/src/org/compiere/model/I_AD_PrintFormat.java b/base/src/org/compiere/model/I_AD_PrintFormat.java index 4ab31ef171..046da29292 100644 --- a/base/src/org/compiere/model/I_AD_PrintFormat.java +++ b/base/src/org/compiere/model/I_AD_PrintFormat.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintFormat - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintFormat { diff --git a/base/src/org/compiere/model/I_AD_PrintFormatItem.java b/base/src/org/compiere/model/I_AD_PrintFormatItem.java index 32be2d64e5..4fc6f716d4 100644 --- a/base/src/org/compiere/model/I_AD_PrintFormatItem.java +++ b/base/src/org/compiere/model/I_AD_PrintFormatItem.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintFormatItem - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintFormatItem { @@ -114,19 +110,6 @@ public interface I_AD_PrintFormatItem */ public int getAD_PrintFormatChild_ID(); - /** Column name AD_PrintFormatItem_ID */ - public static final String COLUMNNAME_AD_PrintFormatItem_ID = "AD_PrintFormatItem_ID"; - - /** Set Print Format Item. - * Item/Column in the Print format - */ - public void setAD_PrintFormatItem_ID (int AD_PrintFormatItem_ID); - - /** Get Print Format Item. - * Item/Column in the Print format - */ - public int getAD_PrintFormatItem_ID(); - /** Column name AD_PrintFormat_ID */ public static final String COLUMNNAME_AD_PrintFormat_ID = "AD_PrintFormat_ID"; @@ -142,6 +125,19 @@ public interface I_AD_PrintFormatItem public I_AD_PrintFormat getAD_PrintFormat() throws Exception; + /** Column name AD_PrintFormatItem_ID */ + public static final String COLUMNNAME_AD_PrintFormatItem_ID = "AD_PrintFormatItem_ID"; + + /** Set Print Format Item. + * Item/Column in the Print format + */ + public void setAD_PrintFormatItem_ID (int AD_PrintFormatItem_ID); + + /** Get Print Format Item. + * Item/Column in the Print format + */ + public int getAD_PrintFormatItem_ID(); + /** Column name AD_PrintGraph_ID */ public static final String COLUMNNAME_AD_PrintGraph_ID = "AD_PrintGraph_ID"; diff --git a/base/src/org/compiere/model/I_AD_PrintGraph.java b/base/src/org/compiere/model/I_AD_PrintGraph.java index 334d810b1c..d559864163 100644 --- a/base/src/org/compiere/model/I_AD_PrintGraph.java +++ b/base/src/org/compiere/model/I_AD_PrintGraph.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintGraph - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintGraph { @@ -84,6 +80,19 @@ public interface I_AD_PrintGraph */ public int getAD_PrintGraph_ID(); + /** Column name Data_PrintFormatItem_ID */ + public static final String COLUMNNAME_Data_PrintFormatItem_ID = "Data_PrintFormatItem_ID"; + + /** Set Data Column. + * Data Column for Pie and Line Charts + */ + public void setData_PrintFormatItem_ID (int Data_PrintFormatItem_ID); + + /** Get Data Column. + * Data Column for Pie and Line Charts + */ + public int getData_PrintFormatItem_ID(); + /** Column name Data1_PrintFormatItem_ID */ public static final String COLUMNNAME_Data1_PrintFormatItem_ID = "Data1_PrintFormatItem_ID"; @@ -136,19 +145,6 @@ public interface I_AD_PrintGraph */ public int getData4_PrintFormatItem_ID(); - /** Column name Data_PrintFormatItem_ID */ - public static final String COLUMNNAME_Data_PrintFormatItem_ID = "Data_PrintFormatItem_ID"; - - /** Set Data Column. - * Data Column for Pie and Line Charts - */ - public void setData_PrintFormatItem_ID (int Data_PrintFormatItem_ID); - - /** Get Data Column. - * Data Column for Pie and Line Charts - */ - public int getData_PrintFormatItem_ID(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_AD_PrintLabel.java b/base/src/org/compiere/model/I_AD_PrintLabel.java index a67c91de4b..177aeb4972 100644 --- a/base/src/org/compiere/model/I_AD_PrintLabel.java +++ b/base/src/org/compiere/model/I_AD_PrintLabel.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintLabel - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintLabel { diff --git a/base/src/org/compiere/model/I_AD_PrintLabelLine.java b/base/src/org/compiere/model/I_AD_PrintLabelLine.java index c9274543a7..6073b3a425 100644 --- a/base/src/org/compiere/model/I_AD_PrintLabelLine.java +++ b/base/src/org/compiere/model/I_AD_PrintLabelLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintLabelLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintLabelLine { @@ -86,19 +82,6 @@ public interface I_AD_PrintLabelLine public I_AD_LabelPrinterFunction getAD_LabelPrinterFunction() throws Exception; - /** Column name AD_PrintLabelLine_ID */ - public static final String COLUMNNAME_AD_PrintLabelLine_ID = "AD_PrintLabelLine_ID"; - - /** Set Print Label Line. - * Print Label Line Format - */ - public void setAD_PrintLabelLine_ID (int AD_PrintLabelLine_ID); - - /** Get Print Label Line. - * Print Label Line Format - */ - public int getAD_PrintLabelLine_ID(); - /** Column name AD_PrintLabel_ID */ public static final String COLUMNNAME_AD_PrintLabel_ID = "AD_PrintLabel_ID"; @@ -114,6 +97,19 @@ public interface I_AD_PrintLabelLine public I_AD_PrintLabel getAD_PrintLabel() throws Exception; + /** Column name AD_PrintLabelLine_ID */ + public static final String COLUMNNAME_AD_PrintLabelLine_ID = "AD_PrintLabelLine_ID"; + + /** Set Print Label Line. + * Print Label Line Format + */ + public void setAD_PrintLabelLine_ID (int AD_PrintLabelLine_ID); + + /** Get Print Label Line. + * Print Label Line Format + */ + public int getAD_PrintLabelLine_ID(); + /** Column name LabelFormatType */ public static final String COLUMNNAME_LabelFormatType = "LabelFormatType"; diff --git a/base/src/org/compiere/model/I_AD_PrintPaper.java b/base/src/org/compiere/model/I_AD_PrintPaper.java index 874a7c9e4b..c650570bd5 100644 --- a/base/src/org/compiere/model/I_AD_PrintPaper.java +++ b/base/src/org/compiere/model/I_AD_PrintPaper.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintPaper - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintPaper { diff --git a/base/src/org/compiere/model/I_AD_PrintTableFormat.java b/base/src/org/compiere/model/I_AD_PrintTableFormat.java index 55e578408f..6e95a11582 100644 --- a/base/src/org/compiere/model/I_AD_PrintTableFormat.java +++ b/base/src/org/compiere/model/I_AD_PrintTableFormat.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintTableFormat - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_PrintTableFormat { @@ -173,6 +169,19 @@ public interface I_AD_PrintTableFormat */ public int getHdrLine_PrintColor_ID(); + /** Column name Hdr_PrintFont_ID */ + public static final String COLUMNNAME_Hdr_PrintFont_ID = "Hdr_PrintFont_ID"; + + /** Set Header Row Font. + * Header row Font + */ + public void setHdr_PrintFont_ID (int Hdr_PrintFont_ID); + + /** Get Header Row Font. + * Header row Font + */ + public int getHdr_PrintFont_ID(); + /** Column name HdrStroke */ public static final String COLUMNNAME_HdrStroke = "HdrStroke"; @@ -225,19 +234,6 @@ public interface I_AD_PrintTableFormat */ public int getHdrTextFG_PrintColor_ID(); - /** Column name Hdr_PrintFont_ID */ - public static final String COLUMNNAME_Hdr_PrintFont_ID = "Hdr_PrintFont_ID"; - - /** Set Header Row Font. - * Header row Font - */ - public void setHdr_PrintFont_ID (int Hdr_PrintFont_ID); - - /** Get Header Row Font. - * Header row Font - */ - public int getHdr_PrintFont_ID(); - /** Column name HeaderCenter */ public static final String COLUMNNAME_HeaderCenter = "HeaderCenter"; @@ -329,19 +325,6 @@ public interface I_AD_PrintTableFormat */ public boolean isPaintBoundaryLines(); - /** Column name IsPaintHLines */ - public static final String COLUMNNAME_IsPaintHLines = "IsPaintHLines"; - - /** Set Paint Horizontal Lines. - * Paint horizontal lines - */ - public void setIsPaintHLines (boolean IsPaintHLines); - - /** Get Paint Horizontal Lines. - * Paint horizontal lines - */ - public boolean isPaintHLines(); - /** Column name IsPaintHeaderLines */ public static final String COLUMNNAME_IsPaintHeaderLines = "IsPaintHeaderLines"; @@ -355,6 +338,19 @@ public interface I_AD_PrintTableFormat */ public boolean isPaintHeaderLines(); + /** Column name IsPaintHLines */ + public static final String COLUMNNAME_IsPaintHLines = "IsPaintHLines"; + + /** Set Paint Horizontal Lines. + * Paint horizontal lines + */ + public void setIsPaintHLines (boolean IsPaintHLines); + + /** Get Paint Horizontal Lines. + * Paint horizontal lines + */ + public boolean isPaintHLines(); + /** Column name IsPaintVLines */ public static final String COLUMNNAME_IsPaintVLines = "IsPaintVLines"; @@ -381,6 +377,19 @@ public interface I_AD_PrintTableFormat */ public boolean isPrintFunctionSymbols(); + /** Column name Line_PrintColor_ID */ + public static final String COLUMNNAME_Line_PrintColor_ID = "Line_PrintColor_ID"; + + /** Set Line Color. + * Table line color + */ + public void setLine_PrintColor_ID (int Line_PrintColor_ID); + + /** Get Line Color. + * Table line color + */ + public int getLine_PrintColor_ID(); + /** Column name LineStroke */ public static final String COLUMNNAME_LineStroke = "LineStroke"; @@ -407,19 +416,6 @@ public interface I_AD_PrintTableFormat */ public String getLineStrokeType(); - /** Column name Line_PrintColor_ID */ - public static final String COLUMNNAME_Line_PrintColor_ID = "Line_PrintColor_ID"; - - /** Set Line Color. - * Table line color - */ - public void setLine_PrintColor_ID (int Line_PrintColor_ID); - - /** Get Line Color. - * Table line color - */ - public int getLine_PrintColor_ID(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_AD_Private_Access.java b/base/src/org/compiere/model/I_AD_Private_Access.java index f4c4e93237..c2afb839b3 100644 --- a/base/src/org/compiere/model/I_AD_Private_Access.java +++ b/base/src/org/compiere/model/I_AD_Private_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Private_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Private_Access { diff --git a/base/src/org/compiere/model/I_AD_Process.java b/base/src/org/compiere/model/I_AD_Process.java index d6df143d9c..0cbbc5b927 100644 --- a/base/src/org/compiere/model/I_AD_Process.java +++ b/base/src/org/compiere/model/I_AD_Process.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Process - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Process { @@ -56,6 +52,19 @@ public interface I_AD_Process /** Load Meta Data */ + /** Column name AccessLevel */ + public static final String COLUMNNAME_AccessLevel = "AccessLevel"; + + /** Set Data Access Level. + * Access Level required + */ + public void setAccessLevel (String AccessLevel); + + /** Get Data Access Level. + * Access Level required + */ + public String getAccessLevel(); + /** Column name AD_PrintFormat_ID */ public static final String COLUMNNAME_AD_PrintFormat_ID = "AD_PrintFormat_ID"; @@ -114,19 +123,6 @@ public interface I_AD_Process public I_AD_Workflow getAD_Workflow() throws Exception; - /** Column name AccessLevel */ - public static final String COLUMNNAME_AccessLevel = "AccessLevel"; - - /** Set Data Access Level. - * Access Level required - */ - public void setAccessLevel (String AccessLevel); - - /** Get Data Access Level. - * Access Level required - */ - public String getAccessLevel(); - /** Column name Classname */ public static final String COLUMNNAME_Classname = "Classname"; diff --git a/base/src/org/compiere/model/I_AD_Process_Access.java b/base/src/org/compiere/model/I_AD_Process_Access.java index 50b8f48e2a..7389b0de9f 100644 --- a/base/src/org/compiere/model/I_AD_Process_Access.java +++ b/base/src/org/compiere/model/I_AD_Process_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Process_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Process_Access { diff --git a/base/src/org/compiere/model/I_AD_Process_Para.java b/base/src/org/compiere/model/I_AD_Process_Para.java index d07b6adaa9..47bef98ee2 100644 --- a/base/src/org/compiere/model/I_AD_Process_Para.java +++ b/base/src/org/compiere/model/I_AD_Process_Para.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Process_Para - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Process_Para { @@ -300,21 +296,6 @@ public interface I_AD_Process_Para */ public int getSeqNo(); - /** Column name VFormat */ - public static final String COLUMNNAME_VFormat = "VFormat"; - - /** Set Value Format. - * Format of the value; - Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public void setVFormat (String VFormat); - - /** Get Value Format. - * Format of the value; - Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public String getVFormat(); - /** Column name ValueMax */ public static final String COLUMNNAME_ValueMax = "ValueMax"; @@ -340,4 +321,19 @@ public interface I_AD_Process_Para * Minimum Value for a field */ public String getValueMin(); + + /** Column name VFormat */ + public static final String COLUMNNAME_VFormat = "VFormat"; + + /** Set Value Format. + * Format of the value; + Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public void setVFormat (String VFormat); + + /** Get Value Format. + * Format of the value; + Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public String getVFormat(); } diff --git a/base/src/org/compiere/model/I_AD_Record_Access.java b/base/src/org/compiere/model/I_AD_Record_Access.java index 2818097875..43cdded23c 100644 --- a/base/src/org/compiere/model/I_AD_Record_Access.java +++ b/base/src/org/compiere/model/I_AD_Record_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Record_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Record_Access { diff --git a/base/src/org/compiere/model/I_AD_Ref_List.java b/base/src/org/compiere/model/I_AD_Ref_List.java index 7a51ac644a..120a39a6d4 100644 --- a/base/src/org/compiere/model/I_AD_Ref_List.java +++ b/base/src/org/compiere/model/I_AD_Ref_List.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Ref_List - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Ref_List { @@ -57,19 +53,6 @@ public interface I_AD_Ref_List /** Load Meta Data */ - /** Column name AD_Ref_List_ID */ - public static final String COLUMNNAME_AD_Ref_List_ID = "AD_Ref_List_ID"; - - /** Set Reference List. - * Reference List based on Table - */ - public void setAD_Ref_List_ID (int AD_Ref_List_ID); - - /** Get Reference List. - * Reference List based on Table - */ - public int getAD_Ref_List_ID(); - /** Column name AD_Reference_ID */ public static final String COLUMNNAME_AD_Reference_ID = "AD_Reference_ID"; @@ -85,6 +68,19 @@ public interface I_AD_Ref_List public I_AD_Reference getAD_Reference() throws Exception; + /** Column name AD_Ref_List_ID */ + public static final String COLUMNNAME_AD_Ref_List_ID = "AD_Ref_List_ID"; + + /** Set Reference List. + * Reference List based on Table + */ + public void setAD_Ref_List_ID (int AD_Ref_List_ID); + + /** Get Reference List. + * Reference List based on Table + */ + public int getAD_Ref_List_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_AD_Ref_Table.java b/base/src/org/compiere/model/I_AD_Ref_Table.java index df55a08a1f..1285197bdb 100644 --- a/base/src/org/compiere/model/I_AD_Ref_Table.java +++ b/base/src/org/compiere/model/I_AD_Ref_Table.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Ref_Table - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Ref_Table { diff --git a/base/src/org/compiere/model/I_AD_Reference.java b/base/src/org/compiere/model/I_AD_Reference.java index a0f6e2eaa2..cf176e0113 100644 --- a/base/src/org/compiere/model/I_AD_Reference.java +++ b/base/src/org/compiere/model/I_AD_Reference.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Reference - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Reference { @@ -136,6 +132,19 @@ public interface I_AD_Reference */ public String getName(); + /** Column name ValidationType */ + public static final String COLUMNNAME_ValidationType = "ValidationType"; + + /** Set Validation type. + * Different method of validating data + */ + public void setValidationType (String ValidationType); + + /** Get Validation type. + * Different method of validating data + */ + public String getValidationType(); + /** Column name VFormat */ public static final String COLUMNNAME_VFormat = "VFormat"; @@ -150,17 +159,4 @@ public interface I_AD_Reference Can contain fixed format elements, Variables: "_lLoOaAcCa09" */ public String getVFormat(); - - /** Column name ValidationType */ - public static final String COLUMNNAME_ValidationType = "ValidationType"; - - /** Set Validation type. - * Different method of validating data - */ - public void setValidationType (String ValidationType); - - /** Get Validation type. - * Different method of validating data - */ - public String getValidationType(); } diff --git a/base/src/org/compiere/model/I_AD_Registration.java b/base/src/org/compiere/model/I_AD_Registration.java index e709fc0f83..d16d7d7f96 100644 --- a/base/src/org/compiere/model/I_AD_Registration.java +++ b/base/src/org/compiere/model/I_AD_Registration.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Registration - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Registration { diff --git a/base/src/org/compiere/model/I_AD_Replication.java b/base/src/org/compiere/model/I_AD_Replication.java index 913ba4f45b..b187b69ae0 100644 --- a/base/src/org/compiere/model/I_AD_Replication.java +++ b/base/src/org/compiere/model/I_AD_Replication.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Replication - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Replication { @@ -57,6 +53,19 @@ public interface I_AD_Replication /** Load Meta Data */ + /** Column name AD_Replication_ID */ + public static final String COLUMNNAME_AD_Replication_ID = "AD_Replication_ID"; + + /** Set Replication. + * Data Replication Target + */ + public void setAD_Replication_ID (int AD_Replication_ID); + + /** Get Replication. + * Data Replication Target + */ + public int getAD_Replication_ID(); + /** Column name AD_ReplicationStrategy_ID */ public static final String COLUMNNAME_AD_ReplicationStrategy_ID = "AD_ReplicationStrategy_ID"; @@ -72,19 +81,6 @@ public interface I_AD_Replication public I_AD_ReplicationStrategy getAD_ReplicationStrategy() throws Exception; - /** Column name AD_Replication_ID */ - public static final String COLUMNNAME_AD_Replication_ID = "AD_Replication_ID"; - - /** Set Replication. - * Data Replication Target - */ - public void setAD_Replication_ID (int AD_Replication_ID); - - /** Get Replication. - * Data Replication Target - */ - public int getAD_Replication_ID(); - /** Column name DateLastRun */ public static final String COLUMNNAME_DateLastRun = "DateLastRun"; diff --git a/base/src/org/compiere/model/I_AD_ReplicationDocument.java b/base/src/org/compiere/model/I_AD_ReplicationDocument.java index af6fe4df68..2d0bf4ccd9 100644 --- a/base/src/org/compiere/model/I_AD_ReplicationDocument.java +++ b/base/src/org/compiere/model/I_AD_ReplicationDocument.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReplicationDocument - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ReplicationDocument { diff --git a/base/src/org/compiere/model/I_AD_ReplicationStrategy.java b/base/src/org/compiere/model/I_AD_ReplicationStrategy.java index 07011b81e2..09bd257803 100644 --- a/base/src/org/compiere/model/I_AD_ReplicationStrategy.java +++ b/base/src/org/compiere/model/I_AD_ReplicationStrategy.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReplicationStrategy - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ReplicationStrategy { @@ -82,17 +78,6 @@ public interface I_AD_ReplicationStrategy */ public String getDescription(); - /** Column name EXP_Processor_ID */ - public static final String COLUMNNAME_EXP_Processor_ID = "EXP_Processor_ID"; - - /** Set EXP_Processor_ID */ - public void setEXP_Processor_ID (int EXP_Processor_ID); - - /** Get EXP_Processor_ID */ - public int getEXP_Processor_ID(); - - public org.eevolution.model.I_EXP_Processor getEXP_Processor() throws Exception; - /** Column name EntityType */ public static final String COLUMNNAME_EntityType = "EntityType"; @@ -108,6 +93,17 @@ public interface I_AD_ReplicationStrategy */ public String getEntityType(); + /** Column name EXP_Processor_ID */ + public static final String COLUMNNAME_EXP_Processor_ID = "EXP_Processor_ID"; + + /** Set EXP_Processor_ID */ + public void setEXP_Processor_ID (int EXP_Processor_ID); + + /** Get EXP_Processor_ID */ + public int getEXP_Processor_ID(); + + public org.eevolution.model.I_EXP_Processor getEXP_Processor() throws Exception; + /** Column name Help */ public static final String COLUMNNAME_Help = "Help"; diff --git a/base/src/org/compiere/model/I_AD_ReplicationTable.java b/base/src/org/compiere/model/I_AD_ReplicationTable.java index 9257aaf871..7732a53864 100644 --- a/base/src/org/compiere/model/I_AD_ReplicationTable.java +++ b/base/src/org/compiere/model/I_AD_ReplicationTable.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReplicationTable - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ReplicationTable { diff --git a/base/src/org/compiere/model/I_AD_Replication_Log.java b/base/src/org/compiere/model/I_AD_Replication_Log.java index a1d519e68c..5d64efd90e 100644 --- a/base/src/org/compiere/model/I_AD_Replication_Log.java +++ b/base/src/org/compiere/model/I_AD_Replication_Log.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Replication_Log - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Replication_Log { @@ -56,21 +52,6 @@ public interface I_AD_Replication_Log /** Load Meta Data */ - /** Column name AD_ReplicationTable_ID */ - public static final String COLUMNNAME_AD_ReplicationTable_ID = "AD_ReplicationTable_ID"; - - /** Set Replication Table. - * Data Replication Strategy Table Info - */ - public void setAD_ReplicationTable_ID (int AD_ReplicationTable_ID); - - /** Get Replication Table. - * Data Replication Strategy Table Info - */ - public int getAD_ReplicationTable_ID(); - - public I_AD_ReplicationTable getAD_ReplicationTable() throws Exception; - /** Column name AD_Replication_Log_ID */ public static final String COLUMNNAME_AD_Replication_Log_ID = "AD_Replication_Log_ID"; @@ -99,6 +80,21 @@ public interface I_AD_Replication_Log public I_AD_Replication_Run getAD_Replication_Run() throws Exception; + /** Column name AD_ReplicationTable_ID */ + public static final String COLUMNNAME_AD_ReplicationTable_ID = "AD_ReplicationTable_ID"; + + /** Set Replication Table. + * Data Replication Strategy Table Info + */ + public void setAD_ReplicationTable_ID (int AD_ReplicationTable_ID); + + /** Get Replication Table. + * Data Replication Strategy Table Info + */ + public int getAD_ReplicationTable_ID(); + + public I_AD_ReplicationTable getAD_ReplicationTable() throws Exception; + /** Column name IsReplicated */ public static final String COLUMNNAME_IsReplicated = "IsReplicated"; diff --git a/base/src/org/compiere/model/I_AD_Replication_Run.java b/base/src/org/compiere/model/I_AD_Replication_Run.java index 10f8c4efc6..743a27526f 100644 --- a/base/src/org/compiere/model/I_AD_Replication_Run.java +++ b/base/src/org/compiere/model/I_AD_Replication_Run.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Replication_Run - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Replication_Run { diff --git a/base/src/org/compiere/model/I_AD_ReportView.java b/base/src/org/compiere/model/I_AD_ReportView.java index b7f18f6cef..416737481f 100644 --- a/base/src/org/compiere/model/I_AD_ReportView.java +++ b/base/src/org/compiere/model/I_AD_ReportView.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReportView - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ReportView { diff --git a/base/src/org/compiere/model/I_AD_ReportView_Col.java b/base/src/org/compiere/model/I_AD_ReportView_Col.java index 6bc6035208..4f899add6d 100644 --- a/base/src/org/compiere/model/I_AD_ReportView_Col.java +++ b/base/src/org/compiere/model/I_AD_ReportView_Col.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReportView_Col - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_ReportView_Col { diff --git a/base/src/org/compiere/model/I_AD_Role.java b/base/src/org/compiere/model/I_AD_Role.java index 46ab3dfd2f..e48e29fe84 100644 --- a/base/src/org/compiere/model/I_AD_Role.java +++ b/base/src/org/compiere/model/I_AD_Role.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Role - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Role { @@ -122,15 +118,6 @@ public interface I_AD_Role /** Get Allow Info BPartner */ public boolean isAllow_Info_BPartner(); - /** Column name Allow_Info_CRP */ - public static final String COLUMNNAME_Allow_Info_CRP = "Allow_Info_CRP"; - - /** Set Allow Info CRP */ - public void setAllow_Info_CRP (boolean Allow_Info_CRP); - - /** Get Allow Info CRP */ - public boolean isAllow_Info_CRP(); - /** Column name Allow_Info_CashJournal */ public static final String COLUMNNAME_Allow_Info_CashJournal = "Allow_Info_CashJournal"; @@ -140,6 +127,15 @@ public interface I_AD_Role /** Get Allow Info CashJournal */ public boolean isAllow_Info_CashJournal(); + /** Column name Allow_Info_CRP */ + public static final String COLUMNNAME_Allow_Info_CRP = "Allow_Info_CRP"; + + /** Set Allow Info CRP */ + public void setAllow_Info_CRP (boolean Allow_Info_CRP); + + /** Get Allow Info CRP */ + public boolean isAllow_Info_CRP(); + /** Column name Allow_Info_InOut */ public static final String COLUMNNAME_Allow_Info_InOut = "Allow_Info_InOut"; diff --git a/base/src/org/compiere/model/I_AD_Role_OrgAccess.java b/base/src/org/compiere/model/I_AD_Role_OrgAccess.java index 89bda20c34..039f007f36 100644 --- a/base/src/org/compiere/model/I_AD_Role_OrgAccess.java +++ b/base/src/org/compiere/model/I_AD_Role_OrgAccess.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Role_OrgAccess - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Role_OrgAccess { diff --git a/base/src/org/compiere/model/I_AD_Rule.java b/base/src/org/compiere/model/I_AD_Rule.java index bdc266ca85..6678bc71ad 100644 --- a/base/src/org/compiere/model/I_AD_Rule.java +++ b/base/src/org/compiere/model/I_AD_Rule.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Rule - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Rule { @@ -56,15 +52,6 @@ public interface I_AD_Rule /** Load Meta Data */ - /** Column name AD_Rule_ID */ - public static final String COLUMNNAME_AD_Rule_ID = "AD_Rule_ID"; - - /** Set Rule */ - public void setAD_Rule_ID (int AD_Rule_ID); - - /** Get Rule */ - public int getAD_Rule_ID(); - /** Column name AccessLevel */ public static final String COLUMNNAME_AccessLevel = "AccessLevel"; @@ -78,6 +65,15 @@ public interface I_AD_Rule */ public String getAccessLevel(); + /** Column name AD_Rule_ID */ + public static final String COLUMNNAME_AD_Rule_ID = "AD_Rule_ID"; + + /** Set Rule */ + public void setAD_Rule_ID (int AD_Rule_ID); + + /** Get Rule */ + public int getAD_Rule_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_AD_Scheduler.java b/base/src/org/compiere/model/I_AD_Scheduler.java index 80fe5bdd4f..f9a924f6bd 100644 --- a/base/src/org/compiere/model/I_AD_Scheduler.java +++ b/base/src/org/compiere/model/I_AD_Scheduler.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Scheduler - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Scheduler { diff --git a/base/src/org/compiere/model/I_AD_SchedulerLog.java b/base/src/org/compiere/model/I_AD_SchedulerLog.java index 6e5521c7f9..1aede4f543 100644 --- a/base/src/org/compiere/model/I_AD_SchedulerLog.java +++ b/base/src/org/compiere/model/I_AD_SchedulerLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_SchedulerLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_SchedulerLog { @@ -56,19 +52,6 @@ public interface I_AD_SchedulerLog /** Load Meta Data */ - /** Column name AD_SchedulerLog_ID */ - public static final String COLUMNNAME_AD_SchedulerLog_ID = "AD_SchedulerLog_ID"; - - /** Set Scheduler Log. - * Result of the execution of the Scheduler - */ - public void setAD_SchedulerLog_ID (int AD_SchedulerLog_ID); - - /** Get Scheduler Log. - * Result of the execution of the Scheduler - */ - public int getAD_SchedulerLog_ID(); - /** Column name AD_Scheduler_ID */ public static final String COLUMNNAME_AD_Scheduler_ID = "AD_Scheduler_ID"; @@ -84,6 +67,19 @@ public interface I_AD_SchedulerLog public I_AD_Scheduler getAD_Scheduler() throws Exception; + /** Column name AD_SchedulerLog_ID */ + public static final String COLUMNNAME_AD_SchedulerLog_ID = "AD_SchedulerLog_ID"; + + /** Set Scheduler Log. + * Result of the execution of the Scheduler + */ + public void setAD_SchedulerLog_ID (int AD_SchedulerLog_ID); + + /** Get Scheduler Log. + * Result of the execution of the Scheduler + */ + public int getAD_SchedulerLog_ID(); + /** Column name BinaryData */ public static final String COLUMNNAME_BinaryData = "BinaryData"; diff --git a/base/src/org/compiere/model/I_AD_SchedulerRecipient.java b/base/src/org/compiere/model/I_AD_SchedulerRecipient.java index 5b75e9e73a..0b70a42ca5 100644 --- a/base/src/org/compiere/model/I_AD_SchedulerRecipient.java +++ b/base/src/org/compiere/model/I_AD_SchedulerRecipient.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_SchedulerRecipient - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_SchedulerRecipient { @@ -71,19 +67,6 @@ public interface I_AD_SchedulerRecipient public I_AD_Role getAD_Role() throws Exception; - /** Column name AD_SchedulerRecipient_ID */ - public static final String COLUMNNAME_AD_SchedulerRecipient_ID = "AD_SchedulerRecipient_ID"; - - /** Set Scheduler Recipient. - * Recipient of the Scheduler Notification - */ - public void setAD_SchedulerRecipient_ID (int AD_SchedulerRecipient_ID); - - /** Get Scheduler Recipient. - * Recipient of the Scheduler Notification - */ - public int getAD_SchedulerRecipient_ID(); - /** Column name AD_Scheduler_ID */ public static final String COLUMNNAME_AD_Scheduler_ID = "AD_Scheduler_ID"; @@ -99,6 +82,19 @@ public interface I_AD_SchedulerRecipient public I_AD_Scheduler getAD_Scheduler() throws Exception; + /** Column name AD_SchedulerRecipient_ID */ + public static final String COLUMNNAME_AD_SchedulerRecipient_ID = "AD_SchedulerRecipient_ID"; + + /** Set Scheduler Recipient. + * Recipient of the Scheduler Notification + */ + public void setAD_SchedulerRecipient_ID (int AD_SchedulerRecipient_ID); + + /** Get Scheduler Recipient. + * Recipient of the Scheduler Notification + */ + public int getAD_SchedulerRecipient_ID(); + /** Column name AD_User_ID */ public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; diff --git a/base/src/org/compiere/model/I_AD_Scheduler_Para.java b/base/src/org/compiere/model/I_AD_Scheduler_Para.java index db8ee636e2..487704f16e 100644 --- a/base/src/org/compiere/model/I_AD_Scheduler_Para.java +++ b/base/src/org/compiere/model/I_AD_Scheduler_Para.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Scheduler_Para - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Scheduler_Para { diff --git a/base/src/org/compiere/model/I_AD_Sequence.java b/base/src/org/compiere/model/I_AD_Sequence.java index 36885203c0..5c891974d4 100644 --- a/base/src/org/compiere/model/I_AD_Sequence.java +++ b/base/src/org/compiere/model/I_AD_Sequence.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Sequence - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Sequence { diff --git a/base/src/org/compiere/model/I_AD_Sequence_Audit.java b/base/src/org/compiere/model/I_AD_Sequence_Audit.java index 84947a18c3..1585681c49 100644 --- a/base/src/org/compiere/model/I_AD_Sequence_Audit.java +++ b/base/src/org/compiere/model/I_AD_Sequence_Audit.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Sequence_Audit - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Sequence_Audit { diff --git a/base/src/org/compiere/model/I_AD_Sequence_No.java b/base/src/org/compiere/model/I_AD_Sequence_No.java index 1961e5b400..fa8cef0b30 100644 --- a/base/src/org/compiere/model/I_AD_Sequence_No.java +++ b/base/src/org/compiere/model/I_AD_Sequence_No.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Sequence_No - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Sequence_No { diff --git a/base/src/org/compiere/model/I_AD_Session.java b/base/src/org/compiere/model/I_AD_Session.java index b832ca6e7c..d459a32d85 100644 --- a/base/src/org/compiere/model/I_AD_Session.java +++ b/base/src/org/compiere/model/I_AD_Session.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Session - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Session { diff --git a/base/src/org/compiere/model/I_AD_SysConfig.java b/base/src/org/compiere/model/I_AD_SysConfig.java index 6093562c08..fd03076126 100644 --- a/base/src/org/compiere/model/I_AD_SysConfig.java +++ b/base/src/org/compiere/model/I_AD_SysConfig.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_SysConfig - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_SysConfig { diff --git a/base/src/org/compiere/model/I_AD_System.java b/base/src/org/compiere/model/I_AD_System.java index b9e29e66c5..ac19a4ecd4 100644 --- a/base/src/org/compiere/model/I_AD_System.java +++ b/base/src/org/compiere/model/I_AD_System.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_System - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_System { @@ -231,6 +227,15 @@ public interface I_AD_System */ public boolean isJustMigrated(); + /** Column name LastBuildInfo */ + public static final String COLUMNNAME_LastBuildInfo = "LastBuildInfo"; + + /** Set Last Build Info */ + public void setLastBuildInfo (String LastBuildInfo); + + /** Get Last Build Info */ + public String getLastBuildInfo(); + /** Column name LDAPDomain */ public static final String COLUMNNAME_LDAPDomain = "LDAPDomain"; @@ -257,15 +262,6 @@ public interface I_AD_System */ public String getLDAPHost(); - /** Column name LastBuildInfo */ - public static final String COLUMNNAME_LastBuildInfo = "LastBuildInfo"; - - /** Set Last Build Info */ - public void setLastBuildInfo (String LastBuildInfo); - - /** Get Last Build Info */ - public String getLastBuildInfo(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_AD_Tab.java b/base/src/org/compiere/model/I_AD_Tab.java index 029a6679c6..a80b57f476 100644 --- a/base/src/org/compiere/model/I_AD_Tab.java +++ b/base/src/org/compiere/model/I_AD_Tab.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Tab - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Tab { @@ -56,6 +52,21 @@ public interface I_AD_Tab /** Load Meta Data */ + /** Column name AD_Column_ID */ + public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID"; + + /** Set Column. + * Column in the table + */ + public void setAD_Column_ID (int AD_Column_ID); + + /** Get Column. + * Column in the table + */ + public int getAD_Column_ID(); + + public I_AD_Column getAD_Column() throws Exception; + /** Column name AD_ColumnSortOrder_ID */ public static final String COLUMNNAME_AD_ColumnSortOrder_ID = "AD_ColumnSortOrder_ID"; @@ -82,21 +93,6 @@ public interface I_AD_Tab */ public int getAD_ColumnSortYesNo_ID(); - /** Column name AD_Column_ID */ - public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID"; - - /** Set Column. - * Column in the table - */ - public void setAD_Column_ID (int AD_Column_ID); - - /** Get Column. - * Column in the table - */ - public int getAD_Column_ID(); - - public I_AD_Column getAD_Column() throws Exception; - /** Column name AD_Image_ID */ public static final String COLUMNNAME_AD_Image_ID = "AD_Image_ID"; diff --git a/base/src/org/compiere/model/I_AD_Table.java b/base/src/org/compiere/model/I_AD_Table.java index b7d8b0203c..53dae8140c 100644 --- a/base/src/org/compiere/model/I_AD_Table.java +++ b/base/src/org/compiere/model/I_AD_Table.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Table - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Table { @@ -56,6 +52,19 @@ public interface I_AD_Table /** Load Meta Data */ + /** Column name AccessLevel */ + public static final String COLUMNNAME_AccessLevel = "AccessLevel"; + + /** Set Data Access Level. + * Access Level required + */ + public void setAccessLevel (String AccessLevel); + + /** Get Data Access Level. + * Access Level required + */ + public String getAccessLevel(); + /** Column name AD_Table_ID */ public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID"; @@ -99,19 +108,6 @@ public interface I_AD_Table public I_AD_Window getAD_Window() throws Exception; - /** Column name AccessLevel */ - public static final String COLUMNNAME_AccessLevel = "AccessLevel"; - - /** Set Data Access Level. - * Access Level required - */ - public void setAccessLevel (String AccessLevel); - - /** Get Data Access Level. - * Access Level required - */ - public String getAccessLevel(); - /** Column name CopyColumnsFromTable */ public static final String COLUMNNAME_CopyColumnsFromTable = "CopyColumnsFromTable"; diff --git a/base/src/org/compiere/model/I_AD_Table_Access.java b/base/src/org/compiere/model/I_AD_Table_Access.java index ff00ec1cb5..5292aa77c3 100644 --- a/base/src/org/compiere/model/I_AD_Table_Access.java +++ b/base/src/org/compiere/model/I_AD_Table_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Table_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Table_Access { @@ -56,6 +52,19 @@ public interface I_AD_Table_Access /** Load Meta Data */ + /** Column name AccessTypeRule */ + public static final String COLUMNNAME_AccessTypeRule = "AccessTypeRule"; + + /** Set Access Type. + * The type of access for this rule + */ + public void setAccessTypeRule (String AccessTypeRule); + + /** Get Access Type. + * The type of access for this rule + */ + public String getAccessTypeRule(); + /** Column name AD_Role_ID */ public static final String COLUMNNAME_AD_Role_ID = "AD_Role_ID"; @@ -86,19 +95,6 @@ public interface I_AD_Table_Access public I_AD_Table getAD_Table() throws Exception; - /** Column name AccessTypeRule */ - public static final String COLUMNNAME_AccessTypeRule = "AccessTypeRule"; - - /** Set Access Type. - * The type of access for this rule - */ - public void setAccessTypeRule (String AccessTypeRule); - - /** Get Access Type. - * The type of access for this rule - */ - public String getAccessTypeRule(); - /** Column name IsCanExport */ public static final String COLUMNNAME_IsCanExport = "IsCanExport"; diff --git a/base/src/org/compiere/model/I_AD_Table_ScriptValidator.java b/base/src/org/compiere/model/I_AD_Table_ScriptValidator.java index a247ab500c..2cad21aed7 100644 --- a/base/src/org/compiere/model/I_AD_Table_ScriptValidator.java +++ b/base/src/org/compiere/model/I_AD_Table_ScriptValidator.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Table_ScriptValidator - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Table_ScriptValidator { diff --git a/base/src/org/compiere/model/I_AD_Task.java b/base/src/org/compiere/model/I_AD_Task.java index db8f251152..c06cf7a0fd 100644 --- a/base/src/org/compiere/model/I_AD_Task.java +++ b/base/src/org/compiere/model/I_AD_Task.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Task - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Task { @@ -56,19 +52,6 @@ public interface I_AD_Task /** Load Meta Data */ - /** Column name AD_Task_ID */ - public static final String COLUMNNAME_AD_Task_ID = "AD_Task_ID"; - - /** Set OS Task. - * Operation System Task - */ - public void setAD_Task_ID (int AD_Task_ID); - - /** Get OS Task. - * Operation System Task - */ - public int getAD_Task_ID(); - /** Column name AccessLevel */ public static final String COLUMNNAME_AccessLevel = "AccessLevel"; @@ -82,6 +65,19 @@ public interface I_AD_Task */ public String getAccessLevel(); + /** Column name AD_Task_ID */ + public static final String COLUMNNAME_AD_Task_ID = "AD_Task_ID"; + + /** Set OS Task. + * Operation System Task + */ + public void setAD_Task_ID (int AD_Task_ID); + + /** Get OS Task. + * Operation System Task + */ + public int getAD_Task_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_AD_TaskInstance.java b/base/src/org/compiere/model/I_AD_TaskInstance.java index a3eeec1d90..77ba056525 100644 --- a/base/src/org/compiere/model/I_AD_TaskInstance.java +++ b/base/src/org/compiere/model/I_AD_TaskInstance.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TaskInstance - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TaskInstance { @@ -56,15 +52,6 @@ public interface I_AD_TaskInstance /** Load Meta Data */ - /** Column name AD_TaskInstance_ID */ - public static final String COLUMNNAME_AD_TaskInstance_ID = "AD_TaskInstance_ID"; - - /** Set Task Instance */ - public void setAD_TaskInstance_ID (int AD_TaskInstance_ID); - - /** Get Task Instance */ - public int getAD_TaskInstance_ID(); - /** Column name AD_Task_ID */ public static final String COLUMNNAME_AD_Task_ID = "AD_Task_ID"; @@ -77,4 +64,13 @@ public interface I_AD_TaskInstance * Operation System Task */ public int getAD_Task_ID(); + + /** Column name AD_TaskInstance_ID */ + public static final String COLUMNNAME_AD_TaskInstance_ID = "AD_TaskInstance_ID"; + + /** Set Task Instance */ + public void setAD_TaskInstance_ID (int AD_TaskInstance_ID); + + /** Get Task Instance */ + public int getAD_TaskInstance_ID(); } diff --git a/base/src/org/compiere/model/I_AD_Task_Access.java b/base/src/org/compiere/model/I_AD_Task_Access.java index 20ef6a1103..4d9ed0eee7 100644 --- a/base/src/org/compiere/model/I_AD_Task_Access.java +++ b/base/src/org/compiere/model/I_AD_Task_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Task_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Task_Access { diff --git a/base/src/org/compiere/model/I_AD_Tree.java b/base/src/org/compiere/model/I_AD_Tree.java index e7767f9719..f557896bfd 100644 --- a/base/src/org/compiere/model/I_AD_Tree.java +++ b/base/src/org/compiere/model/I_AD_Tree.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Tree - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Tree { diff --git a/base/src/org/compiere/model/I_AD_TreeBar.java b/base/src/org/compiere/model/I_AD_TreeBar.java index a8fb472c9d..d8269a38f5 100644 --- a/base/src/org/compiere/model/I_AD_TreeBar.java +++ b/base/src/org/compiere/model/I_AD_TreeBar.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeBar - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeBar { diff --git a/base/src/org/compiere/model/I_AD_TreeNode.java b/base/src/org/compiere/model/I_AD_TreeNode.java index edcd474555..4e3b41a1c7 100644 --- a/base/src/org/compiere/model/I_AD_TreeNode.java +++ b/base/src/org/compiere/model/I_AD_TreeNode.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNode - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNode { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeBP.java b/base/src/org/compiere/model/I_AD_TreeNodeBP.java index eb2ad83fa0..5b3a2da3bc 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeBP.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeBP.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeBP - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeBP { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeCMC.java b/base/src/org/compiere/model/I_AD_TreeNodeCMC.java index 03d28d7005..c3bd76a1f7 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeCMC.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeCMC.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeCMC - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeCMC { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeCMM.java b/base/src/org/compiere/model/I_AD_TreeNodeCMM.java index a4430bfaee..806c48227f 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeCMM.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeCMM.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeCMM - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeCMM { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeCMS.java b/base/src/org/compiere/model/I_AD_TreeNodeCMS.java index 9cf9975f1c..0372068815 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeCMS.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeCMS.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeCMS - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeCMS { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeCMT.java b/base/src/org/compiere/model/I_AD_TreeNodeCMT.java index 8e5678855c..dbd1593cc8 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeCMT.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeCMT.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeCMT - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeCMT { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeMM.java b/base/src/org/compiere/model/I_AD_TreeNodeMM.java index 8e01587dcd..51fc74ec5f 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeMM.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeMM.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeMM - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeMM { diff --git a/base/src/org/compiere/model/I_AD_TreeNodePR.java b/base/src/org/compiere/model/I_AD_TreeNodePR.java index 0630ede2f5..4180a8d406 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodePR.java +++ b/base/src/org/compiere/model/I_AD_TreeNodePR.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodePR - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodePR { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeU1.java b/base/src/org/compiere/model/I_AD_TreeNodeU1.java index 7c31649277..2d57a0f5c5 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeU1.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeU1.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeU1 - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeU1 { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeU2.java b/base/src/org/compiere/model/I_AD_TreeNodeU2.java index 5875d1dd1d..b76077fc87 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeU2.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeU2.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeU2 - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeU2 { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeU3.java b/base/src/org/compiere/model/I_AD_TreeNodeU3.java index 944710cb18..3a0685e93f 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeU3.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeU3.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeU3 - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeU3 { diff --git a/base/src/org/compiere/model/I_AD_TreeNodeU4.java b/base/src/org/compiere/model/I_AD_TreeNodeU4.java index 1438a59b59..9ad1521c3c 100644 --- a/base/src/org/compiere/model/I_AD_TreeNodeU4.java +++ b/base/src/org/compiere/model/I_AD_TreeNodeU4.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeU4 - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_TreeNodeU4 { diff --git a/base/src/org/compiere/model/I_AD_User.java b/base/src/org/compiere/model/I_AD_User.java index 0a842f4e35..d19bcab3e7 100644 --- a/base/src/org/compiere/model/I_AD_User.java +++ b/base/src/org/compiere/model/I_AD_User.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_User - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_User { @@ -286,18 +282,18 @@ public interface I_AD_User */ public boolean isFullBPAccess(); - /** Column name LDAPUser */ - public static final String COLUMNNAME_LDAPUser = "LDAPUser"; + /** Column name IsInPayroll */ + public static final String COLUMNNAME_IsInPayroll = "IsInPayroll"; - /** Set LDAP User Name. - * User Name used for authorization via LDAP (directory) services + /** Set Is In Payroll. + * Defined if any User Contact will be used for Calculate Payroll */ - public void setLDAPUser (String LDAPUser); + public void setIsInPayroll (boolean IsInPayroll); - /** Get LDAP User Name. - * User Name used for authorization via LDAP (directory) services + /** Get Is In Payroll. + * Defined if any User Contact will be used for Calculate Payroll */ - public String getLDAPUser(); + public boolean isInPayroll(); /** Column name LastContact */ public static final String COLUMNNAME_LastContact = "LastContact"; @@ -325,6 +321,19 @@ public interface I_AD_User */ public String getLastResult(); + /** Column name LDAPUser */ + public static final String COLUMNNAME_LDAPUser = "LDAPUser"; + + /** Set LDAP User Name. + * User Name used for authorization via LDAP (directory) services + */ + public void setLDAPUser (String LDAPUser); + + /** Get LDAP User Name. + * User Name used for authorization via LDAP (directory) services + */ + public String getLDAPUser(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_AD_UserBPAccess.java b/base/src/org/compiere/model/I_AD_UserBPAccess.java index 3ad91f6f12..02e148164c 100644 --- a/base/src/org/compiere/model/I_AD_UserBPAccess.java +++ b/base/src/org/compiere/model/I_AD_UserBPAccess.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserBPAccess - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_UserBPAccess { diff --git a/base/src/org/compiere/model/I_AD_UserDef_Field.java b/base/src/org/compiere/model/I_AD_UserDef_Field.java index 72688a2d42..9f260e132c 100644 --- a/base/src/org/compiere/model/I_AD_UserDef_Field.java +++ b/base/src/org/compiere/model/I_AD_UserDef_Field.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Field - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_UserDef_Field { diff --git a/base/src/org/compiere/model/I_AD_UserDef_Tab.java b/base/src/org/compiere/model/I_AD_UserDef_Tab.java index 5f7674870a..2e34bb22cc 100644 --- a/base/src/org/compiere/model/I_AD_UserDef_Tab.java +++ b/base/src/org/compiere/model/I_AD_UserDef_Tab.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Tab - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_UserDef_Tab { diff --git a/base/src/org/compiere/model/I_AD_UserDef_Win.java b/base/src/org/compiere/model/I_AD_UserDef_Win.java index e80f649c36..ca30ee82d9 100644 --- a/base/src/org/compiere/model/I_AD_UserDef_Win.java +++ b/base/src/org/compiere/model/I_AD_UserDef_Win.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Win - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_UserDef_Win { diff --git a/base/src/org/compiere/model/I_AD_UserMail.java b/base/src/org/compiere/model/I_AD_UserMail.java index 2e9d2654fd..43d8b134a5 100644 --- a/base/src/org/compiere/model/I_AD_UserMail.java +++ b/base/src/org/compiere/model/I_AD_UserMail.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserMail - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_UserMail { @@ -56,19 +52,6 @@ public interface I_AD_UserMail /** Load Meta Data */ - /** Column name AD_UserMail_ID */ - public static final String COLUMNNAME_AD_UserMail_ID = "AD_UserMail_ID"; - - /** Set User Mail. - * Mail sent to the user - */ - public void setAD_UserMail_ID (int AD_UserMail_ID); - - /** Get User Mail. - * Mail sent to the user - */ - public int getAD_UserMail_ID(); - /** Column name AD_User_ID */ public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; @@ -84,6 +67,19 @@ public interface I_AD_UserMail public I_AD_User getAD_User() throws Exception; + /** Column name AD_UserMail_ID */ + public static final String COLUMNNAME_AD_UserMail_ID = "AD_UserMail_ID"; + + /** Set User Mail. + * Mail sent to the user + */ + public void setAD_UserMail_ID (int AD_UserMail_ID); + + /** Get User Mail. + * Mail sent to the user + */ + public int getAD_UserMail_ID(); + /** Column name DeliveryConfirmation */ public static final String COLUMNNAME_DeliveryConfirmation = "DeliveryConfirmation"; diff --git a/base/src/org/compiere/model/I_AD_UserQuery.java b/base/src/org/compiere/model/I_AD_UserQuery.java index 56ab112627..a625be50fb 100644 --- a/base/src/org/compiere/model/I_AD_UserQuery.java +++ b/base/src/org/compiere/model/I_AD_UserQuery.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserQuery - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_UserQuery { @@ -86,19 +82,6 @@ public interface I_AD_UserQuery public I_AD_Table getAD_Table() throws Exception; - /** Column name AD_UserQuery_ID */ - public static final String COLUMNNAME_AD_UserQuery_ID = "AD_UserQuery_ID"; - - /** Set User Query. - * Saved User Query - */ - public void setAD_UserQuery_ID (int AD_UserQuery_ID); - - /** Get User Query. - * Saved User Query - */ - public int getAD_UserQuery_ID(); - /** Column name AD_User_ID */ public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; @@ -114,6 +97,19 @@ public interface I_AD_UserQuery public I_AD_User getAD_User() throws Exception; + /** Column name AD_UserQuery_ID */ + public static final String COLUMNNAME_AD_UserQuery_ID = "AD_UserQuery_ID"; + + /** Set User Query. + * Saved User Query + */ + public void setAD_UserQuery_ID (int AD_UserQuery_ID); + + /** Get User Query. + * Saved User Query + */ + public int getAD_UserQuery_ID(); + /** Column name Code */ public static final String COLUMNNAME_Code = "Code"; diff --git a/base/src/org/compiere/model/I_AD_User_OrgAccess.java b/base/src/org/compiere/model/I_AD_User_OrgAccess.java index 9d510a83bd..dae1e7b1ac 100644 --- a/base/src/org/compiere/model/I_AD_User_OrgAccess.java +++ b/base/src/org/compiere/model/I_AD_User_OrgAccess.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_User_OrgAccess - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_User_OrgAccess { diff --git a/base/src/org/compiere/model/I_AD_User_Roles.java b/base/src/org/compiere/model/I_AD_User_Roles.java index 0fab9bf4fa..2cffb2f502 100644 --- a/base/src/org/compiere/model/I_AD_User_Roles.java +++ b/base/src/org/compiere/model/I_AD_User_Roles.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_User_Roles - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_User_Roles { diff --git a/base/src/org/compiere/model/I_AD_User_Substitute.java b/base/src/org/compiere/model/I_AD_User_Substitute.java index 876dc2d4b4..901c6ffd8b 100644 --- a/base/src/org/compiere/model/I_AD_User_Substitute.java +++ b/base/src/org/compiere/model/I_AD_User_Substitute.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_User_Substitute - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_User_Substitute { diff --git a/base/src/org/compiere/model/I_AD_Val_Rule.java b/base/src/org/compiere/model/I_AD_Val_Rule.java index 0461857314..d2624aea7c 100644 --- a/base/src/org/compiere/model/I_AD_Val_Rule.java +++ b/base/src/org/compiere/model/I_AD_Val_Rule.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Val_Rule - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Val_Rule { diff --git a/base/src/org/compiere/model/I_AD_WF_Activity.java b/base/src/org/compiere/model/I_AD_WF_Activity.java index 0a48e04807..b30c72f498 100644 --- a/base/src/org/compiere/model/I_AD_WF_Activity.java +++ b/base/src/org/compiere/model/I_AD_WF_Activity.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Activity - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_Activity { diff --git a/base/src/org/compiere/model/I_AD_WF_ActivityResult.java b/base/src/org/compiere/model/I_AD_WF_ActivityResult.java index 05c41a63fd..84c2013182 100644 --- a/base/src/org/compiere/model/I_AD_WF_ActivityResult.java +++ b/base/src/org/compiere/model/I_AD_WF_ActivityResult.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_ActivityResult - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_ActivityResult { @@ -56,19 +52,6 @@ public interface I_AD_WF_ActivityResult /** Load Meta Data */ - /** Column name AD_WF_ActivityResult_ID */ - public static final String COLUMNNAME_AD_WF_ActivityResult_ID = "AD_WF_ActivityResult_ID"; - - /** Set Workflow Activity Result. - * Result of the Workflow Process Activity - */ - public void setAD_WF_ActivityResult_ID (int AD_WF_ActivityResult_ID); - - /** Get Workflow Activity Result. - * Result of the Workflow Process Activity - */ - public int getAD_WF_ActivityResult_ID(); - /** Column name AD_WF_Activity_ID */ public static final String COLUMNNAME_AD_WF_Activity_ID = "AD_WF_Activity_ID"; @@ -84,6 +67,19 @@ public interface I_AD_WF_ActivityResult public I_AD_WF_Activity getAD_WF_Activity() throws Exception; + /** Column name AD_WF_ActivityResult_ID */ + public static final String COLUMNNAME_AD_WF_ActivityResult_ID = "AD_WF_ActivityResult_ID"; + + /** Set Workflow Activity Result. + * Result of the Workflow Process Activity + */ + public void setAD_WF_ActivityResult_ID (int AD_WF_ActivityResult_ID); + + /** Get Workflow Activity Result. + * Result of the Workflow Process Activity + */ + public int getAD_WF_ActivityResult_ID(); + /** Column name AttributeName */ public static final String COLUMNNAME_AttributeName = "AttributeName"; diff --git a/base/src/org/compiere/model/I_AD_WF_Block.java b/base/src/org/compiere/model/I_AD_WF_Block.java index 8d378e377e..12ad1e62a7 100644 --- a/base/src/org/compiere/model/I_AD_WF_Block.java +++ b/base/src/org/compiere/model/I_AD_WF_Block.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Block - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_Block { diff --git a/base/src/org/compiere/model/I_AD_WF_EventAudit.java b/base/src/org/compiere/model/I_AD_WF_EventAudit.java index 4c6b048216..e996d16061 100644 --- a/base/src/org/compiere/model/I_AD_WF_EventAudit.java +++ b/base/src/org/compiere/model/I_AD_WF_EventAudit.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_EventAudit - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_EventAudit { diff --git a/base/src/org/compiere/model/I_AD_WF_NextCondition.java b/base/src/org/compiere/model/I_AD_WF_NextCondition.java index e4e18e8dd8..8aa28d3d3d 100644 --- a/base/src/org/compiere/model/I_AD_WF_NextCondition.java +++ b/base/src/org/compiere/model/I_AD_WF_NextCondition.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_NextCondition - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_NextCondition { diff --git a/base/src/org/compiere/model/I_AD_WF_Node.java b/base/src/org/compiere/model/I_AD_WF_Node.java index b09a500375..2a89557770 100644 --- a/base/src/org/compiere/model/I_AD_WF_Node.java +++ b/base/src/org/compiere/model/I_AD_WF_Node.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Node - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_Node { @@ -57,6 +53,19 @@ public interface I_AD_WF_Node /** Load Meta Data */ + /** Column name Action */ + public static final String COLUMNNAME_Action = "Action"; + + /** Set Action. + * Indicates the Action to be performed + */ + public void setAction (String Action); + + /** Get Action. + * Indicates the Action to be performed + */ + public String getAction(); + /** Column name AD_Column_ID */ public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID"; @@ -205,19 +214,6 @@ public interface I_AD_WF_Node public I_AD_Workflow getAD_Workflow() throws Exception; - /** Column name Action */ - public static final String COLUMNNAME_Action = "Action"; - - /** Set Action. - * Indicates the Action to be performed - */ - public void setAction (String Action); - - /** Get Action. - * Indicates the Action to be performed - */ - public String getAction(); - /** Column name AttributeName */ public static final String COLUMNNAME_AttributeName = "AttributeName"; @@ -529,21 +525,6 @@ public interface I_AD_WF_Node public I_R_MailText getR_MailText() throws Exception; - /** Column name S_Resource_ID */ - public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; - - /** Set Resource. - * Resource - */ - public void setS_Resource_ID (int S_Resource_ID); - - /** Get Resource. - * Resource - */ - public int getS_Resource_ID(); - - public I_S_Resource getS_Resource() throws Exception; - /** Column name SetupTime */ public static final String COLUMNNAME_SetupTime = "SetupTime"; @@ -570,6 +551,21 @@ public interface I_AD_WF_Node */ public String getSplitElement(); + /** Column name S_Resource_ID */ + public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; + + /** Set Resource. + * Resource + */ + public void setS_Resource_ID (int S_Resource_ID); + + /** Get Resource. + * Resource + */ + public int getS_Resource_ID(); + + public I_S_Resource getS_Resource() throws Exception; + /** Column name StartMode */ public static final String COLUMNNAME_StartMode = "StartMode"; @@ -644,19 +640,6 @@ public interface I_AD_WF_Node */ public String getValue(); - /** Column name WaitTime */ - public static final String COLUMNNAME_WaitTime = "WaitTime"; - - /** Set Wait Time. - * Time in minutes to wait (sleep) - */ - public void setWaitTime (int WaitTime); - - /** Get Wait Time. - * Time in minutes to wait (sleep) - */ - public int getWaitTime(); - /** Column name WaitingTime */ public static final String COLUMNNAME_WaitingTime = "WaitingTime"; @@ -670,6 +653,19 @@ public interface I_AD_WF_Node */ public int getWaitingTime(); + /** Column name WaitTime */ + public static final String COLUMNNAME_WaitTime = "WaitTime"; + + /** Set Wait Time. + * Time in minutes to wait (sleep) + */ + public void setWaitTime (int WaitTime); + + /** Get Wait Time. + * Time in minutes to wait (sleep) + */ + public int getWaitTime(); + /** Column name Workflow_ID */ public static final String COLUMNNAME_Workflow_ID = "Workflow_ID"; diff --git a/base/src/org/compiere/model/I_AD_WF_NodeNext.java b/base/src/org/compiere/model/I_AD_WF_NodeNext.java index ff200cfa83..44fc39136e 100644 --- a/base/src/org/compiere/model/I_AD_WF_NodeNext.java +++ b/base/src/org/compiere/model/I_AD_WF_NodeNext.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_NodeNext - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_NodeNext { @@ -69,19 +65,6 @@ public interface I_AD_WF_NodeNext */ public int getAD_WF_Next_ID(); - /** Column name AD_WF_NodeNext_ID */ - public static final String COLUMNNAME_AD_WF_NodeNext_ID = "AD_WF_NodeNext_ID"; - - /** Set Node Transition. - * Workflow Node Transition - */ - public void setAD_WF_NodeNext_ID (int AD_WF_NodeNext_ID); - - /** Get Node Transition. - * Workflow Node Transition - */ - public int getAD_WF_NodeNext_ID(); - /** Column name AD_WF_Node_ID */ public static final String COLUMNNAME_AD_WF_Node_ID = "AD_WF_Node_ID"; @@ -97,6 +80,19 @@ public interface I_AD_WF_NodeNext public I_AD_WF_Node getAD_WF_Node() throws Exception; + /** Column name AD_WF_NodeNext_ID */ + public static final String COLUMNNAME_AD_WF_NodeNext_ID = "AD_WF_NodeNext_ID"; + + /** Set Node Transition. + * Workflow Node Transition + */ + public void setAD_WF_NodeNext_ID (int AD_WF_NodeNext_ID); + + /** Get Node Transition. + * Workflow Node Transition + */ + public int getAD_WF_NodeNext_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_AD_WF_Node_Para.java b/base/src/org/compiere/model/I_AD_WF_Node_Para.java index e027086040..fbe3110d8d 100644 --- a/base/src/org/compiere/model/I_AD_WF_Node_Para.java +++ b/base/src/org/compiere/model/I_AD_WF_Node_Para.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Node_Para - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_Node_Para { diff --git a/base/src/org/compiere/model/I_AD_WF_Process.java b/base/src/org/compiere/model/I_AD_WF_Process.java index 0af5ecc26d..d2589f5da9 100644 --- a/base/src/org/compiere/model/I_AD_WF_Process.java +++ b/base/src/org/compiere/model/I_AD_WF_Process.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Process - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_Process { diff --git a/base/src/org/compiere/model/I_AD_WF_ProcessData.java b/base/src/org/compiere/model/I_AD_WF_ProcessData.java index 982f4dcfaf..626085fb8d 100644 --- a/base/src/org/compiere/model/I_AD_WF_ProcessData.java +++ b/base/src/org/compiere/model/I_AD_WF_ProcessData.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_ProcessData - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_ProcessData { diff --git a/base/src/org/compiere/model/I_AD_WF_Responsible.java b/base/src/org/compiere/model/I_AD_WF_Responsible.java index c19bfefb81..221a096fec 100644 --- a/base/src/org/compiere/model/I_AD_WF_Responsible.java +++ b/base/src/org/compiere/model/I_AD_WF_Responsible.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Responsible - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WF_Responsible { diff --git a/base/src/org/compiere/model/I_AD_Window.java b/base/src/org/compiere/model/I_AD_Window.java index acfef3e122..b0dd4b2cc4 100644 --- a/base/src/org/compiere/model/I_AD_Window.java +++ b/base/src/org/compiere/model/I_AD_Window.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Window - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Window { @@ -201,6 +197,19 @@ public interface I_AD_Window /** Get Process Now */ public boolean isProcessing(); + /** Column name WindowType */ + public static final String COLUMNNAME_WindowType = "WindowType"; + + /** Set WindowType. + * Type or classification of a Window + */ + public void setWindowType (String WindowType); + + /** Get WindowType. + * Type or classification of a Window + */ + public String getWindowType(); + /** Column name WinHeight */ public static final String COLUMNNAME_WinHeight = "WinHeight"; @@ -218,17 +227,4 @@ public interface I_AD_Window /** Get Window Width */ public int getWinWidth(); - - /** Column name WindowType */ - public static final String COLUMNNAME_WindowType = "WindowType"; - - /** Set WindowType. - * Type or classification of a Window - */ - public void setWindowType (String WindowType); - - /** Get WindowType. - * Type or classification of a Window - */ - public String getWindowType(); } diff --git a/base/src/org/compiere/model/I_AD_Window_Access.java b/base/src/org/compiere/model/I_AD_Window_Access.java index ba6138b9f9..b02157e913 100644 --- a/base/src/org/compiere/model/I_AD_Window_Access.java +++ b/base/src/org/compiere/model/I_AD_Window_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Window_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Window_Access { diff --git a/base/src/org/compiere/model/I_AD_Workbench.java b/base/src/org/compiere/model/I_AD_Workbench.java index ffccf11322..ee49ec0936 100644 --- a/base/src/org/compiere/model/I_AD_Workbench.java +++ b/base/src/org/compiere/model/I_AD_Workbench.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Workbench - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Workbench { diff --git a/base/src/org/compiere/model/I_AD_WorkbenchWindow.java b/base/src/org/compiere/model/I_AD_WorkbenchWindow.java index 368fbf9d74..e5c2c5ce05 100644 --- a/base/src/org/compiere/model/I_AD_WorkbenchWindow.java +++ b/base/src/org/compiere/model/I_AD_WorkbenchWindow.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WorkbenchWindow - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WorkbenchWindow { @@ -116,15 +112,6 @@ public interface I_AD_WorkbenchWindow public I_AD_Window getAD_Window() throws Exception; - /** Column name AD_WorkbenchWindow_ID */ - public static final String COLUMNNAME_AD_WorkbenchWindow_ID = "AD_WorkbenchWindow_ID"; - - /** Set Workbench Window */ - public void setAD_WorkbenchWindow_ID (int AD_WorkbenchWindow_ID); - - /** Get Workbench Window */ - public int getAD_WorkbenchWindow_ID(); - /** Column name AD_Workbench_ID */ public static final String COLUMNNAME_AD_Workbench_ID = "AD_Workbench_ID"; @@ -140,6 +127,15 @@ public interface I_AD_WorkbenchWindow public I_AD_Workbench getAD_Workbench() throws Exception; + /** Column name AD_WorkbenchWindow_ID */ + public static final String COLUMNNAME_AD_WorkbenchWindow_ID = "AD_WorkbenchWindow_ID"; + + /** Set Workbench Window */ + public void setAD_WorkbenchWindow_ID (int AD_WorkbenchWindow_ID); + + /** Get Workbench Window */ + public int getAD_WorkbenchWindow_ID(); + /** Column name EntityType */ public static final String COLUMNNAME_EntityType = "EntityType"; diff --git a/base/src/org/compiere/model/I_AD_Workflow.java b/base/src/org/compiere/model/I_AD_Workflow.java index d420dc7412..652bbb3dc4 100644 --- a/base/src/org/compiere/model/I_AD_Workflow.java +++ b/base/src/org/compiere/model/I_AD_Workflow.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Workflow - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Workflow { @@ -57,6 +53,19 @@ public interface I_AD_Workflow /** Load Meta Data */ + /** Column name AccessLevel */ + public static final String COLUMNNAME_AccessLevel = "AccessLevel"; + + /** Set Data Access Level. + * Access Level required + */ + public void setAccessLevel (String AccessLevel); + + /** Get Data Access Level. + * Access Level required + */ + public String getAccessLevel(); + /** Column name AD_Table_ID */ public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID"; @@ -102,6 +111,19 @@ public interface I_AD_Workflow public I_AD_WF_Responsible getAD_WF_Responsible() throws Exception; + /** Column name AD_Workflow_ID */ + public static final String COLUMNNAME_AD_Workflow_ID = "AD_Workflow_ID"; + + /** Set Workflow. + * Workflow or combination of tasks + */ + public void setAD_Workflow_ID (int AD_Workflow_ID); + + /** Get Workflow. + * Workflow or combination of tasks + */ + public int getAD_Workflow_ID(); + /** Column name AD_WorkflowProcessor_ID */ public static final String COLUMNNAME_AD_WorkflowProcessor_ID = "AD_WorkflowProcessor_ID"; @@ -117,32 +139,6 @@ public interface I_AD_Workflow public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception; - /** Column name AD_Workflow_ID */ - public static final String COLUMNNAME_AD_Workflow_ID = "AD_Workflow_ID"; - - /** Set Workflow. - * Workflow or combination of tasks - */ - public void setAD_Workflow_ID (int AD_Workflow_ID); - - /** Get Workflow. - * Workflow or combination of tasks - */ - public int getAD_Workflow_ID(); - - /** Column name AccessLevel */ - public static final String COLUMNNAME_AccessLevel = "AccessLevel"; - - /** Set Data Access Level. - * Access Level required - */ - public void setAccessLevel (String AccessLevel); - - /** Get Data Access Level. - * Access Level required - */ - public String getAccessLevel(); - /** Column name Author */ public static final String COLUMNNAME_Author = "Author"; @@ -182,19 +178,6 @@ public interface I_AD_Workflow */ public String getDescription(); - /** Column name DocValueLogic */ - public static final String COLUMNNAME_DocValueLogic = "DocValueLogic"; - - /** Set Document Value Logic. - * Logic to determine Workflow Start - If true, a workflow process is started for the document - */ - public void setDocValueLogic (String DocValueLogic); - - /** Get Document Value Logic. - * Logic to determine Workflow Start - If true, a workflow process is started for the document - */ - public String getDocValueLogic(); - /** Column name DocumentNo */ public static final String COLUMNNAME_DocumentNo = "DocumentNo"; @@ -208,6 +191,19 @@ public interface I_AD_Workflow */ public String getDocumentNo(); + /** Column name DocValueLogic */ + public static final String COLUMNNAME_DocValueLogic = "DocValueLogic"; + + /** Set Document Value Logic. + * Logic to determine Workflow Start - If true, a workflow process is started for the document + */ + public void setDocValueLogic (String DocValueLogic); + + /** Get Document Value Logic. + * Logic to determine Workflow Start - If true, a workflow process is started for the document + */ + public String getDocValueLogic(); + /** Column name Duration */ public static final String COLUMNNAME_Duration = "Duration"; @@ -376,6 +372,19 @@ public interface I_AD_Workflow /** Get QueuingTime */ public int getQueuingTime(); + /** Column name SetupTime */ + public static final String COLUMNNAME_SetupTime = "SetupTime"; + + /** Set Setup Time. + * Setup time before starting Production + */ + public void setSetupTime (int SetupTime); + + /** Get Setup Time. + * Setup time before starting Production + */ + public int getSetupTime(); + /** Column name S_Resource_ID */ public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; @@ -391,18 +400,14 @@ public interface I_AD_Workflow public I_S_Resource getS_Resource() throws Exception; - /** Column name SetupTime */ - public static final String COLUMNNAME_SetupTime = "SetupTime"; + /** Column name ValidateWorkflow */ + public static final String COLUMNNAME_ValidateWorkflow = "ValidateWorkflow"; - /** Set Setup Time. - * Setup time before starting Production - */ - public void setSetupTime (int SetupTime); + /** Set Validate Workflow */ + public void setValidateWorkflow (String ValidateWorkflow); - /** Get Setup Time. - * Setup time before starting Production - */ - public int getSetupTime(); + /** Get Validate Workflow */ + public String getValidateWorkflow(); /** Column name ValidFrom */ public static final String COLUMNNAME_ValidFrom = "ValidFrom"; @@ -430,15 +435,6 @@ public interface I_AD_Workflow */ public Timestamp getValidTo(); - /** Column name ValidateWorkflow */ - public static final String COLUMNNAME_ValidateWorkflow = "ValidateWorkflow"; - - /** Set Validate Workflow */ - public void setValidateWorkflow (String ValidateWorkflow); - - /** Get Validate Workflow */ - public String getValidateWorkflow(); - /** Column name Value */ public static final String COLUMNNAME_Value = "Value"; diff --git a/base/src/org/compiere/model/I_AD_WorkflowProcessor.java b/base/src/org/compiere/model/I_AD_WorkflowProcessor.java index fa7ce30d12..9b21d22891 100644 --- a/base/src/org/compiere/model/I_AD_WorkflowProcessor.java +++ b/base/src/org/compiere/model/I_AD_WorkflowProcessor.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WorkflowProcessor - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WorkflowProcessor { diff --git a/base/src/org/compiere/model/I_AD_WorkflowProcessorLog.java b/base/src/org/compiere/model/I_AD_WorkflowProcessorLog.java index a5b134415b..dd880907ed 100644 --- a/base/src/org/compiere/model/I_AD_WorkflowProcessorLog.java +++ b/base/src/org/compiere/model/I_AD_WorkflowProcessorLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WorkflowProcessorLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_WorkflowProcessorLog { @@ -56,19 +52,6 @@ public interface I_AD_WorkflowProcessorLog /** Load Meta Data */ - /** Column name AD_WorkflowProcessorLog_ID */ - public static final String COLUMNNAME_AD_WorkflowProcessorLog_ID = "AD_WorkflowProcessorLog_ID"; - - /** Set Workflow Processorl Log. - * Result of the execution of the Workflow Processor - */ - public void setAD_WorkflowProcessorLog_ID (int AD_WorkflowProcessorLog_ID); - - /** Get Workflow Processorl Log. - * Result of the execution of the Workflow Processor - */ - public int getAD_WorkflowProcessorLog_ID(); - /** Column name AD_WorkflowProcessor_ID */ public static final String COLUMNNAME_AD_WorkflowProcessor_ID = "AD_WorkflowProcessor_ID"; @@ -84,6 +67,19 @@ public interface I_AD_WorkflowProcessorLog public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception; + /** Column name AD_WorkflowProcessorLog_ID */ + public static final String COLUMNNAME_AD_WorkflowProcessorLog_ID = "AD_WorkflowProcessorLog_ID"; + + /** Set Workflow Processorl Log. + * Result of the execution of the Workflow Processor + */ + public void setAD_WorkflowProcessorLog_ID (int AD_WorkflowProcessorLog_ID); + + /** Get Workflow Processorl Log. + * Result of the execution of the Workflow Processor + */ + public int getAD_WorkflowProcessorLog_ID(); + /** Column name BinaryData */ public static final String COLUMNNAME_BinaryData = "BinaryData"; diff --git a/base/src/org/compiere/model/I_AD_Workflow_Access.java b/base/src/org/compiere/model/I_AD_Workflow_Access.java index c1ee353b8d..ea65760075 100644 --- a/base/src/org/compiere/model/I_AD_Workflow_Access.java +++ b/base/src/org/compiere/model/I_AD_Workflow_Access.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Workflow_Access - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_AD_Workflow_Access { diff --git a/base/src/org/compiere/model/I_ASP_ClientException.java b/base/src/org/compiere/model/I_ASP_ClientException.java index 04f03aac29..f043c1b070 100644 --- a/base/src/org/compiere/model/I_ASP_ClientException.java +++ b/base/src/org/compiere/model/I_ASP_ClientException.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_ClientException - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_ClientException { diff --git a/base/src/org/compiere/model/I_ASP_ClientLevel.java b/base/src/org/compiere/model/I_ASP_ClientLevel.java index 81989875a1..5dff6d9d91 100644 --- a/base/src/org/compiere/model/I_ASP_ClientLevel.java +++ b/base/src/org/compiere/model/I_ASP_ClientLevel.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_ClientLevel - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_ClientLevel { diff --git a/base/src/org/compiere/model/I_ASP_Field.java b/base/src/org/compiere/model/I_ASP_Field.java index f704eae288..1531a85714 100644 --- a/base/src/org/compiere/model/I_ASP_Field.java +++ b/base/src/org/compiere/model/I_ASP_Field.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Field - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Field { diff --git a/base/src/org/compiere/model/I_ASP_Form.java b/base/src/org/compiere/model/I_ASP_Form.java index bc05543d66..bb0da06be7 100644 --- a/base/src/org/compiere/model/I_ASP_Form.java +++ b/base/src/org/compiere/model/I_ASP_Form.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Form - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Form { diff --git a/base/src/org/compiere/model/I_ASP_Level.java b/base/src/org/compiere/model/I_ASP_Level.java index f892f93f4e..b0834464cc 100644 --- a/base/src/org/compiere/model/I_ASP_Level.java +++ b/base/src/org/compiere/model/I_ASP_Level.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Level - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Level { diff --git a/base/src/org/compiere/model/I_ASP_Module.java b/base/src/org/compiere/model/I_ASP_Module.java index c02110539f..7fcd1e06bd 100644 --- a/base/src/org/compiere/model/I_ASP_Module.java +++ b/base/src/org/compiere/model/I_ASP_Module.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Module - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Module { diff --git a/base/src/org/compiere/model/I_ASP_Process.java b/base/src/org/compiere/model/I_ASP_Process.java index 15d6d99b4c..4d2079fb2e 100644 --- a/base/src/org/compiere/model/I_ASP_Process.java +++ b/base/src/org/compiere/model/I_ASP_Process.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Process - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Process { diff --git a/base/src/org/compiere/model/I_ASP_Process_Para.java b/base/src/org/compiere/model/I_ASP_Process_Para.java index bda5d560e5..31bd403671 100644 --- a/base/src/org/compiere/model/I_ASP_Process_Para.java +++ b/base/src/org/compiere/model/I_ASP_Process_Para.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Process_Para - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Process_Para { diff --git a/base/src/org/compiere/model/I_ASP_Tab.java b/base/src/org/compiere/model/I_ASP_Tab.java index ac80a6b215..c967fd538e 100644 --- a/base/src/org/compiere/model/I_ASP_Tab.java +++ b/base/src/org/compiere/model/I_ASP_Tab.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Tab - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Tab { @@ -86,6 +82,15 @@ public interface I_ASP_Tab public I_AD_Window getAD_Window() throws Exception; + /** Column name AllFields */ + public static final String COLUMNNAME_AllFields = "AllFields"; + + /** Set AllFields */ + public void setAllFields (boolean AllFields); + + /** Get AllFields */ + public boolean isAllFields(); + /** Column name ASP_Level_ID */ public static final String COLUMNNAME_ASP_Level_ID = "ASP_Level_ID"; @@ -106,15 +111,6 @@ public interface I_ASP_Tab /** Get ASP Status */ public String getASP_Status(); - /** Column name AllFields */ - public static final String COLUMNNAME_AllFields = "AllFields"; - - /** Set AllFields */ - public void setAllFields (boolean AllFields); - - /** Get AllFields */ - public boolean isAllFields(); - /** Column name Processing */ public static final String COLUMNNAME_Processing = "Processing"; diff --git a/base/src/org/compiere/model/I_ASP_Task.java b/base/src/org/compiere/model/I_ASP_Task.java index 880385324e..c9bf4c3fd1 100644 --- a/base/src/org/compiere/model/I_ASP_Task.java +++ b/base/src/org/compiere/model/I_ASP_Task.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Task - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Task { diff --git a/base/src/org/compiere/model/I_ASP_Window.java b/base/src/org/compiere/model/I_ASP_Window.java index 2983e0e96e..c8d070f93e 100644 --- a/base/src/org/compiere/model/I_ASP_Window.java +++ b/base/src/org/compiere/model/I_ASP_Window.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Window - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Window { diff --git a/base/src/org/compiere/model/I_ASP_Workflow.java b/base/src/org/compiere/model/I_ASP_Workflow.java index f3db568946..593f25c4d0 100644 --- a/base/src/org/compiere/model/I_ASP_Workflow.java +++ b/base/src/org/compiere/model/I_ASP_Workflow.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Workflow - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_ASP_Workflow { diff --git a/base/src/org/compiere/model/I_A_Asset.java b/base/src/org/compiere/model/I_A_Asset.java index 3588ee275d..96ac38f3f8 100644 --- a/base/src/org/compiere/model/I_A_Asset.java +++ b/base/src/org/compiere/model/I_A_Asset.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset { @@ -57,21 +53,6 @@ public interface I_A_Asset /** Load Meta Data */ - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID); - - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID(); - - public I_AD_User getAD_User() throws Exception; - /** Column name A_Asset_CreateDate */ public static final String COLUMNNAME_A_Asset_CreateDate = "A_Asset_CreateDate"; @@ -118,6 +99,21 @@ public interface I_A_Asset /** Get A_Asset_RevalDate */ public Timestamp getA_Asset_RevalDate(); + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + + public I_AD_User getAD_User() throws Exception; + /** Column name A_Parent_Asset_ID */ public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID"; @@ -184,19 +180,6 @@ public interface I_A_Asset */ public Timestamp getAssetServiceDate(); - /** Column name C_BPartnerSR_ID */ - public static final String COLUMNNAME_C_BPartnerSR_ID = "C_BPartnerSR_ID"; - - /** Set BPartner (Agent). - * Business Partner (Agent or Sales Rep) - */ - public void setC_BPartnerSR_ID (int C_BPartnerSR_ID); - - /** Get BPartner (Agent). - * Business Partner (Agent or Sales Rep) - */ - public int getC_BPartnerSR_ID(); - /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -227,6 +210,19 @@ public interface I_A_Asset public I_C_BPartner_Location getC_BPartner_Location() throws Exception; + /** Column name C_BPartnerSR_ID */ + public static final String COLUMNNAME_C_BPartnerSR_ID = "C_BPartnerSR_ID"; + + /** Set BPartner (Agent). + * Business Partner (Agent or Sales Rep) + */ + public void setC_BPartnerSR_ID (int C_BPartnerSR_ID); + + /** Get BPartner (Agent). + * Business Partner (Agent or Sales Rep) + */ + public int getC_BPartnerSR_ID(); + /** Column name C_Location_ID */ public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; @@ -400,19 +396,6 @@ public interface I_A_Asset */ public int getLastMaintenanceUnit(); - /** Column name LeaseTerminationDate */ - public static final String COLUMNNAME_LeaseTerminationDate = "LeaseTerminationDate"; - - /** Set Lease Termination. - * Lease Termination Date - */ - public void setLeaseTerminationDate (Timestamp LeaseTerminationDate); - - /** Get Lease Termination. - * Lease Termination Date - */ - public Timestamp getLeaseTerminationDate(); - /** Column name Lease_BPartner_ID */ public static final String COLUMNNAME_Lease_BPartner_ID = "Lease_BPartner_ID"; @@ -426,6 +409,19 @@ public interface I_A_Asset */ public int getLease_BPartner_ID(); + /** Column name LeaseTerminationDate */ + public static final String COLUMNNAME_LeaseTerminationDate = "LeaseTerminationDate"; + + /** Set Lease Termination. + * Lease Termination Date + */ + public void setLeaseTerminationDate (Timestamp LeaseTerminationDate); + + /** Get Lease Termination. + * Lease Termination Date + */ + public Timestamp getLeaseTerminationDate(); + /** Column name LifeUseUnits */ public static final String COLUMNNAME_LifeUseUnits = "LifeUseUnits"; diff --git a/base/src/org/compiere/model/I_A_Asset_Acct.java b/base/src/org/compiere/model/I_A_Asset_Acct.java index 5487bc8612..32e3e2fbf0 100644 --- a/base/src/org/compiere/model/I_A_Asset_Acct.java +++ b/base/src/org/compiere/model/I_A_Asset_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Acct { diff --git a/base/src/org/compiere/model/I_A_Asset_Addition.java b/base/src/org/compiere/model/I_A_Asset_Addition.java index 6b101ea179..3135315b8d 100644 --- a/base/src/org/compiere/model/I_A_Asset_Addition.java +++ b/base/src/org/compiere/model/I_A_Asset_Addition.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Addition - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Addition { diff --git a/base/src/org/compiere/model/I_A_Asset_Change.java b/base/src/org/compiere/model/I_A_Asset_Change.java index 4d8555d610..e1696f1077 100644 --- a/base/src/org/compiere/model/I_A_Asset_Change.java +++ b/base/src/org/compiere/model/I_A_Asset_Change.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Change - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Change { @@ -227,6 +223,15 @@ public interface I_A_Asset_Change /** Get A_Disposal_Revenue */ public int getA_Disposal_Revenue(); + /** Column name Ad_User_ID */ + public static final String COLUMNNAME_Ad_User_ID = "Ad_User_ID"; + + /** Set Ad_User_ID */ + public void setAd_User_ID (int Ad_User_ID); + + /** Get Ad_User_ID */ + public int getAd_User_ID(); + /** Column name A_Parent_Asset_ID */ public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID"; @@ -344,15 +349,6 @@ public interface I_A_Asset_Change /** Get A_Split_Percent */ public BigDecimal getA_Split_Percent(); - /** Column name Ad_User_ID */ - public static final String COLUMNNAME_Ad_User_ID = "Ad_User_ID"; - - /** Set Ad_User_ID */ - public void setAd_User_ID (int Ad_User_ID); - - /** Get Ad_User_ID */ - public int getAd_User_ID(); - /** Column name AssetAccumDepreciationAmt */ public static final String COLUMNNAME_AssetAccumDepreciationAmt = "AssetAccumDepreciationAmt"; @@ -477,32 +473,6 @@ public interface I_A_Asset_Change */ public int getC_BPartner_Location_ID(); - /** Column name C_Location_ID */ - public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; - - /** Set Address. - * Location or Address - */ - public void setC_Location_ID (int C_Location_ID); - - /** Get Address. - * Location or Address - */ - public int getC_Location_ID(); - - /** Column name C_ValidCombination_ID */ - public static final String COLUMNNAME_C_ValidCombination_ID = "C_ValidCombination_ID"; - - /** Set Combination. - * Valid Account Combination - */ - public void setC_ValidCombination_ID (int C_ValidCombination_ID); - - /** Get Combination. - * Valid Account Combination - */ - public int getC_ValidCombination_ID(); - /** Column name ChangeAmt */ public static final String COLUMNNAME_ChangeAmt = "ChangeAmt"; @@ -530,6 +500,19 @@ public interface I_A_Asset_Change /** Get ChangeType */ public String getChangeType(); + /** Column name C_Location_ID */ + public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; + + /** Set Address. + * Location or Address + */ + public void setC_Location_ID (int C_Location_ID); + + /** Get Address. + * Location or Address + */ + public int getC_Location_ID(); + /** Column name ConventionType */ public static final String COLUMNNAME_ConventionType = "ConventionType"; @@ -539,6 +522,19 @@ public interface I_A_Asset_Change /** Get ConventionType */ public int getConventionType(); + /** Column name C_ValidCombination_ID */ + public static final String COLUMNNAME_C_ValidCombination_ID = "C_ValidCombination_ID"; + + /** Set Combination. + * Valid Account Combination + */ + public void setC_ValidCombination_ID (int C_ValidCombination_ID); + + /** Get Combination. + * Valid Account Combination + */ + public int getC_ValidCombination_ID(); + /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; diff --git a/base/src/org/compiere/model/I_A_Asset_Delivery.java b/base/src/org/compiere/model/I_A_Asset_Delivery.java index 662ee2d5bd..c2f7a732ae 100644 --- a/base/src/org/compiere/model/I_A_Asset_Delivery.java +++ b/base/src/org/compiere/model/I_A_Asset_Delivery.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Delivery - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Delivery { @@ -57,21 +53,6 @@ public interface I_A_Asset_Delivery /** Load Meta Data */ - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID); - - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID(); - - public I_AD_User getAD_User() throws Exception; - /** Column name A_Asset_Delivery_ID */ public static final String COLUMNNAME_A_Asset_Delivery_ID = "A_Asset_Delivery_ID"; @@ -100,6 +81,21 @@ public interface I_A_Asset_Delivery public I_A_Asset getA_Asset() throws Exception; + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + + public I_AD_User getAD_User() throws Exception; + /** Column name DeliveryConfirmation */ public static final String COLUMNNAME_DeliveryConfirmation = "DeliveryConfirmation"; @@ -152,6 +148,19 @@ public interface I_A_Asset_Delivery */ public String getLot(); + /** Column name MessageID */ + public static final String COLUMNNAME_MessageID = "MessageID"; + + /** Set Message ID. + * EMail Message ID + */ + public void setMessageID (String MessageID); + + /** Get Message ID. + * EMail Message ID + */ + public String getMessageID(); + /** Column name M_InOutLine_ID */ public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID"; @@ -167,6 +176,19 @@ public interface I_A_Asset_Delivery public I_M_InOutLine getM_InOutLine() throws Exception; + /** Column name MovementDate */ + public static final String COLUMNNAME_MovementDate = "MovementDate"; + + /** Set Movement Date. + * Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate); + + /** Get Movement Date. + * Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate(); + /** Column name M_ProductDownload_ID */ public static final String COLUMNNAME_M_ProductDownload_ID = "M_ProductDownload_ID"; @@ -182,32 +204,6 @@ public interface I_A_Asset_Delivery public I_M_ProductDownload getM_ProductDownload() throws Exception; - /** Column name MessageID */ - public static final String COLUMNNAME_MessageID = "MessageID"; - - /** Set Message ID. - * EMail Message ID - */ - public void setMessageID (String MessageID); - - /** Get Message ID. - * EMail Message ID - */ - public String getMessageID(); - - /** Column name MovementDate */ - public static final String COLUMNNAME_MovementDate = "MovementDate"; - - /** Set Movement Date. - * Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate); - - /** Get Movement Date. - * Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate(); - /** Column name Referrer */ public static final String COLUMNNAME_Referrer = "Referrer"; diff --git a/base/src/org/compiere/model/I_A_Asset_Disposed.java b/base/src/org/compiere/model/I_A_Asset_Disposed.java index be6621a9c3..7c8621864e 100644 --- a/base/src/org/compiere/model/I_A_Asset_Disposed.java +++ b/base/src/org/compiere/model/I_A_Asset_Disposed.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Disposed - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Disposed { diff --git a/base/src/org/compiere/model/I_A_Asset_Group.java b/base/src/org/compiere/model/I_A_Asset_Group.java index 16c0f2f669..809e57039c 100644 --- a/base/src/org/compiere/model/I_A_Asset_Group.java +++ b/base/src/org/compiere/model/I_A_Asset_Group.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Group - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Group { diff --git a/base/src/org/compiere/model/I_A_Asset_Group_Acct.java b/base/src/org/compiere/model/I_A_Asset_Group_Acct.java index 3ff5bf7f77..2048184717 100644 --- a/base/src/org/compiere/model/I_A_Asset_Group_Acct.java +++ b/base/src/org/compiere/model/I_A_Asset_Group_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Group_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Group_Acct { diff --git a/base/src/org/compiere/model/I_A_Asset_Info_Fin.java b/base/src/org/compiere/model/I_A_Asset_Info_Fin.java index 6cd031a6bf..0b50c72a18 100644 --- a/base/src/org/compiere/model/I_A_Asset_Info_Fin.java +++ b/base/src/org/compiere/model/I_A_Asset_Info_Fin.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Fin - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Info_Fin { diff --git a/base/src/org/compiere/model/I_A_Asset_Info_Ins.java b/base/src/org/compiere/model/I_A_Asset_Info_Ins.java index 54cdf38c9a..2dbac8a333 100644 --- a/base/src/org/compiere/model/I_A_Asset_Info_Ins.java +++ b/base/src/org/compiere/model/I_A_Asset_Info_Ins.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Ins - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Info_Ins { @@ -88,15 +84,6 @@ public interface I_A_Asset_Info_Ins /** Get A_Ins_Premium */ public BigDecimal getA_Ins_Premium(); - /** Column name A_Ins_Value */ - public static final String COLUMNNAME_A_Ins_Value = "A_Ins_Value"; - - /** Set A_Ins_Value */ - public void setA_Ins_Value (BigDecimal A_Ins_Value); - - /** Get A_Ins_Value */ - public BigDecimal getA_Ins_Value(); - /** Column name A_Insurance_Co */ public static final String COLUMNNAME_A_Insurance_Co = "A_Insurance_Co"; @@ -106,6 +93,15 @@ public interface I_A_Asset_Info_Ins /** Get A_Insurance_Co */ public String getA_Insurance_Co(); + /** Column name A_Ins_Value */ + public static final String COLUMNNAME_A_Ins_Value = "A_Ins_Value"; + + /** Set A_Ins_Value */ + public void setA_Ins_Value (BigDecimal A_Ins_Value); + + /** Get A_Ins_Value */ + public BigDecimal getA_Ins_Value(); + /** Column name A_Policy_No */ public static final String COLUMNNAME_A_Policy_No = "A_Policy_No"; diff --git a/base/src/org/compiere/model/I_A_Asset_Info_Lic.java b/base/src/org/compiere/model/I_A_Asset_Info_Lic.java index 03f6e849d1..b59af9d912 100644 --- a/base/src/org/compiere/model/I_A_Asset_Info_Lic.java +++ b/base/src/org/compiere/model/I_A_Asset_Info_Lic.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Lic - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Info_Lic { diff --git a/base/src/org/compiere/model/I_A_Asset_Info_Oth.java b/base/src/org/compiere/model/I_A_Asset_Info_Oth.java index 59c8f2632c..bceba53fb2 100644 --- a/base/src/org/compiere/model/I_A_Asset_Info_Oth.java +++ b/base/src/org/compiere/model/I_A_Asset_Info_Oth.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Oth - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Info_Oth { diff --git a/base/src/org/compiere/model/I_A_Asset_Info_Tax.java b/base/src/org/compiere/model/I_A_Asset_Info_Tax.java index 77a2764fbe..45c5830425 100644 --- a/base/src/org/compiere/model/I_A_Asset_Info_Tax.java +++ b/base/src/org/compiere/model/I_A_Asset_Info_Tax.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Tax - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Info_Tax { diff --git a/base/src/org/compiere/model/I_A_Asset_Retirement.java b/base/src/org/compiere/model/I_A_Asset_Retirement.java index 93543b0dc7..729da0690d 100644 --- a/base/src/org/compiere/model/I_A_Asset_Retirement.java +++ b/base/src/org/compiere/model/I_A_Asset_Retirement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Retirement - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Retirement { diff --git a/base/src/org/compiere/model/I_A_Asset_Reval_Entry.java b/base/src/org/compiere/model/I_A_Asset_Reval_Entry.java index acf2e74a5c..c216e00dce 100644 --- a/base/src/org/compiere/model/I_A_Asset_Reval_Entry.java +++ b/base/src/org/compiere/model/I_A_Asset_Reval_Entry.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Reval_Entry - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Reval_Entry { @@ -75,15 +71,6 @@ public interface I_A_Asset_Reval_Entry /** Get A_Effective_Date */ public Timestamp getA_Effective_Date(); - /** Column name A_Rev_Code */ - public static final String COLUMNNAME_A_Rev_Code = "A_Rev_Code"; - - /** Set A_Rev_Code */ - public void setA_Rev_Code (String A_Rev_Code); - - /** Get A_Rev_Code */ - public String getA_Rev_Code(); - /** Column name A_Reval_Cal_Method */ public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; @@ -111,6 +98,15 @@ public interface I_A_Asset_Reval_Entry /** Get A_Reval_Multiplier */ public String getA_Reval_Multiplier(); + /** Column name A_Rev_Code */ + public static final String COLUMNNAME_A_Rev_Code = "A_Rev_Code"; + + /** Set A_Rev_Code */ + public void setA_Rev_Code (String A_Rev_Code); + + /** Get A_Rev_Code */ + public String getA_Rev_Code(); + /** Column name C_AcctSchema_ID */ public static final String COLUMNNAME_C_AcctSchema_ID = "C_AcctSchema_ID"; diff --git a/base/src/org/compiere/model/I_A_Asset_Reval_Index.java b/base/src/org/compiere/model/I_A_Asset_Reval_Index.java index 63a47ab91c..055a1f1cc4 100644 --- a/base/src/org/compiere/model/I_A_Asset_Reval_Index.java +++ b/base/src/org/compiere/model/I_A_Asset_Reval_Index.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Reval_Index - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Reval_Index { diff --git a/base/src/org/compiere/model/I_A_Asset_Split.java b/base/src/org/compiere/model/I_A_Asset_Split.java index a19d81b590..a0529cca35 100644 --- a/base/src/org/compiere/model/I_A_Asset_Split.java +++ b/base/src/org/compiere/model/I_A_Asset_Split.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Split - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Split { diff --git a/base/src/org/compiere/model/I_A_Asset_Spread.java b/base/src/org/compiere/model/I_A_Asset_Spread.java index 7193e73224..ee1132b7a4 100644 --- a/base/src/org/compiere/model/I_A_Asset_Spread.java +++ b/base/src/org/compiere/model/I_A_Asset_Spread.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Spread - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Spread { diff --git a/base/src/org/compiere/model/I_A_Asset_Transfer.java b/base/src/org/compiere/model/I_A_Asset_Transfer.java index 4edbf4003b..a743c1134c 100644 --- a/base/src/org/compiere/model/I_A_Asset_Transfer.java +++ b/base/src/org/compiere/model/I_A_Asset_Transfer.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Transfer - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Transfer { diff --git a/base/src/org/compiere/model/I_A_Asset_Use.java b/base/src/org/compiere/model/I_A_Asset_Use.java index b68ba90685..970cdfec47 100644 --- a/base/src/org/compiere/model/I_A_Asset_Use.java +++ b/base/src/org/compiere/model/I_A_Asset_Use.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Use - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Asset_Use { diff --git a/base/src/org/compiere/model/I_A_Depreciation.java b/base/src/org/compiere/model/I_A_Depreciation.java index d84070120f..0cdaf08f1a 100644 --- a/base/src/org/compiere/model/I_A_Depreciation.java +++ b/base/src/org/compiere/model/I_A_Depreciation.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation { diff --git a/base/src/org/compiere/model/I_A_Depreciation_Build.java b/base/src/org/compiere/model/I_A_Depreciation_Build.java index 419a26d822..022ebb5a90 100644 --- a/base/src/org/compiere/model/I_A_Depreciation_Build.java +++ b/base/src/org/compiere/model/I_A_Depreciation_Build.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Build - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation_Build { diff --git a/base/src/org/compiere/model/I_A_Depreciation_Convention.java b/base/src/org/compiere/model/I_A_Depreciation_Convention.java index 8c052399b4..488f5c9d04 100644 --- a/base/src/org/compiere/model/I_A_Depreciation_Convention.java +++ b/base/src/org/compiere/model/I_A_Depreciation_Convention.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Convention - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation_Convention { diff --git a/base/src/org/compiere/model/I_A_Depreciation_Entry.java b/base/src/org/compiere/model/I_A_Depreciation_Entry.java index c4eb608ba1..a1593c37ce 100644 --- a/base/src/org/compiere/model/I_A_Depreciation_Entry.java +++ b/base/src/org/compiere/model/I_A_Depreciation_Entry.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Entry - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation_Entry { diff --git a/base/src/org/compiere/model/I_A_Depreciation_Exp.java b/base/src/org/compiere/model/I_A_Depreciation_Exp.java index 4dc8864051..7b21c12f7b 100644 --- a/base/src/org/compiere/model/I_A_Depreciation_Exp.java +++ b/base/src/org/compiere/model/I_A_Depreciation_Exp.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Exp - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation_Exp { diff --git a/base/src/org/compiere/model/I_A_Depreciation_Forecast.java b/base/src/org/compiere/model/I_A_Depreciation_Forecast.java index 1e7abc1f87..0521127e07 100644 --- a/base/src/org/compiere/model/I_A_Depreciation_Forecast.java +++ b/base/src/org/compiere/model/I_A_Depreciation_Forecast.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Forecast - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation_Forecast { diff --git a/base/src/org/compiere/model/I_A_Depreciation_Method.java b/base/src/org/compiere/model/I_A_Depreciation_Method.java index 6975dea566..1cc96e4cee 100644 --- a/base/src/org/compiere/model/I_A_Depreciation_Method.java +++ b/base/src/org/compiere/model/I_A_Depreciation_Method.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Method - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation_Method { diff --git a/base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java b/base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java index efc70c7d9c..219471f100 100644 --- a/base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java +++ b/base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Table_Detail - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation_Table_Detail { diff --git a/base/src/org/compiere/model/I_A_Depreciation_Table_Header.java b/base/src/org/compiere/model/I_A_Depreciation_Table_Header.java index 626ff60aac..15310dd1f8 100644 --- a/base/src/org/compiere/model/I_A_Depreciation_Table_Header.java +++ b/base/src/org/compiere/model/I_A_Depreciation_Table_Header.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Table_Header - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation_Table_Header { diff --git a/base/src/org/compiere/model/I_A_Depreciation_Workfile.java b/base/src/org/compiere/model/I_A_Depreciation_Workfile.java index 7170503a45..c89a6d3810 100644 --- a/base/src/org/compiere/model/I_A_Depreciation_Workfile.java +++ b/base/src/org/compiere/model/I_A_Depreciation_Workfile.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Workfile - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Depreciation_Workfile { diff --git a/base/src/org/compiere/model/I_A_Registration.java b/base/src/org/compiere/model/I_A_Registration.java index f405dc5843..dcd98743b9 100644 --- a/base/src/org/compiere/model/I_A_Registration.java +++ b/base/src/org/compiere/model/I_A_Registration.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for A_Registration - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_Registration { @@ -57,21 +53,6 @@ public interface I_A_Registration /** Load Meta Data */ - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID); - - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID(); - - public I_AD_User getAD_User() throws Exception; - /** Column name A_Asset_ID */ public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; @@ -87,6 +68,21 @@ public interface I_A_Registration public I_A_Asset getA_Asset() throws Exception; + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + + public I_AD_User getAD_User() throws Exception; + /** Column name A_Registration_ID */ public static final String COLUMNNAME_A_Registration_ID = "A_Registration_ID"; diff --git a/base/src/org/compiere/model/I_A_RegistrationAttribute.java b/base/src/org/compiere/model/I_A_RegistrationAttribute.java index 6f0d4a0ffd..847f70621d 100644 --- a/base/src/org/compiere/model/I_A_RegistrationAttribute.java +++ b/base/src/org/compiere/model/I_A_RegistrationAttribute.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_RegistrationAttribute - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_RegistrationAttribute { diff --git a/base/src/org/compiere/model/I_A_RegistrationProduct.java b/base/src/org/compiere/model/I_A_RegistrationProduct.java index 48d2e6f2fa..20e28b28ee 100644 --- a/base/src/org/compiere/model/I_A_RegistrationProduct.java +++ b/base/src/org/compiere/model/I_A_RegistrationProduct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_RegistrationProduct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_RegistrationProduct { diff --git a/base/src/org/compiere/model/I_A_RegistrationValue.java b/base/src/org/compiere/model/I_A_RegistrationValue.java index eba0d61cdc..402ea474d2 100644 --- a/base/src/org/compiere/model/I_A_RegistrationValue.java +++ b/base/src/org/compiere/model/I_A_RegistrationValue.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for A_RegistrationValue - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_A_RegistrationValue { diff --git a/base/src/org/compiere/model/I_B_Bid.java b/base/src/org/compiere/model/I_B_Bid.java index c75b2af7cc..c342c06fef 100644 --- a/base/src/org/compiere/model/I_B_Bid.java +++ b/base/src/org/compiere/model/I_B_Bid.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for B_Bid - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_Bid { diff --git a/base/src/org/compiere/model/I_B_BidComment.java b/base/src/org/compiere/model/I_B_BidComment.java index 0e7a578c0f..e74a172402 100644 --- a/base/src/org/compiere/model/I_B_BidComment.java +++ b/base/src/org/compiere/model/I_B_BidComment.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for B_BidComment - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_BidComment { diff --git a/base/src/org/compiere/model/I_B_Buyer.java b/base/src/org/compiere/model/I_B_Buyer.java index dc37531e58..10f93f059a 100644 --- a/base/src/org/compiere/model/I_B_Buyer.java +++ b/base/src/org/compiere/model/I_B_Buyer.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for B_Buyer - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_Buyer { diff --git a/base/src/org/compiere/model/I_B_BuyerFunds.java b/base/src/org/compiere/model/I_B_BuyerFunds.java index 202231aa5b..62e07289b4 100644 --- a/base/src/org/compiere/model/I_B_BuyerFunds.java +++ b/base/src/org/compiere/model/I_B_BuyerFunds.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for B_BuyerFunds - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_BuyerFunds { @@ -84,6 +80,19 @@ public interface I_B_BuyerFunds */ public int getB_BuyerFunds_ID(); + /** Column name CommittedAmt */ + public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; + + /** Set Committed Amount. + * The (legal) commitment amount + */ + public void setCommittedAmt (BigDecimal CommittedAmt); + + /** Get Committed Amount. + * The (legal) commitment amount + */ + public BigDecimal getCommittedAmt(); + /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -114,19 +123,6 @@ public interface I_B_BuyerFunds public I_C_Payment getC_Payment() throws Exception; - /** Column name CommittedAmt */ - public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; - - /** Set Committed Amount. - * The (legal) commitment amount - */ - public void setCommittedAmt (BigDecimal CommittedAmt); - - /** Get Committed Amount. - * The (legal) commitment amount - */ - public BigDecimal getCommittedAmt(); - /** Column name NonCommittedAmt */ public static final String COLUMNNAME_NonCommittedAmt = "NonCommittedAmt"; diff --git a/base/src/org/compiere/model/I_B_Offer.java b/base/src/org/compiere/model/I_B_Offer.java index 14d773b566..324cb5d1da 100644 --- a/base/src/org/compiere/model/I_B_Offer.java +++ b/base/src/org/compiere/model/I_B_Offer.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for B_Offer - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_Offer { diff --git a/base/src/org/compiere/model/I_B_Seller.java b/base/src/org/compiere/model/I_B_Seller.java index 7364bd65c5..8a97d6a108 100644 --- a/base/src/org/compiere/model/I_B_Seller.java +++ b/base/src/org/compiere/model/I_B_Seller.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for B_Seller - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_Seller { diff --git a/base/src/org/compiere/model/I_B_SellerFunds.java b/base/src/org/compiere/model/I_B_SellerFunds.java index cbd0923995..a75025be59 100644 --- a/base/src/org/compiere/model/I_B_SellerFunds.java +++ b/base/src/org/compiere/model/I_B_SellerFunds.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for B_SellerFunds - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_SellerFunds { @@ -84,6 +80,19 @@ public interface I_B_SellerFunds */ public int getB_SellerFunds_ID(); + /** Column name CommittedAmt */ + public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; + + /** Set Committed Amount. + * The (legal) commitment amount + */ + public void setCommittedAmt (BigDecimal CommittedAmt); + + /** Get Committed Amount. + * The (legal) commitment amount + */ + public BigDecimal getCommittedAmt(); + /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -114,19 +123,6 @@ public interface I_B_SellerFunds public I_C_Payment getC_Payment() throws Exception; - /** Column name CommittedAmt */ - public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; - - /** Set Committed Amount. - * The (legal) commitment amount - */ - public void setCommittedAmt (BigDecimal CommittedAmt); - - /** Get Committed Amount. - * The (legal) commitment amount - */ - public BigDecimal getCommittedAmt(); - /** Column name NonCommittedAmt */ public static final String COLUMNNAME_NonCommittedAmt = "NonCommittedAmt"; diff --git a/base/src/org/compiere/model/I_B_Topic.java b/base/src/org/compiere/model/I_B_Topic.java index 0a6341168b..1d2f5b5309 100644 --- a/base/src/org/compiere/model/I_B_Topic.java +++ b/base/src/org/compiere/model/I_B_Topic.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for B_Topic - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_Topic { @@ -72,6 +68,19 @@ public interface I_B_Topic public I_B_TopicCategory getB_TopicCategory() throws Exception; + /** Column name B_Topic_ID */ + public static final String COLUMNNAME_B_Topic_ID = "B_Topic_ID"; + + /** Set Topic. + * Auction Topic + */ + public void setB_Topic_ID (int B_Topic_ID); + + /** Get Topic. + * Auction Topic + */ + public int getB_Topic_ID(); + /** Column name B_TopicType_ID */ public static final String COLUMNNAME_B_TopicType_ID = "B_TopicType_ID"; @@ -87,19 +96,6 @@ public interface I_B_Topic public I_B_TopicType getB_TopicType() throws Exception; - /** Column name B_Topic_ID */ - public static final String COLUMNNAME_B_Topic_ID = "B_Topic_ID"; - - /** Set Topic. - * Auction Topic - */ - public void setB_Topic_ID (int B_Topic_ID); - - /** Get Topic. - * Auction Topic - */ - public int getB_Topic_ID(); - /** Column name DecisionDate */ public static final String COLUMNNAME_DecisionDate = "DecisionDate"; diff --git a/base/src/org/compiere/model/I_B_TopicCategory.java b/base/src/org/compiere/model/I_B_TopicCategory.java index b5ba4e9df2..ddfe7d4a35 100644 --- a/base/src/org/compiere/model/I_B_TopicCategory.java +++ b/base/src/org/compiere/model/I_B_TopicCategory.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for B_TopicCategory - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_TopicCategory { diff --git a/base/src/org/compiere/model/I_B_TopicType.java b/base/src/org/compiere/model/I_B_TopicType.java index 1b933182d8..d62041f7a3 100644 --- a/base/src/org/compiere/model/I_B_TopicType.java +++ b/base/src/org/compiere/model/I_B_TopicType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for B_TopicType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_B_TopicType { @@ -119,19 +115,6 @@ public interface I_B_TopicType public I_M_PriceList getM_PriceList() throws Exception; - /** Column name M_ProductMember_ID */ - public static final String COLUMNNAME_M_ProductMember_ID = "M_ProductMember_ID"; - - /** Set Membership. - * Product used to deternine the price of the membership for the topic type - */ - public void setM_ProductMember_ID (int M_ProductMember_ID); - - /** Get Membership. - * Product used to deternine the price of the membership for the topic type - */ - public int getM_ProductMember_ID(); - /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -147,6 +130,19 @@ public interface I_B_TopicType public I_M_Product getM_Product() throws Exception; + /** Column name M_ProductMember_ID */ + public static final String COLUMNNAME_M_ProductMember_ID = "M_ProductMember_ID"; + + /** Set Membership. + * Product used to deternine the price of the membership for the topic type + */ + public void setM_ProductMember_ID (int M_ProductMember_ID); + + /** Get Membership. + * Product used to deternine the price of the membership for the topic type + */ + public int getM_ProductMember_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_CM_AccessContainer.java b/base/src/org/compiere/model/I_CM_AccessContainer.java index 8d33eb0486..17758652a3 100644 --- a/base/src/org/compiere/model/I_CM_AccessContainer.java +++ b/base/src/org/compiere/model/I_CM_AccessContainer.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_AccessContainer - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_AccessContainer { diff --git a/base/src/org/compiere/model/I_CM_AccessListBPGroup.java b/base/src/org/compiere/model/I_CM_AccessListBPGroup.java index e18fa829f9..63a76f8667 100644 --- a/base/src/org/compiere/model/I_CM_AccessListBPGroup.java +++ b/base/src/org/compiere/model/I_CM_AccessListBPGroup.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_AccessListBPGroup - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_AccessListBPGroup { @@ -56,21 +52,6 @@ public interface I_CM_AccessListBPGroup /** Load Meta Data */ - /** Column name CM_AccessProfile_ID */ - public static final String COLUMNNAME_CM_AccessProfile_ID = "CM_AccessProfile_ID"; - - /** Set Web Access Profile. - * Web Access Profile - */ - public void setCM_AccessProfile_ID (int CM_AccessProfile_ID); - - /** Get Web Access Profile. - * Web Access Profile - */ - public int getCM_AccessProfile_ID(); - - public I_CM_AccessProfile getCM_AccessProfile() throws Exception; - /** Column name C_BP_Group_ID */ public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; @@ -85,4 +66,19 @@ public interface I_CM_AccessListBPGroup public int getC_BP_Group_ID(); public I_C_BP_Group getC_BP_Group() throws Exception; + + /** Column name CM_AccessProfile_ID */ + public static final String COLUMNNAME_CM_AccessProfile_ID = "CM_AccessProfile_ID"; + + /** Set Web Access Profile. + * Web Access Profile + */ + public void setCM_AccessProfile_ID (int CM_AccessProfile_ID); + + /** Get Web Access Profile. + * Web Access Profile + */ + public int getCM_AccessProfile_ID(); + + public I_CM_AccessProfile getCM_AccessProfile() throws Exception; } diff --git a/base/src/org/compiere/model/I_CM_AccessListRole.java b/base/src/org/compiere/model/I_CM_AccessListRole.java index 6e0ecf0028..8b4983773a 100644 --- a/base/src/org/compiere/model/I_CM_AccessListRole.java +++ b/base/src/org/compiere/model/I_CM_AccessListRole.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_AccessListRole - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_AccessListRole { diff --git a/base/src/org/compiere/model/I_CM_AccessMedia.java b/base/src/org/compiere/model/I_CM_AccessMedia.java index 658d8f8885..32520fb6bd 100644 --- a/base/src/org/compiere/model/I_CM_AccessMedia.java +++ b/base/src/org/compiere/model/I_CM_AccessMedia.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_AccessMedia - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_AccessMedia { diff --git a/base/src/org/compiere/model/I_CM_AccessNewsChannel.java b/base/src/org/compiere/model/I_CM_AccessNewsChannel.java index aa63f3c24e..50bd3a7985 100644 --- a/base/src/org/compiere/model/I_CM_AccessNewsChannel.java +++ b/base/src/org/compiere/model/I_CM_AccessNewsChannel.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_AccessNewsChannel - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_AccessNewsChannel { diff --git a/base/src/org/compiere/model/I_CM_AccessProfile.java b/base/src/org/compiere/model/I_CM_AccessProfile.java index 1314a1261f..08ab751c7f 100644 --- a/base/src/org/compiere/model/I_CM_AccessProfile.java +++ b/base/src/org/compiere/model/I_CM_AccessProfile.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_AccessProfile - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_AccessProfile { diff --git a/base/src/org/compiere/model/I_CM_AccessStage.java b/base/src/org/compiere/model/I_CM_AccessStage.java index 6880c7439b..7bd3667829 100644 --- a/base/src/org/compiere/model/I_CM_AccessStage.java +++ b/base/src/org/compiere/model/I_CM_AccessStage.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_AccessStage - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_AccessStage { diff --git a/base/src/org/compiere/model/I_CM_Ad.java b/base/src/org/compiere/model/I_CM_Ad.java index 2d41649606..8631641c0c 100644 --- a/base/src/org/compiere/model/I_CM_Ad.java +++ b/base/src/org/compiere/model/I_CM_Ad.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Ad - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Ad { @@ -269,19 +265,6 @@ public interface I_CM_Ad */ public int getStartImpression(); - /** Column name TargetURL */ - public static final String COLUMNNAME_TargetURL = "TargetURL"; - - /** Set Target URL. - * URL for the Target - */ - public void setTargetURL (String TargetURL); - - /** Get Target URL. - * URL for the Target - */ - public String getTargetURL(); - /** Column name Target_Frame */ public static final String COLUMNNAME_Target_Frame = "Target_Frame"; @@ -294,4 +277,17 @@ public interface I_CM_Ad * Which target should be used if user clicks? */ public String getTarget_Frame(); + + /** Column name TargetURL */ + public static final String COLUMNNAME_TargetURL = "TargetURL"; + + /** Set Target URL. + * URL for the Target + */ + public void setTargetURL (String TargetURL); + + /** Get Target URL. + * URL for the Target + */ + public String getTargetURL(); } diff --git a/base/src/org/compiere/model/I_CM_Ad_Cat.java b/base/src/org/compiere/model/I_CM_Ad_Cat.java index 93a6ac10bd..19925878b8 100644 --- a/base/src/org/compiere/model/I_CM_Ad_Cat.java +++ b/base/src/org/compiere/model/I_CM_Ad_Cat.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Ad_Cat - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Ad_Cat { diff --git a/base/src/org/compiere/model/I_CM_BroadcastServer.java b/base/src/org/compiere/model/I_CM_BroadcastServer.java index c061c2a7c3..d5603ae534 100644 --- a/base/src/org/compiere/model/I_CM_BroadcastServer.java +++ b/base/src/org/compiere/model/I_CM_BroadcastServer.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_BroadcastServer - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_BroadcastServer { diff --git a/base/src/org/compiere/model/I_CM_CStage.java b/base/src/org/compiere/model/I_CM_CStage.java index 099703f92b..4346819921 100644 --- a/base/src/org/compiere/model/I_CM_CStage.java +++ b/base/src/org/compiere/model/I_CM_CStage.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_CStage - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_CStage { @@ -56,19 +52,6 @@ public interface I_CM_CStage /** Load Meta Data */ - /** Column name CM_CStageLink_ID */ - public static final String COLUMNNAME_CM_CStageLink_ID = "CM_CStageLink_ID"; - - /** Set Container Link. - * Stage Link to another Container in the Web Project - */ - public void setCM_CStageLink_ID (int CM_CStageLink_ID); - - /** Get Container Link. - * Stage Link to another Container in the Web Project - */ - public int getCM_CStageLink_ID(); - /** Column name CM_CStage_ID */ public static final String COLUMNNAME_CM_CStage_ID = "CM_CStage_ID"; @@ -82,6 +65,19 @@ public interface I_CM_CStage */ public int getCM_CStage_ID(); + /** Column name CM_CStageLink_ID */ + public static final String COLUMNNAME_CM_CStageLink_ID = "CM_CStageLink_ID"; + + /** Set Container Link. + * Stage Link to another Container in the Web Project + */ + public void setCM_CStageLink_ID (int CM_CStageLink_ID); + + /** Get Container Link. + * Stage Link to another Container in the Web Project + */ + public int getCM_CStageLink_ID(); + /** Column name CM_Template_ID */ public static final String COLUMNNAME_CM_Template_ID = "CM_Template_ID"; diff --git a/base/src/org/compiere/model/I_CM_CStageTTable.java b/base/src/org/compiere/model/I_CM_CStageTTable.java index 03c65f917c..7b87ce443a 100644 --- a/base/src/org/compiere/model/I_CM_CStageTTable.java +++ b/base/src/org/compiere/model/I_CM_CStageTTable.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_CStageTTable - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_CStageTTable { @@ -56,19 +52,6 @@ public interface I_CM_CStageTTable /** Load Meta Data */ - /** Column name CM_CStageTTable_ID */ - public static final String COLUMNNAME_CM_CStageTTable_ID = "CM_CStageTTable_ID"; - - /** Set Stage T.Table. - * Containet Stage Template Table - */ - public void setCM_CStageTTable_ID (int CM_CStageTTable_ID); - - /** Get Stage T.Table. - * Containet Stage Template Table - */ - public int getCM_CStageTTable_ID(); - /** Column name CM_CStage_ID */ public static final String COLUMNNAME_CM_CStage_ID = "CM_CStage_ID"; @@ -84,6 +67,19 @@ public interface I_CM_CStageTTable public I_CM_CStage getCM_CStage() throws Exception; + /** Column name CM_CStageTTable_ID */ + public static final String COLUMNNAME_CM_CStageTTable_ID = "CM_CStageTTable_ID"; + + /** Set Stage T.Table. + * Containet Stage Template Table + */ + public void setCM_CStageTTable_ID (int CM_CStageTTable_ID); + + /** Get Stage T.Table. + * Containet Stage Template Table + */ + public int getCM_CStageTTable_ID(); + /** Column name CM_TemplateTable_ID */ public static final String COLUMNNAME_CM_TemplateTable_ID = "CM_TemplateTable_ID"; diff --git a/base/src/org/compiere/model/I_CM_CStage_Element.java b/base/src/org/compiere/model/I_CM_CStage_Element.java index c32dc3947a..8ed022cce5 100644 --- a/base/src/org/compiere/model/I_CM_CStage_Element.java +++ b/base/src/org/compiere/model/I_CM_CStage_Element.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_CStage_Element - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_CStage_Element { diff --git a/base/src/org/compiere/model/I_CM_Chat.java b/base/src/org/compiere/model/I_CM_Chat.java index 401e50b959..8a40e2a07a 100644 --- a/base/src/org/compiere/model/I_CM_Chat.java +++ b/base/src/org/compiere/model/I_CM_Chat.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Chat - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Chat { @@ -71,6 +67,19 @@ public interface I_CM_Chat public I_AD_Table getAD_Table() throws Exception; + /** Column name CM_Chat_ID */ + public static final String COLUMNNAME_CM_Chat_ID = "CM_Chat_ID"; + + /** Set Chat. + * Chat or discussion thread + */ + public void setCM_Chat_ID (int CM_Chat_ID); + + /** Get Chat. + * Chat or discussion thread + */ + public int getCM_Chat_ID(); + /** Column name CM_ChatType_ID */ public static final String COLUMNNAME_CM_ChatType_ID = "CM_ChatType_ID"; @@ -86,19 +95,6 @@ public interface I_CM_Chat public I_CM_ChatType getCM_ChatType() throws Exception; - /** Column name CM_Chat_ID */ - public static final String COLUMNNAME_CM_Chat_ID = "CM_Chat_ID"; - - /** Set Chat. - * Chat or discussion thread - */ - public void setCM_Chat_ID (int CM_Chat_ID); - - /** Get Chat. - * Chat or discussion thread - */ - public int getCM_Chat_ID(); - /** Column name ConfidentialType */ public static final String COLUMNNAME_ConfidentialType = "ConfidentialType"; diff --git a/base/src/org/compiere/model/I_CM_ChatEntry.java b/base/src/org/compiere/model/I_CM_ChatEntry.java index 57585ef223..2c91c0c098 100644 --- a/base/src/org/compiere/model/I_CM_ChatEntry.java +++ b/base/src/org/compiere/model/I_CM_ChatEntry.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_ChatEntry - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_ChatEntry { @@ -71,60 +67,6 @@ public interface I_CM_ChatEntry public I_AD_User getAD_User() throws Exception; - /** Column name CM_ChatEntryGrandParent_ID */ - public static final String COLUMNNAME_CM_ChatEntryGrandParent_ID = "CM_ChatEntryGrandParent_ID"; - - /** Set Chat Entry Grandparent. - * Link to Grand Parent (root level) - */ - public void setCM_ChatEntryGrandParent_ID (int CM_ChatEntryGrandParent_ID); - - /** Get Chat Entry Grandparent. - * Link to Grand Parent (root level) - */ - public int getCM_ChatEntryGrandParent_ID(); - - /** Column name CM_ChatEntryParent_ID */ - public static final String COLUMNNAME_CM_ChatEntryParent_ID = "CM_ChatEntryParent_ID"; - - /** Set Chat Entry Parent. - * Link to direct Parent - */ - public void setCM_ChatEntryParent_ID (int CM_ChatEntryParent_ID); - - /** Get Chat Entry Parent. - * Link to direct Parent - */ - public int getCM_ChatEntryParent_ID(); - - /** Column name CM_ChatEntry_ID */ - public static final String COLUMNNAME_CM_ChatEntry_ID = "CM_ChatEntry_ID"; - - /** Set Chat Entry. - * Individual Chat / Discussion Entry - */ - public void setCM_ChatEntry_ID (int CM_ChatEntry_ID); - - /** Get Chat Entry. - * Individual Chat / Discussion Entry - */ - public int getCM_ChatEntry_ID(); - - /** Column name CM_Chat_ID */ - public static final String COLUMNNAME_CM_Chat_ID = "CM_Chat_ID"; - - /** Set Chat. - * Chat or discussion thread - */ - public void setCM_Chat_ID (int CM_Chat_ID); - - /** Get Chat. - * Chat or discussion thread - */ - public int getCM_Chat_ID(); - - public I_CM_Chat getCM_Chat() throws Exception; - /** Column name CharacterData */ public static final String COLUMNNAME_CharacterData = "CharacterData"; @@ -151,6 +93,60 @@ public interface I_CM_ChatEntry */ public String getChatEntryType(); + /** Column name CM_ChatEntryGrandParent_ID */ + public static final String COLUMNNAME_CM_ChatEntryGrandParent_ID = "CM_ChatEntryGrandParent_ID"; + + /** Set Chat Entry Grandparent. + * Link to Grand Parent (root level) + */ + public void setCM_ChatEntryGrandParent_ID (int CM_ChatEntryGrandParent_ID); + + /** Get Chat Entry Grandparent. + * Link to Grand Parent (root level) + */ + public int getCM_ChatEntryGrandParent_ID(); + + /** Column name CM_ChatEntry_ID */ + public static final String COLUMNNAME_CM_ChatEntry_ID = "CM_ChatEntry_ID"; + + /** Set Chat Entry. + * Individual Chat / Discussion Entry + */ + public void setCM_ChatEntry_ID (int CM_ChatEntry_ID); + + /** Get Chat Entry. + * Individual Chat / Discussion Entry + */ + public int getCM_ChatEntry_ID(); + + /** Column name CM_ChatEntryParent_ID */ + public static final String COLUMNNAME_CM_ChatEntryParent_ID = "CM_ChatEntryParent_ID"; + + /** Set Chat Entry Parent. + * Link to direct Parent + */ + public void setCM_ChatEntryParent_ID (int CM_ChatEntryParent_ID); + + /** Get Chat Entry Parent. + * Link to direct Parent + */ + public int getCM_ChatEntryParent_ID(); + + /** Column name CM_Chat_ID */ + public static final String COLUMNNAME_CM_Chat_ID = "CM_Chat_ID"; + + /** Set Chat. + * Chat or discussion thread + */ + public void setCM_Chat_ID (int CM_Chat_ID); + + /** Get Chat. + * Chat or discussion thread + */ + public int getCM_Chat_ID(); + + public I_CM_Chat getCM_Chat() throws Exception; + /** Column name ConfidentialType */ public static final String COLUMNNAME_ConfidentialType = "ConfidentialType"; diff --git a/base/src/org/compiere/model/I_CM_ChatType.java b/base/src/org/compiere/model/I_CM_ChatType.java index b3334a9378..191b032381 100644 --- a/base/src/org/compiere/model/I_CM_ChatType.java +++ b/base/src/org/compiere/model/I_CM_ChatType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_ChatType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_ChatType { diff --git a/base/src/org/compiere/model/I_CM_ChatTypeUpdate.java b/base/src/org/compiere/model/I_CM_ChatTypeUpdate.java index 0ad2be2d45..25c4909011 100644 --- a/base/src/org/compiere/model/I_CM_ChatTypeUpdate.java +++ b/base/src/org/compiere/model/I_CM_ChatTypeUpdate.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_ChatTypeUpdate - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_ChatTypeUpdate { diff --git a/base/src/org/compiere/model/I_CM_ChatUpdate.java b/base/src/org/compiere/model/I_CM_ChatUpdate.java index ea5a662d14..2c391b4da4 100644 --- a/base/src/org/compiere/model/I_CM_ChatUpdate.java +++ b/base/src/org/compiere/model/I_CM_ChatUpdate.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_ChatUpdate - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_ChatUpdate { diff --git a/base/src/org/compiere/model/I_CM_Container.java b/base/src/org/compiere/model/I_CM_Container.java index ff588cd9d3..d990081383 100644 --- a/base/src/org/compiere/model/I_CM_Container.java +++ b/base/src/org/compiere/model/I_CM_Container.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Container - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Container { @@ -56,19 +52,6 @@ public interface I_CM_Container /** Load Meta Data */ - /** Column name CM_ContainerLink_ID */ - public static final String COLUMNNAME_CM_ContainerLink_ID = "CM_ContainerLink_ID"; - - /** Set Container Link. - * Link to another Container in the Web Project - */ - public void setCM_ContainerLink_ID (int CM_ContainerLink_ID); - - /** Get Container Link. - * Link to another Container in the Web Project - */ - public int getCM_ContainerLink_ID(); - /** Column name CM_Container_ID */ public static final String COLUMNNAME_CM_Container_ID = "CM_Container_ID"; @@ -82,6 +65,19 @@ public interface I_CM_Container */ public int getCM_Container_ID(); + /** Column name CM_ContainerLink_ID */ + public static final String COLUMNNAME_CM_ContainerLink_ID = "CM_ContainerLink_ID"; + + /** Set Container Link. + * Link to another Container in the Web Project + */ + public void setCM_ContainerLink_ID (int CM_ContainerLink_ID); + + /** Get Container Link. + * Link to another Container in the Web Project + */ + public int getCM_ContainerLink_ID(); + /** Column name CM_Template_ID */ public static final String COLUMNNAME_CM_Template_ID = "CM_Template_ID"; diff --git a/base/src/org/compiere/model/I_CM_ContainerTTable.java b/base/src/org/compiere/model/I_CM_ContainerTTable.java index 33b64560bf..fb72202a6f 100644 --- a/base/src/org/compiere/model/I_CM_ContainerTTable.java +++ b/base/src/org/compiere/model/I_CM_ContainerTTable.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_ContainerTTable - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_ContainerTTable { @@ -56,19 +52,6 @@ public interface I_CM_ContainerTTable /** Load Meta Data */ - /** Column name CM_ContainerTTable_ID */ - public static final String COLUMNNAME_CM_ContainerTTable_ID = "CM_ContainerTTable_ID"; - - /** Set Container T.Table. - * Container Template Table - */ - public void setCM_ContainerTTable_ID (int CM_ContainerTTable_ID); - - /** Get Container T.Table. - * Container Template Table - */ - public int getCM_ContainerTTable_ID(); - /** Column name CM_Container_ID */ public static final String COLUMNNAME_CM_Container_ID = "CM_Container_ID"; @@ -84,6 +67,19 @@ public interface I_CM_ContainerTTable public I_CM_Container getCM_Container() throws Exception; + /** Column name CM_ContainerTTable_ID */ + public static final String COLUMNNAME_CM_ContainerTTable_ID = "CM_ContainerTTable_ID"; + + /** Set Container T.Table. + * Container Template Table + */ + public void setCM_ContainerTTable_ID (int CM_ContainerTTable_ID); + + /** Get Container T.Table. + * Container Template Table + */ + public int getCM_ContainerTTable_ID(); + /** Column name CM_TemplateTable_ID */ public static final String COLUMNNAME_CM_TemplateTable_ID = "CM_TemplateTable_ID"; diff --git a/base/src/org/compiere/model/I_CM_Container_Element.java b/base/src/org/compiere/model/I_CM_Container_Element.java index f9a8b1c26c..f8b5c0abfd 100644 --- a/base/src/org/compiere/model/I_CM_Container_Element.java +++ b/base/src/org/compiere/model/I_CM_Container_Element.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Container_Element - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Container_Element { diff --git a/base/src/org/compiere/model/I_CM_Container_URL.java b/base/src/org/compiere/model/I_CM_Container_URL.java index c82d7c7e2e..f798a3d39b 100644 --- a/base/src/org/compiere/model/I_CM_Container_URL.java +++ b/base/src/org/compiere/model/I_CM_Container_URL.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Container_URL - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Container_URL { @@ -57,6 +53,19 @@ public interface I_CM_Container_URL /** Load Meta Data */ + /** Column name Checked */ + public static final String COLUMNNAME_Checked = "Checked"; + + /** Set Last Checked. + * Info when we did the last check + */ + public void setChecked (Timestamp Checked); + + /** Get Last Checked. + * Info when we did the last check + */ + public Timestamp getChecked(); + /** Column name CM_Container_ID */ public static final String COLUMNNAME_CM_Container_ID = "CM_Container_ID"; @@ -85,19 +94,6 @@ public interface I_CM_Container_URL */ public int getCM_Container_URL_ID(); - /** Column name Checked */ - public static final String COLUMNNAME_Checked = "Checked"; - - /** Set Last Checked. - * Info when we did the last check - */ - public void setChecked (Timestamp Checked); - - /** Get Last Checked. - * Info when we did the last check - */ - public Timestamp getChecked(); - /** Column name Last_Result */ public static final String COLUMNNAME_Last_Result = "Last_Result"; diff --git a/base/src/org/compiere/model/I_CM_Media.java b/base/src/org/compiere/model/I_CM_Media.java index 13c26d4b05..fb70543b2b 100644 --- a/base/src/org/compiere/model/I_CM_Media.java +++ b/base/src/org/compiere/model/I_CM_Media.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Media - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Media { diff --git a/base/src/org/compiere/model/I_CM_MediaDeploy.java b/base/src/org/compiere/model/I_CM_MediaDeploy.java index 4cc17e5130..2e31c555c8 100644 --- a/base/src/org/compiere/model/I_CM_MediaDeploy.java +++ b/base/src/org/compiere/model/I_CM_MediaDeploy.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_MediaDeploy - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_MediaDeploy { diff --git a/base/src/org/compiere/model/I_CM_Media_Server.java b/base/src/org/compiere/model/I_CM_Media_Server.java index 70ffe15d08..8c9e674c33 100644 --- a/base/src/org/compiere/model/I_CM_Media_Server.java +++ b/base/src/org/compiere/model/I_CM_Media_Server.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Media_Server - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Media_Server { diff --git a/base/src/org/compiere/model/I_CM_NewsChannel.java b/base/src/org/compiere/model/I_CM_NewsChannel.java index bf278b1a9c..fe66990184 100644 --- a/base/src/org/compiere/model/I_CM_NewsChannel.java +++ b/base/src/org/compiere/model/I_CM_NewsChannel.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_NewsChannel - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_NewsChannel { diff --git a/base/src/org/compiere/model/I_CM_NewsItem.java b/base/src/org/compiere/model/I_CM_NewsItem.java index 713ca1e525..ff27cc98f4 100644 --- a/base/src/org/compiere/model/I_CM_NewsItem.java +++ b/base/src/org/compiere/model/I_CM_NewsItem.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_NewsItem - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_NewsItem { diff --git a/base/src/org/compiere/model/I_CM_Template.java b/base/src/org/compiere/model/I_CM_Template.java index 2aabe0ddeb..d4fdd068e7 100644 --- a/base/src/org/compiere/model/I_CM_Template.java +++ b/base/src/org/compiere/model/I_CM_Template.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Template - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Template { diff --git a/base/src/org/compiere/model/I_CM_TemplateTable.java b/base/src/org/compiere/model/I_CM_TemplateTable.java index 1f5bfc2447..093e647570 100644 --- a/base/src/org/compiere/model/I_CM_TemplateTable.java +++ b/base/src/org/compiere/model/I_CM_TemplateTable.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_TemplateTable - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_TemplateTable { @@ -71,19 +67,6 @@ public interface I_CM_TemplateTable public I_AD_Table getAD_Table() throws Exception; - /** Column name CM_TemplateTable_ID */ - public static final String COLUMNNAME_CM_TemplateTable_ID = "CM_TemplateTable_ID"; - - /** Set Template Table. - * CM Template Table Link - */ - public void setCM_TemplateTable_ID (int CM_TemplateTable_ID); - - /** Get Template Table. - * CM Template Table Link - */ - public int getCM_TemplateTable_ID(); - /** Column name CM_Template_ID */ public static final String COLUMNNAME_CM_Template_ID = "CM_Template_ID"; @@ -99,6 +82,19 @@ public interface I_CM_TemplateTable public I_CM_Template getCM_Template() throws Exception; + /** Column name CM_TemplateTable_ID */ + public static final String COLUMNNAME_CM_TemplateTable_ID = "CM_TemplateTable_ID"; + + /** Set Template Table. + * CM Template Table Link + */ + public void setCM_TemplateTable_ID (int CM_TemplateTable_ID); + + /** Get Template Table. + * CM Template Table Link + */ + public int getCM_TemplateTable_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_CM_Template_Ad_Cat.java b/base/src/org/compiere/model/I_CM_Template_Ad_Cat.java index 636e5b9a3d..e5fea2a3cc 100644 --- a/base/src/org/compiere/model/I_CM_Template_Ad_Cat.java +++ b/base/src/org/compiere/model/I_CM_Template_Ad_Cat.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Template_Ad_Cat - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_Template_Ad_Cat { diff --git a/base/src/org/compiere/model/I_CM_WebAccessLog.java b/base/src/org/compiere/model/I_CM_WebAccessLog.java index ec2e65d9a5..2f7250f659 100644 --- a/base/src/org/compiere/model/I_CM_WebAccessLog.java +++ b/base/src/org/compiere/model/I_CM_WebAccessLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_WebAccessLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_WebAccessLog { @@ -56,6 +52,19 @@ public interface I_CM_WebAccessLog /** Load Meta Data */ + /** Column name AcceptLanguage */ + public static final String COLUMNNAME_AcceptLanguage = "AcceptLanguage"; + + /** Set Accept Language. + * Language accepted based on browser information + */ + public void setAcceptLanguage (String AcceptLanguage); + + /** Get Accept Language. + * Language accepted based on browser information + */ + public String getAcceptLanguage(); + /** Column name AD_User_ID */ public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; @@ -71,19 +80,6 @@ public interface I_CM_WebAccessLog public I_AD_User getAD_User() throws Exception; - /** Column name AcceptLanguage */ - public static final String COLUMNNAME_AcceptLanguage = "AcceptLanguage"; - - /** Set Accept Language. - * Language accepted based on browser information - */ - public void setAcceptLanguage (String AcceptLanguage); - - /** Get Accept Language. - * Language accepted based on browser information - */ - public String getAcceptLanguage(); - /** Column name CM_BroadcastServer_ID */ public static final String COLUMNNAME_CM_BroadcastServer_ID = "CM_BroadcastServer_ID"; diff --git a/base/src/org/compiere/model/I_CM_WebProject.java b/base/src/org/compiere/model/I_CM_WebProject.java index 783e0b7ff4..94892f5e6a 100644 --- a/base/src/org/compiere/model/I_CM_WebProject.java +++ b/base/src/org/compiere/model/I_CM_WebProject.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_WebProject - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_WebProject { diff --git a/base/src/org/compiere/model/I_CM_WebProject_Domain.java b/base/src/org/compiere/model/I_CM_WebProject_Domain.java index 67182ac2b2..21de04167b 100644 --- a/base/src/org/compiere/model/I_CM_WebProject_Domain.java +++ b/base/src/org/compiere/model/I_CM_WebProject_Domain.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_WebProject_Domain - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_WebProject_Domain { diff --git a/base/src/org/compiere/model/I_CM_WikiToken.java b/base/src/org/compiere/model/I_CM_WikiToken.java index a769fe3fd3..3e618ff06d 100644 --- a/base/src/org/compiere/model/I_CM_WikiToken.java +++ b/base/src/org/compiere/model/I_CM_WikiToken.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for CM_WikiToken - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_CM_WikiToken { diff --git a/base/src/org/compiere/model/I_C_AcctProcessor.java b/base/src/org/compiere/model/I_C_AcctProcessor.java index 84b36af965..bd16d13dc5 100644 --- a/base/src/org/compiere/model/I_C_AcctProcessor.java +++ b/base/src/org/compiere/model/I_C_AcctProcessor.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctProcessor - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_AcctProcessor { diff --git a/base/src/org/compiere/model/I_C_AcctProcessorLog.java b/base/src/org/compiere/model/I_C_AcctProcessorLog.java index 455498b167..699c79c3e6 100644 --- a/base/src/org/compiere/model/I_C_AcctProcessorLog.java +++ b/base/src/org/compiere/model/I_C_AcctProcessorLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctProcessorLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_AcctProcessorLog { @@ -69,19 +65,6 @@ public interface I_C_AcctProcessorLog */ public byte[] getBinaryData(); - /** Column name C_AcctProcessorLog_ID */ - public static final String COLUMNNAME_C_AcctProcessorLog_ID = "C_AcctProcessorLog_ID"; - - /** Set Accounting Processor Log. - * Result of the execution of the Accounting Processor - */ - public void setC_AcctProcessorLog_ID (int C_AcctProcessorLog_ID); - - /** Get Accounting Processor Log. - * Result of the execution of the Accounting Processor - */ - public int getC_AcctProcessorLog_ID(); - /** Column name C_AcctProcessor_ID */ public static final String COLUMNNAME_C_AcctProcessor_ID = "C_AcctProcessor_ID"; @@ -97,6 +80,19 @@ public interface I_C_AcctProcessorLog public I_C_AcctProcessor getC_AcctProcessor() throws Exception; + /** Column name C_AcctProcessorLog_ID */ + public static final String COLUMNNAME_C_AcctProcessorLog_ID = "C_AcctProcessorLog_ID"; + + /** Set Accounting Processor Log. + * Result of the execution of the Accounting Processor + */ + public void setC_AcctProcessorLog_ID (int C_AcctProcessorLog_ID); + + /** Get Accounting Processor Log. + * Result of the execution of the Accounting Processor + */ + public int getC_AcctProcessorLog_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_AcctSchema.java b/base/src/org/compiere/model/I_C_AcctSchema.java index dd559a46b1..880ae1ce4f 100644 --- a/base/src/org/compiere/model/I_C_AcctSchema.java +++ b/base/src/org/compiere/model/I_C_AcctSchema.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctSchema - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_AcctSchema { @@ -110,21 +106,6 @@ public interface I_C_AcctSchema public I_C_Currency getC_Currency() throws Exception; - /** Column name C_Period_ID */ - public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; - - /** Set Period. - * Period of the Calendar - */ - public void setC_Period_ID (int C_Period_ID); - - /** Get Period. - * Period of the Calendar - */ - public int getC_Period_ID(); - - public I_C_Period getC_Period() throws Exception; - /** Column name CommitmentType */ public static final String COLUMNNAME_CommitmentType = "CommitmentType"; @@ -164,6 +145,21 @@ public interface I_C_AcctSchema */ public String getCostingMethod(); + /** Column name C_Period_ID */ + public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; + + /** Set Period. + * Period of the Calendar + */ + public void setC_Period_ID (int C_Period_ID); + + /** Get Period. + * Period of the Calendar + */ + public int getC_Period_ID(); + + public I_C_Period getC_Period() throws Exception; + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_AcctSchema_Default.java b/base/src/org/compiere/model/I_C_AcctSchema_Default.java index cccba79f38..511760d5d7 100644 --- a/base/src/org/compiere/model/I_C_AcctSchema_Default.java +++ b/base/src/org/compiere/model/I_C_AcctSchema_Default.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctSchema_Default - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_AcctSchema_Default { @@ -82,19 +78,6 @@ public interface I_C_AcctSchema_Default */ public int getB_Expense_Acct(); - /** Column name B_InTransit_Acct */ - public static final String COLUMNNAME_B_InTransit_Acct = "B_InTransit_Acct"; - - /** Set Bank In Transit. - * Bank In Transit Account - */ - public void setB_InTransit_Acct (int B_InTransit_Acct); - - /** Get Bank In Transit. - * Bank In Transit Account - */ - public int getB_InTransit_Acct(); - /** Column name B_InterestExp_Acct */ public static final String COLUMNNAME_B_InterestExp_Acct = "B_InterestExp_Acct"; @@ -121,6 +104,19 @@ public interface I_C_AcctSchema_Default */ public int getB_InterestRev_Acct(); + /** Column name B_InTransit_Acct */ + public static final String COLUMNNAME_B_InTransit_Acct = "B_InTransit_Acct"; + + /** Set Bank In Transit. + * Bank In Transit Account + */ + public void setB_InTransit_Acct (int B_InTransit_Acct); + + /** Get Bank In Transit. + * Bank In Transit Account + */ + public int getB_InTransit_Acct(); + /** Column name B_PaymentSelect_Acct */ public static final String COLUMNNAME_B_PaymentSelect_Acct = "B_PaymentSelect_Acct"; @@ -212,6 +208,21 @@ public interface I_C_AcctSchema_Default */ public int getB_Unidentified_Acct(); + /** Column name C_AcctSchema_ID */ + public static final String COLUMNNAME_C_AcctSchema_ID = "C_AcctSchema_ID"; + + /** Set Accounting Schema. + * Rules for accounting + */ + public void setC_AcctSchema_ID (int C_AcctSchema_ID); + + /** Get Accounting Schema. + * Rules for accounting + */ + public int getC_AcctSchema_ID(); + + public I_C_AcctSchema getC_AcctSchema() throws Exception; + /** Column name CB_Asset_Acct */ public static final String COLUMNNAME_CB_Asset_Acct = "CB_Asset_Acct"; @@ -277,20 +288,31 @@ public interface I_C_AcctSchema_Default */ public int getCB_Receipt_Acct(); - /** Column name C_AcctSchema_ID */ - public static final String COLUMNNAME_C_AcctSchema_ID = "C_AcctSchema_ID"; + /** Column name Ch_Expense_Acct */ + public static final String COLUMNNAME_Ch_Expense_Acct = "Ch_Expense_Acct"; - /** Set Accounting Schema. - * Rules for accounting + /** Set Charge Expense. + * Charge Expense Account */ - public void setC_AcctSchema_ID (int C_AcctSchema_ID); + public void setCh_Expense_Acct (int Ch_Expense_Acct); - /** Get Accounting Schema. - * Rules for accounting + /** Get Charge Expense. + * Charge Expense Account */ - public int getC_AcctSchema_ID(); + public int getCh_Expense_Acct(); - public I_C_AcctSchema getC_AcctSchema() throws Exception; + /** Column name Ch_Revenue_Acct */ + public static final String COLUMNNAME_Ch_Revenue_Acct = "Ch_Revenue_Acct"; + + /** Set Charge Revenue. + * Charge Revenue Account + */ + public void setCh_Revenue_Acct (int Ch_Revenue_Acct); + + /** Get Charge Revenue. + * Charge Revenue Account + */ + public int getCh_Revenue_Acct(); /** Column name C_Prepayment_Acct */ public static final String COLUMNNAME_C_Prepayment_Acct = "C_Prepayment_Acct"; @@ -331,32 +353,6 @@ public interface I_C_AcctSchema_Default */ public int getC_Receivable_Services_Acct(); - /** Column name Ch_Expense_Acct */ - public static final String COLUMNNAME_Ch_Expense_Acct = "Ch_Expense_Acct"; - - /** Set Charge Expense. - * Charge Expense Account - */ - public void setCh_Expense_Acct (int Ch_Expense_Acct); - - /** Get Charge Expense. - * Charge Expense Account - */ - public int getCh_Expense_Acct(); - - /** Column name Ch_Revenue_Acct */ - public static final String COLUMNNAME_Ch_Revenue_Acct = "Ch_Revenue_Acct"; - - /** Set Charge Revenue. - * Charge Revenue Account - */ - public void setCh_Revenue_Acct (int Ch_Revenue_Acct); - - /** Get Charge Revenue. - * Charge Revenue Account - */ - public int getCh_Revenue_Acct(); - /** Column name E_Expense_Acct */ public static final String COLUMNNAME_E_Expense_Acct = "E_Expense_Acct"; @@ -422,32 +418,6 @@ public interface I_C_AcctSchema_Default */ public int getNotInvoicedRevenue_Acct(); - /** Column name PJ_Asset_Acct */ - public static final String COLUMNNAME_PJ_Asset_Acct = "PJ_Asset_Acct"; - - /** Set Project Asset. - * Project Asset Account - */ - public void setPJ_Asset_Acct (int PJ_Asset_Acct); - - /** Get Project Asset. - * Project Asset Account - */ - public int getPJ_Asset_Acct(); - - /** Column name PJ_WIP_Acct */ - public static final String COLUMNNAME_PJ_WIP_Acct = "PJ_WIP_Acct"; - - /** Set Work In Progress. - * Account for Work in Progress - */ - public void setPJ_WIP_Acct (int PJ_WIP_Acct); - - /** Get Work In Progress. - * Account for Work in Progress - */ - public int getPJ_WIP_Acct(); - /** Column name P_Asset_Acct */ public static final String COLUMNNAME_P_Asset_Acct = "P_Asset_Acct"; @@ -461,6 +431,32 @@ public interface I_C_AcctSchema_Default */ public int getP_Asset_Acct(); + /** Column name PayDiscount_Exp_Acct */ + public static final String COLUMNNAME_PayDiscount_Exp_Acct = "PayDiscount_Exp_Acct"; + + /** Set Payment Discount Expense. + * Payment Discount Expense Account + */ + public void setPayDiscount_Exp_Acct (int PayDiscount_Exp_Acct); + + /** Get Payment Discount Expense. + * Payment Discount Expense Account + */ + public int getPayDiscount_Exp_Acct(); + + /** Column name PayDiscount_Rev_Acct */ + public static final String COLUMNNAME_PayDiscount_Rev_Acct = "PayDiscount_Rev_Acct"; + + /** Set Payment Discount Revenue. + * Payment Discount Revenue Account + */ + public void setPayDiscount_Rev_Acct (int PayDiscount_Rev_Acct); + + /** Get Payment Discount Revenue. + * Payment Discount Revenue Account + */ + public int getPayDiscount_Rev_Acct(); + /** Column name P_COGS_Acct */ public static final String COLUMNNAME_P_COGS_Acct = "P_COGS_Acct"; @@ -526,6 +522,32 @@ public interface I_C_AcctSchema_Default */ public int getP_InvoicePriceVariance_Acct(); + /** Column name PJ_Asset_Acct */ + public static final String COLUMNNAME_PJ_Asset_Acct = "PJ_Asset_Acct"; + + /** Set Project Asset. + * Project Asset Account + */ + public void setPJ_Asset_Acct (int PJ_Asset_Acct); + + /** Get Project Asset. + * Project Asset Account + */ + public int getPJ_Asset_Acct(); + + /** Column name PJ_WIP_Acct */ + public static final String COLUMNNAME_PJ_WIP_Acct = "PJ_WIP_Acct"; + + /** Set Work In Progress. + * Account for Work in Progress + */ + public void setPJ_WIP_Acct (int PJ_WIP_Acct); + + /** Get Work In Progress. + * Account for Work in Progress + */ + public int getPJ_WIP_Acct(); + /** Column name P_PurchasePriceVariance_Acct */ public static final String COLUMNNAME_P_PurchasePriceVariance_Acct = "P_PurchasePriceVariance_Acct"; @@ -552,6 +574,15 @@ public interface I_C_AcctSchema_Default */ public int getP_Revenue_Acct(); + /** Column name Processing */ + public static final String COLUMNNAME_Processing = "Processing"; + + /** Set Process Now */ + public void setProcessing (boolean Processing); + + /** Get Process Now */ + public boolean isProcessing(); + /** Column name P_TradeDiscountGrant_Acct */ public static final String COLUMNNAME_P_TradeDiscountGrant_Acct = "P_TradeDiscountGrant_Acct"; @@ -578,41 +609,6 @@ public interface I_C_AcctSchema_Default */ public int getP_TradeDiscountRec_Acct(); - /** Column name PayDiscount_Exp_Acct */ - public static final String COLUMNNAME_PayDiscount_Exp_Acct = "PayDiscount_Exp_Acct"; - - /** Set Payment Discount Expense. - * Payment Discount Expense Account - */ - public void setPayDiscount_Exp_Acct (int PayDiscount_Exp_Acct); - - /** Get Payment Discount Expense. - * Payment Discount Expense Account - */ - public int getPayDiscount_Exp_Acct(); - - /** Column name PayDiscount_Rev_Acct */ - public static final String COLUMNNAME_PayDiscount_Rev_Acct = "PayDiscount_Rev_Acct"; - - /** Set Payment Discount Revenue. - * Payment Discount Revenue Account - */ - public void setPayDiscount_Rev_Acct (int PayDiscount_Rev_Acct); - - /** Get Payment Discount Revenue. - * Payment Discount Revenue Account - */ - public int getPayDiscount_Rev_Acct(); - - /** Column name Processing */ - public static final String COLUMNNAME_Processing = "Processing"; - - /** Set Process Now */ - public void setProcessing (boolean Processing); - - /** Get Process Now */ - public boolean isProcessing(); - /** Column name RealizedGain_Acct */ public static final String COLUMNNAME_RealizedGain_Acct = "RealizedGain_Acct"; @@ -821,19 +817,6 @@ public interface I_C_AcctSchema_Default */ public int getW_Inventory_Acct(); - /** Column name W_Revaluation_Acct */ - public static final String COLUMNNAME_W_Revaluation_Acct = "W_Revaluation_Acct"; - - /** Set Inventory Revaluation. - * Account for Inventory Revaluation - */ - public void setW_Revaluation_Acct (int W_Revaluation_Acct); - - /** Get Inventory Revaluation. - * Account for Inventory Revaluation - */ - public int getW_Revaluation_Acct(); - /** Column name Withholding_Acct */ public static final String COLUMNNAME_Withholding_Acct = "Withholding_Acct"; @@ -847,6 +830,19 @@ public interface I_C_AcctSchema_Default */ public int getWithholding_Acct(); + /** Column name W_Revaluation_Acct */ + public static final String COLUMNNAME_W_Revaluation_Acct = "W_Revaluation_Acct"; + + /** Set Inventory Revaluation. + * Account for Inventory Revaluation + */ + public void setW_Revaluation_Acct (int W_Revaluation_Acct); + + /** Get Inventory Revaluation. + * Account for Inventory Revaluation + */ + public int getW_Revaluation_Acct(); + /** Column name WriteOff_Acct */ public static final String COLUMNNAME_WriteOff_Acct = "WriteOff_Acct"; diff --git a/base/src/org/compiere/model/I_C_AcctSchema_Element.java b/base/src/org/compiere/model/I_C_AcctSchema_Element.java index e751c07639..86638562e0 100644 --- a/base/src/org/compiere/model/I_C_AcctSchema_Element.java +++ b/base/src/org/compiere/model/I_C_AcctSchema_Element.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctSchema_Element - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_AcctSchema_Element { @@ -140,21 +136,6 @@ public interface I_C_AcctSchema_Element public I_C_Campaign getC_Campaign() throws Exception; - /** Column name C_ElementValue_ID */ - public static final String COLUMNNAME_C_ElementValue_ID = "C_ElementValue_ID"; - - /** Set Account Element. - * Account Element - */ - public void setC_ElementValue_ID (int C_ElementValue_ID); - - /** Get Account Element. - * Account Element - */ - public int getC_ElementValue_ID(); - - public I_C_ElementValue getC_ElementValue() throws Exception; - /** Column name C_Element_ID */ public static final String COLUMNNAME_C_Element_ID = "C_Element_ID"; @@ -170,6 +151,21 @@ public interface I_C_AcctSchema_Element public I_C_Element getC_Element() throws Exception; + /** Column name C_ElementValue_ID */ + public static final String COLUMNNAME_C_ElementValue_ID = "C_ElementValue_ID"; + + /** Set Account Element. + * Account Element + */ + public void setC_ElementValue_ID (int C_ElementValue_ID); + + /** Get Account Element. + * Account Element + */ + public int getC_ElementValue_ID(); + + public I_C_ElementValue getC_ElementValue() throws Exception; + /** Column name C_Location_ID */ public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; diff --git a/base/src/org/compiere/model/I_C_AcctSchema_GL.java b/base/src/org/compiere/model/I_C_AcctSchema_GL.java index 70a6875d8e..b265b9fc57 100644 --- a/base/src/org/compiere/model/I_C_AcctSchema_GL.java +++ b/base/src/org/compiere/model/I_C_AcctSchema_GL.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctSchema_GL - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_AcctSchema_GL { @@ -71,19 +67,6 @@ public interface I_C_AcctSchema_GL public I_C_AcctSchema getC_AcctSchema() throws Exception; - /** Column name CommitmentOffsetSales_Acct */ - public static final String COLUMNNAME_CommitmentOffsetSales_Acct = "CommitmentOffsetSales_Acct"; - - /** Set Commitment Offset Sales. - * Budgetary Commitment Offset Account for Sales - */ - public void setCommitmentOffsetSales_Acct (int CommitmentOffsetSales_Acct); - - /** Get Commitment Offset Sales. - * Budgetary Commitment Offset Account for Sales - */ - public int getCommitmentOffsetSales_Acct(); - /** Column name CommitmentOffset_Acct */ public static final String COLUMNNAME_CommitmentOffset_Acct = "CommitmentOffset_Acct"; @@ -97,6 +80,19 @@ public interface I_C_AcctSchema_GL */ public int getCommitmentOffset_Acct(); + /** Column name CommitmentOffsetSales_Acct */ + public static final String COLUMNNAME_CommitmentOffsetSales_Acct = "CommitmentOffsetSales_Acct"; + + /** Set Commitment Offset Sales. + * Budgetary Commitment Offset Account for Sales + */ + public void setCommitmentOffsetSales_Acct (int CommitmentOffsetSales_Acct); + + /** Get Commitment Offset Sales. + * Budgetary Commitment Offset Account for Sales + */ + public int getCommitmentOffsetSales_Acct(); + /** Column name CurrencyBalancing_Acct */ public static final String COLUMNNAME_CurrencyBalancing_Acct = "CurrencyBalancing_Acct"; diff --git a/base/src/org/compiere/model/I_C_Activity.java b/base/src/org/compiere/model/I_C_Activity.java index 0a3abe2f05..0be78051f1 100644 --- a/base/src/org/compiere/model/I_C_Activity.java +++ b/base/src/org/compiere/model/I_C_Activity.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Activity - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Activity { diff --git a/base/src/org/compiere/model/I_C_AllocationHdr.java b/base/src/org/compiere/model/I_C_AllocationHdr.java index a2785bb816..f533b30a78 100644 --- a/base/src/org/compiere/model/I_C_AllocationHdr.java +++ b/base/src/org/compiere/model/I_C_AllocationHdr.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_AllocationHdr - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_AllocationHdr { diff --git a/base/src/org/compiere/model/I_C_AllocationLine.java b/base/src/org/compiere/model/I_C_AllocationLine.java index 95b9765415..48c9a1dd7e 100644 --- a/base/src/org/compiere/model/I_C_AllocationLine.java +++ b/base/src/org/compiere/model/I_C_AllocationLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_AllocationLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_AllocationLine { diff --git a/base/src/org/compiere/model/I_C_BP_BankAccount.java b/base/src/org/compiere/model/I_C_BP_BankAccount.java index 26efebad20..02416cdad3 100644 --- a/base/src/org/compiere/model/I_C_BP_BankAccount.java +++ b/base/src/org/compiere/model/I_C_BP_BankAccount.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_BankAccount - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BP_BankAccount { @@ -56,20 +52,18 @@ public interface I_C_BP_BankAccount /** Load Meta Data */ - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + /** Column name AccountNo */ + public static final String COLUMNNAME_AccountNo = "AccountNo"; - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact + /** Set Account No. + * Account Number */ - public void setAD_User_ID (int AD_User_ID); + public void setAccountNo (String AccountNo); - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact + /** Get Account No. + * Account Number */ - public int getAD_User_ID(); - - public I_AD_User getAD_User() throws Exception; + public String getAccountNo(); /** Column name A_City */ public static final String COLUMNNAME_A_City = "A_City"; @@ -97,6 +91,21 @@ public interface I_C_BP_BankAccount */ public String getA_Country(); + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + + public I_AD_User getAD_User() throws Exception; + /** Column name A_EMail */ public static final String COLUMNNAME_A_EMail = "A_EMail"; @@ -188,18 +197,18 @@ public interface I_C_BP_BankAccount */ public String getA_Zip(); - /** Column name AccountNo */ - public static final String COLUMNNAME_AccountNo = "AccountNo"; + /** Column name BankAccountType */ + public static final String COLUMNNAME_BankAccountType = "BankAccountType"; - /** Set Account No. - * Account Number + /** Set Bank Account Type. + * Bank Account Type */ - public void setAccountNo (String AccountNo); + public void setBankAccountType (String BankAccountType); - /** Get Account No. - * Account Number + /** Get Bank Account Type. + * Bank Account Type */ - public String getAccountNo(); + public String getBankAccountType(); /** Column name BPBankAcctUse */ public static final String COLUMNNAME_BPBankAcctUse = "BPBankAcctUse"; @@ -214,31 +223,20 @@ public interface I_C_BP_BankAccount */ public String getBPBankAcctUse(); - /** Column name BankAccountType */ - public static final String COLUMNNAME_BankAccountType = "BankAccountType"; + /** Column name C_Bank_ID */ + public static final String COLUMNNAME_C_Bank_ID = "C_Bank_ID"; - /** Set Bank Account Type. - * Bank Account Type + /** Set Bank. + * Bank */ - public void setBankAccountType (String BankAccountType); + public void setC_Bank_ID (int C_Bank_ID); - /** Get Bank Account Type. - * Bank Account Type + /** Get Bank. + * Bank */ - public String getBankAccountType(); + public int getC_Bank_ID(); - /** Column name C_BP_BankAccount_ID */ - public static final String COLUMNNAME_C_BP_BankAccount_ID = "C_BP_BankAccount_ID"; - - /** Set Partner Bank Account. - * Bank Account of the Business Partner - */ - public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID); - - /** Get Partner Bank Account. - * Bank Account of the Business Partner - */ - public int getC_BP_BankAccount_ID(); + public I_C_Bank getC_Bank() throws Exception; /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -255,20 +253,18 @@ public interface I_C_BP_BankAccount public I_C_BPartner getC_BPartner() throws Exception; - /** Column name C_Bank_ID */ - public static final String COLUMNNAME_C_Bank_ID = "C_Bank_ID"; + /** Column name C_BP_BankAccount_ID */ + public static final String COLUMNNAME_C_BP_BankAccount_ID = "C_BP_BankAccount_ID"; - /** Set Bank. - * Bank + /** Set Partner Bank Account. + * Bank Account of the Business Partner */ - public void setC_Bank_ID (int C_Bank_ID); + public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID); - /** Get Bank. - * Bank + /** Get Partner Bank Account. + * Bank Account of the Business Partner */ - public int getC_Bank_ID(); - - public I_C_Bank getC_Bank() throws Exception; + public int getC_BP_BankAccount_ID(); /** Column name CreditCardExpMM */ public static final String COLUMNNAME_CreditCardExpMM = "CreditCardExpMM"; diff --git a/base/src/org/compiere/model/I_C_BP_Customer_Acct.java b/base/src/org/compiere/model/I_C_BP_Customer_Acct.java index 846e46c644..44cda2a859 100644 --- a/base/src/org/compiere/model/I_C_BP_Customer_Acct.java +++ b/base/src/org/compiere/model/I_C_BP_Customer_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Customer_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BP_Customer_Acct { diff --git a/base/src/org/compiere/model/I_C_BP_EDI.java b/base/src/org/compiere/model/I_C_BP_EDI.java index b4695d0983..1d9e2409d9 100644 --- a/base/src/org/compiere/model/I_C_BP_EDI.java +++ b/base/src/org/compiere/model/I_C_BP_EDI.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_EDI - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BP_EDI { @@ -69,19 +65,6 @@ public interface I_C_BP_EDI */ public int getAD_Sequence_ID(); - /** Column name C_BP_EDI_ID */ - public static final String COLUMNNAME_C_BP_EDI_ID = "C_BP_EDI_ID"; - - /** Set EDI Definition. - * Electronic Data Interchange - */ - public void setC_BP_EDI_ID (int C_BP_EDI_ID); - - /** Get EDI Definition. - * Electronic Data Interchange - */ - public int getC_BP_EDI_ID(); - /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -97,6 +80,19 @@ public interface I_C_BP_EDI public I_C_BPartner getC_BPartner() throws Exception; + /** Column name C_BP_EDI_ID */ + public static final String COLUMNNAME_C_BP_EDI_ID = "C_BP_EDI_ID"; + + /** Set EDI Definition. + * Electronic Data Interchange + */ + public void setC_BP_EDI_ID (int C_BP_EDI_ID); + + /** Get EDI Definition. + * Electronic Data Interchange + */ + public int getC_BP_EDI_ID(); + /** Column name CustomerNo */ public static final String COLUMNNAME_CustomerNo = "CustomerNo"; diff --git a/base/src/org/compiere/model/I_C_BP_Employee_Acct.java b/base/src/org/compiere/model/I_C_BP_Employee_Acct.java index 387fcd273b..5f69a2b094 100644 --- a/base/src/org/compiere/model/I_C_BP_Employee_Acct.java +++ b/base/src/org/compiere/model/I_C_BP_Employee_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Employee_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BP_Employee_Acct { diff --git a/base/src/org/compiere/model/I_C_BP_Group.java b/base/src/org/compiere/model/I_C_BP_Group.java index 7363c61cd3..65c4a76458 100644 --- a/base/src/org/compiere/model/I_C_BP_Group.java +++ b/base/src/org/compiere/model/I_C_BP_Group.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Group - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BP_Group { diff --git a/base/src/org/compiere/model/I_C_BP_Group_Acct.java b/base/src/org/compiere/model/I_C_BP_Group_Acct.java index 3b28cb8f1d..c5675b1203 100644 --- a/base/src/org/compiere/model/I_C_BP_Group_Acct.java +++ b/base/src/org/compiere/model/I_C_BP_Group_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Group_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BP_Group_Acct { diff --git a/base/src/org/compiere/model/I_C_BP_Relation.java b/base/src/org/compiere/model/I_C_BP_Relation.java index 4bb70b4eb6..621111df4e 100644 --- a/base/src/org/compiere/model/I_C_BP_Relation.java +++ b/base/src/org/compiere/model/I_C_BP_Relation.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Relation - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BP_Relation { @@ -56,45 +52,6 @@ public interface I_C_BP_Relation /** Load Meta Data */ - /** Column name C_BP_Relation_ID */ - public static final String COLUMNNAME_C_BP_Relation_ID = "C_BP_Relation_ID"; - - /** Set Partner Relation. - * Business Partner Relation - */ - public void setC_BP_Relation_ID (int C_BP_Relation_ID); - - /** Get Partner Relation. - * Business Partner Relation - */ - public int getC_BP_Relation_ID(); - - /** Column name C_BPartnerRelation_ID */ - public static final String COLUMNNAME_C_BPartnerRelation_ID = "C_BPartnerRelation_ID"; - - /** Set Related Partner. - * Related Business Partner - */ - public void setC_BPartnerRelation_ID (int C_BPartnerRelation_ID); - - /** Get Related Partner. - * Related Business Partner - */ - public int getC_BPartnerRelation_ID(); - - /** Column name C_BPartnerRelation_Location_ID */ - public static final String COLUMNNAME_C_BPartnerRelation_Location_ID = "C_BPartnerRelation_Location_ID"; - - /** Set Related Partner Location. - * Location of the related Business Partner - */ - public void setC_BPartnerRelation_Location_ID (int C_BPartnerRelation_Location_ID); - - /** Get Related Partner Location. - * Location of the related Business Partner - */ - public int getC_BPartnerRelation_Location_ID(); - /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -125,6 +82,45 @@ public interface I_C_BP_Relation public I_C_BPartner_Location getC_BPartner_Location() throws Exception; + /** Column name C_BPartnerRelation_ID */ + public static final String COLUMNNAME_C_BPartnerRelation_ID = "C_BPartnerRelation_ID"; + + /** Set Related Partner. + * Related Business Partner + */ + public void setC_BPartnerRelation_ID (int C_BPartnerRelation_ID); + + /** Get Related Partner. + * Related Business Partner + */ + public int getC_BPartnerRelation_ID(); + + /** Column name C_BPartnerRelation_Location_ID */ + public static final String COLUMNNAME_C_BPartnerRelation_Location_ID = "C_BPartnerRelation_Location_ID"; + + /** Set Related Partner Location. + * Location of the related Business Partner + */ + public void setC_BPartnerRelation_Location_ID (int C_BPartnerRelation_Location_ID); + + /** Get Related Partner Location. + * Location of the related Business Partner + */ + public int getC_BPartnerRelation_Location_ID(); + + /** Column name C_BP_Relation_ID */ + public static final String COLUMNNAME_C_BP_Relation_ID = "C_BP_Relation_ID"; + + /** Set Partner Relation. + * Business Partner Relation + */ + public void setC_BP_Relation_ID (int C_BP_Relation_ID); + + /** Get Partner Relation. + * Business Partner Relation + */ + public int getC_BP_Relation_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_BP_Vendor_Acct.java b/base/src/org/compiere/model/I_C_BP_Vendor_Acct.java index 460ac66b5d..c01933fbc9 100644 --- a/base/src/org/compiere/model/I_C_BP_Vendor_Acct.java +++ b/base/src/org/compiere/model/I_C_BP_Vendor_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Vendor_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BP_Vendor_Acct { diff --git a/base/src/org/compiere/model/I_C_BP_Withholding.java b/base/src/org/compiere/model/I_C_BP_Withholding.java index c4c1f772f7..9fff9abfc0 100644 --- a/base/src/org/compiere/model/I_C_BP_Withholding.java +++ b/base/src/org/compiere/model/I_C_BP_Withholding.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Withholding - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BP_Withholding { diff --git a/base/src/org/compiere/model/I_C_BPartner.java b/base/src/org/compiere/model/I_C_BPartner.java index d28b7cd17e..28da712a7f 100644 --- a/base/src/org/compiere/model/I_C_BPartner.java +++ b/base/src/org/compiere/model/I_C_BPartner.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BPartner - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BPartner { @@ -57,32 +53,6 @@ public interface I_C_BPartner /** Load Meta Data */ - /** Column name AD_Language */ - public static final String COLUMNNAME_AD_Language = "AD_Language"; - - /** Set Language. - * Language for this entity - */ - public void setAD_Language (String AD_Language); - - /** Get Language. - * Language for this entity - */ - public String getAD_Language(); - - /** Column name AD_OrgBP_ID */ - public static final String COLUMNNAME_AD_OrgBP_ID = "AD_OrgBP_ID"; - - /** Set Linked Organization. - * The Business Partner is another Organization for explicit Inter-Org transactions - */ - public void setAD_OrgBP_ID (String AD_OrgBP_ID); - - /** Get Linked Organization. - * The Business Partner is another Organization for explicit Inter-Org transactions - */ - public String getAD_OrgBP_ID(); - /** Column name AcqusitionCost */ public static final String COLUMNNAME_AcqusitionCost = "AcqusitionCost"; @@ -109,6 +79,32 @@ public interface I_C_BPartner */ public BigDecimal getActualLifeTimeValue(); + /** Column name AD_Language */ + public static final String COLUMNNAME_AD_Language = "AD_Language"; + + /** Set Language. + * Language for this entity + */ + public void setAD_Language (String AD_Language); + + /** Get Language. + * Language for this entity + */ + public String getAD_Language(); + + /** Column name AD_OrgBP_ID */ + public static final String COLUMNNAME_AD_OrgBP_ID = "AD_OrgBP_ID"; + + /** Set Linked Organization. + * The Business Partner is another Organization for explicit Inter-Org transactions + */ + public void setAD_OrgBP_ID (String AD_OrgBP_ID); + + /** Get Linked Organization. + * The Business Partner is another Organization for explicit Inter-Org transactions + */ + public String getAD_OrgBP_ID(); + /** Column name BPartner_Parent_ID */ public static final String COLUMNNAME_BPartner_Parent_ID = "BPartner_Parent_ID"; @@ -122,6 +118,19 @@ public interface I_C_BPartner */ public int getBPartner_Parent_ID(); + /** Column name C_BPartner_ID */ + public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; + + /** Set Business Partner . + * Identifies a Business Partner + */ + public void setC_BPartner_ID (int C_BPartner_ID); + + /** Get Business Partner . + * Identifies a Business Partner + */ + public int getC_BPartner_ID(); + /** Column name C_BP_Group_ID */ public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; @@ -137,19 +146,6 @@ public interface I_C_BPartner public I_C_BP_Group getC_BP_Group() throws Exception; - /** Column name C_BPartner_ID */ - public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; - - /** Set Business Partner . - * Identifies a Business Partner - */ - public void setC_BPartner_ID (int C_BPartner_ID); - - /** Get Business Partner . - * Identifies a Business Partner - */ - public int getC_BPartner_ID(); - /** Column name C_Dunning_ID */ public static final String COLUMNNAME_C_Dunning_ID = "C_Dunning_ID"; @@ -221,19 +217,6 @@ public interface I_C_BPartner public org.eevolution.model.I_C_TaxGroup getC_TaxGroup() throws Exception; - /** Column name DUNS */ - public static final String COLUMNNAME_DUNS = "DUNS"; - - /** Set D-U-N-S. - * Dun & Bradstreet Number - */ - public void setDUNS (String DUNS); - - /** Get D-U-N-S. - * Dun & Bradstreet Number - */ - public String getDUNS(); - /** Column name DeliveryRule */ public static final String COLUMNNAME_DeliveryRule = "DeliveryRule"; @@ -295,6 +278,19 @@ public interface I_C_BPartner /** Get Dunning Grace */ public Timestamp getDunningGrace(); + /** Column name DUNS */ + public static final String COLUMNNAME_DUNS = "DUNS"; + + /** Set D-U-N-S. + * Dun & Bradstreet Number + */ + public void setDUNS (String DUNS); + + /** Get D-U-N-S. + * Dun & Bradstreet Number + */ + public String getDUNS(); + /** Column name FirstSale */ public static final String COLUMNNAME_FirstSale = "FirstSale"; @@ -334,19 +330,6 @@ public interface I_C_BPartner */ public String getFreightCostRule(); - /** Column name InvoiceRule */ - public static final String COLUMNNAME_InvoiceRule = "InvoiceRule"; - - /** Set Invoice Rule. - * Frequency and method of invoicing - */ - public void setInvoiceRule (String InvoiceRule); - - /** Get Invoice Rule. - * Frequency and method of invoicing - */ - public String getInvoiceRule(); - /** Column name Invoice_PrintFormat_ID */ public static final String COLUMNNAME_Invoice_PrintFormat_ID = "Invoice_PrintFormat_ID"; @@ -360,6 +343,19 @@ public interface I_C_BPartner */ public int getInvoice_PrintFormat_ID(); + /** Column name InvoiceRule */ + public static final String COLUMNNAME_InvoiceRule = "InvoiceRule"; + + /** Set Invoice Rule. + * Frequency and method of invoicing + */ + public void setInvoiceRule (String InvoiceRule); + + /** Get Invoice Rule. + * Frequency and method of invoicing + */ + public String getInvoiceRule(); + /** Column name IsCustomer */ public static final String COLUMNNAME_IsCustomer = "IsCustomer"; @@ -553,18 +549,31 @@ public interface I_C_BPartner */ public int getNumberEmployees(); - /** Column name POReference */ - public static final String COLUMNNAME_POReference = "POReference"; + /** Column name PaymentRule */ + public static final String COLUMNNAME_PaymentRule = "PaymentRule"; - /** Set Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + /** Set Payment Rule. + * How you pay the invoice */ - public void setPOReference (String POReference); + public void setPaymentRule (String PaymentRule); - /** Get Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + /** Get Payment Rule. + * How you pay the invoice */ - public String getPOReference(); + public String getPaymentRule(); + + /** Column name PaymentRulePO */ + public static final String COLUMNNAME_PaymentRulePO = "PaymentRulePO"; + + /** Set Payment Rule. + * Purchase payment option + */ + public void setPaymentRulePO (String PaymentRulePO); + + /** Get Payment Rule. + * Purchase payment option + */ + public String getPaymentRulePO(); /** Column name PO_DiscountSchema_ID */ public static final String COLUMNNAME_PO_DiscountSchema_ID = "PO_DiscountSchema_ID"; @@ -605,31 +614,18 @@ public interface I_C_BPartner */ public int getPO_PriceList_ID(); - /** Column name PaymentRule */ - public static final String COLUMNNAME_PaymentRule = "PaymentRule"; + /** Column name POReference */ + public static final String COLUMNNAME_POReference = "POReference"; - /** Set Payment Rule. - * How you pay the invoice + /** Set Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public void setPaymentRule (String PaymentRule); + public void setPOReference (String POReference); - /** Get Payment Rule. - * How you pay the invoice + /** Get Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public String getPaymentRule(); - - /** Column name PaymentRulePO */ - public static final String COLUMNNAME_PaymentRulePO = "PaymentRulePO"; - - /** Set Payment Rule. - * Purchase payment option - */ - public void setPaymentRulePO (String PaymentRulePO); - - /** Get Payment Rule. - * Purchase payment option - */ - public String getPaymentRulePO(); + public String getPOReference(); /** Column name PotentialLifeTimeValue */ public static final String COLUMNNAME_PotentialLifeTimeValue = "PotentialLifeTimeValue"; @@ -670,58 +666,6 @@ public interface I_C_BPartner */ public String getReferenceNo(); - /** Column name SOCreditStatus */ - public static final String COLUMNNAME_SOCreditStatus = "SOCreditStatus"; - - /** Set Credit Status. - * Business Partner Credit Status - */ - public void setSOCreditStatus (String SOCreditStatus); - - /** Get Credit Status. - * Business Partner Credit Status - */ - public String getSOCreditStatus(); - - /** Column name SO_CreditLimit */ - public static final String COLUMNNAME_SO_CreditLimit = "SO_CreditLimit"; - - /** Set Credit Limit. - * Total outstanding invoice amounts allowed - */ - public void setSO_CreditLimit (BigDecimal SO_CreditLimit); - - /** Get Credit Limit. - * Total outstanding invoice amounts allowed - */ - public BigDecimal getSO_CreditLimit(); - - /** Column name SO_CreditUsed */ - public static final String COLUMNNAME_SO_CreditUsed = "SO_CreditUsed"; - - /** Set Credit Used. - * Current open balance - */ - public void setSO_CreditUsed (BigDecimal SO_CreditUsed); - - /** Get Credit Used. - * Current open balance - */ - public BigDecimal getSO_CreditUsed(); - - /** Column name SO_Description */ - public static final String COLUMNNAME_SO_Description = "SO_Description"; - - /** Set Order Description. - * Description to be used on orders - */ - public void setSO_Description (String SO_Description); - - /** Get Order Description. - * Description to be used on orders - */ - public String getSO_Description(); - /** Column name SalesRep_ID */ public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID"; @@ -787,6 +731,58 @@ public interface I_C_BPartner */ public int getShelfLifeMinPct(); + /** Column name SO_CreditLimit */ + public static final String COLUMNNAME_SO_CreditLimit = "SO_CreditLimit"; + + /** Set Credit Limit. + * Total outstanding invoice amounts allowed + */ + public void setSO_CreditLimit (BigDecimal SO_CreditLimit); + + /** Get Credit Limit. + * Total outstanding invoice amounts allowed + */ + public BigDecimal getSO_CreditLimit(); + + /** Column name SOCreditStatus */ + public static final String COLUMNNAME_SOCreditStatus = "SOCreditStatus"; + + /** Set Credit Status. + * Business Partner Credit Status + */ + public void setSOCreditStatus (String SOCreditStatus); + + /** Get Credit Status. + * Business Partner Credit Status + */ + public String getSOCreditStatus(); + + /** Column name SO_CreditUsed */ + public static final String COLUMNNAME_SO_CreditUsed = "SO_CreditUsed"; + + /** Set Credit Used. + * Current open balance + */ + public void setSO_CreditUsed (BigDecimal SO_CreditUsed); + + /** Get Credit Used. + * Current open balance + */ + public BigDecimal getSO_CreditUsed(); + + /** Column name SO_Description */ + public static final String COLUMNNAME_SO_Description = "SO_Description"; + + /** Set Order Description. + * Description to be used on orders + */ + public void setSO_Description (String SO_Description); + + /** Get Order Description. + * Description to be used on orders + */ + public String getSO_Description(); + /** Column name TaxID */ public static final String COLUMNNAME_TaxID = "TaxID"; diff --git a/base/src/org/compiere/model/I_C_BPartner_Location.java b/base/src/org/compiere/model/I_C_BPartner_Location.java index 7e2194be8f..a9c3e8285e 100644 --- a/base/src/org/compiere/model/I_C_BPartner_Location.java +++ b/base/src/org/compiere/model/I_C_BPartner_Location.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BPartner_Location - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BPartner_Location { @@ -125,19 +121,6 @@ public interface I_C_BPartner_Location */ public String getFax(); - /** Column name ISDN */ - public static final String COLUMNNAME_ISDN = "ISDN"; - - /** Set ISDN. - * ISDN or modem line - */ - public void setISDN (String ISDN); - - /** Get ISDN. - * ISDN or modem line - */ - public String getISDN(); - /** Column name IsBillTo */ public static final String COLUMNNAME_IsBillTo = "IsBillTo"; @@ -151,6 +134,19 @@ public interface I_C_BPartner_Location */ public boolean isBillTo(); + /** Column name ISDN */ + public static final String COLUMNNAME_ISDN = "ISDN"; + + /** Set ISDN. + * ISDN or modem line + */ + public void setISDN (String ISDN); + + /** Get ISDN. + * ISDN or modem line + */ + public String getISDN(); + /** Column name IsPayFrom */ public static final String COLUMNNAME_IsPayFrom = "IsPayFrom"; diff --git a/base/src/org/compiere/model/I_C_BPartner_Product.java b/base/src/org/compiere/model/I_C_BPartner_Product.java index 408f373364..60425eb3cd 100644 --- a/base/src/org/compiere/model/I_C_BPartner_Product.java +++ b/base/src/org/compiere/model/I_C_BPartner_Product.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BPartner_Product - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BPartner_Product { @@ -84,6 +80,19 @@ public interface I_C_BPartner_Product */ public String getDescription(); + /** Column name Manufacturer */ + public static final String COLUMNNAME_Manufacturer = "Manufacturer"; + + /** Set Manufacturer. + * Manufacturer of the Product + */ + public void setManufacturer (String Manufacturer); + + /** Get Manufacturer. + * Manufacturer of the Product + */ + public String getManufacturer(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -99,19 +108,6 @@ public interface I_C_BPartner_Product public I_M_Product getM_Product() throws Exception; - /** Column name Manufacturer */ - public static final String COLUMNNAME_Manufacturer = "Manufacturer"; - - /** Set Manufacturer. - * Manufacturer of the Product - */ - public void setManufacturer (String Manufacturer); - - /** Get Manufacturer. - * Manufacturer of the Product - */ - public String getManufacturer(); - /** Column name QualityRating */ public static final String COLUMNNAME_QualityRating = "QualityRating"; diff --git a/base/src/org/compiere/model/I_C_Bank.java b/base/src/org/compiere/model/I_C_Bank.java index 7904b2bde1..8e417079f1 100644 --- a/base/src/org/compiere/model/I_C_Bank.java +++ b/base/src/org/compiere/model/I_C_Bank.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Bank - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Bank { diff --git a/base/src/org/compiere/model/I_C_BankAccount.java b/base/src/org/compiere/model/I_C_BankAccount.java index b6becdfb7a..823520e3a3 100644 --- a/base/src/org/compiere/model/I_C_BankAccount.java +++ b/base/src/org/compiere/model/I_C_BankAccount.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankAccount - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BankAccount { @@ -69,19 +65,6 @@ public interface I_C_BankAccount */ public String getAccountNo(); - /** Column name BBAN */ - public static final String COLUMNNAME_BBAN = "BBAN"; - - /** Set BBAN. - * Basic Bank Account Number - */ - public void setBBAN (String BBAN); - - /** Get BBAN. - * Basic Bank Account Number - */ - public String getBBAN(); - /** Column name BankAccountType */ public static final String COLUMNNAME_BankAccountType = "BankAccountType"; @@ -95,6 +78,19 @@ public interface I_C_BankAccount */ public String getBankAccountType(); + /** Column name BBAN */ + public static final String COLUMNNAME_BBAN = "BBAN"; + + /** Set BBAN. + * Basic Bank Account Number + */ + public void setBBAN (String BBAN); + + /** Get BBAN. + * Basic Bank Account Number + */ + public String getBBAN(); + /** Column name C_BankAccount_ID */ public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID"; diff --git a/base/src/org/compiere/model/I_C_BankAccountDoc.java b/base/src/org/compiere/model/I_C_BankAccountDoc.java index 5d0d881361..412e40fc66 100644 --- a/base/src/org/compiere/model/I_C_BankAccountDoc.java +++ b/base/src/org/compiere/model/I_C_BankAccountDoc.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankAccountDoc - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BankAccountDoc { diff --git a/base/src/org/compiere/model/I_C_BankAccount_Acct.java b/base/src/org/compiere/model/I_C_BankAccount_Acct.java index d0a972c078..b261433468 100644 --- a/base/src/org/compiere/model/I_C_BankAccount_Acct.java +++ b/base/src/org/compiere/model/I_C_BankAccount_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankAccount_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BankAccount_Acct { @@ -82,19 +78,6 @@ public interface I_C_BankAccount_Acct */ public int getB_Expense_Acct(); - /** Column name B_InTransit_Acct */ - public static final String COLUMNNAME_B_InTransit_Acct = "B_InTransit_Acct"; - - /** Set Bank In Transit. - * Bank In Transit Account - */ - public void setB_InTransit_Acct (int B_InTransit_Acct); - - /** Get Bank In Transit. - * Bank In Transit Account - */ - public int getB_InTransit_Acct(); - /** Column name B_InterestExp_Acct */ public static final String COLUMNNAME_B_InterestExp_Acct = "B_InterestExp_Acct"; @@ -121,6 +104,19 @@ public interface I_C_BankAccount_Acct */ public int getB_InterestRev_Acct(); + /** Column name B_InTransit_Acct */ + public static final String COLUMNNAME_B_InTransit_Acct = "B_InTransit_Acct"; + + /** Set Bank In Transit. + * Bank In Transit Account + */ + public void setB_InTransit_Acct (int B_InTransit_Acct); + + /** Get Bank In Transit. + * Bank In Transit Account + */ + public int getB_InTransit_Acct(); + /** Column name B_PaymentSelect_Acct */ public static final String COLUMNNAME_B_PaymentSelect_Acct = "B_PaymentSelect_Acct"; diff --git a/base/src/org/compiere/model/I_C_BankStatement.java b/base/src/org/compiere/model/I_C_BankStatement.java index 5a7aa5a33c..59d9502f46 100644 --- a/base/src/org/compiere/model/I_C_BankStatement.java +++ b/base/src/org/compiere/model/I_C_BankStatement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankStatement - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BankStatement { diff --git a/base/src/org/compiere/model/I_C_BankStatementLine.java b/base/src/org/compiere/model/I_C_BankStatementLine.java index c373ee3cda..ac993a5a28 100644 --- a/base/src/org/compiere/model/I_C_BankStatementLine.java +++ b/base/src/org/compiere/model/I_C_BankStatementLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankStatementLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BankStatementLine { @@ -57,34 +53,6 @@ public interface I_C_BankStatementLine /** Load Meta Data */ - /** Column name C_BPartner_ID */ - public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; - - /** Set Business Partner . - * Identifies a Business Partner - */ - public void setC_BPartner_ID (int C_BPartner_ID); - - /** Get Business Partner . - * Identifies a Business Partner - */ - public int getC_BPartner_ID(); - - public I_C_BPartner getC_BPartner() throws Exception; - - /** Column name C_BankStatementLine_ID */ - public static final String COLUMNNAME_C_BankStatementLine_ID = "C_BankStatementLine_ID"; - - /** Set Bank statement line. - * Line on a statement from this Bank - */ - public void setC_BankStatementLine_ID (int C_BankStatementLine_ID); - - /** Get Bank statement line. - * Line on a statement from this Bank - */ - public int getC_BankStatementLine_ID(); - /** Column name C_BankStatement_ID */ public static final String COLUMNNAME_C_BankStatement_ID = "C_BankStatement_ID"; @@ -100,6 +68,34 @@ public interface I_C_BankStatementLine public I_C_BankStatement getC_BankStatement() throws Exception; + /** Column name C_BankStatementLine_ID */ + public static final String COLUMNNAME_C_BankStatementLine_ID = "C_BankStatementLine_ID"; + + /** Set Bank statement line. + * Line on a statement from this Bank + */ + public void setC_BankStatementLine_ID (int C_BankStatementLine_ID); + + /** Get Bank statement line. + * Line on a statement from this Bank + */ + public int getC_BankStatementLine_ID(); + + /** Column name C_BPartner_ID */ + public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; + + /** Set Business Partner . + * Identifies a Business Partner + */ + public void setC_BPartner_ID (int C_BPartner_ID); + + /** Get Business Partner . + * Identifies a Business Partner + */ + public int getC_BPartner_ID(); + + public I_C_BPartner getC_BPartner() throws Exception; + /** Column name C_Charge_ID */ public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID"; @@ -130,6 +126,19 @@ public interface I_C_BankStatementLine public I_C_Currency getC_Currency() throws Exception; + /** Column name ChargeAmt */ + public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; + + /** Set Charge amount. + * Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt); + + /** Get Charge amount. + * Charge Amount + */ + public BigDecimal getChargeAmt(); + /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -160,19 +169,6 @@ public interface I_C_BankStatementLine public I_C_Payment getC_Payment() throws Exception; - /** Column name ChargeAmt */ - public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; - - /** Set Charge amount. - * Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt); - - /** Get Charge amount. - * Charge Amount - */ - public BigDecimal getChargeAmt(); - /** Column name CreatePayment */ public static final String COLUMNNAME_CreatePayment = "CreatePayment"; diff --git a/base/src/org/compiere/model/I_C_BankStatementLoader.java b/base/src/org/compiere/model/I_C_BankStatementLoader.java index 9a170fea0b..5779a0ad9d 100644 --- a/base/src/org/compiere/model/I_C_BankStatementLoader.java +++ b/base/src/org/compiere/model/I_C_BankStatementLoader.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankStatementLoader - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BankStatementLoader { @@ -215,19 +211,6 @@ public interface I_C_BankStatementLoader */ public String getName(); - /** Column name PIN */ - public static final String COLUMNNAME_PIN = "PIN"; - - /** Set PIN. - * Personal Identification Number - */ - public void setPIN (String PIN); - - /** Get PIN. - * Personal Identification Number - */ - public String getPIN(); - /** Column name Password */ public static final String COLUMNNAME_Password = "Password"; @@ -241,6 +224,19 @@ public interface I_C_BankStatementLoader */ public String getPassword(); + /** Column name PIN */ + public static final String COLUMNNAME_PIN = "PIN"; + + /** Set PIN. + * Personal Identification Number + */ + public void setPIN (String PIN); + + /** Get PIN. + * Personal Identification Number + */ + public String getPIN(); + /** Column name ProxyAddress */ public static final String COLUMNNAME_ProxyAddress = "ProxyAddress"; diff --git a/base/src/org/compiere/model/I_C_BankStatementMatcher.java b/base/src/org/compiere/model/I_C_BankStatementMatcher.java index f5a2531c7a..e025ce2c28 100644 --- a/base/src/org/compiere/model/I_C_BankStatementMatcher.java +++ b/base/src/org/compiere/model/I_C_BankStatementMatcher.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankStatementMatcher - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_BankStatementMatcher { diff --git a/base/src/org/compiere/model/I_C_Calendar.java b/base/src/org/compiere/model/I_C_Calendar.java index 2f7424df13..4b6bbd15e6 100644 --- a/base/src/org/compiere/model/I_C_Calendar.java +++ b/base/src/org/compiere/model/I_C_Calendar.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Calendar - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Calendar { diff --git a/base/src/org/compiere/model/I_C_Campaign.java b/base/src/org/compiere/model/I_C_Campaign.java index ead8b3c8aa..c1bda6e18a 100644 --- a/base/src/org/compiere/model/I_C_Campaign.java +++ b/base/src/org/compiere/model/I_C_Campaign.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Campaign - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Campaign { diff --git a/base/src/org/compiere/model/I_C_Cash.java b/base/src/org/compiere/model/I_C_Cash.java index 7f40afc8fb..85690a269b 100644 --- a/base/src/org/compiere/model/I_C_Cash.java +++ b/base/src/org/compiere/model/I_C_Cash.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Cash - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Cash { diff --git a/base/src/org/compiere/model/I_C_CashBook.java b/base/src/org/compiere/model/I_C_CashBook.java index c50bd28fed..47c590349a 100644 --- a/base/src/org/compiere/model/I_C_CashBook.java +++ b/base/src/org/compiere/model/I_C_CashBook.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_CashBook - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_CashBook { diff --git a/base/src/org/compiere/model/I_C_CashBook_Acct.java b/base/src/org/compiere/model/I_C_CashBook_Acct.java index 8c126ea9ee..0e2e2b1b53 100644 --- a/base/src/org/compiere/model/I_C_CashBook_Acct.java +++ b/base/src/org/compiere/model/I_C_CashBook_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_CashBook_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_CashBook_Acct { @@ -56,6 +52,21 @@ public interface I_C_CashBook_Acct /** Load Meta Data */ + /** Column name C_AcctSchema_ID */ + public static final String COLUMNNAME_C_AcctSchema_ID = "C_AcctSchema_ID"; + + /** Set Accounting Schema. + * Rules for accounting + */ + public void setC_AcctSchema_ID (int C_AcctSchema_ID); + + /** Get Accounting Schema. + * Rules for accounting + */ + public int getC_AcctSchema_ID(); + + public I_C_AcctSchema getC_AcctSchema() throws Exception; + /** Column name CB_Asset_Acct */ public static final String COLUMNNAME_CB_Asset_Acct = "CB_Asset_Acct"; @@ -121,21 +132,6 @@ public interface I_C_CashBook_Acct */ public int getCB_Receipt_Acct(); - /** Column name C_AcctSchema_ID */ - public static final String COLUMNNAME_C_AcctSchema_ID = "C_AcctSchema_ID"; - - /** Set Accounting Schema. - * Rules for accounting - */ - public void setC_AcctSchema_ID (int C_AcctSchema_ID); - - /** Get Accounting Schema. - * Rules for accounting - */ - public int getC_AcctSchema_ID(); - - public I_C_AcctSchema getC_AcctSchema() throws Exception; - /** Column name C_CashBook_ID */ public static final String COLUMNNAME_C_CashBook_ID = "C_CashBook_ID"; diff --git a/base/src/org/compiere/model/I_C_CashLine.java b/base/src/org/compiere/model/I_C_CashLine.java index b186ac2d41..1868cf2ba9 100644 --- a/base/src/org/compiere/model/I_C_CashLine.java +++ b/base/src/org/compiere/model/I_C_CashLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_CashLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_CashLine { @@ -69,6 +65,19 @@ public interface I_C_CashLine */ public BigDecimal getAmount(); + /** Column name CashType */ + public static final String COLUMNNAME_CashType = "CashType"; + + /** Set Cash Type. + * Source of Cash + */ + public void setCashType (String CashType); + + /** Get Cash Type. + * Source of Cash + */ + public String getCashType(); + /** Column name C_BankAccount_ID */ public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID"; @@ -84,19 +93,6 @@ public interface I_C_CashLine public I_C_BankAccount getC_BankAccount() throws Exception; - /** Column name C_CashLine_ID */ - public static final String COLUMNNAME_C_CashLine_ID = "C_CashLine_ID"; - - /** Set Cash Journal Line. - * Cash Journal Line - */ - public void setC_CashLine_ID (int C_CashLine_ID); - - /** Get Cash Journal Line. - * Cash Journal Line - */ - public int getC_CashLine_ID(); - /** Column name C_Cash_ID */ public static final String COLUMNNAME_C_Cash_ID = "C_Cash_ID"; @@ -112,6 +108,19 @@ public interface I_C_CashLine public I_C_Cash getC_Cash() throws Exception; + /** Column name C_CashLine_ID */ + public static final String COLUMNNAME_C_CashLine_ID = "C_CashLine_ID"; + + /** Set Cash Journal Line. + * Cash Journal Line + */ + public void setC_CashLine_ID (int C_CashLine_ID); + + /** Get Cash Journal Line. + * Cash Journal Line + */ + public int getC_CashLine_ID(); + /** Column name C_Charge_ID */ public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID"; @@ -172,19 +181,6 @@ public interface I_C_CashLine public I_C_Payment getC_Payment() throws Exception; - /** Column name CashType */ - public static final String COLUMNNAME_CashType = "CashType"; - - /** Set Cash Type. - * Source of Cash - */ - public void setCashType (String CashType); - - /** Get Cash Type. - * Source of Cash - */ - public String getCashType(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_Channel.java b/base/src/org/compiere/model/I_C_Channel.java index 1342e72d2d..7b3a8702de 100644 --- a/base/src/org/compiere/model/I_C_Channel.java +++ b/base/src/org/compiere/model/I_C_Channel.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Channel - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Channel { diff --git a/base/src/org/compiere/model/I_C_Charge.java b/base/src/org/compiere/model/I_C_Charge.java index 944edab6aa..942a857cec 100644 --- a/base/src/org/compiere/model/I_C_Charge.java +++ b/base/src/org/compiere/model/I_C_Charge.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Charge - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Charge { @@ -84,6 +80,19 @@ public interface I_C_Charge */ public int getC_Charge_ID(); + /** Column name ChargeAmt */ + public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; + + /** Set Charge amount. + * Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt); + + /** Get Charge amount. + * Charge Amount + */ + public BigDecimal getChargeAmt(); + /** Column name C_TaxCategory_ID */ public static final String COLUMNNAME_C_TaxCategory_ID = "C_TaxCategory_ID"; @@ -99,19 +108,6 @@ public interface I_C_Charge public I_C_TaxCategory getC_TaxCategory() throws Exception; - /** Column name ChargeAmt */ - public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; - - /** Set Charge amount. - * Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt); - - /** Get Charge amount. - * Charge Amount - */ - public BigDecimal getChargeAmt(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_Charge_Acct.java b/base/src/org/compiere/model/I_C_Charge_Acct.java index 13dd976944..1a17321069 100644 --- a/base/src/org/compiere/model/I_C_Charge_Acct.java +++ b/base/src/org/compiere/model/I_C_Charge_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Charge_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Charge_Acct { diff --git a/base/src/org/compiere/model/I_C_City.java b/base/src/org/compiere/model/I_C_City.java index 6054fc412c..19ee5f8d72 100644 --- a/base/src/org/compiere/model/I_C_City.java +++ b/base/src/org/compiere/model/I_C_City.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_City - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_City { @@ -97,19 +93,6 @@ public interface I_C_City public I_C_Country getC_Country() throws Exception; - /** Column name C_Region_ID */ - public static final String COLUMNNAME_C_Region_ID = "C_Region_ID"; - - /** Set Region. - * Identifies a geographical Region - */ - public void setC_Region_ID (int C_Region_ID); - - /** Get Region. - * Identifies a geographical Region - */ - public int getC_Region_ID(); - /** Column name Coordinates */ public static final String COLUMNNAME_Coordinates = "Coordinates"; @@ -123,6 +106,19 @@ public interface I_C_City */ public String getCoordinates(); + /** Column name C_Region_ID */ + public static final String COLUMNNAME_C_Region_ID = "C_Region_ID"; + + /** Set Region. + * Identifies a geographical Region + */ + public void setC_Region_ID (int C_Region_ID); + + /** Get Region. + * Identifies a geographical Region + */ + public int getC_Region_ID(); + /** Column name Locode */ public static final String COLUMNNAME_Locode = "Locode"; diff --git a/base/src/org/compiere/model/I_C_Commission.java b/base/src/org/compiere/model/I_C_Commission.java index f5555225a4..a2436884bb 100644 --- a/base/src/org/compiere/model/I_C_Commission.java +++ b/base/src/org/compiere/model/I_C_Commission.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Commission - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Commission { diff --git a/base/src/org/compiere/model/I_C_CommissionAmt.java b/base/src/org/compiere/model/I_C_CommissionAmt.java index aa66060c62..14170062d8 100644 --- a/base/src/org/compiere/model/I_C_CommissionAmt.java +++ b/base/src/org/compiere/model/I_C_CommissionAmt.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_CommissionAmt - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_CommissionAmt { diff --git a/base/src/org/compiere/model/I_C_CommissionDetail.java b/base/src/org/compiere/model/I_C_CommissionDetail.java index f80e668961..f818849929 100644 --- a/base/src/org/compiere/model/I_C_CommissionDetail.java +++ b/base/src/org/compiere/model/I_C_CommissionDetail.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_CommissionDetail - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_CommissionDetail { @@ -140,6 +136,19 @@ public interface I_C_CommissionDetail public I_C_InvoiceLine getC_InvoiceLine() throws Exception; + /** Column name ConvertedAmt */ + public static final String COLUMNNAME_ConvertedAmt = "ConvertedAmt"; + + /** Set Converted Amount. + * Converted Amount + */ + public void setConvertedAmt (BigDecimal ConvertedAmt); + + /** Get Converted Amount. + * Converted Amount + */ + public BigDecimal getConvertedAmt(); + /** Column name C_OrderLine_ID */ public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID"; @@ -155,19 +164,6 @@ public interface I_C_CommissionDetail public I_C_OrderLine getC_OrderLine() throws Exception; - /** Column name ConvertedAmt */ - public static final String COLUMNNAME_ConvertedAmt = "ConvertedAmt"; - - /** Set Converted Amount. - * Converted Amount - */ - public void setConvertedAmt (BigDecimal ConvertedAmt); - - /** Get Converted Amount. - * Converted Amount - */ - public BigDecimal getConvertedAmt(); - /** Column name Info */ public static final String COLUMNNAME_Info = "Info"; diff --git a/base/src/org/compiere/model/I_C_CommissionLine.java b/base/src/org/compiere/model/I_C_CommissionLine.java index 6fe54396c3..faf06752fa 100644 --- a/base/src/org/compiere/model/I_C_CommissionLine.java +++ b/base/src/org/compiere/model/I_C_CommissionLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_CommissionLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_CommissionLine { @@ -82,21 +78,6 @@ public interface I_C_CommissionLine */ public BigDecimal getAmtSubtract(); - /** Column name C_BP_Group_ID */ - public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; - - /** Set Business Partner Group. - * Business Partner Group - */ - public void setC_BP_Group_ID (int C_BP_Group_ID); - - /** Get Business Partner Group. - * Business Partner Group - */ - public int getC_BP_Group_ID(); - - public I_C_BP_Group getC_BP_Group() throws Exception; - /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -112,18 +93,20 @@ public interface I_C_CommissionLine public I_C_BPartner getC_BPartner() throws Exception; - /** Column name C_CommissionLine_ID */ - public static final String COLUMNNAME_C_CommissionLine_ID = "C_CommissionLine_ID"; + /** Column name C_BP_Group_ID */ + public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; - /** Set Commission Line. - * Commission Line + /** Set Business Partner Group. + * Business Partner Group */ - public void setC_CommissionLine_ID (int C_CommissionLine_ID); + public void setC_BP_Group_ID (int C_BP_Group_ID); - /** Get Commission Line. - * Commission Line + /** Get Business Partner Group. + * Business Partner Group */ - public int getC_CommissionLine_ID(); + public int getC_BP_Group_ID(); + + public I_C_BP_Group getC_BP_Group() throws Exception; /** Column name C_Commission_ID */ public static final String COLUMNNAME_C_Commission_ID = "C_Commission_ID"; @@ -140,6 +123,32 @@ public interface I_C_CommissionLine public I_C_Commission getC_Commission() throws Exception; + /** Column name C_CommissionLine_ID */ + public static final String COLUMNNAME_C_CommissionLine_ID = "C_CommissionLine_ID"; + + /** Set Commission Line. + * Commission Line + */ + public void setC_CommissionLine_ID (int C_CommissionLine_ID); + + /** Get Commission Line. + * Commission Line + */ + public int getC_CommissionLine_ID(); + + /** Column name CommissionOrders */ + public static final String COLUMNNAME_CommissionOrders = "CommissionOrders"; + + /** Set Commission only specified Orders. + * Commission only Orders or Invoices, where this Sales Rep is entered + */ + public void setCommissionOrders (boolean CommissionOrders); + + /** Get Commission only specified Orders. + * Commission only Orders or Invoices, where this Sales Rep is entered + */ + public boolean isCommissionOrders(); + /** Column name C_SalesRegion_ID */ public static final String COLUMNNAME_C_SalesRegion_ID = "C_SalesRegion_ID"; @@ -155,19 +164,6 @@ public interface I_C_CommissionLine public I_C_SalesRegion getC_SalesRegion() throws Exception; - /** Column name CommissionOrders */ - public static final String COLUMNNAME_CommissionOrders = "CommissionOrders"; - - /** Set Commission only specified Orders. - * Commission only Orders or Invoices, where this Sales Rep is entered - */ - public void setCommissionOrders (boolean CommissionOrders); - - /** Get Commission only specified Orders. - * Commission only Orders or Invoices, where this Sales Rep is entered - */ - public boolean isCommissionOrders(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_CommissionRun.java b/base/src/org/compiere/model/I_C_CommissionRun.java index a48b937337..c789daf189 100644 --- a/base/src/org/compiere/model/I_C_CommissionRun.java +++ b/base/src/org/compiere/model/I_C_CommissionRun.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_CommissionRun - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_CommissionRun { @@ -57,19 +53,6 @@ public interface I_C_CommissionRun /** Load Meta Data */ - /** Column name C_CommissionRun_ID */ - public static final String COLUMNNAME_C_CommissionRun_ID = "C_CommissionRun_ID"; - - /** Set Commission Run. - * Commission Run or Process - */ - public void setC_CommissionRun_ID (int C_CommissionRun_ID); - - /** Get Commission Run. - * Commission Run or Process - */ - public int getC_CommissionRun_ID(); - /** Column name C_Commission_ID */ public static final String COLUMNNAME_C_Commission_ID = "C_Commission_ID"; @@ -85,6 +68,19 @@ public interface I_C_CommissionRun public I_C_Commission getC_Commission() throws Exception; + /** Column name C_CommissionRun_ID */ + public static final String COLUMNNAME_C_CommissionRun_ID = "C_CommissionRun_ID"; + + /** Set Commission Run. + * Commission Run or Process + */ + public void setC_CommissionRun_ID (int C_CommissionRun_ID); + + /** Get Commission Run. + * Commission Run or Process + */ + public int getC_CommissionRun_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_ConversionType.java b/base/src/org/compiere/model/I_C_ConversionType.java index 1e7016a43a..6670e09c79 100644 --- a/base/src/org/compiere/model/I_C_ConversionType.java +++ b/base/src/org/compiere/model/I_C_ConversionType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ConversionType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ConversionType { diff --git a/base/src/org/compiere/model/I_C_Conversion_Rate.java b/base/src/org/compiere/model/I_C_Conversion_Rate.java index bb64e4b93d..7434bc0f83 100644 --- a/base/src/org/compiere/model/I_C_Conversion_Rate.java +++ b/base/src/org/compiere/model/I_C_Conversion_Rate.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Conversion_Rate - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Conversion_Rate { @@ -57,6 +53,19 @@ public interface I_C_Conversion_Rate /** Load Meta Data */ + /** Column name C_Conversion_Rate_ID */ + public static final String COLUMNNAME_C_Conversion_Rate_ID = "C_Conversion_Rate_ID"; + + /** Set Conversion Rate. + * Rate used for converting currencies + */ + public void setC_Conversion_Rate_ID (int C_Conversion_Rate_ID); + + /** Get Conversion Rate. + * Rate used for converting currencies + */ + public int getC_Conversion_Rate_ID(); + /** Column name C_ConversionType_ID */ public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID"; @@ -72,19 +81,6 @@ public interface I_C_Conversion_Rate public I_C_ConversionType getC_ConversionType() throws Exception; - /** Column name C_Conversion_Rate_ID */ - public static final String COLUMNNAME_C_Conversion_Rate_ID = "C_Conversion_Rate_ID"; - - /** Set Conversion Rate. - * Rate used for converting currencies - */ - public void setC_Conversion_Rate_ID (int C_Conversion_Rate_ID); - - /** Get Conversion Rate. - * Rate used for converting currencies - */ - public int getC_Conversion_Rate_ID(); - /** Column name C_Currency_ID */ public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID"; diff --git a/base/src/org/compiere/model/I_C_Country.java b/base/src/org/compiere/model/I_C_Country.java index 262197427d..27cb0ea2fd 100644 --- a/base/src/org/compiere/model/I_C_Country.java +++ b/base/src/org/compiere/model/I_C_Country.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Country - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Country { diff --git a/base/src/org/compiere/model/I_C_Currency.java b/base/src/org/compiere/model/I_C_Currency.java index 35ae8186eb..621bbd75e5 100644 --- a/base/src/org/compiere/model/I_C_Currency.java +++ b/base/src/org/compiere/model/I_C_Currency.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Currency - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Currency { @@ -135,19 +131,6 @@ public interface I_C_Currency */ public BigDecimal getEMURate(); - /** Column name ISO_Code */ - public static final String COLUMNNAME_ISO_Code = "ISO_Code"; - - /** Set ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code); - - /** Get ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code(); - /** Column name IsEMUMember */ public static final String COLUMNNAME_IsEMUMember = "IsEMUMember"; @@ -174,6 +157,19 @@ public interface I_C_Currency */ public boolean isEuro(); + /** Column name ISO_Code */ + public static final String COLUMNNAME_ISO_Code = "ISO_Code"; + + /** Set ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code); + + /** Get ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code(); + /** Column name StdPrecision */ public static final String COLUMNNAME_StdPrecision = "StdPrecision"; diff --git a/base/src/org/compiere/model/I_C_Currency_Acct.java b/base/src/org/compiere/model/I_C_Currency_Acct.java index dafd1c458f..48a4cbede1 100644 --- a/base/src/org/compiere/model/I_C_Currency_Acct.java +++ b/base/src/org/compiere/model/I_C_Currency_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Currency_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Currency_Acct { diff --git a/base/src/org/compiere/model/I_C_Cycle.java b/base/src/org/compiere/model/I_C_Cycle.java index b985cc735c..ee4764a3ef 100644 --- a/base/src/org/compiere/model/I_C_Cycle.java +++ b/base/src/org/compiere/model/I_C_Cycle.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Cycle - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Cycle { diff --git a/base/src/org/compiere/model/I_C_CyclePhase.java b/base/src/org/compiere/model/I_C_CyclePhase.java index 57436fa2ee..9731499fd7 100644 --- a/base/src/org/compiere/model/I_C_CyclePhase.java +++ b/base/src/org/compiere/model/I_C_CyclePhase.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_CyclePhase - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_CyclePhase { diff --git a/base/src/org/compiere/model/I_C_CycleStep.java b/base/src/org/compiere/model/I_C_CycleStep.java index d54b9adf27..0a75ec8f14 100644 --- a/base/src/org/compiere/model/I_C_CycleStep.java +++ b/base/src/org/compiere/model/I_C_CycleStep.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_CycleStep - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_CycleStep { @@ -56,19 +52,6 @@ public interface I_C_CycleStep /** Load Meta Data */ - /** Column name C_CycleStep_ID */ - public static final String COLUMNNAME_C_CycleStep_ID = "C_CycleStep_ID"; - - /** Set Cycle Step. - * The step for this Cycle - */ - public void setC_CycleStep_ID (int C_CycleStep_ID); - - /** Get Cycle Step. - * The step for this Cycle - */ - public int getC_CycleStep_ID(); - /** Column name C_Cycle_ID */ public static final String COLUMNNAME_C_Cycle_ID = "C_Cycle_ID"; @@ -84,6 +67,19 @@ public interface I_C_CycleStep public I_C_Cycle getC_Cycle() throws Exception; + /** Column name C_CycleStep_ID */ + public static final String COLUMNNAME_C_CycleStep_ID = "C_CycleStep_ID"; + + /** Set Cycle Step. + * The step for this Cycle + */ + public void setC_CycleStep_ID (int C_CycleStep_ID); + + /** Get Cycle Step. + * The step for this Cycle + */ + public int getC_CycleStep_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_C_DocType.java b/base/src/org/compiere/model/I_C_DocType.java index 07a96b0a11..930f08cda2 100644 --- a/base/src/org/compiere/model/I_C_DocType.java +++ b/base/src/org/compiere/model/I_C_DocType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_DocType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_DocType { @@ -84,6 +80,19 @@ public interface I_C_DocType */ public int getC_DocTypeDifference_ID(); + /** Column name C_DocType_ID */ + public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; + + /** Set Document Type. + * Document type or rules + */ + public void setC_DocType_ID (int C_DocType_ID); + + /** Get Document Type. + * Document type or rules + */ + public int getC_DocType_ID(); + /** Column name C_DocTypeInvoice_ID */ public static final String COLUMNNAME_C_DocTypeInvoice_ID = "C_DocTypeInvoice_ID"; @@ -123,19 +132,6 @@ public interface I_C_DocType */ public int getC_DocTypeShipment_ID(); - /** Column name C_DocType_ID */ - public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; - - /** Set Document Type. - * Document type or rules - */ - public void setC_DocType_ID (int C_DocType_ID); - - /** Get Document Type. - * Document type or rules - */ - public int getC_DocType_ID(); - /** Column name DefiniteSequence_ID */ public static final String COLUMNNAME_DefiniteSequence_ID = "DefiniteSequence_ID"; @@ -316,19 +312,6 @@ public interface I_C_DocType */ public boolean isDocNoControlled(); - /** Column name IsInTransit */ - public static final String COLUMNNAME_IsInTransit = "IsInTransit"; - - /** Set In Transit. - * Movement is in transit - */ - public void setIsInTransit (boolean IsInTransit); - - /** Get In Transit. - * Movement is in transit - */ - public boolean isInTransit(); - /** Column name IsIndexed */ public static final String COLUMNNAME_IsIndexed = "IsIndexed"; @@ -342,6 +325,19 @@ public interface I_C_DocType */ public boolean isIndexed(); + /** Column name IsInTransit */ + public static final String COLUMNNAME_IsInTransit = "IsInTransit"; + + /** Set In Transit. + * Movement is in transit + */ + public void setIsInTransit (boolean IsInTransit); + + /** Get In Transit. + * Movement is in transit + */ + public boolean isInTransit(); + /** Column name IsOverwriteDateOnComplete */ public static final String COLUMNNAME_IsOverwriteDateOnComplete = "IsOverwriteDateOnComplete"; @@ -373,19 +369,6 @@ public interface I_C_DocType */ public boolean isPickQAConfirm(); - /** Column name IsSOTrx */ - public static final String COLUMNNAME_IsSOTrx = "IsSOTrx"; - - /** Set Sales Transaction. - * This is a Sales Transaction - */ - public void setIsSOTrx (boolean IsSOTrx); - - /** Get Sales Transaction. - * This is a Sales Transaction - */ - public boolean isSOTrx(); - /** Column name IsShipConfirm */ public static final String COLUMNNAME_IsShipConfirm = "IsShipConfirm"; @@ -399,6 +382,19 @@ public interface I_C_DocType */ public boolean isShipConfirm(); + /** Column name IsSOTrx */ + public static final String COLUMNNAME_IsSOTrx = "IsSOTrx"; + + /** Set Sales Transaction. + * This is a Sales Transaction + */ + public void setIsSOTrx (boolean IsSOTrx); + + /** Get Sales Transaction. + * This is a Sales Transaction + */ + public boolean isSOTrx(); + /** Column name IsSplitWhenDifference */ public static final String COLUMNNAME_IsSplitWhenDifference = "IsSplitWhenDifference"; diff --git a/base/src/org/compiere/model/I_C_DocTypeCounter.java b/base/src/org/compiere/model/I_C_DocTypeCounter.java index f6e460be29..a7a938c790 100644 --- a/base/src/org/compiere/model/I_C_DocTypeCounter.java +++ b/base/src/org/compiere/model/I_C_DocTypeCounter.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_DocTypeCounter - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_DocTypeCounter { diff --git a/base/src/org/compiere/model/I_C_Dunning.java b/base/src/org/compiere/model/I_C_Dunning.java index d6bf2bbb23..d30679dc9a 100644 --- a/base/src/org/compiere/model/I_C_Dunning.java +++ b/base/src/org/compiere/model/I_C_Dunning.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Dunning - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Dunning { diff --git a/base/src/org/compiere/model/I_C_DunningLevel.java b/base/src/org/compiere/model/I_C_DunningLevel.java index 2d11c3a7ac..7739870a0f 100644 --- a/base/src/org/compiere/model/I_C_DunningLevel.java +++ b/base/src/org/compiere/model/I_C_DunningLevel.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_DunningLevel - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_DunningLevel { @@ -56,15 +52,6 @@ public interface I_C_DunningLevel /** Load Meta Data */ - /** Column name C_DunningLevel_ID */ - public static final String COLUMNNAME_C_DunningLevel_ID = "C_DunningLevel_ID"; - - /** Set Dunning Level */ - public void setC_DunningLevel_ID (int C_DunningLevel_ID); - - /** Get Dunning Level */ - public int getC_DunningLevel_ID(); - /** Column name C_Dunning_ID */ public static final String COLUMNNAME_C_Dunning_ID = "C_Dunning_ID"; @@ -80,20 +67,14 @@ public interface I_C_DunningLevel public I_C_Dunning getC_Dunning() throws Exception; - /** Column name C_PaymentTerm_ID */ - public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; + /** Column name C_DunningLevel_ID */ + public static final String COLUMNNAME_C_DunningLevel_ID = "C_DunningLevel_ID"; - /** Set Payment Term. - * The terms of Payment (timing, discount) - */ - public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); + /** Set Dunning Level */ + public void setC_DunningLevel_ID (int C_DunningLevel_ID); - /** Get Payment Term. - * The terms of Payment (timing, discount) - */ - public int getC_PaymentTerm_ID(); - - public I_C_PaymentTerm getC_PaymentTerm() throws Exception; + /** Get Dunning Level */ + public int getC_DunningLevel_ID(); /** Column name ChargeFee */ public static final String COLUMNNAME_ChargeFee = "ChargeFee"; @@ -121,6 +102,21 @@ public interface I_C_DunningLevel */ public boolean isChargeInterest(); + /** Column name C_PaymentTerm_ID */ + public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; + + /** Set Payment Term. + * The terms of Payment (timing, discount) + */ + public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); + + /** Get Payment Term. + * The terms of Payment (timing, discount) + */ + public int getC_PaymentTerm_ID(); + + public I_C_PaymentTerm getC_PaymentTerm() throws Exception; + /** Column name DaysAfterDue */ public static final String COLUMNNAME_DaysAfterDue = "DaysAfterDue"; diff --git a/base/src/org/compiere/model/I_C_DunningRun.java b/base/src/org/compiere/model/I_C_DunningRun.java index 71825c7c0b..40e2d20717 100644 --- a/base/src/org/compiere/model/I_C_DunningRun.java +++ b/base/src/org/compiere/model/I_C_DunningRun.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_DunningRun - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_DunningRun { diff --git a/base/src/org/compiere/model/I_C_DunningRunEntry.java b/base/src/org/compiere/model/I_C_DunningRunEntry.java index a822737fe4..693a8cf869 100644 --- a/base/src/org/compiere/model/I_C_DunningRunEntry.java +++ b/base/src/org/compiere/model/I_C_DunningRunEntry.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_DunningRunEntry - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_DunningRunEntry { diff --git a/base/src/org/compiere/model/I_C_DunningRunLine.java b/base/src/org/compiere/model/I_C_DunningRunLine.java index c0a4be1654..aed34870cf 100644 --- a/base/src/org/compiere/model/I_C_DunningRunLine.java +++ b/base/src/org/compiere/model/I_C_DunningRunLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_DunningRunLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_DunningRunLine { @@ -97,21 +93,6 @@ public interface I_C_DunningRunLine */ public int getC_DunningRunLine_ID(); - /** Column name C_InvoicePaySchedule_ID */ - public static final String COLUMNNAME_C_InvoicePaySchedule_ID = "C_InvoicePaySchedule_ID"; - - /** Set Invoice Payment Schedule. - * Invoice Payment Schedule - */ - public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID); - - /** Get Invoice Payment Schedule. - * Invoice Payment Schedule - */ - public int getC_InvoicePaySchedule_ID(); - - public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws Exception; - /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -127,6 +108,34 @@ public interface I_C_DunningRunLine public I_C_Invoice getC_Invoice() throws Exception; + /** Column name C_InvoicePaySchedule_ID */ + public static final String COLUMNNAME_C_InvoicePaySchedule_ID = "C_InvoicePaySchedule_ID"; + + /** Set Invoice Payment Schedule. + * Invoice Payment Schedule + */ + public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID); + + /** Get Invoice Payment Schedule. + * Invoice Payment Schedule + */ + public int getC_InvoicePaySchedule_ID(); + + public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws Exception; + + /** Column name ConvertedAmt */ + public static final String COLUMNNAME_ConvertedAmt = "ConvertedAmt"; + + /** Set Converted Amount. + * Converted Amount + */ + public void setConvertedAmt (BigDecimal ConvertedAmt); + + /** Get Converted Amount. + * Converted Amount + */ + public BigDecimal getConvertedAmt(); + /** Column name C_Payment_ID */ public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID"; @@ -142,19 +151,6 @@ public interface I_C_DunningRunLine public I_C_Payment getC_Payment() throws Exception; - /** Column name ConvertedAmt */ - public static final String COLUMNNAME_ConvertedAmt = "ConvertedAmt"; - - /** Set Converted Amount. - * Converted Amount - */ - public void setConvertedAmt (BigDecimal ConvertedAmt); - - /** Get Converted Amount. - * Converted Amount - */ - public BigDecimal getConvertedAmt(); - /** Column name DaysDue */ public static final String COLUMNNAME_DaysDue = "DaysDue"; diff --git a/base/src/org/compiere/model/I_C_Element.java b/base/src/org/compiere/model/I_C_Element.java index 0ca8876954..3033feaa7c 100644 --- a/base/src/org/compiere/model/I_C_Element.java +++ b/base/src/org/compiere/model/I_C_Element.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Element - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Element { diff --git a/base/src/org/compiere/model/I_C_ElementValue.java b/base/src/org/compiere/model/I_C_ElementValue.java index 5f324b94bb..0c56a1c4c4 100644 --- a/base/src/org/compiere/model/I_C_ElementValue.java +++ b/base/src/org/compiere/model/I_C_ElementValue.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ElementValue - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ElementValue { @@ -113,19 +109,6 @@ public interface I_C_ElementValue public I_C_Currency getC_Currency() throws Exception; - /** Column name C_ElementValue_ID */ - public static final String COLUMNNAME_C_ElementValue_ID = "C_ElementValue_ID"; - - /** Set Account Element. - * Account Element - */ - public void setC_ElementValue_ID (int C_ElementValue_ID); - - /** Get Account Element. - * Account Element - */ - public int getC_ElementValue_ID(); - /** Column name C_Element_ID */ public static final String COLUMNNAME_C_Element_ID = "C_Element_ID"; @@ -141,6 +124,19 @@ public interface I_C_ElementValue public I_C_Element getC_Element() throws Exception; + /** Column name C_ElementValue_ID */ + public static final String COLUMNNAME_C_ElementValue_ID = "C_ElementValue_ID"; + + /** Set Account Element. + * Account Element + */ + public void setC_ElementValue_ID (int C_ElementValue_ID); + + /** Get Account Element. + * Account Element + */ + public int getC_ElementValue_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_Greeting.java b/base/src/org/compiere/model/I_C_Greeting.java index e5d678a907..fd1ecb986f 100644 --- a/base/src/org/compiere/model/I_C_Greeting.java +++ b/base/src/org/compiere/model/I_C_Greeting.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Greeting - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Greeting { diff --git a/base/src/org/compiere/model/I_C_InterOrg_Acct.java b/base/src/org/compiere/model/I_C_InterOrg_Acct.java index a7544d0857..e9a0687a99 100644 --- a/base/src/org/compiere/model/I_C_InterOrg_Acct.java +++ b/base/src/org/compiere/model/I_C_InterOrg_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_InterOrg_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_InterOrg_Acct { diff --git a/base/src/org/compiere/model/I_C_Invoice.java b/base/src/org/compiere/model/I_C_Invoice.java index 97de3f29b4..942c10fa50 100644 --- a/base/src/org/compiere/model/I_C_Invoice.java +++ b/base/src/org/compiere/model/I_C_Invoice.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Invoice - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Invoice { @@ -203,19 +199,6 @@ public interface I_C_Invoice public I_C_Currency getC_Currency() throws Exception; - /** Column name C_DocTypeTarget_ID */ - public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID"; - - /** Set Target Document Type. - * Target document type for conversing documents - */ - public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID); - - /** Get Target Document Type. - * Target document type for conversing documents - */ - public int getC_DocTypeTarget_ID(); - /** Column name C_DocType_ID */ public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; @@ -231,6 +214,19 @@ public interface I_C_Invoice public I_C_DocType getC_DocType() throws Exception; + /** Column name C_DocTypeTarget_ID */ + public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID"; + + /** Set Target Document Type. + * Target document type for conversing documents + */ + public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID); + + /** Get Target Document Type. + * Target document type for conversing documents + */ + public int getC_DocTypeTarget_ID(); + /** Column name C_DunningLevel_ID */ public static final String COLUMNNAME_C_DunningLevel_ID = "C_DunningLevel_ID"; @@ -242,6 +238,19 @@ public interface I_C_Invoice public I_C_DunningLevel getC_DunningLevel() throws Exception; + /** Column name ChargeAmt */ + public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; + + /** Set Charge amount. + * Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt); + + /** Get Charge amount. + * Charge Amount + */ + public BigDecimal getChargeAmt(); + /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -255,6 +264,19 @@ public interface I_C_Invoice */ public int getC_Invoice_ID(); + /** Column name CopyFrom */ + public static final String COLUMNNAME_CopyFrom = "CopyFrom"; + + /** Set Copy From. + * Copy From Record + */ + public void setCopyFrom (String CopyFrom); + + /** Get Copy From. + * Copy From Record + */ + public String getCopyFrom(); + /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -270,21 +292,6 @@ public interface I_C_Invoice public I_C_Order getC_Order() throws Exception; - /** Column name C_PaymentTerm_ID */ - public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; - - /** Set Payment Term. - * The terms of Payment (timing, discount) - */ - public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); - - /** Get Payment Term. - * The terms of Payment (timing, discount) - */ - public int getC_PaymentTerm_ID(); - - public I_C_PaymentTerm getC_PaymentTerm() throws Exception; - /** Column name C_Payment_ID */ public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID"; @@ -300,6 +307,21 @@ public interface I_C_Invoice public I_C_Payment getC_Payment() throws Exception; + /** Column name C_PaymentTerm_ID */ + public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; + + /** Set Payment Term. + * The terms of Payment (timing, discount) + */ + public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); + + /** Get Payment Term. + * The terms of Payment (timing, discount) + */ + public int getC_PaymentTerm_ID(); + + public I_C_PaymentTerm getC_PaymentTerm() throws Exception; + /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -315,32 +337,6 @@ public interface I_C_Invoice public I_C_Project getC_Project() throws Exception; - /** Column name ChargeAmt */ - public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; - - /** Set Charge amount. - * Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt); - - /** Get Charge amount. - * Charge Amount - */ - public BigDecimal getChargeAmt(); - - /** Column name CopyFrom */ - public static final String COLUMNNAME_CopyFrom = "CopyFrom"; - - /** Set Copy From. - * Copy From Record - */ - public void setCopyFrom (String CopyFrom); - - /** Get Copy From. - * Copy From Record - */ - public String getCopyFrom(); - /** Column name CreateFrom */ public static final String COLUMNNAME_CreateFrom = "CreateFrom"; @@ -584,19 +580,6 @@ public interface I_C_Invoice */ public boolean isPrinted(); - /** Column name IsSOTrx */ - public static final String COLUMNNAME_IsSOTrx = "IsSOTrx"; - - /** Set Sales Transaction. - * This is a Sales Transaction - */ - public void setIsSOTrx (boolean IsSOTrx); - - /** Get Sales Transaction. - * This is a Sales Transaction - */ - public boolean isSOTrx(); - /** Column name IsSelfService */ public static final String COLUMNNAME_IsSelfService = "IsSelfService"; @@ -610,6 +593,19 @@ public interface I_C_Invoice */ public boolean isSelfService(); + /** Column name IsSOTrx */ + public static final String COLUMNNAME_IsSOTrx = "IsSOTrx"; + + /** Set Sales Transaction. + * This is a Sales Transaction + */ + public void setIsSOTrx (boolean IsSOTrx); + + /** Get Sales Transaction. + * This is a Sales Transaction + */ + public boolean isSOTrx(); + /** Column name IsTaxIncluded */ public static final String COLUMNNAME_IsTaxIncluded = "IsTaxIncluded"; @@ -666,19 +662,6 @@ public interface I_C_Invoice public I_M_RMA getM_RMA() throws Exception; - /** Column name POReference */ - public static final String COLUMNNAME_POReference = "POReference"; - - /** Set Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference); - - /** Get Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference(); - /** Column name PaymentRule */ public static final String COLUMNNAME_PaymentRule = "PaymentRule"; @@ -692,6 +675,19 @@ public interface I_C_Invoice */ public String getPaymentRule(); + /** Column name POReference */ + public static final String COLUMNNAME_POReference = "POReference"; + + /** Set Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference); + + /** Get Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference(); + /** Column name Posted */ public static final String COLUMNNAME_Posted = "Posted"; diff --git a/base/src/org/compiere/model/I_C_InvoiceBatch.java b/base/src/org/compiere/model/I_C_InvoiceBatch.java index ff1fdca1ff..7b67ff6747 100644 --- a/base/src/org/compiere/model/I_C_InvoiceBatch.java +++ b/base/src/org/compiere/model/I_C_InvoiceBatch.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceBatch - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_InvoiceBatch { diff --git a/base/src/org/compiere/model/I_C_InvoiceBatchLine.java b/base/src/org/compiere/model/I_C_InvoiceBatchLine.java index de7770d548..ec6b007cc9 100644 --- a/base/src/org/compiere/model/I_C_InvoiceBatchLine.java +++ b/base/src/org/compiere/model/I_C_InvoiceBatchLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceBatchLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_InvoiceBatchLine { @@ -160,19 +156,6 @@ public interface I_C_InvoiceBatchLine public I_C_DocType getC_DocType() throws Exception; - /** Column name C_InvoiceBatchLine_ID */ - public static final String COLUMNNAME_C_InvoiceBatchLine_ID = "C_InvoiceBatchLine_ID"; - - /** Set Invoice Batch Line. - * Expense Invoice Batch Line - */ - public void setC_InvoiceBatchLine_ID (int C_InvoiceBatchLine_ID); - - /** Get Invoice Batch Line. - * Expense Invoice Batch Line - */ - public int getC_InvoiceBatchLine_ID(); - /** Column name C_InvoiceBatch_ID */ public static final String COLUMNNAME_C_InvoiceBatch_ID = "C_InvoiceBatch_ID"; @@ -188,20 +171,18 @@ public interface I_C_InvoiceBatchLine public I_C_InvoiceBatch getC_InvoiceBatch() throws Exception; - /** Column name C_InvoiceLine_ID */ - public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; + /** Column name C_InvoiceBatchLine_ID */ + public static final String COLUMNNAME_C_InvoiceBatchLine_ID = "C_InvoiceBatchLine_ID"; - /** Set Invoice Line. - * Invoice Detail Line + /** Set Invoice Batch Line. + * Expense Invoice Batch Line */ - public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); + public void setC_InvoiceBatchLine_ID (int C_InvoiceBatchLine_ID); - /** Get Invoice Line. - * Invoice Detail Line + /** Get Invoice Batch Line. + * Expense Invoice Batch Line */ - public int getC_InvoiceLine_ID(); - - public I_C_InvoiceLine getC_InvoiceLine() throws Exception; + public int getC_InvoiceBatchLine_ID(); /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -218,6 +199,21 @@ public interface I_C_InvoiceBatchLine public I_C_Invoice getC_Invoice() throws Exception; + /** Column name C_InvoiceLine_ID */ + public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; + + /** Set Invoice Line. + * Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); + + /** Get Invoice Line. + * Invoice Detail Line + */ + public int getC_InvoiceLine_ID(); + + public I_C_InvoiceLine getC_InvoiceLine() throws Exception; + /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; diff --git a/base/src/org/compiere/model/I_C_InvoiceLine.java b/base/src/org/compiere/model/I_C_InvoiceLine.java index 479bd825dd..4c4c6707a3 100644 --- a/base/src/org/compiere/model/I_C_InvoiceLine.java +++ b/base/src/org/compiere/model/I_C_InvoiceLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_InvoiceLine { @@ -57,19 +53,6 @@ public interface I_C_InvoiceLine /** Load Meta Data */ - /** Column name AD_OrgTrx_ID */ - public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; - - /** Set Trx Organization. - * Performing or initiating organization - */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); - - /** Get Trx Organization. - * Performing or initiating organization - */ - public int getAD_OrgTrx_ID(); - /** Column name A_Asset_Group_ID */ public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID"; @@ -118,6 +101,19 @@ public interface I_C_InvoiceLine /** Get A_CreateAsset */ public boolean isA_CreateAsset(); + /** Column name AD_OrgTrx_ID */ + public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; + + /** Set Trx Organization. + * Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); + + /** Get Trx Organization. + * Performing or initiating organization + */ + public int getAD_OrgTrx_ID(); + /** Column name A_Processed */ public static final String COLUMNNAME_A_Processed = "A_Processed"; @@ -172,19 +168,6 @@ public interface I_C_InvoiceLine public I_C_Charge getC_Charge() throws Exception; - /** Column name C_InvoiceLine_ID */ - public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; - - /** Set Invoice Line. - * Invoice Detail Line - */ - public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); - - /** Get Invoice Line. - * Invoice Detail Line - */ - public int getC_InvoiceLine_ID(); - /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -200,6 +183,19 @@ public interface I_C_InvoiceLine public I_C_Invoice getC_Invoice() throws Exception; + /** Column name C_InvoiceLine_ID */ + public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; + + /** Set Invoice Line. + * Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); + + /** Get Invoice Line. + * Invoice Detail Line + */ + public int getC_InvoiceLine_ID(); + /** Column name C_OrderLine_ID */ public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID"; @@ -215,6 +211,21 @@ public interface I_C_InvoiceLine public I_C_OrderLine getC_OrderLine() throws Exception; + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public I_C_Project getC_Project() throws Exception; + /** Column name C_ProjectPhase_ID */ public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; @@ -245,21 +256,6 @@ public interface I_C_InvoiceLine public I_C_ProjectTask getC_ProjectTask() throws Exception; - /** Column name C_Project_ID */ - public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; - - /** Set Project. - * Financial Project - */ - public void setC_Project_ID (int C_Project_ID); - - /** Get Project. - * Financial Project - */ - public int getC_Project_ID(); - - public I_C_Project getC_Project() throws Exception; - /** Column name C_Tax_ID */ public static final String COLUMNNAME_C_Tax_ID = "C_Tax_ID"; @@ -517,6 +513,15 @@ public interface I_C_InvoiceLine */ public BigDecimal getQtyInvoiced(); + /** Column name Ref_InvoiceLine_ID */ + public static final String COLUMNNAME_Ref_InvoiceLine_ID = "Ref_InvoiceLine_ID"; + + /** Set Referenced Invoice Line */ + public void setRef_InvoiceLine_ID (int Ref_InvoiceLine_ID); + + /** Get Referenced Invoice Line */ + public int getRef_InvoiceLine_ID(); + /** Column name RRAmt */ public static final String COLUMNNAME_RRAmt = "RRAmt"; @@ -543,15 +548,6 @@ public interface I_C_InvoiceLine */ public Timestamp getRRStartDate(); - /** Column name Ref_InvoiceLine_ID */ - public static final String COLUMNNAME_Ref_InvoiceLine_ID = "Ref_InvoiceLine_ID"; - - /** Set Referenced Invoice Line */ - public void setRef_InvoiceLine_ID (int Ref_InvoiceLine_ID); - - /** Get Referenced Invoice Line */ - public int getRef_InvoiceLine_ID(); - /** Column name S_ResourceAssignment_ID */ public static final String COLUMNNAME_S_ResourceAssignment_ID = "S_ResourceAssignment_ID"; diff --git a/base/src/org/compiere/model/I_C_InvoicePaySchedule.java b/base/src/org/compiere/model/I_C_InvoicePaySchedule.java index b7b8ea8890..9c14b39c33 100644 --- a/base/src/org/compiere/model/I_C_InvoicePaySchedule.java +++ b/base/src/org/compiere/model/I_C_InvoicePaySchedule.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoicePaySchedule - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_InvoicePaySchedule { @@ -57,19 +53,6 @@ public interface I_C_InvoicePaySchedule /** Load Meta Data */ - /** Column name C_InvoicePaySchedule_ID */ - public static final String COLUMNNAME_C_InvoicePaySchedule_ID = "C_InvoicePaySchedule_ID"; - - /** Set Invoice Payment Schedule. - * Invoice Payment Schedule - */ - public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID); - - /** Get Invoice Payment Schedule. - * Invoice Payment Schedule - */ - public int getC_InvoicePaySchedule_ID(); - /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -85,6 +68,19 @@ public interface I_C_InvoicePaySchedule public I_C_Invoice getC_Invoice() throws Exception; + /** Column name C_InvoicePaySchedule_ID */ + public static final String COLUMNNAME_C_InvoicePaySchedule_ID = "C_InvoicePaySchedule_ID"; + + /** Set Invoice Payment Schedule. + * Invoice Payment Schedule + */ + public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID); + + /** Get Invoice Payment Schedule. + * Invoice Payment Schedule + */ + public int getC_InvoicePaySchedule_ID(); + /** Column name C_PaySchedule_ID */ public static final String COLUMNNAME_C_PaySchedule_ID = "C_PaySchedule_ID"; diff --git a/base/src/org/compiere/model/I_C_InvoiceSchedule.java b/base/src/org/compiere/model/I_C_InvoiceSchedule.java index 6baaf2c04d..fd0734bd2f 100644 --- a/base/src/org/compiere/model/I_C_InvoiceSchedule.java +++ b/base/src/org/compiere/model/I_C_InvoiceSchedule.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceSchedule - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_InvoiceSchedule { diff --git a/base/src/org/compiere/model/I_C_InvoiceTax.java b/base/src/org/compiere/model/I_C_InvoiceTax.java index d8f1e8ff20..47f1a16527 100644 --- a/base/src/org/compiere/model/I_C_InvoiceTax.java +++ b/base/src/org/compiere/model/I_C_InvoiceTax.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceTax - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_InvoiceTax { diff --git a/base/src/org/compiere/model/I_C_Job.java b/base/src/org/compiere/model/I_C_Job.java index bab89fab4d..db0c6607d1 100644 --- a/base/src/org/compiere/model/I_C_Job.java +++ b/base/src/org/compiere/model/I_C_Job.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Job - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Job { diff --git a/base/src/org/compiere/model/I_C_JobAssignment.java b/base/src/org/compiere/model/I_C_JobAssignment.java index 3622d3f138..1fc147ce87 100644 --- a/base/src/org/compiere/model/I_C_JobAssignment.java +++ b/base/src/org/compiere/model/I_C_JobAssignment.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_JobAssignment - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_JobAssignment { diff --git a/base/src/org/compiere/model/I_C_JobCategory.java b/base/src/org/compiere/model/I_C_JobCategory.java index efd260d5e9..96157880dd 100644 --- a/base/src/org/compiere/model/I_C_JobCategory.java +++ b/base/src/org/compiere/model/I_C_JobCategory.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_JobCategory - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_JobCategory { diff --git a/base/src/org/compiere/model/I_C_JobRemuneration.java b/base/src/org/compiere/model/I_C_JobRemuneration.java index 57041e1da8..dde3e7ea0d 100644 --- a/base/src/org/compiere/model/I_C_JobRemuneration.java +++ b/base/src/org/compiere/model/I_C_JobRemuneration.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_JobRemuneration - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_JobRemuneration { @@ -57,19 +53,6 @@ public interface I_C_JobRemuneration /** Load Meta Data */ - /** Column name C_JobRemuneration_ID */ - public static final String COLUMNNAME_C_JobRemuneration_ID = "C_JobRemuneration_ID"; - - /** Set Position Remuneration. - * Remuneration for the Position - */ - public void setC_JobRemuneration_ID (int C_JobRemuneration_ID); - - /** Get Position Remuneration. - * Remuneration for the Position - */ - public int getC_JobRemuneration_ID(); - /** Column name C_Job_ID */ public static final String COLUMNNAME_C_Job_ID = "C_Job_ID"; @@ -85,6 +68,19 @@ public interface I_C_JobRemuneration public I_C_Job getC_Job() throws Exception; + /** Column name C_JobRemuneration_ID */ + public static final String COLUMNNAME_C_JobRemuneration_ID = "C_JobRemuneration_ID"; + + /** Set Position Remuneration. + * Remuneration for the Position + */ + public void setC_JobRemuneration_ID (int C_JobRemuneration_ID); + + /** Get Position Remuneration. + * Remuneration for the Position + */ + public int getC_JobRemuneration_ID(); + /** Column name C_Remuneration_ID */ public static final String COLUMNNAME_C_Remuneration_ID = "C_Remuneration_ID"; diff --git a/base/src/org/compiere/model/I_C_LandedCost.java b/base/src/org/compiere/model/I_C_LandedCost.java index 262c19bdc4..b3fb5c1742 100644 --- a/base/src/org/compiere/model/I_C_LandedCost.java +++ b/base/src/org/compiere/model/I_C_LandedCost.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_LandedCost - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_LandedCost { @@ -125,21 +121,6 @@ public interface I_C_LandedCost public I_M_CostElement getM_CostElement() throws Exception; - /** Column name M_InOutLine_ID */ - public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID"; - - /** Set Shipment/Receipt Line. - * Line on Shipment or Receipt document - */ - public void setM_InOutLine_ID (int M_InOutLine_ID); - - /** Get Shipment/Receipt Line. - * Line on Shipment or Receipt document - */ - public int getM_InOutLine_ID(); - - public I_M_InOutLine getM_InOutLine() throws Exception; - /** Column name M_InOut_ID */ public static final String COLUMNNAME_M_InOut_ID = "M_InOut_ID"; @@ -155,6 +136,21 @@ public interface I_C_LandedCost public I_M_InOut getM_InOut() throws Exception; + /** Column name M_InOutLine_ID */ + public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID"; + + /** Set Shipment/Receipt Line. + * Line on Shipment or Receipt document + */ + public void setM_InOutLine_ID (int M_InOutLine_ID); + + /** Get Shipment/Receipt Line. + * Line on Shipment or Receipt document + */ + public int getM_InOutLine_ID(); + + public I_M_InOutLine getM_InOutLine() throws Exception; + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; diff --git a/base/src/org/compiere/model/I_C_LandedCostAllocation.java b/base/src/org/compiere/model/I_C_LandedCostAllocation.java index 926c2ea8d4..dd8cb6310e 100644 --- a/base/src/org/compiere/model/I_C_LandedCostAllocation.java +++ b/base/src/org/compiere/model/I_C_LandedCostAllocation.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_LandedCostAllocation - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_LandedCostAllocation { diff --git a/base/src/org/compiere/model/I_C_Location.java b/base/src/org/compiere/model/I_C_Location.java index 732f89cb8c..41e54c46d2 100644 --- a/base/src/org/compiere/model/I_C_Location.java +++ b/base/src/org/compiere/model/I_C_Location.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Location - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Location { @@ -138,6 +134,19 @@ public interface I_C_Location public I_C_Country getC_Country() throws Exception; + /** Column name City */ + public static final String COLUMNNAME_City = "City"; + + /** Set City. + * Identifies a City + */ + public void setCity (String City); + + /** Get City. + * Identifies a City + */ + public String getCity(); + /** Column name C_Location_ID */ public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; @@ -166,19 +175,6 @@ public interface I_C_Location public I_C_Region getC_Region() throws Exception; - /** Column name City */ - public static final String COLUMNNAME_City = "City"; - - /** Set City. - * Identifies a City - */ - public void setCity (String City); - - /** Get City. - * Identifies a City - */ - public String getCity(); - /** Column name Postal */ public static final String COLUMNNAME_Postal = "Postal"; diff --git a/base/src/org/compiere/model/I_C_NonBusinessDay.java b/base/src/org/compiere/model/I_C_NonBusinessDay.java index de799de764..051a65b302 100644 --- a/base/src/org/compiere/model/I_C_NonBusinessDay.java +++ b/base/src/org/compiere/model/I_C_NonBusinessDay.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_NonBusinessDay - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_NonBusinessDay { diff --git a/base/src/org/compiere/model/I_C_Order.java b/base/src/org/compiere/model/I_C_Order.java index 7676fc6d14..3e9cbf31c3 100644 --- a/base/src/org/compiere/model/I_C_Order.java +++ b/base/src/org/compiere/model/I_C_Order.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Order - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Order { @@ -260,19 +256,6 @@ public interface I_C_Order public I_C_Currency getC_Currency() throws Exception; - /** Column name C_DocTypeTarget_ID */ - public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID"; - - /** Set Target Document Type. - * Target document type for conversing documents - */ - public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID); - - /** Get Target Document Type. - * Target document type for conversing documents - */ - public int getC_DocTypeTarget_ID(); - /** Column name C_DocType_ID */ public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; @@ -288,78 +271,18 @@ public interface I_C_Order public I_C_DocType getC_DocType() throws Exception; - /** Column name C_Order_ID */ - public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; + /** Column name C_DocTypeTarget_ID */ + public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID"; - /** Set Order. - * Order + /** Set Target Document Type. + * Target document type for conversing documents */ - public void setC_Order_ID (int C_Order_ID); + public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID); - /** Get Order. - * Order + /** Get Target Document Type. + * Target document type for conversing documents */ - public int getC_Order_ID(); - - /** Column name C_POS_ID */ - public static final String COLUMNNAME_C_POS_ID = "C_POS_ID"; - - /** Set POS Terminal. - * Point of Sales Terminal - */ - public void setC_POS_ID (int C_POS_ID); - - /** Get POS Terminal. - * Point of Sales Terminal - */ - public int getC_POS_ID(); - - public I_C_POS getC_POS() throws Exception; - - /** Column name C_PaymentTerm_ID */ - public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; - - /** Set Payment Term. - * The terms of Payment (timing, discount) - */ - public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); - - /** Get Payment Term. - * The terms of Payment (timing, discount) - */ - public int getC_PaymentTerm_ID(); - - public I_C_PaymentTerm getC_PaymentTerm() throws Exception; - - /** Column name C_Payment_ID */ - public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID"; - - /** Set Payment. - * Payment identifier - */ - public void setC_Payment_ID (int C_Payment_ID); - - /** Get Payment. - * Payment identifier - */ - public int getC_Payment_ID(); - - public I_C_Payment getC_Payment() throws Exception; - - /** Column name C_Project_ID */ - public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; - - /** Set Project. - * Financial Project - */ - public void setC_Project_ID (int C_Project_ID); - - /** Get Project. - * Financial Project - */ - public int getC_Project_ID(); - - public I_C_Project getC_Project() throws Exception; + public int getC_DocTypeTarget_ID(); /** Column name ChargeAmt */ public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; @@ -387,6 +310,79 @@ public interface I_C_Order */ public String getCopyFrom(); + /** Column name C_Order_ID */ + public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; + + /** Set Order. + * Order + */ + public void setC_Order_ID (int C_Order_ID); + + /** Get Order. + * Order + */ + public int getC_Order_ID(); + + /** Column name C_Payment_ID */ + public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID"; + + /** Set Payment. + * Payment identifier + */ + public void setC_Payment_ID (int C_Payment_ID); + + /** Get Payment. + * Payment identifier + */ + public int getC_Payment_ID(); + + public I_C_Payment getC_Payment() throws Exception; + + /** Column name C_PaymentTerm_ID */ + public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; + + /** Set Payment Term. + * The terms of Payment (timing, discount) + */ + public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); + + /** Get Payment Term. + * The terms of Payment (timing, discount) + */ + public int getC_PaymentTerm_ID(); + + public I_C_PaymentTerm getC_PaymentTerm() throws Exception; + + /** Column name C_POS_ID */ + public static final String COLUMNNAME_C_POS_ID = "C_POS_ID"; + + /** Set POS Terminal. + * Point of Sales Terminal + */ + public void setC_POS_ID (int C_POS_ID); + + /** Get POS Terminal. + * Point of Sales Terminal + */ + public int getC_POS_ID(); + + public I_C_POS getC_POS() throws Exception; + + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public I_C_Project getC_Project() throws Exception; + /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; @@ -656,19 +652,6 @@ public interface I_C_Order */ public boolean isPrinted(); - /** Column name IsSOTrx */ - public static final String COLUMNNAME_IsSOTrx = "IsSOTrx"; - - /** Set Sales Transaction. - * This is a Sales Transaction - */ - public void setIsSOTrx (boolean IsSOTrx); - - /** Get Sales Transaction. - * This is a Sales Transaction - */ - public boolean isSOTrx(); - /** Column name IsSelected */ public static final String COLUMNNAME_IsSelected = "IsSelected"; @@ -691,6 +674,19 @@ public interface I_C_Order */ public boolean isSelfService(); + /** Column name IsSOTrx */ + public static final String COLUMNNAME_IsSOTrx = "IsSOTrx"; + + /** Set Sales Transaction. + * This is a Sales Transaction + */ + public void setIsSOTrx (boolean IsSOTrx); + + /** Get Sales Transaction. + * This is a Sales Transaction + */ + public boolean isSOTrx(); + /** Column name IsTaxIncluded */ public static final String COLUMNNAME_IsTaxIncluded = "IsTaxIncluded"; @@ -784,19 +780,6 @@ public interface I_C_Order /** Get OrderType */ public String getOrderType(); - /** Column name POReference */ - public static final String COLUMNNAME_POReference = "POReference"; - - /** Set Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference); - - /** Get Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference(); - /** Column name Pay_BPartner_ID */ public static final String COLUMNNAME_Pay_BPartner_ID = "Pay_BPartner_ID"; @@ -836,6 +819,19 @@ public interface I_C_Order */ public String getPaymentRule(); + /** Column name POReference */ + public static final String COLUMNNAME_POReference = "POReference"; + + /** Set Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference); + + /** Get Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference(); + /** Column name Posted */ public static final String COLUMNNAME_Posted = "Posted"; diff --git a/base/src/org/compiere/model/I_C_OrderLine.java b/base/src/org/compiere/model/I_C_OrderLine.java index 6166e83051..381f05a55c 100644 --- a/base/src/org/compiere/model/I_C_OrderLine.java +++ b/base/src/org/compiere/model/I_C_OrderLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrderLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_OrderLine { @@ -160,19 +156,6 @@ public interface I_C_OrderLine public I_C_Currency getC_Currency() throws Exception; - /** Column name C_OrderLine_ID */ - public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID"; - - /** Set Sales Order Line. - * Sales Order Line - */ - public void setC_OrderLine_ID (int C_OrderLine_ID); - - /** Get Sales Order Line. - * Sales Order Line - */ - public int getC_OrderLine_ID(); - /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -188,6 +171,34 @@ public interface I_C_OrderLine public I_C_Order getC_Order() throws Exception; + /** Column name C_OrderLine_ID */ + public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID"; + + /** Set Sales Order Line. + * Sales Order Line + */ + public void setC_OrderLine_ID (int C_OrderLine_ID); + + /** Get Sales Order Line. + * Sales Order Line + */ + public int getC_OrderLine_ID(); + + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public I_C_Project getC_Project() throws Exception; + /** Column name C_ProjectPhase_ID */ public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; @@ -218,21 +229,6 @@ public interface I_C_OrderLine public I_C_ProjectTask getC_ProjectTask() throws Exception; - /** Column name C_Project_ID */ - public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; - - /** Set Project. - * Financial Project - */ - public void setC_Project_ID (int C_Project_ID); - - /** Get Project. - * Financial Project - */ - public int getC_Project_ID(); - - public I_C_Project getC_Project() throws Exception; - /** Column name C_Tax_ID */ public static final String COLUMNNAME_C_Tax_ID = "C_Tax_ID"; @@ -618,6 +614,19 @@ public interface I_C_OrderLine */ public BigDecimal getQtyReserved(); + /** Column name Ref_OrderLine_ID */ + public static final String COLUMNNAME_Ref_OrderLine_ID = "Ref_OrderLine_ID"; + + /** Set Referenced Order Line. + * Reference to corresponding Sales/Purchase Order + */ + public void setRef_OrderLine_ID (int Ref_OrderLine_ID); + + /** Get Referenced Order Line. + * Reference to corresponding Sales/Purchase Order + */ + public int getRef_OrderLine_ID(); + /** Column name RRAmt */ public static final String COLUMNNAME_RRAmt = "RRAmt"; @@ -644,19 +653,6 @@ public interface I_C_OrderLine */ public Timestamp getRRStartDate(); - /** Column name Ref_OrderLine_ID */ - public static final String COLUMNNAME_Ref_OrderLine_ID = "Ref_OrderLine_ID"; - - /** Set Referenced Order Line. - * Reference to corresponding Sales/Purchase Order - */ - public void setRef_OrderLine_ID (int Ref_OrderLine_ID); - - /** Get Referenced Order Line. - * Reference to corresponding Sales/Purchase Order - */ - public int getRef_OrderLine_ID(); - /** Column name S_ResourceAssignment_ID */ public static final String COLUMNNAME_S_ResourceAssignment_ID = "S_ResourceAssignment_ID"; diff --git a/base/src/org/compiere/model/I_C_OrderTax.java b/base/src/org/compiere/model/I_C_OrderTax.java index 3765b4d37a..3a1534efe8 100644 --- a/base/src/org/compiere/model/I_C_OrderTax.java +++ b/base/src/org/compiere/model/I_C_OrderTax.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrderTax - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_OrderTax { diff --git a/base/src/org/compiere/model/I_C_OrgAssignment.java b/base/src/org/compiere/model/I_C_OrgAssignment.java index 9167d286aa..ec2ec4a064 100644 --- a/base/src/org/compiere/model/I_C_OrgAssignment.java +++ b/base/src/org/compiere/model/I_C_OrgAssignment.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrgAssignment - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_OrgAssignment { diff --git a/base/src/org/compiere/model/I_C_POS.java b/base/src/org/compiere/model/I_C_POS.java index f3fd5b2fc1..645a55903d 100644 --- a/base/src/org/compiere/model/I_C_POS.java +++ b/base/src/org/compiere/model/I_C_POS.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_POS - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_POS { @@ -56,18 +52,14 @@ public interface I_C_POS /** Load Meta Data */ - /** Column name C_BPartnerCashTrx_ID */ - public static final String COLUMNNAME_C_BPartnerCashTrx_ID = "C_BPartnerCashTrx_ID"; + /** Column name CashDrawer */ + public static final String COLUMNNAME_CashDrawer = "CashDrawer"; - /** Set Template B.Partner. - * Business Partner used for creating new Business Partners on the fly - */ - public void setC_BPartnerCashTrx_ID (int C_BPartnerCashTrx_ID); + /** Set CashDrawer */ + public void setCashDrawer (String CashDrawer); - /** Get Template B.Partner. - * Business Partner used for creating new Business Partners on the fly - */ - public int getC_BPartnerCashTrx_ID(); + /** Get CashDrawer */ + public String getCashDrawer(); /** Column name C_BankAccount_ID */ public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID"; @@ -84,6 +76,19 @@ public interface I_C_POS public I_C_BankAccount getC_BankAccount() throws Exception; + /** Column name C_BPartnerCashTrx_ID */ + public static final String COLUMNNAME_C_BPartnerCashTrx_ID = "C_BPartnerCashTrx_ID"; + + /** Set Template B.Partner. + * Business Partner used for creating new Business Partners on the fly + */ + public void setC_BPartnerCashTrx_ID (int C_BPartnerCashTrx_ID); + + /** Get Template B.Partner. + * Business Partner used for creating new Business Partners on the fly + */ + public int getC_BPartnerCashTrx_ID(); + /** Column name C_CashBook_ID */ public static final String COLUMNNAME_C_CashBook_ID = "C_CashBook_ID"; @@ -114,6 +119,19 @@ public interface I_C_POS public I_C_DocType getC_DocType() throws Exception; + /** Column name C_POS_ID */ + public static final String COLUMNNAME_C_POS_ID = "C_POS_ID"; + + /** Set POS Terminal. + * Point of Sales Terminal + */ + public void setC_POS_ID (int C_POS_ID); + + /** Get POS Terminal. + * Point of Sales Terminal + */ + public int getC_POS_ID(); + /** Column name C_POSKeyLayout_ID */ public static final String COLUMNNAME_C_POSKeyLayout_ID = "C_POSKeyLayout_ID"; @@ -129,28 +147,6 @@ public interface I_C_POS public I_C_POSKeyLayout getC_POSKeyLayout() throws Exception; - /** Column name C_POS_ID */ - public static final String COLUMNNAME_C_POS_ID = "C_POS_ID"; - - /** Set POS Terminal. - * Point of Sales Terminal - */ - public void setC_POS_ID (int C_POS_ID); - - /** Get POS Terminal. - * Point of Sales Terminal - */ - public int getC_POS_ID(); - - /** Column name CashDrawer */ - public static final String COLUMNNAME_CashDrawer = "CashDrawer"; - - /** Set CashDrawer */ - public void setCashDrawer (String CashDrawer); - - /** Get CashDrawer */ - public String getCashDrawer(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_POSKey.java b/base/src/org/compiere/model/I_C_POSKey.java index 8f8350dd73..f9e77ed5c8 100644 --- a/base/src/org/compiere/model/I_C_POSKey.java +++ b/base/src/org/compiere/model/I_C_POSKey.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_POSKey - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_POSKey { @@ -71,6 +67,19 @@ public interface I_C_POSKey public I_AD_PrintColor getAD_PrintColor() throws Exception; + /** Column name C_POSKey_ID */ + public static final String COLUMNNAME_C_POSKey_ID = "C_POSKey_ID"; + + /** Set POS Key. + * POS Function Key + */ + public void setC_POSKey_ID (int C_POSKey_ID); + + /** Get POS Key. + * POS Function Key + */ + public int getC_POSKey_ID(); + /** Column name C_POSKeyLayout_ID */ public static final String COLUMNNAME_C_POSKeyLayout_ID = "C_POSKeyLayout_ID"; @@ -86,19 +95,6 @@ public interface I_C_POSKey public I_C_POSKeyLayout getC_POSKeyLayout() throws Exception; - /** Column name C_POSKey_ID */ - public static final String COLUMNNAME_C_POSKey_ID = "C_POSKey_ID"; - - /** Set POS Key. - * POS Function Key - */ - public void setC_POSKey_ID (int C_POSKey_ID); - - /** Get POS Key. - * POS Function Key - */ - public int getC_POSKey_ID(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_POSKeyLayout.java b/base/src/org/compiere/model/I_C_POSKeyLayout.java index 6535ff4f74..a6f29d48ae 100644 --- a/base/src/org/compiere/model/I_C_POSKeyLayout.java +++ b/base/src/org/compiere/model/I_C_POSKeyLayout.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_POSKeyLayout - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_POSKeyLayout { diff --git a/base/src/org/compiere/model/I_C_PaySchedule.java b/base/src/org/compiere/model/I_C_PaySchedule.java index e3ac89fd8a..292889ad7c 100644 --- a/base/src/org/compiere/model/I_C_PaySchedule.java +++ b/base/src/org/compiere/model/I_C_PaySchedule.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaySchedule - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_PaySchedule { @@ -56,19 +52,6 @@ public interface I_C_PaySchedule /** Load Meta Data */ - /** Column name C_PaySchedule_ID */ - public static final String COLUMNNAME_C_PaySchedule_ID = "C_PaySchedule_ID"; - - /** Set Payment Schedule. - * Payment Schedule Template - */ - public void setC_PaySchedule_ID (int C_PaySchedule_ID); - - /** Get Payment Schedule. - * Payment Schedule Template - */ - public int getC_PaySchedule_ID(); - /** Column name C_PaymentTerm_ID */ public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; @@ -84,6 +67,19 @@ public interface I_C_PaySchedule public I_C_PaymentTerm getC_PaymentTerm() throws Exception; + /** Column name C_PaySchedule_ID */ + public static final String COLUMNNAME_C_PaySchedule_ID = "C_PaySchedule_ID"; + + /** Set Payment Schedule. + * Payment Schedule Template + */ + public void setC_PaySchedule_ID (int C_PaySchedule_ID); + + /** Get Payment Schedule. + * Payment Schedule Template + */ + public int getC_PaySchedule_ID(); + /** Column name Discount */ public static final String COLUMNNAME_Discount = "Discount"; diff --git a/base/src/org/compiere/model/I_C_PaySelection.java b/base/src/org/compiere/model/I_C_PaySelection.java index e580b3a531..2a77363d28 100644 --- a/base/src/org/compiere/model/I_C_PaySelection.java +++ b/base/src/org/compiere/model/I_C_PaySelection.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaySelection - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_PaySelection { diff --git a/base/src/org/compiere/model/I_C_PaySelectionCheck.java b/base/src/org/compiere/model/I_C_PaySelectionCheck.java index 3e43a16f50..3c272d3015 100644 --- a/base/src/org/compiere/model/I_C_PaySelectionCheck.java +++ b/base/src/org/compiere/model/I_C_PaySelectionCheck.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaySelectionCheck - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_PaySelectionCheck { @@ -56,6 +52,21 @@ public interface I_C_PaySelectionCheck /** Load Meta Data */ + /** Column name C_BPartner_ID */ + public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; + + /** Set Business Partner . + * Identifies a Business Partner + */ + public void setC_BPartner_ID (int C_BPartner_ID); + + /** Get Business Partner . + * Identifies a Business Partner + */ + public int getC_BPartner_ID(); + + public I_C_BPartner getC_BPartner() throws Exception; + /** Column name C_BP_BankAccount_ID */ public static final String COLUMNNAME_C_BP_BankAccount_ID = "C_BP_BankAccount_ID"; @@ -71,20 +82,18 @@ public interface I_C_PaySelectionCheck public I_C_BP_BankAccount getC_BP_BankAccount() throws Exception; - /** Column name C_BPartner_ID */ - public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; + /** Column name C_Payment_ID */ + public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID"; - /** Set Business Partner . - * Identifies a Business Partner + /** Set Payment. + * Payment identifier */ - public void setC_BPartner_ID (int C_BPartner_ID); + public void setC_Payment_ID (int C_Payment_ID); - /** Get Business Partner . - * Identifies a Business Partner + /** Get Payment. + * Payment identifier */ - public int getC_BPartner_ID(); - - public I_C_BPartner getC_BPartner() throws Exception; + public int getC_Payment_ID(); /** Column name C_PaySelectionCheck_ID */ public static final String COLUMNNAME_C_PaySelectionCheck_ID = "C_PaySelectionCheck_ID"; @@ -114,21 +123,6 @@ public interface I_C_PaySelectionCheck public I_C_PaySelection getC_PaySelection() throws Exception; - /** Column name C_Payment_ID */ - public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID"; - - /** Set Payment. - * Payment identifier - */ - public void setC_Payment_ID (int C_Payment_ID); - - /** Get Payment. - * Payment identifier - */ - public int getC_Payment_ID(); - - public I_C_Payment getC_Payment() throws Exception; - /** Column name DiscountAmt */ public static final String COLUMNNAME_DiscountAmt = "DiscountAmt"; diff --git a/base/src/org/compiere/model/I_C_PaySelectionLine.java b/base/src/org/compiere/model/I_C_PaySelectionLine.java index 6f489cd477..0418968e61 100644 --- a/base/src/org/compiere/model/I_C_PaySelectionLine.java +++ b/base/src/org/compiere/model/I_C_PaySelectionLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaySelectionLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_PaySelectionLine { @@ -86,19 +82,6 @@ public interface I_C_PaySelectionLine public I_C_PaySelectionCheck getC_PaySelectionCheck() throws Exception; - /** Column name C_PaySelectionLine_ID */ - public static final String COLUMNNAME_C_PaySelectionLine_ID = "C_PaySelectionLine_ID"; - - /** Set Payment Selection Line. - * Payment Selection Line - */ - public void setC_PaySelectionLine_ID (int C_PaySelectionLine_ID); - - /** Get Payment Selection Line. - * Payment Selection Line - */ - public int getC_PaySelectionLine_ID(); - /** Column name C_PaySelection_ID */ public static final String COLUMNNAME_C_PaySelection_ID = "C_PaySelection_ID"; @@ -114,6 +97,19 @@ public interface I_C_PaySelectionLine public I_C_PaySelection getC_PaySelection() throws Exception; + /** Column name C_PaySelectionLine_ID */ + public static final String COLUMNNAME_C_PaySelectionLine_ID = "C_PaySelectionLine_ID"; + + /** Set Payment Selection Line. + * Payment Selection Line + */ + public void setC_PaySelectionLine_ID (int C_PaySelectionLine_ID); + + /** Get Payment Selection Line. + * Payment Selection Line + */ + public int getC_PaySelectionLine_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_Payment.java b/base/src/org/compiere/model/I_C_Payment.java index d938235ecc..85c1602106 100644 --- a/base/src/org/compiere/model/I_C_Payment.java +++ b/base/src/org/compiere/model/I_C_Payment.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Payment - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Payment { @@ -57,18 +53,18 @@ public interface I_C_Payment /** Load Meta Data */ - /** Column name AD_OrgTrx_ID */ - public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; + /** Column name AccountNo */ + public static final String COLUMNNAME_AccountNo = "AccountNo"; - /** Set Trx Organization. - * Performing or initiating organization + /** Set Account No. + * Account Number */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); + public void setAccountNo (String AccountNo); - /** Get Trx Organization. - * Performing or initiating organization + /** Get Account No. + * Account Number */ - public int getAD_OrgTrx_ID(); + public String getAccountNo(); /** Column name A_City */ public static final String COLUMNNAME_A_City = "A_City"; @@ -96,6 +92,19 @@ public interface I_C_Payment */ public String getA_Country(); + /** Column name AD_OrgTrx_ID */ + public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; + + /** Set Trx Organization. + * Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); + + /** Get Trx Organization. + * Performing or initiating organization + */ + public int getAD_OrgTrx_ID(); + /** Column name A_EMail */ public static final String COLUMNNAME_A_EMail = "A_EMail"; @@ -187,19 +196,6 @@ public interface I_C_Payment */ public String getA_Zip(); - /** Column name AccountNo */ - public static final String COLUMNNAME_AccountNo = "AccountNo"; - - /** Set Account No. - * Account Number - */ - public void setAccountNo (String AccountNo); - - /** Get Account No. - * Account Number - */ - public String getAccountNo(); - /** Column name C_Activity_ID */ public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID"; @@ -215,20 +211,20 @@ public interface I_C_Payment public I_C_Activity getC_Activity() throws Exception; - /** Column name C_BP_BankAccount_ID */ - public static final String COLUMNNAME_C_BP_BankAccount_ID = "C_BP_BankAccount_ID"; + /** Column name C_BankAccount_ID */ + public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID"; - /** Set Partner Bank Account. - * Bank Account of the Business Partner + /** Set Bank Account. + * Account at the Bank */ - public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID); + public void setC_BankAccount_ID (int C_BankAccount_ID); - /** Get Partner Bank Account. - * Bank Account of the Business Partner + /** Get Bank Account. + * Account at the Bank */ - public int getC_BP_BankAccount_ID(); + public int getC_BankAccount_ID(); - public I_C_BP_BankAccount getC_BP_BankAccount() throws Exception; + public I_C_BankAccount getC_BankAccount() throws Exception; /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -245,20 +241,20 @@ public interface I_C_Payment public I_C_BPartner getC_BPartner() throws Exception; - /** Column name C_BankAccount_ID */ - public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID"; + /** Column name C_BP_BankAccount_ID */ + public static final String COLUMNNAME_C_BP_BankAccount_ID = "C_BP_BankAccount_ID"; - /** Set Bank Account. - * Account at the Bank + /** Set Partner Bank Account. + * Bank Account of the Business Partner */ - public void setC_BankAccount_ID (int C_BankAccount_ID); + public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID); - /** Get Bank Account. - * Account at the Bank + /** Get Partner Bank Account. + * Bank Account of the Business Partner */ - public int getC_BankAccount_ID(); + public int getC_BP_BankAccount_ID(); - public I_C_BankAccount getC_BankAccount() throws Exception; + public I_C_BP_BankAccount getC_BP_BankAccount() throws Exception; /** Column name C_Campaign_ID */ public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID"; @@ -335,6 +331,32 @@ public interface I_C_Payment public I_C_DocType getC_DocType() throws Exception; + /** Column name ChargeAmt */ + public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; + + /** Set Charge amount. + * Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt); + + /** Get Charge amount. + * Charge Amount + */ + public BigDecimal getChargeAmt(); + + /** Column name CheckNo */ + public static final String COLUMNNAME_CheckNo = "CheckNo"; + + /** Set Check No. + * Check Number + */ + public void setCheckNo (String CheckNo); + + /** Get Check No. + * Check Number + */ + public String getCheckNo(); + /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -408,32 +430,6 @@ public interface I_C_Payment public I_C_Project getC_Project() throws Exception; - /** Column name ChargeAmt */ - public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; - - /** Set Charge amount. - * Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt); - - /** Get Charge amount. - * Charge Amount - */ - public BigDecimal getChargeAmt(); - - /** Column name CheckNo */ - public static final String COLUMNNAME_CheckNo = "CheckNo"; - - /** Set Check No. - * Check Number - */ - public void setCheckNo (String CheckNo); - - /** Get Check No. - * Check Number - */ - public String getCheckNo(); - /** Column name CreditCardExpMM */ public static final String COLUMNNAME_CreditCardExpMM = "CreditCardExpMM"; @@ -759,19 +755,6 @@ public interface I_C_Payment */ public BigDecimal getOverUnderAmt(); - /** Column name PONum */ - public static final String COLUMNNAME_PONum = "PONum"; - - /** Set PO Number. - * Purchase Order Number - */ - public void setPONum (String PONum); - - /** Get PO Number. - * Purchase Order Number - */ - public String getPONum(); - /** Column name PayAmt */ public static final String COLUMNNAME_PayAmt = "PayAmt"; @@ -785,6 +768,19 @@ public interface I_C_Payment */ public BigDecimal getPayAmt(); + /** Column name PONum */ + public static final String COLUMNNAME_PONum = "PONum"; + + /** Set PO Number. + * Purchase Order Number + */ + public void setPONum (String PONum); + + /** Get PO Number. + * Purchase Order Number + */ + public String getPONum(); + /** Column name Posted */ public static final String COLUMNNAME_Posted = "Posted"; @@ -885,6 +881,28 @@ public interface I_C_Payment */ public boolean isR_CVV2Match(); + /** Column name Ref_Payment_ID */ + public static final String COLUMNNAME_Ref_Payment_ID = "Ref_Payment_ID"; + + /** Set Referenced Payment */ + public void setRef_Payment_ID (int Ref_Payment_ID); + + /** Get Referenced Payment */ + public int getRef_Payment_ID(); + + /** Column name Reversal_ID */ + public static final String COLUMNNAME_Reversal_ID = "Reversal_ID"; + + /** Set Reversal ID. + * ID of document reversal + */ + public void setReversal_ID (int Reversal_ID); + + /** Get Reversal ID. + * ID of document reversal + */ + public int getReversal_ID(); + /** Column name R_Info */ public static final String COLUMNNAME_R_Info = "R_Info"; @@ -898,6 +916,19 @@ public interface I_C_Payment */ public String getR_Info(); + /** Column name RoutingNo */ + public static final String COLUMNNAME_RoutingNo = "RoutingNo"; + + /** Set Routing No. + * Bank Routing Number + */ + public void setRoutingNo (String RoutingNo); + + /** Get Routing No. + * Bank Routing Number + */ + public String getRoutingNo(); + /** Column name R_PnRef */ public static final String COLUMNNAME_R_PnRef = "R_PnRef"; @@ -950,41 +981,6 @@ public interface I_C_Payment */ public String getR_Result(); - /** Column name Ref_Payment_ID */ - public static final String COLUMNNAME_Ref_Payment_ID = "Ref_Payment_ID"; - - /** Set Referenced Payment */ - public void setRef_Payment_ID (int Ref_Payment_ID); - - /** Get Referenced Payment */ - public int getRef_Payment_ID(); - - /** Column name Reversal_ID */ - public static final String COLUMNNAME_Reversal_ID = "Reversal_ID"; - - /** Set Reversal ID. - * ID of document reversal - */ - public void setReversal_ID (int Reversal_ID); - - /** Get Reversal ID. - * ID of document reversal - */ - public int getReversal_ID(); - - /** Column name RoutingNo */ - public static final String COLUMNNAME_RoutingNo = "RoutingNo"; - - /** Set Routing No. - * Bank Routing Number - */ - public void setRoutingNo (String RoutingNo); - - /** Get Routing No. - * Bank Routing Number - */ - public String getRoutingNo(); - /** Column name Swipe */ public static final String COLUMNNAME_Swipe = "Swipe"; diff --git a/base/src/org/compiere/model/I_C_PaymentAllocate.java b/base/src/org/compiere/model/I_C_PaymentAllocate.java index bc3cb75409..f619505282 100644 --- a/base/src/org/compiere/model/I_C_PaymentAllocate.java +++ b/base/src/org/compiere/model/I_C_PaymentAllocate.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaymentAllocate - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_PaymentAllocate { diff --git a/base/src/org/compiere/model/I_C_PaymentBatch.java b/base/src/org/compiere/model/I_C_PaymentBatch.java index d705634dc3..7a926afd6a 100644 --- a/base/src/org/compiere/model/I_C_PaymentBatch.java +++ b/base/src/org/compiere/model/I_C_PaymentBatch.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaymentBatch - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_PaymentBatch { diff --git a/base/src/org/compiere/model/I_C_PaymentProcessor.java b/base/src/org/compiere/model/I_C_PaymentProcessor.java index dc7b495249..efa901061e 100644 --- a/base/src/org/compiere/model/I_C_PaymentProcessor.java +++ b/base/src/org/compiere/model/I_C_PaymentProcessor.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaymentProcessor - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_PaymentProcessor { @@ -56,19 +52,6 @@ public interface I_C_PaymentProcessor /** Load Meta Data */ - /** Column name AD_Sequence_ID */ - public static final String COLUMNNAME_AD_Sequence_ID = "AD_Sequence_ID"; - - /** Set Sequence. - * Document Sequence - */ - public void setAD_Sequence_ID (int AD_Sequence_ID); - - /** Get Sequence. - * Document Sequence - */ - public int getAD_Sequence_ID(); - /** Column name AcceptAMEX */ public static final String COLUMNNAME_AcceptAMEX = "AcceptAMEX"; @@ -199,6 +182,19 @@ public interface I_C_PaymentProcessor */ public boolean isAcceptVisa(); + /** Column name AD_Sequence_ID */ + public static final String COLUMNNAME_AD_Sequence_ID = "AD_Sequence_ID"; + + /** Set Sequence. + * Document Sequence + */ + public void setAD_Sequence_ID (int AD_Sequence_ID); + + /** Get Sequence. + * Document Sequence + */ + public int getAD_Sequence_ID(); + /** Column name C_BankAccount_ID */ public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID"; @@ -229,19 +225,6 @@ public interface I_C_PaymentProcessor public I_C_Currency getC_Currency() throws Exception; - /** Column name C_PaymentProcessor_ID */ - public static final String COLUMNNAME_C_PaymentProcessor_ID = "C_PaymentProcessor_ID"; - - /** Set Payment Processor. - * Payment processor for electronic payments - */ - public void setC_PaymentProcessor_ID (int C_PaymentProcessor_ID); - - /** Get Payment Processor. - * Payment processor for electronic payments - */ - public int getC_PaymentProcessor_ID(); - /** Column name Commission */ public static final String COLUMNNAME_Commission = "Commission"; @@ -268,6 +251,19 @@ public interface I_C_PaymentProcessor */ public BigDecimal getCostPerTrx(); + /** Column name C_PaymentProcessor_ID */ + public static final String COLUMNNAME_C_PaymentProcessor_ID = "C_PaymentProcessor_ID"; + + /** Set Payment Processor. + * Payment processor for electronic payments + */ + public void setC_PaymentProcessor_ID (int C_PaymentProcessor_ID); + + /** Get Payment Processor. + * Payment processor for electronic payments + */ + public int getC_PaymentProcessor_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_PaymentTerm.java b/base/src/org/compiere/model/I_C_PaymentTerm.java index a4b9a0a72a..6ed6c30cd5 100644 --- a/base/src/org/compiere/model/I_C_PaymentTerm.java +++ b/base/src/org/compiere/model/I_C_PaymentTerm.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaymentTerm - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_PaymentTerm { @@ -108,19 +104,6 @@ public interface I_C_PaymentTerm */ public BigDecimal getDiscount(); - /** Column name Discount2 */ - public static final String COLUMNNAME_Discount2 = "Discount2"; - - /** Set Discount 2 %. - * Discount in percent - */ - public void setDiscount2 (BigDecimal Discount2); - - /** Get Discount 2 %. - * Discount in percent - */ - public BigDecimal getDiscount2(); - /** Column name DiscountDays */ public static final String COLUMNNAME_DiscountDays = "DiscountDays"; @@ -147,6 +130,19 @@ public interface I_C_PaymentTerm */ public int getDiscountDays2(); + /** Column name Discount2 */ + public static final String COLUMNNAME_Discount2 = "Discount2"; + + /** Set Discount 2 %. + * Discount in percent + */ + public void setDiscount2 (BigDecimal Discount2); + + /** Get Discount 2 %. + * Discount in percent + */ + public BigDecimal getDiscount2(); + /** Column name DocumentNote */ public static final String COLUMNNAME_DocumentNote = "DocumentNote"; diff --git a/base/src/org/compiere/model/I_C_Period.java b/base/src/org/compiere/model/I_C_Period.java index 183691ab77..13550db261 100644 --- a/base/src/org/compiere/model/I_C_Period.java +++ b/base/src/org/compiere/model/I_C_Period.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Period - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Period { diff --git a/base/src/org/compiere/model/I_C_PeriodControl.java b/base/src/org/compiere/model/I_C_PeriodControl.java index 675aac25b8..ca2e556fee 100644 --- a/base/src/org/compiere/model/I_C_PeriodControl.java +++ b/base/src/org/compiere/model/I_C_PeriodControl.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_PeriodControl - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_PeriodControl { diff --git a/base/src/org/compiere/model/I_C_Phase.java b/base/src/org/compiere/model/I_C_Phase.java index 38be90843b..1668a7b7bd 100644 --- a/base/src/org/compiere/model/I_C_Phase.java +++ b/base/src/org/compiere/model/I_C_Phase.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Phase - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Phase { diff --git a/base/src/org/compiere/model/I_C_Project.java b/base/src/org/compiere/model/I_C_Project.java index 08b6379ed9..2ceec70d0a 100644 --- a/base/src/org/compiere/model/I_C_Project.java +++ b/base/src/org/compiere/model/I_C_Project.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Project - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Project { @@ -72,19 +68,6 @@ public interface I_C_Project public I_AD_User getAD_User() throws Exception; - /** Column name C_BPartnerSR_ID */ - public static final String COLUMNNAME_C_BPartnerSR_ID = "C_BPartnerSR_ID"; - - /** Set BPartner (Agent). - * Business Partner (Agent or Sales Rep) - */ - public void setC_BPartnerSR_ID (int C_BPartnerSR_ID); - - /** Get BPartner (Agent). - * Business Partner (Agent or Sales Rep) - */ - public int getC_BPartnerSR_ID(); - /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -115,6 +98,19 @@ public interface I_C_Project public I_C_BPartner_Location getC_BPartner_Location() throws Exception; + /** Column name C_BPartnerSR_ID */ + public static final String COLUMNNAME_C_BPartnerSR_ID = "C_BPartnerSR_ID"; + + /** Set BPartner (Agent). + * Business Partner (Agent or Sales Rep) + */ + public void setC_BPartnerSR_ID (int C_BPartnerSR_ID); + + /** Get BPartner (Agent). + * Business Partner (Agent or Sales Rep) + */ + public int getC_BPartnerSR_ID(); + /** Column name C_Campaign_ID */ public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID"; @@ -145,62 +141,6 @@ public interface I_C_Project public I_C_Currency getC_Currency() throws Exception; - /** Column name C_PaymentTerm_ID */ - public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; - - /** Set Payment Term. - * The terms of Payment (timing, discount) - */ - public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); - - /** Get Payment Term. - * The terms of Payment (timing, discount) - */ - public int getC_PaymentTerm_ID(); - - public I_C_PaymentTerm getC_PaymentTerm() throws Exception; - - /** Column name C_Phase_ID */ - public static final String COLUMNNAME_C_Phase_ID = "C_Phase_ID"; - - /** Set Standard Phase. - * Standard Phase of the Project Type - */ - public void setC_Phase_ID (int C_Phase_ID); - - /** Get Standard Phase. - * Standard Phase of the Project Type - */ - public int getC_Phase_ID(); - - public I_C_Phase getC_Phase() throws Exception; - - /** Column name C_ProjectType_ID */ - public static final String COLUMNNAME_C_ProjectType_ID = "C_ProjectType_ID"; - - /** Set Project Type. - * Type of the project - */ - public void setC_ProjectType_ID (String C_ProjectType_ID); - - /** Get Project Type. - * Type of the project - */ - public String getC_ProjectType_ID(); - - /** Column name C_Project_ID */ - public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; - - /** Set Project. - * Financial Project - */ - public void setC_Project_ID (int C_Project_ID); - - /** Get Project. - * Financial Project - */ - public int getC_Project_ID(); - /** Column name CommittedAmt */ public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; @@ -240,6 +180,62 @@ public interface I_C_Project */ public String getCopyFrom(); + /** Column name C_PaymentTerm_ID */ + public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; + + /** Set Payment Term. + * The terms of Payment (timing, discount) + */ + public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); + + /** Get Payment Term. + * The terms of Payment (timing, discount) + */ + public int getC_PaymentTerm_ID(); + + public I_C_PaymentTerm getC_PaymentTerm() throws Exception; + + /** Column name C_Phase_ID */ + public static final String COLUMNNAME_C_Phase_ID = "C_Phase_ID"; + + /** Set Standard Phase. + * Standard Phase of the Project Type + */ + public void setC_Phase_ID (int C_Phase_ID); + + /** Get Standard Phase. + * Standard Phase of the Project Type + */ + public int getC_Phase_ID(); + + public I_C_Phase getC_Phase() throws Exception; + + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + /** Column name C_ProjectType_ID */ + public static final String COLUMNNAME_C_ProjectType_ID = "C_ProjectType_ID"; + + /** Set Project Type. + * Type of the project + */ + public void setC_ProjectType_ID (String C_ProjectType_ID); + + /** Get Project Type. + * Type of the project + */ + public String getC_ProjectType_ID(); + /** Column name DateContract */ public static final String COLUMNNAME_DateContract = "DateContract"; @@ -413,19 +409,6 @@ public interface I_C_Project */ public String getNote(); - /** Column name POReference */ - public static final String COLUMNNAME_POReference = "POReference"; - - /** Set Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference); - - /** Get Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference(); - /** Column name PlannedAmt */ public static final String COLUMNNAME_PlannedAmt = "PlannedAmt"; @@ -465,6 +448,19 @@ public interface I_C_Project */ public BigDecimal getPlannedQty(); + /** Column name POReference */ + public static final String COLUMNNAME_POReference = "POReference"; + + /** Set Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference); + + /** Get Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference(); + /** Column name Processed */ public static final String COLUMNNAME_Processed = "Processed"; @@ -487,19 +483,6 @@ public interface I_C_Project /** Get Process Now */ public boolean isProcessing(); - /** Column name ProjInvoiceRule */ - public static final String COLUMNNAME_ProjInvoiceRule = "ProjInvoiceRule"; - - /** Set Invoice Rule. - * Invoice Rule for the project - */ - public void setProjInvoiceRule (String ProjInvoiceRule); - - /** Get Invoice Rule. - * Invoice Rule for the project - */ - public String getProjInvoiceRule(); - /** Column name ProjectBalanceAmt */ public static final String COLUMNNAME_ProjectBalanceAmt = "ProjectBalanceAmt"; @@ -539,6 +522,19 @@ public interface I_C_Project */ public String getProjectLineLevel(); + /** Column name ProjInvoiceRule */ + public static final String COLUMNNAME_ProjInvoiceRule = "ProjInvoiceRule"; + + /** Set Invoice Rule. + * Invoice Rule for the project + */ + public void setProjInvoiceRule (String ProjInvoiceRule); + + /** Get Invoice Rule. + * Invoice Rule for the project + */ + public String getProjInvoiceRule(); + /** Column name SalesRep_ID */ public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID"; diff --git a/base/src/org/compiere/model/I_C_ProjectIssue.java b/base/src/org/compiere/model/I_C_ProjectIssue.java index 0495f985ad..fc19a6e3d6 100644 --- a/base/src/org/compiere/model/I_C_ProjectIssue.java +++ b/base/src/org/compiere/model/I_C_ProjectIssue.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectIssue - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ProjectIssue { @@ -57,19 +53,6 @@ public interface I_C_ProjectIssue /** Load Meta Data */ - /** Column name C_ProjectIssue_ID */ - public static final String COLUMNNAME_C_ProjectIssue_ID = "C_ProjectIssue_ID"; - - /** Set Project Issue. - * Project Issues (Material, Labor) - */ - public void setC_ProjectIssue_ID (int C_ProjectIssue_ID); - - /** Get Project Issue. - * Project Issues (Material, Labor) - */ - public int getC_ProjectIssue_ID(); - /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -85,6 +68,19 @@ public interface I_C_ProjectIssue public I_C_Project getC_Project() throws Exception; + /** Column name C_ProjectIssue_ID */ + public static final String COLUMNNAME_C_ProjectIssue_ID = "C_ProjectIssue_ID"; + + /** Set Project Issue. + * Project Issues (Material, Labor) + */ + public void setC_ProjectIssue_ID (int C_ProjectIssue_ID); + + /** Get Project Issue. + * Project Issues (Material, Labor) + */ + public int getC_ProjectIssue_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -152,21 +148,6 @@ public interface I_C_ProjectIssue */ public int getM_Locator_ID(); - /** Column name M_Product_ID */ - public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; - - /** Set Product. - * Product, Service, Item - */ - public void setM_Product_ID (int M_Product_ID); - - /** Get Product. - * Product, Service, Item - */ - public int getM_Product_ID(); - - public I_M_Product getM_Product() throws Exception; - /** Column name MovementDate */ public static final String COLUMNNAME_MovementDate = "MovementDate"; @@ -193,6 +174,21 @@ public interface I_C_ProjectIssue */ public BigDecimal getMovementQty(); + /** Column name M_Product_ID */ + public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + + /** Set Product. + * Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID); + + /** Get Product. + * Product, Service, Item + */ + public int getM_Product_ID(); + + public I_M_Product getM_Product() throws Exception; + /** Column name Posted */ public static final String COLUMNNAME_Posted = "Posted"; diff --git a/base/src/org/compiere/model/I_C_ProjectIssueMA.java b/base/src/org/compiere/model/I_C_ProjectIssueMA.java index 55d3e2d2e2..27e370db44 100644 --- a/base/src/org/compiere/model/I_C_ProjectIssueMA.java +++ b/base/src/org/compiere/model/I_C_ProjectIssueMA.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectIssueMA - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ProjectIssueMA { diff --git a/base/src/org/compiere/model/I_C_ProjectLine.java b/base/src/org/compiere/model/I_C_ProjectLine.java index b0931ca6ea..8d7e930097 100644 --- a/base/src/org/compiere/model/I_C_ProjectLine.java +++ b/base/src/org/compiere/model/I_C_ProjectLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ProjectLine { @@ -56,18 +52,31 @@ public interface I_C_ProjectLine /** Load Meta Data */ - /** Column name C_OrderPO_ID */ - public static final String COLUMNNAME_C_OrderPO_ID = "C_OrderPO_ID"; + /** Column name CommittedAmt */ + public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; - /** Set Purchase Order. - * Purchase Order + /** Set Committed Amount. + * The (legal) commitment amount */ - public void setC_OrderPO_ID (int C_OrderPO_ID); + public void setCommittedAmt (BigDecimal CommittedAmt); - /** Get Purchase Order. - * Purchase Order + /** Get Committed Amount. + * The (legal) commitment amount */ - public int getC_OrderPO_ID(); + public BigDecimal getCommittedAmt(); + + /** Column name CommittedQty */ + public static final String COLUMNNAME_CommittedQty = "CommittedQty"; + + /** Set Committed Quantity. + * The (legal) commitment Quantity + */ + public void setCommittedQty (BigDecimal CommittedQty); + + /** Get Committed Quantity. + * The (legal) commitment Quantity + */ + public BigDecimal getCommittedQty(); /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -84,6 +93,34 @@ public interface I_C_ProjectLine public I_C_Order getC_Order() throws Exception; + /** Column name C_OrderPO_ID */ + public static final String COLUMNNAME_C_OrderPO_ID = "C_OrderPO_ID"; + + /** Set Purchase Order. + * Purchase Order + */ + public void setC_OrderPO_ID (int C_OrderPO_ID); + + /** Get Purchase Order. + * Purchase Order + */ + public int getC_OrderPO_ID(); + + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public I_C_Project getC_Project() throws Exception; + /** Column name C_ProjectIssue_ID */ public static final String COLUMNNAME_C_ProjectIssue_ID = "C_ProjectIssue_ID"; @@ -142,47 +179,6 @@ public interface I_C_ProjectLine public I_C_ProjectTask getC_ProjectTask() throws Exception; - /** Column name C_Project_ID */ - public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; - - /** Set Project. - * Financial Project - */ - public void setC_Project_ID (int C_Project_ID); - - /** Get Project. - * Financial Project - */ - public int getC_Project_ID(); - - public I_C_Project getC_Project() throws Exception; - - /** Column name CommittedAmt */ - public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; - - /** Set Committed Amount. - * The (legal) commitment amount - */ - public void setCommittedAmt (BigDecimal CommittedAmt); - - /** Get Committed Amount. - * The (legal) commitment amount - */ - public BigDecimal getCommittedAmt(); - - /** Column name CommittedQty */ - public static final String COLUMNNAME_CommittedQty = "CommittedQty"; - - /** Set Committed Quantity. - * The (legal) commitment Quantity - */ - public void setCommittedQty (BigDecimal CommittedQty); - - /** Get Committed Quantity. - * The (legal) commitment Quantity - */ - public BigDecimal getCommittedQty(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_ProjectPhase.java b/base/src/org/compiere/model/I_C_ProjectPhase.java index 1729104d2b..f12ac9f6f1 100644 --- a/base/src/org/compiere/model/I_C_ProjectPhase.java +++ b/base/src/org/compiere/model/I_C_ProjectPhase.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectPhase - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ProjectPhase { @@ -57,6 +53,19 @@ public interface I_C_ProjectPhase /** Load Meta Data */ + /** Column name CommittedAmt */ + public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; + + /** Set Committed Amount. + * The (legal) commitment amount + */ + public void setCommittedAmt (BigDecimal CommittedAmt); + + /** Get Committed Amount. + * The (legal) commitment amount + */ + public BigDecimal getCommittedAmt(); + /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -87,19 +96,6 @@ public interface I_C_ProjectPhase public I_C_Phase getC_Phase() throws Exception; - /** Column name C_ProjectPhase_ID */ - public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; - - /** Set Project Phase. - * Phase of a Project - */ - public void setC_ProjectPhase_ID (int C_ProjectPhase_ID); - - /** Get Project Phase. - * Phase of a Project - */ - public int getC_ProjectPhase_ID(); - /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -115,18 +111,18 @@ public interface I_C_ProjectPhase public I_C_Project getC_Project() throws Exception; - /** Column name CommittedAmt */ - public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; + /** Column name C_ProjectPhase_ID */ + public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; - /** Set Committed Amount. - * The (legal) commitment amount + /** Set Project Phase. + * Phase of a Project */ - public void setCommittedAmt (BigDecimal CommittedAmt); + public void setC_ProjectPhase_ID (int C_ProjectPhase_ID); - /** Get Committed Amount. - * The (legal) commitment amount + /** Get Project Phase. + * Phase of a Project */ - public BigDecimal getCommittedAmt(); + public int getC_ProjectPhase_ID(); /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_ProjectTask.java b/base/src/org/compiere/model/I_C_ProjectTask.java index b3e002620d..2a9d26b276 100644 --- a/base/src/org/compiere/model/I_C_ProjectTask.java +++ b/base/src/org/compiere/model/I_C_ProjectTask.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectTask - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ProjectTask { @@ -56,6 +52,19 @@ public interface I_C_ProjectTask /** Load Meta Data */ + /** Column name CommittedAmt */ + public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; + + /** Set Committed Amount. + * The (legal) commitment amount + */ + public void setCommittedAmt (BigDecimal CommittedAmt); + + /** Get Committed Amount. + * The (legal) commitment amount + */ + public BigDecimal getCommittedAmt(); + /** Column name C_ProjectPhase_ID */ public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; @@ -99,19 +108,6 @@ public interface I_C_ProjectTask public I_C_Task getC_Task() throws Exception; - /** Column name CommittedAmt */ - public static final String COLUMNNAME_CommittedAmt = "CommittedAmt"; - - /** Set Committed Amount. - * The (legal) commitment amount - */ - public void setCommittedAmt (BigDecimal CommittedAmt); - - /** Get Committed Amount. - * The (legal) commitment amount - */ - public BigDecimal getCommittedAmt(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_ProjectType.java b/base/src/org/compiere/model/I_C_ProjectType.java index 32d9cd2ce4..5b7e47ca98 100644 --- a/base/src/org/compiere/model/I_C_ProjectType.java +++ b/base/src/org/compiere/model/I_C_ProjectType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ProjectType { diff --git a/base/src/org/compiere/model/I_C_Project_Acct.java b/base/src/org/compiere/model/I_C_Project_Acct.java index 3ca2e13091..f3db293957 100644 --- a/base/src/org/compiere/model/I_C_Project_Acct.java +++ b/base/src/org/compiere/model/I_C_Project_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Project_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Project_Acct { diff --git a/base/src/org/compiere/model/I_C_Recurring.java b/base/src/org/compiere/model/I_C_Recurring.java index c6052ae773..5dd438edbb 100644 --- a/base/src/org/compiere/model/I_C_Recurring.java +++ b/base/src/org/compiere/model/I_C_Recurring.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Recurring - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Recurring { diff --git a/base/src/org/compiere/model/I_C_Recurring_Run.java b/base/src/org/compiere/model/I_C_Recurring_Run.java index 1c9c2a98a4..8b3e2bbccb 100644 --- a/base/src/org/compiere/model/I_C_Recurring_Run.java +++ b/base/src/org/compiere/model/I_C_Recurring_Run.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Recurring_Run - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Recurring_Run { diff --git a/base/src/org/compiere/model/I_C_Region.java b/base/src/org/compiere/model/I_C_Region.java index c6481b4cbb..89d1ab710e 100644 --- a/base/src/org/compiere/model/I_C_Region.java +++ b/base/src/org/compiere/model/I_C_Region.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Region - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Region { diff --git a/base/src/org/compiere/model/I_C_Remuneration.java b/base/src/org/compiere/model/I_C_Remuneration.java index f670039774..092d4d6c85 100644 --- a/base/src/org/compiere/model/I_C_Remuneration.java +++ b/base/src/org/compiere/model/I_C_Remuneration.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Remuneration - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Remuneration { diff --git a/base/src/org/compiere/model/I_C_RevenueRecognition.java b/base/src/org/compiere/model/I_C_RevenueRecognition.java index a34db32427..ae41eb96e0 100644 --- a/base/src/org/compiere/model/I_C_RevenueRecognition.java +++ b/base/src/org/compiere/model/I_C_RevenueRecognition.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RevenueRecognition - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RevenueRecognition { diff --git a/base/src/org/compiere/model/I_C_RevenueRecognition_Plan.java b/base/src/org/compiere/model/I_C_RevenueRecognition_Plan.java index bfa1fc9284..249bd34a9e 100644 --- a/base/src/org/compiere/model/I_C_RevenueRecognition_Plan.java +++ b/base/src/org/compiere/model/I_C_RevenueRecognition_Plan.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RevenueRecognition_Plan - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RevenueRecognition_Plan { diff --git a/base/src/org/compiere/model/I_C_RevenueRecognition_Run.java b/base/src/org/compiere/model/I_C_RevenueRecognition_Run.java index 74c74db941..47d180dcc3 100644 --- a/base/src/org/compiere/model/I_C_RevenueRecognition_Run.java +++ b/base/src/org/compiere/model/I_C_RevenueRecognition_Run.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RevenueRecognition_Run - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RevenueRecognition_Run { diff --git a/base/src/org/compiere/model/I_C_RfQ.java b/base/src/org/compiere/model/I_C_RfQ.java index 10cbf85575..15e625b62e 100644 --- a/base/src/org/compiere/model/I_C_RfQ.java +++ b/base/src/org/compiere/model/I_C_RfQ.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQ - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RfQ { @@ -117,6 +113,15 @@ public interface I_C_RfQ public I_C_Currency getC_Currency() throws Exception; + /** Column name CopyLines */ + public static final String COLUMNNAME_CopyLines = "CopyLines"; + + /** Set Copy Lines */ + public void setCopyLines (String CopyLines); + + /** Get Copy Lines */ + public String getCopyLines(); + /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -132,6 +137,28 @@ public interface I_C_RfQ public I_C_Order getC_Order() throws Exception; + /** Column name CreatePO */ + public static final String COLUMNNAME_CreatePO = "CreatePO"; + + /** Set Create PO. + * Create Purchase Order + */ + public void setCreatePO (String CreatePO); + + /** Get Create PO. + * Create Purchase Order + */ + public String getCreatePO(); + + /** Column name CreateSO */ + public static final String COLUMNNAME_CreateSO = "CreateSO"; + + /** Set Create SO */ + public void setCreateSO (String CreateSO); + + /** Get Create SO */ + public String getCreateSO(); + /** Column name C_RfQ_ID */ public static final String COLUMNNAME_C_RfQ_ID = "C_RfQ_ID"; @@ -160,37 +187,6 @@ public interface I_C_RfQ public I_C_RfQ_Topic getC_RfQ_Topic() throws Exception; - /** Column name CopyLines */ - public static final String COLUMNNAME_CopyLines = "CopyLines"; - - /** Set Copy Lines */ - public void setCopyLines (String CopyLines); - - /** Get Copy Lines */ - public String getCopyLines(); - - /** Column name CreatePO */ - public static final String COLUMNNAME_CreatePO = "CreatePO"; - - /** Set Create PO. - * Create Purchase Order - */ - public void setCreatePO (String CreatePO); - - /** Get Create PO. - * Create Purchase Order - */ - public String getCreatePO(); - - /** Column name CreateSO */ - public static final String COLUMNNAME_CreateSO = "CreateSO"; - - /** Set Create SO */ - public void setCreateSO (String CreateSO); - - /** Get Create SO */ - public String getCreateSO(); - /** Column name DateResponse */ public static final String COLUMNNAME_DateResponse = "DateResponse"; diff --git a/base/src/org/compiere/model/I_C_RfQLine.java b/base/src/org/compiere/model/I_C_RfQLine.java index ff14d1f4c2..599c069263 100644 --- a/base/src/org/compiere/model/I_C_RfQLine.java +++ b/base/src/org/compiere/model/I_C_RfQLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RfQLine { @@ -57,19 +53,6 @@ public interface I_C_RfQLine /** Load Meta Data */ - /** Column name C_RfQLine_ID */ - public static final String COLUMNNAME_C_RfQLine_ID = "C_RfQLine_ID"; - - /** Set RfQ Line. - * Request for Quotation Line - */ - public void setC_RfQLine_ID (int C_RfQLine_ID); - - /** Get RfQ Line. - * Request for Quotation Line - */ - public int getC_RfQLine_ID(); - /** Column name C_RfQ_ID */ public static final String COLUMNNAME_C_RfQ_ID = "C_RfQ_ID"; @@ -85,6 +68,19 @@ public interface I_C_RfQLine public I_C_RfQ getC_RfQ() throws Exception; + /** Column name C_RfQLine_ID */ + public static final String COLUMNNAME_C_RfQLine_ID = "C_RfQLine_ID"; + + /** Set RfQ Line. + * Request for Quotation Line + */ + public void setC_RfQLine_ID (int C_RfQLine_ID); + + /** Get RfQ Line. + * Request for Quotation Line + */ + public int getC_RfQLine_ID(); + /** Column name DateWorkComplete */ public static final String COLUMNNAME_DateWorkComplete = "DateWorkComplete"; diff --git a/base/src/org/compiere/model/I_C_RfQLineQty.java b/base/src/org/compiere/model/I_C_RfQLineQty.java index 30ad67ffe8..f7ab83f2e4 100644 --- a/base/src/org/compiere/model/I_C_RfQLineQty.java +++ b/base/src/org/compiere/model/I_C_RfQLineQty.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQLineQty - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RfQLineQty { @@ -82,19 +78,6 @@ public interface I_C_RfQLineQty */ public BigDecimal getBestResponseAmt(); - /** Column name C_RfQLineQty_ID */ - public static final String COLUMNNAME_C_RfQLineQty_ID = "C_RfQLineQty_ID"; - - /** Set RfQ Line Quantity. - * Request for Quotation Line Quantity - */ - public void setC_RfQLineQty_ID (int C_RfQLineQty_ID); - - /** Get RfQ Line Quantity. - * Request for Quotation Line Quantity - */ - public int getC_RfQLineQty_ID(); - /** Column name C_RfQLine_ID */ public static final String COLUMNNAME_C_RfQLine_ID = "C_RfQLine_ID"; @@ -110,6 +93,19 @@ public interface I_C_RfQLineQty public I_C_RfQLine getC_RfQLine() throws Exception; + /** Column name C_RfQLineQty_ID */ + public static final String COLUMNNAME_C_RfQLineQty_ID = "C_RfQLineQty_ID"; + + /** Set RfQ Line Quantity. + * Request for Quotation Line Quantity + */ + public void setC_RfQLineQty_ID (int C_RfQLineQty_ID); + + /** Get RfQ Line Quantity. + * Request for Quotation Line Quantity + */ + public int getC_RfQLineQty_ID(); + /** Column name C_UOM_ID */ public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; diff --git a/base/src/org/compiere/model/I_C_RfQResponse.java b/base/src/org/compiere/model/I_C_RfQResponse.java index 2da19fa616..c14fa74bdc 100644 --- a/base/src/org/compiere/model/I_C_RfQResponse.java +++ b/base/src/org/compiere/model/I_C_RfQResponse.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQResponse - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RfQResponse { @@ -117,6 +113,15 @@ public interface I_C_RfQResponse public I_C_Currency getC_Currency() throws Exception; + /** Column name CheckComplete */ + public static final String COLUMNNAME_CheckComplete = "CheckComplete"; + + /** Set Check Complete */ + public void setCheckComplete (String CheckComplete); + + /** Get Check Complete */ + public String getCheckComplete(); + /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -132,19 +137,6 @@ public interface I_C_RfQResponse public I_C_Order getC_Order() throws Exception; - /** Column name C_RfQResponse_ID */ - public static final String COLUMNNAME_C_RfQResponse_ID = "C_RfQResponse_ID"; - - /** Set RfQ Response. - * Request for Quotation Response from a potential Vendor - */ - public void setC_RfQResponse_ID (int C_RfQResponse_ID); - - /** Get RfQ Response. - * Request for Quotation Response from a potential Vendor - */ - public int getC_RfQResponse_ID(); - /** Column name C_RfQ_ID */ public static final String COLUMNNAME_C_RfQ_ID = "C_RfQ_ID"; @@ -160,14 +152,18 @@ public interface I_C_RfQResponse public I_C_RfQ getC_RfQ() throws Exception; - /** Column name CheckComplete */ - public static final String COLUMNNAME_CheckComplete = "CheckComplete"; + /** Column name C_RfQResponse_ID */ + public static final String COLUMNNAME_C_RfQResponse_ID = "C_RfQResponse_ID"; - /** Set Check Complete */ - public void setCheckComplete (String CheckComplete); + /** Set RfQ Response. + * Request for Quotation Response from a potential Vendor + */ + public void setC_RfQResponse_ID (int C_RfQResponse_ID); - /** Get Check Complete */ - public String getCheckComplete(); + /** Get RfQ Response. + * Request for Quotation Response from a potential Vendor + */ + public int getC_RfQResponse_ID(); /** Column name DateInvited */ public static final String COLUMNNAME_DateInvited = "DateInvited"; diff --git a/base/src/org/compiere/model/I_C_RfQResponseLine.java b/base/src/org/compiere/model/I_C_RfQResponseLine.java index 91293aa02d..0fac4ca367 100644 --- a/base/src/org/compiere/model/I_C_RfQResponseLine.java +++ b/base/src/org/compiere/model/I_C_RfQResponseLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQResponseLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RfQResponseLine { @@ -72,19 +68,6 @@ public interface I_C_RfQResponseLine public I_C_RfQLine getC_RfQLine() throws Exception; - /** Column name C_RfQResponseLine_ID */ - public static final String COLUMNNAME_C_RfQResponseLine_ID = "C_RfQResponseLine_ID"; - - /** Set RfQ Response Line. - * Request for Quotation Response Line - */ - public void setC_RfQResponseLine_ID (int C_RfQResponseLine_ID); - - /** Get RfQ Response Line. - * Request for Quotation Response Line - */ - public int getC_RfQResponseLine_ID(); - /** Column name C_RfQResponse_ID */ public static final String COLUMNNAME_C_RfQResponse_ID = "C_RfQResponse_ID"; @@ -100,6 +83,19 @@ public interface I_C_RfQResponseLine public I_C_RfQResponse getC_RfQResponse() throws Exception; + /** Column name C_RfQResponseLine_ID */ + public static final String COLUMNNAME_C_RfQResponseLine_ID = "C_RfQResponseLine_ID"; + + /** Set RfQ Response Line. + * Request for Quotation Response Line + */ + public void setC_RfQResponseLine_ID (int C_RfQResponseLine_ID); + + /** Get RfQ Response Line. + * Request for Quotation Response Line + */ + public int getC_RfQResponseLine_ID(); + /** Column name DateWorkComplete */ public static final String COLUMNNAME_DateWorkComplete = "DateWorkComplete"; diff --git a/base/src/org/compiere/model/I_C_RfQResponseLineQty.java b/base/src/org/compiere/model/I_C_RfQResponseLineQty.java index 4d71234460..9e7676df51 100644 --- a/base/src/org/compiere/model/I_C_RfQResponseLineQty.java +++ b/base/src/org/compiere/model/I_C_RfQResponseLineQty.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQResponseLineQty - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RfQResponseLineQty { @@ -71,19 +67,6 @@ public interface I_C_RfQResponseLineQty public I_C_RfQLineQty getC_RfQLineQty() throws Exception; - /** Column name C_RfQResponseLineQty_ID */ - public static final String COLUMNNAME_C_RfQResponseLineQty_ID = "C_RfQResponseLineQty_ID"; - - /** Set RfQ Response Line Qty. - * Request for Quotation Response Line Quantity - */ - public void setC_RfQResponseLineQty_ID (int C_RfQResponseLineQty_ID); - - /** Get RfQ Response Line Qty. - * Request for Quotation Response Line Quantity - */ - public int getC_RfQResponseLineQty_ID(); - /** Column name C_RfQResponseLine_ID */ public static final String COLUMNNAME_C_RfQResponseLine_ID = "C_RfQResponseLine_ID"; @@ -99,6 +82,19 @@ public interface I_C_RfQResponseLineQty public I_C_RfQResponseLine getC_RfQResponseLine() throws Exception; + /** Column name C_RfQResponseLineQty_ID */ + public static final String COLUMNNAME_C_RfQResponseLineQty_ID = "C_RfQResponseLineQty_ID"; + + /** Set RfQ Response Line Qty. + * Request for Quotation Response Line Quantity + */ + public void setC_RfQResponseLineQty_ID (int C_RfQResponseLineQty_ID); + + /** Get RfQ Response Line Qty. + * Request for Quotation Response Line Quantity + */ + public int getC_RfQResponseLineQty_ID(); + /** Column name Discount */ public static final String COLUMNNAME_Discount = "Discount"; diff --git a/base/src/org/compiere/model/I_C_RfQ_Topic.java b/base/src/org/compiere/model/I_C_RfQ_Topic.java index c1347a66bc..112cbd42d1 100644 --- a/base/src/org/compiere/model/I_C_RfQ_Topic.java +++ b/base/src/org/compiere/model/I_C_RfQ_Topic.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQ_Topic - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RfQ_Topic { diff --git a/base/src/org/compiere/model/I_C_RfQ_TopicSubscriber.java b/base/src/org/compiere/model/I_C_RfQ_TopicSubscriber.java index cebd4dd560..28dddeefa3 100644 --- a/base/src/org/compiere/model/I_C_RfQ_TopicSubscriber.java +++ b/base/src/org/compiere/model/I_C_RfQ_TopicSubscriber.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQ_TopicSubscriber - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RfQ_TopicSubscriber { @@ -102,19 +98,6 @@ public interface I_C_RfQ_TopicSubscriber public I_C_BPartner_Location getC_BPartner_Location() throws Exception; - /** Column name C_RfQ_TopicSubscriber_ID */ - public static final String COLUMNNAME_C_RfQ_TopicSubscriber_ID = "C_RfQ_TopicSubscriber_ID"; - - /** Set RfQ Subscriber. - * Request for Quotation Topic Subscriber - */ - public void setC_RfQ_TopicSubscriber_ID (int C_RfQ_TopicSubscriber_ID); - - /** Get RfQ Subscriber. - * Request for Quotation Topic Subscriber - */ - public int getC_RfQ_TopicSubscriber_ID(); - /** Column name C_RfQ_Topic_ID */ public static final String COLUMNNAME_C_RfQ_Topic_ID = "C_RfQ_Topic_ID"; @@ -130,6 +113,19 @@ public interface I_C_RfQ_TopicSubscriber public I_C_RfQ_Topic getC_RfQ_Topic() throws Exception; + /** Column name C_RfQ_TopicSubscriber_ID */ + public static final String COLUMNNAME_C_RfQ_TopicSubscriber_ID = "C_RfQ_TopicSubscriber_ID"; + + /** Set RfQ Subscriber. + * Request for Quotation Topic Subscriber + */ + public void setC_RfQ_TopicSubscriber_ID (int C_RfQ_TopicSubscriber_ID); + + /** Get RfQ Subscriber. + * Request for Quotation Topic Subscriber + */ + public int getC_RfQ_TopicSubscriber_ID(); + /** Column name OptOutDate */ public static final String COLUMNNAME_OptOutDate = "OptOutDate"; diff --git a/base/src/org/compiere/model/I_C_RfQ_TopicSubscriberOnly.java b/base/src/org/compiere/model/I_C_RfQ_TopicSubscriberOnly.java index a3d8a4af8a..b691414035 100644 --- a/base/src/org/compiere/model/I_C_RfQ_TopicSubscriberOnly.java +++ b/base/src/org/compiere/model/I_C_RfQ_TopicSubscriberOnly.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQ_TopicSubscriberOnly - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_RfQ_TopicSubscriberOnly { @@ -56,19 +52,6 @@ public interface I_C_RfQ_TopicSubscriberOnly /** Load Meta Data */ - /** Column name C_RfQ_TopicSubscriberOnly_ID */ - public static final String COLUMNNAME_C_RfQ_TopicSubscriberOnly_ID = "C_RfQ_TopicSubscriberOnly_ID"; - - /** Set RfQ Topic Subscriber Restriction. - * Include Subscriber only for certain products or product categories - */ - public void setC_RfQ_TopicSubscriberOnly_ID (int C_RfQ_TopicSubscriberOnly_ID); - - /** Get RfQ Topic Subscriber Restriction. - * Include Subscriber only for certain products or product categories - */ - public int getC_RfQ_TopicSubscriberOnly_ID(); - /** Column name C_RfQ_TopicSubscriber_ID */ public static final String COLUMNNAME_C_RfQ_TopicSubscriber_ID = "C_RfQ_TopicSubscriber_ID"; @@ -84,6 +67,19 @@ public interface I_C_RfQ_TopicSubscriberOnly public I_C_RfQ_TopicSubscriber getC_RfQ_TopicSubscriber() throws Exception; + /** Column name C_RfQ_TopicSubscriberOnly_ID */ + public static final String COLUMNNAME_C_RfQ_TopicSubscriberOnly_ID = "C_RfQ_TopicSubscriberOnly_ID"; + + /** Set RfQ Topic Subscriber Restriction. + * Include Subscriber only for certain products or product categories + */ + public void setC_RfQ_TopicSubscriberOnly_ID (int C_RfQ_TopicSubscriberOnly_ID); + + /** Get RfQ Topic Subscriber Restriction. + * Include Subscriber only for certain products or product categories + */ + public int getC_RfQ_TopicSubscriberOnly_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_SalesRegion.java b/base/src/org/compiere/model/I_C_SalesRegion.java index af8963c3a1..85f8a49bcb 100644 --- a/base/src/org/compiere/model/I_C_SalesRegion.java +++ b/base/src/org/compiere/model/I_C_SalesRegion.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_SalesRegion - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_SalesRegion { diff --git a/base/src/org/compiere/model/I_C_ServiceLevel.java b/base/src/org/compiere/model/I_C_ServiceLevel.java index 253ff91ab6..596d1ea234 100644 --- a/base/src/org/compiere/model/I_C_ServiceLevel.java +++ b/base/src/org/compiere/model/I_C_ServiceLevel.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ServiceLevel - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ServiceLevel { diff --git a/base/src/org/compiere/model/I_C_ServiceLevelLine.java b/base/src/org/compiere/model/I_C_ServiceLevelLine.java index 677348ef70..f25164ab7e 100644 --- a/base/src/org/compiere/model/I_C_ServiceLevelLine.java +++ b/base/src/org/compiere/model/I_C_ServiceLevelLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ServiceLevelLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ServiceLevelLine { @@ -57,19 +53,6 @@ public interface I_C_ServiceLevelLine /** Load Meta Data */ - /** Column name C_ServiceLevelLine_ID */ - public static final String COLUMNNAME_C_ServiceLevelLine_ID = "C_ServiceLevelLine_ID"; - - /** Set Service Level Line. - * Product Revenue Recognition Service Level Line - */ - public void setC_ServiceLevelLine_ID (int C_ServiceLevelLine_ID); - - /** Get Service Level Line. - * Product Revenue Recognition Service Level Line - */ - public int getC_ServiceLevelLine_ID(); - /** Column name C_ServiceLevel_ID */ public static final String COLUMNNAME_C_ServiceLevel_ID = "C_ServiceLevel_ID"; @@ -85,6 +68,19 @@ public interface I_C_ServiceLevelLine public I_C_ServiceLevel getC_ServiceLevel() throws Exception; + /** Column name C_ServiceLevelLine_ID */ + public static final String COLUMNNAME_C_ServiceLevelLine_ID = "C_ServiceLevelLine_ID"; + + /** Set Service Level Line. + * Product Revenue Recognition Service Level Line + */ + public void setC_ServiceLevelLine_ID (int C_ServiceLevelLine_ID); + + /** Get Service Level Line. + * Product Revenue Recognition Service Level Line + */ + public int getC_ServiceLevelLine_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_SubAcct.java b/base/src/org/compiere/model/I_C_SubAcct.java index 2f7f7509fc..0e76071176 100644 --- a/base/src/org/compiere/model/I_C_SubAcct.java +++ b/base/src/org/compiere/model/I_C_SubAcct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_SubAcct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_SubAcct { diff --git a/base/src/org/compiere/model/I_C_Subscription.java b/base/src/org/compiere/model/I_C_Subscription.java index 75c9b13515..fc642e99e5 100644 --- a/base/src/org/compiere/model/I_C_Subscription.java +++ b/base/src/org/compiere/model/I_C_Subscription.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Subscription - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Subscription { @@ -72,6 +68,19 @@ public interface I_C_Subscription public I_C_BPartner getC_BPartner() throws Exception; + /** Column name C_Subscription_ID */ + public static final String COLUMNNAME_C_Subscription_ID = "C_Subscription_ID"; + + /** Set Subscription. + * Subscription of a Business Partner of a Product to renew + */ + public void setC_Subscription_ID (int C_Subscription_ID); + + /** Get Subscription. + * Subscription of a Business Partner of a Product to renew + */ + public int getC_Subscription_ID(); + /** Column name C_SubscriptionType_ID */ public static final String COLUMNNAME_C_SubscriptionType_ID = "C_SubscriptionType_ID"; @@ -87,19 +96,6 @@ public interface I_C_Subscription public I_C_SubscriptionType getC_SubscriptionType() throws Exception; - /** Column name C_Subscription_ID */ - public static final String COLUMNNAME_C_Subscription_ID = "C_Subscription_ID"; - - /** Set Subscription. - * Subscription of a Business Partner of a Product to renew - */ - public void setC_Subscription_ID (int C_Subscription_ID); - - /** Get Subscription. - * Subscription of a Business Partner of a Product to renew - */ - public int getC_Subscription_ID(); - /** Column name IsDue */ public static final String COLUMNNAME_IsDue = "IsDue"; diff --git a/base/src/org/compiere/model/I_C_SubscriptionType.java b/base/src/org/compiere/model/I_C_SubscriptionType.java index ec50bd2f18..1658e505e4 100644 --- a/base/src/org/compiere/model/I_C_SubscriptionType.java +++ b/base/src/org/compiere/model/I_C_SubscriptionType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_SubscriptionType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_SubscriptionType { diff --git a/base/src/org/compiere/model/I_C_Subscription_Delivery.java b/base/src/org/compiere/model/I_C_Subscription_Delivery.java index 17793c7680..a384ce0a19 100644 --- a/base/src/org/compiere/model/I_C_Subscription_Delivery.java +++ b/base/src/org/compiere/model/I_C_Subscription_Delivery.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Subscription_Delivery - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Subscription_Delivery { diff --git a/base/src/org/compiere/model/I_C_Task.java b/base/src/org/compiere/model/I_C_Task.java index 07b522a1f8..16a4a51541 100644 --- a/base/src/org/compiere/model/I_C_Task.java +++ b/base/src/org/compiere/model/I_C_Task.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Task - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Task { diff --git a/base/src/org/compiere/model/I_C_Tax.java b/base/src/org/compiere/model/I_C_Tax.java index 7df9e5bf32..534a33bd06 100644 --- a/base/src/org/compiere/model/I_C_Tax.java +++ b/base/src/org/compiere/model/I_C_Tax.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Tax - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Tax { diff --git a/base/src/org/compiere/model/I_C_TaxCategory.java b/base/src/org/compiere/model/I_C_TaxCategory.java index fce89c9ccc..c62ff9ed21 100644 --- a/base/src/org/compiere/model/I_C_TaxCategory.java +++ b/base/src/org/compiere/model/I_C_TaxCategory.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxCategory - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_TaxCategory { @@ -56,19 +52,6 @@ public interface I_C_TaxCategory /** Load Meta Data */ - /** Column name C_TaxCategory_ID */ - public static final String COLUMNNAME_C_TaxCategory_ID = "C_TaxCategory_ID"; - - /** Set Tax Category. - * Tax Category - */ - public void setC_TaxCategory_ID (int C_TaxCategory_ID); - - /** Get Tax Category. - * Tax Category - */ - public int getC_TaxCategory_ID(); - /** Column name CommodityCode */ public static final String COLUMNNAME_CommodityCode = "CommodityCode"; @@ -82,6 +65,19 @@ public interface I_C_TaxCategory */ public String getCommodityCode(); + /** Column name C_TaxCategory_ID */ + public static final String COLUMNNAME_C_TaxCategory_ID = "C_TaxCategory_ID"; + + /** Set Tax Category. + * Tax Category + */ + public void setC_TaxCategory_ID (int C_TaxCategory_ID); + + /** Get Tax Category. + * Tax Category + */ + public int getC_TaxCategory_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_TaxDeclaration.java b/base/src/org/compiere/model/I_C_TaxDeclaration.java index 5734f77791..f82bb50871 100644 --- a/base/src/org/compiere/model/I_C_TaxDeclaration.java +++ b/base/src/org/compiere/model/I_C_TaxDeclaration.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxDeclaration - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_TaxDeclaration { diff --git a/base/src/org/compiere/model/I_C_TaxDeclarationAcct.java b/base/src/org/compiere/model/I_C_TaxDeclarationAcct.java index 6d3ac410cc..01e1cf253d 100644 --- a/base/src/org/compiere/model/I_C_TaxDeclarationAcct.java +++ b/base/src/org/compiere/model/I_C_TaxDeclarationAcct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxDeclarationAcct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_TaxDeclarationAcct { diff --git a/base/src/org/compiere/model/I_C_TaxDeclarationLine.java b/base/src/org/compiere/model/I_C_TaxDeclarationLine.java index 8d4e4eaf87..41e5c49bbd 100644 --- a/base/src/org/compiere/model/I_C_TaxDeclarationLine.java +++ b/base/src/org/compiere/model/I_C_TaxDeclarationLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxDeclarationLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_TaxDeclarationLine { @@ -102,21 +98,6 @@ public interface I_C_TaxDeclarationLine public I_C_Currency getC_Currency() throws Exception; - /** Column name C_InvoiceLine_ID */ - public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; - - /** Set Invoice Line. - * Invoice Detail Line - */ - public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); - - /** Get Invoice Line. - * Invoice Detail Line - */ - public int getC_InvoiceLine_ID(); - - public I_C_InvoiceLine getC_InvoiceLine() throws Exception; - /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -132,18 +113,20 @@ public interface I_C_TaxDeclarationLine public I_C_Invoice getC_Invoice() throws Exception; - /** Column name C_TaxDeclarationLine_ID */ - public static final String COLUMNNAME_C_TaxDeclarationLine_ID = "C_TaxDeclarationLine_ID"; + /** Column name C_InvoiceLine_ID */ + public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; - /** Set Tax Declaration Line. - * Tax Declaration Document Information + /** Set Invoice Line. + * Invoice Detail Line */ - public void setC_TaxDeclarationLine_ID (int C_TaxDeclarationLine_ID); + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); - /** Get Tax Declaration Line. - * Tax Declaration Document Information + /** Get Invoice Line. + * Invoice Detail Line */ - public int getC_TaxDeclarationLine_ID(); + public int getC_InvoiceLine_ID(); + + public I_C_InvoiceLine getC_InvoiceLine() throws Exception; /** Column name C_TaxDeclaration_ID */ public static final String COLUMNNAME_C_TaxDeclaration_ID = "C_TaxDeclaration_ID"; @@ -160,6 +143,19 @@ public interface I_C_TaxDeclarationLine public I_C_TaxDeclaration getC_TaxDeclaration() throws Exception; + /** Column name C_TaxDeclarationLine_ID */ + public static final String COLUMNNAME_C_TaxDeclarationLine_ID = "C_TaxDeclarationLine_ID"; + + /** Set Tax Declaration Line. + * Tax Declaration Document Information + */ + public void setC_TaxDeclarationLine_ID (int C_TaxDeclarationLine_ID); + + /** Get Tax Declaration Line. + * Tax Declaration Document Information + */ + public int getC_TaxDeclarationLine_ID(); + /** Column name C_Tax_ID */ public static final String COLUMNNAME_C_Tax_ID = "C_Tax_ID"; diff --git a/base/src/org/compiere/model/I_C_TaxPostal.java b/base/src/org/compiere/model/I_C_TaxPostal.java index 45504573a0..1b6923f160 100644 --- a/base/src/org/compiere/model/I_C_TaxPostal.java +++ b/base/src/org/compiere/model/I_C_TaxPostal.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxPostal - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_TaxPostal { @@ -56,19 +52,6 @@ public interface I_C_TaxPostal /** Load Meta Data */ - /** Column name C_TaxPostal_ID */ - public static final String COLUMNNAME_C_TaxPostal_ID = "C_TaxPostal_ID"; - - /** Set Tax ZIP. - * Tax Postal/ZIP - */ - public void setC_TaxPostal_ID (int C_TaxPostal_ID); - - /** Get Tax ZIP. - * Tax Postal/ZIP - */ - public int getC_TaxPostal_ID(); - /** Column name C_Tax_ID */ public static final String COLUMNNAME_C_Tax_ID = "C_Tax_ID"; @@ -84,6 +67,19 @@ public interface I_C_TaxPostal public I_C_Tax getC_Tax() throws Exception; + /** Column name C_TaxPostal_ID */ + public static final String COLUMNNAME_C_TaxPostal_ID = "C_TaxPostal_ID"; + + /** Set Tax ZIP. + * Tax Postal/ZIP + */ + public void setC_TaxPostal_ID (int C_TaxPostal_ID); + + /** Get Tax ZIP. + * Tax Postal/ZIP + */ + public int getC_TaxPostal_ID(); + /** Column name Postal */ public static final String COLUMNNAME_Postal = "Postal"; diff --git a/base/src/org/compiere/model/I_C_Tax_Acct.java b/base/src/org/compiere/model/I_C_Tax_Acct.java index 05af168848..29ee3f7bd7 100644 --- a/base/src/org/compiere/model/I_C_Tax_Acct.java +++ b/base/src/org/compiere/model/I_C_Tax_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Tax_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Tax_Acct { diff --git a/base/src/org/compiere/model/I_C_UOM.java b/base/src/org/compiere/model/I_C_UOM.java index 12de535b0a..b07da075e8 100644 --- a/base/src/org/compiere/model/I_C_UOM.java +++ b/base/src/org/compiere/model/I_C_UOM.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_UOM - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_UOM { @@ -56,19 +52,6 @@ public interface I_C_UOM /** Load Meta Data */ - /** Column name C_UOM_ID */ - public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; - - /** Set UOM. - * Unit of Measure - */ - public void setC_UOM_ID (int C_UOM_ID); - - /** Get UOM. - * Unit of Measure - */ - public int getC_UOM_ID(); - /** Column name CostingPrecision */ public static final String COLUMNNAME_CostingPrecision = "CostingPrecision"; @@ -82,6 +65,19 @@ public interface I_C_UOM */ public int getCostingPrecision(); + /** Column name C_UOM_ID */ + public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; + + /** Set UOM. + * Unit of Measure + */ + public void setC_UOM_ID (int C_UOM_ID); + + /** Get UOM. + * Unit of Measure + */ + public int getC_UOM_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_C_UOM_Conversion.java b/base/src/org/compiere/model/I_C_UOM_Conversion.java index 97597ad307..f24b5b850b 100644 --- a/base/src/org/compiere/model/I_C_UOM_Conversion.java +++ b/base/src/org/compiere/model/I_C_UOM_Conversion.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_UOM_Conversion - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_UOM_Conversion { diff --git a/base/src/org/compiere/model/I_C_UserRemuneration.java b/base/src/org/compiere/model/I_C_UserRemuneration.java index eb3344088d..14d7800522 100644 --- a/base/src/org/compiere/model/I_C_UserRemuneration.java +++ b/base/src/org/compiere/model/I_C_UserRemuneration.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for C_UserRemuneration - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_UserRemuneration { diff --git a/base/src/org/compiere/model/I_C_ValidCombination.java b/base/src/org/compiere/model/I_C_ValidCombination.java index 72be8443bc..ca3987dbd5 100644 --- a/base/src/org/compiere/model/I_C_ValidCombination.java +++ b/base/src/org/compiere/model/I_C_ValidCombination.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_ValidCombination - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_ValidCombination { @@ -56,19 +52,6 @@ public interface I_C_ValidCombination /** Load Meta Data */ - /** Column name AD_OrgTrx_ID */ - public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; - - /** Set Trx Organization. - * Performing or initiating organization - */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); - - /** Get Trx Organization. - * Performing or initiating organization - */ - public int getAD_OrgTrx_ID(); - /** Column name Account_ID */ public static final String COLUMNNAME_Account_ID = "Account_ID"; @@ -82,6 +65,19 @@ public interface I_C_ValidCombination */ public int getAccount_ID(); + /** Column name AD_OrgTrx_ID */ + public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; + + /** Set Trx Organization. + * Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); + + /** Get Trx Organization. + * Performing or initiating organization + */ + public int getAD_OrgTrx_ID(); + /** Column name Alias */ public static final String COLUMNNAME_Alias = "Alias"; @@ -175,6 +171,19 @@ public interface I_C_ValidCombination */ public int getC_LocTo_ID(); + /** Column name Combination */ + public static final String COLUMNNAME_Combination = "Combination"; + + /** Set Combination. + * Unique combination of account elements + */ + public void setCombination (String Combination); + + /** Get Combination. + * Unique combination of account elements + */ + public String getCombination(); + /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -229,19 +238,6 @@ public interface I_C_ValidCombination */ public int getC_ValidCombination_ID(); - /** Column name Combination */ - public static final String COLUMNNAME_Combination = "Combination"; - - /** Set Combination. - * Unique combination of account elements - */ - public void setCombination (String Combination); - - /** Get Combination. - * Unique combination of account elements - */ - public String getCombination(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -281,32 +277,6 @@ public interface I_C_ValidCombination */ public int getM_Product_ID(); - /** Column name User1_ID */ - public static final String COLUMNNAME_User1_ID = "User1_ID"; - - /** Set User List 1. - * User defined list element #1 - */ - public void setUser1_ID (int User1_ID); - - /** Get User List 1. - * User defined list element #1 - */ - public int getUser1_ID(); - - /** Column name User2_ID */ - public static final String COLUMNNAME_User2_ID = "User2_ID"; - - /** Set User List 2. - * User defined list element #2 - */ - public void setUser2_ID (int User2_ID); - - /** Get User List 2. - * User defined list element #2 - */ - public int getUser2_ID(); - /** Column name UserElement1_ID */ public static final String COLUMNNAME_UserElement1_ID = "UserElement1_ID"; @@ -332,4 +302,30 @@ public interface I_C_ValidCombination * User defined accounting Element */ public int getUserElement2_ID(); + + /** Column name User1_ID */ + public static final String COLUMNNAME_User1_ID = "User1_ID"; + + /** Set User List 1. + * User defined list element #1 + */ + public void setUser1_ID (int User1_ID); + + /** Get User List 1. + * User defined list element #1 + */ + public int getUser1_ID(); + + /** Column name User2_ID */ + public static final String COLUMNNAME_User2_ID = "User2_ID"; + + /** Set User List 2. + * User defined list element #2 + */ + public void setUser2_ID (int User2_ID); + + /** Get User List 2. + * User defined list element #2 + */ + public int getUser2_ID(); } diff --git a/base/src/org/compiere/model/I_C_Withholding.java b/base/src/org/compiere/model/I_C_Withholding.java index 52a1cb2c97..e66eee9053 100644 --- a/base/src/org/compiere/model/I_C_Withholding.java +++ b/base/src/org/compiere/model/I_C_Withholding.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Withholding - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Withholding { diff --git a/base/src/org/compiere/model/I_C_Withholding_Acct.java b/base/src/org/compiere/model/I_C_Withholding_Acct.java index 8b0968126a..a4ce6fc403 100644 --- a/base/src/org/compiere/model/I_C_Withholding_Acct.java +++ b/base/src/org/compiere/model/I_C_Withholding_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Withholding_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Withholding_Acct { diff --git a/base/src/org/compiere/model/I_C_Year.java b/base/src/org/compiere/model/I_C_Year.java index 72cb629b08..04523e8d26 100644 --- a/base/src/org/compiere/model/I_C_Year.java +++ b/base/src/org/compiere/model/I_C_Year.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for C_Year - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_C_Year { diff --git a/base/src/org/compiere/model/I_Fact_Acct.java b/base/src/org/compiere/model/I_Fact_Acct.java index ac65f0566c..70d5dedc0d 100644 --- a/base/src/org/compiere/model/I_Fact_Acct.java +++ b/base/src/org/compiere/model/I_Fact_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for Fact_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_Fact_Acct { @@ -57,6 +53,32 @@ public interface I_Fact_Acct /** Load Meta Data */ + /** Column name A_Asset_ID */ + public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; + + /** Set Asset. + * Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID); + + /** Get Asset. + * Asset used internally or by customers + */ + public int getA_Asset_ID(); + + /** Column name Account_ID */ + public static final String COLUMNNAME_Account_ID = "Account_ID"; + + /** Set Account. + * Account used + */ + public void setAccount_ID (int Account_ID); + + /** Get Account. + * Account used + */ + public int getAccount_ID(); + /** Column name AD_OrgTrx_ID */ public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; @@ -85,32 +107,6 @@ public interface I_Fact_Acct public I_AD_Table getAD_Table() throws Exception; - /** Column name A_Asset_ID */ - public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; - - /** Set Asset. - * Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID); - - /** Get Asset. - * Asset used internally or by customers - */ - public int getA_Asset_ID(); - - /** Column name Account_ID */ - public static final String COLUMNNAME_Account_ID = "Account_ID"; - - /** Set Account. - * Account used - */ - public void setAccount_ID (int Account_ID); - - /** Get Account. - * Account used - */ - public int getAccount_ID(); - /** Column name AmtAcctCr */ public static final String COLUMNNAME_AmtAcctCr = "AmtAcctCr"; @@ -279,6 +275,21 @@ public interface I_Fact_Acct public I_C_Period getC_Period() throws Exception; + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public I_C_Project getC_Project() throws Exception; + /** Column name C_ProjectPhase_ID */ public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; @@ -309,21 +320,6 @@ public interface I_Fact_Acct public I_C_ProjectTask getC_ProjectTask() throws Exception; - /** Column name C_Project_ID */ - public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; - - /** Set Project. - * Financial Project - */ - public void setC_Project_ID (int C_Project_ID); - - /** Get Project. - * Financial Project - */ - public int getC_Project_ID(); - - public I_C_Project getC_Project() throws Exception; - /** Column name C_SalesRegion_ID */ public static final String COLUMNNAME_C_SalesRegion_ID = "C_SalesRegion_ID"; @@ -544,32 +540,6 @@ public interface I_Fact_Acct */ public int getRecord_ID(); - /** Column name User1_ID */ - public static final String COLUMNNAME_User1_ID = "User1_ID"; - - /** Set User List 1. - * User defined list element #1 - */ - public void setUser1_ID (int User1_ID); - - /** Get User List 1. - * User defined list element #1 - */ - public int getUser1_ID(); - - /** Column name User2_ID */ - public static final String COLUMNNAME_User2_ID = "User2_ID"; - - /** Set User List 2. - * User defined list element #2 - */ - public void setUser2_ID (int User2_ID); - - /** Get User List 2. - * User defined list element #2 - */ - public int getUser2_ID(); - /** Column name UserElement1_ID */ public static final String COLUMNNAME_UserElement1_ID = "UserElement1_ID"; @@ -595,4 +565,30 @@ public interface I_Fact_Acct * User defined accounting Element */ public int getUserElement2_ID(); + + /** Column name User1_ID */ + public static final String COLUMNNAME_User1_ID = "User1_ID"; + + /** Set User List 1. + * User defined list element #1 + */ + public void setUser1_ID (int User1_ID); + + /** Get User List 1. + * User defined list element #1 + */ + public int getUser1_ID(); + + /** Column name User2_ID */ + public static final String COLUMNNAME_User2_ID = "User2_ID"; + + /** Set User List 2. + * User defined list element #2 + */ + public void setUser2_ID (int User2_ID); + + /** Get User List 2. + * User defined list element #2 + */ + public int getUser2_ID(); } diff --git a/base/src/org/compiere/model/I_GL_Budget.java b/base/src/org/compiere/model/I_GL_Budget.java index eeaf555dc8..2eea7d33fd 100644 --- a/base/src/org/compiere/model/I_GL_Budget.java +++ b/base/src/org/compiere/model/I_GL_Budget.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Budget - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_Budget { diff --git a/base/src/org/compiere/model/I_GL_BudgetControl.java b/base/src/org/compiere/model/I_GL_BudgetControl.java index f18b367e7f..ca9aea3be9 100644 --- a/base/src/org/compiere/model/I_GL_BudgetControl.java +++ b/base/src/org/compiere/model/I_GL_BudgetControl.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_BudgetControl - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_BudgetControl { diff --git a/base/src/org/compiere/model/I_GL_Category.java b/base/src/org/compiere/model/I_GL_Category.java index 2b058cc01e..e3803c60d8 100644 --- a/base/src/org/compiere/model/I_GL_Category.java +++ b/base/src/org/compiere/model/I_GL_Category.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Category - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_Category { diff --git a/base/src/org/compiere/model/I_GL_Distribution.java b/base/src/org/compiere/model/I_GL_Distribution.java index 04e5c5a193..88f91bdc13 100644 --- a/base/src/org/compiere/model/I_GL_Distribution.java +++ b/base/src/org/compiere/model/I_GL_Distribution.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Distribution - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_Distribution { @@ -56,19 +52,6 @@ public interface I_GL_Distribution /** Load Meta Data */ - /** Column name AD_OrgTrx_ID */ - public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; - - /** Set Trx Organization. - * Performing or initiating organization - */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); - - /** Get Trx Organization. - * Performing or initiating organization - */ - public int getAD_OrgTrx_ID(); - /** Column name Account_ID */ public static final String COLUMNNAME_Account_ID = "Account_ID"; @@ -82,6 +65,19 @@ public interface I_GL_Distribution */ public int getAccount_ID(); + /** Column name AD_OrgTrx_ID */ + public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; + + /** Set Trx Organization. + * Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); + + /** Get Trx Organization. + * Performing or initiating organization + */ + public int getAD_OrgTrx_ID(); + /** Column name AnyAcct */ public static final String COLUMNNAME_AnyAcct = "AnyAcct"; diff --git a/base/src/org/compiere/model/I_GL_DistributionLine.java b/base/src/org/compiere/model/I_GL_DistributionLine.java index a5fe92dfaf..f6381c572a 100644 --- a/base/src/org/compiere/model/I_GL_DistributionLine.java +++ b/base/src/org/compiere/model/I_GL_DistributionLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_DistributionLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_DistributionLine { @@ -56,19 +52,6 @@ public interface I_GL_DistributionLine /** Load Meta Data */ - /** Column name AD_OrgTrx_ID */ - public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; - - /** Set Trx Organization. - * Performing or initiating organization - */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); - - /** Get Trx Organization. - * Performing or initiating organization - */ - public int getAD_OrgTrx_ID(); - /** Column name Account_ID */ public static final String COLUMNNAME_Account_ID = "Account_ID"; @@ -82,6 +65,19 @@ public interface I_GL_DistributionLine */ public int getAccount_ID(); + /** Column name AD_OrgTrx_ID */ + public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; + + /** Set Trx Organization. + * Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); + + /** Get Trx Organization. + * Performing or initiating organization + */ + public int getAD_OrgTrx_ID(); + /** Column name C_Activity_ID */ public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID"; @@ -196,19 +192,6 @@ public interface I_GL_DistributionLine */ public String getDescription(); - /** Column name GL_DistributionLine_ID */ - public static final String COLUMNNAME_GL_DistributionLine_ID = "GL_DistributionLine_ID"; - - /** Set GL Distribution Line. - * General Ledger Distribution Line - */ - public void setGL_DistributionLine_ID (int GL_DistributionLine_ID); - - /** Get GL Distribution Line. - * General Ledger Distribution Line - */ - public int getGL_DistributionLine_ID(); - /** Column name GL_Distribution_ID */ public static final String COLUMNNAME_GL_Distribution_ID = "GL_Distribution_ID"; @@ -224,6 +207,19 @@ public interface I_GL_DistributionLine public I_GL_Distribution getGL_Distribution() throws Exception; + /** Column name GL_DistributionLine_ID */ + public static final String COLUMNNAME_GL_DistributionLine_ID = "GL_DistributionLine_ID"; + + /** Set GL Distribution Line. + * General Ledger Distribution Line + */ + public void setGL_DistributionLine_ID (int GL_DistributionLine_ID); + + /** Get GL Distribution Line. + * General Ledger Distribution Line + */ + public int getGL_DistributionLine_ID(); + /** Column name Line */ public static final String COLUMNNAME_Line = "Line"; diff --git a/base/src/org/compiere/model/I_GL_Fund.java b/base/src/org/compiere/model/I_GL_Fund.java index 7791a046f3..30b7d9377e 100644 --- a/base/src/org/compiere/model/I_GL_Fund.java +++ b/base/src/org/compiere/model/I_GL_Fund.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Fund - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_Fund { diff --git a/base/src/org/compiere/model/I_GL_FundRestriction.java b/base/src/org/compiere/model/I_GL_FundRestriction.java index 2b867d9d1e..7594eaf2c1 100644 --- a/base/src/org/compiere/model/I_GL_FundRestriction.java +++ b/base/src/org/compiere/model/I_GL_FundRestriction.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_FundRestriction - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_FundRestriction { @@ -84,19 +80,6 @@ public interface I_GL_FundRestriction */ public String getDescription(); - /** Column name GL_FundRestriction_ID */ - public static final String COLUMNNAME_GL_FundRestriction_ID = "GL_FundRestriction_ID"; - - /** Set Fund Restriction. - * Restriction of Funds - */ - public void setGL_FundRestriction_ID (int GL_FundRestriction_ID); - - /** Get Fund Restriction. - * Restriction of Funds - */ - public int getGL_FundRestriction_ID(); - /** Column name GL_Fund_ID */ public static final String COLUMNNAME_GL_Fund_ID = "GL_Fund_ID"; @@ -112,6 +95,19 @@ public interface I_GL_FundRestriction public I_GL_Fund getGL_Fund() throws Exception; + /** Column name GL_FundRestriction_ID */ + public static final String COLUMNNAME_GL_FundRestriction_ID = "GL_FundRestriction_ID"; + + /** Set Fund Restriction. + * Restriction of Funds + */ + public void setGL_FundRestriction_ID (int GL_FundRestriction_ID); + + /** Get Fund Restriction. + * Restriction of Funds + */ + public int getGL_FundRestriction_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_GL_Journal.java b/base/src/org/compiere/model/I_GL_Journal.java index f2ae44095e..f80a861d11 100644 --- a/base/src/org/compiere/model/I_GL_Journal.java +++ b/base/src/org/compiere/model/I_GL_Journal.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Journal - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_Journal { @@ -117,19 +113,6 @@ public interface I_GL_Journal public I_C_DocType getC_DocType() throws Exception; - /** Column name C_Period_ID */ - public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; - - /** Set Period. - * Period of the Calendar - */ - public void setC_Period_ID (int C_Period_ID); - - /** Get Period. - * Period of the Calendar - */ - public int getC_Period_ID(); - /** Column name ControlAmt */ public static final String COLUMNNAME_ControlAmt = "ControlAmt"; @@ -143,6 +126,19 @@ public interface I_GL_Journal */ public BigDecimal getControlAmt(); + /** Column name C_Period_ID */ + public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; + + /** Set Period. + * Period of the Calendar + */ + public void setC_Period_ID (int C_Period_ID); + + /** Get Period. + * Period of the Calendar + */ + public int getC_Period_ID(); + /** Column name CurrencyRate */ public static final String COLUMNNAME_CurrencyRate = "CurrencyRate"; diff --git a/base/src/org/compiere/model/I_GL_JournalBatch.java b/base/src/org/compiere/model/I_GL_JournalBatch.java index 235d19b124..30467dd610 100644 --- a/base/src/org/compiere/model/I_GL_JournalBatch.java +++ b/base/src/org/compiere/model/I_GL_JournalBatch.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_JournalBatch - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_JournalBatch { @@ -87,19 +83,6 @@ public interface I_GL_JournalBatch public I_C_DocType getC_DocType() throws Exception; - /** Column name C_Period_ID */ - public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; - - /** Set Period. - * Period of the Calendar - */ - public void setC_Period_ID (int C_Period_ID); - - /** Get Period. - * Period of the Calendar - */ - public int getC_Period_ID(); - /** Column name ControlAmt */ public static final String COLUMNNAME_ControlAmt = "ControlAmt"; @@ -126,6 +109,19 @@ public interface I_GL_JournalBatch */ public String getCopyFrom(); + /** Column name C_Period_ID */ + public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; + + /** Set Period. + * Period of the Calendar + */ + public void setC_Period_ID (int C_Period_ID); + + /** Get Period. + * Period of the Calendar + */ + public int getC_Period_ID(); + /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; diff --git a/base/src/org/compiere/model/I_GL_JournalLine.java b/base/src/org/compiere/model/I_GL_JournalLine.java index 8ae5309c37..f9d3137210 100644 --- a/base/src/org/compiere/model/I_GL_JournalLine.java +++ b/base/src/org/compiere/model/I_GL_JournalLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for GL_JournalLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_GL_JournalLine { @@ -94,15 +90,6 @@ public interface I_GL_JournalLine /** Get A_CreateAsset */ public boolean isA_CreateAsset(); - /** Column name A_Processed */ - public static final String COLUMNNAME_A_Processed = "A_Processed"; - - /** Set A_Processed */ - public void setA_Processed (boolean A_Processed); - - /** Get A_Processed */ - public boolean isA_Processed(); - /** Column name AmtAcctCr */ public static final String COLUMNNAME_AmtAcctCr = "AmtAcctCr"; @@ -155,6 +142,15 @@ public interface I_GL_JournalLine */ public BigDecimal getAmtSourceDr(); + /** Column name A_Processed */ + public static final String COLUMNNAME_A_Processed = "A_Processed"; + + /** Set A_Processed */ + public void setA_Processed (boolean A_Processed); + + /** Get A_Processed */ + public boolean isA_Processed(); + /** Column name C_ConversionType_ID */ public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID"; @@ -200,19 +196,6 @@ public interface I_GL_JournalLine public I_C_UOM getC_UOM() throws Exception; - /** Column name C_ValidCombination_ID */ - public static final String COLUMNNAME_C_ValidCombination_ID = "C_ValidCombination_ID"; - - /** Set Combination. - * Valid Account Combination - */ - public void setC_ValidCombination_ID (int C_ValidCombination_ID); - - /** Get Combination. - * Valid Account Combination - */ - public int getC_ValidCombination_ID(); - /** Column name CurrencyRate */ public static final String COLUMNNAME_CurrencyRate = "CurrencyRate"; @@ -226,6 +209,19 @@ public interface I_GL_JournalLine */ public BigDecimal getCurrencyRate(); + /** Column name C_ValidCombination_ID */ + public static final String COLUMNNAME_C_ValidCombination_ID = "C_ValidCombination_ID"; + + /** Set Combination. + * Valid Account Combination + */ + public void setC_ValidCombination_ID (int C_ValidCombination_ID); + + /** Get Combination. + * Valid Account Combination + */ + public int getC_ValidCombination_ID(); + /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; @@ -252,19 +248,6 @@ public interface I_GL_JournalLine */ public String getDescription(); - /** Column name GL_JournalLine_ID */ - public static final String COLUMNNAME_GL_JournalLine_ID = "GL_JournalLine_ID"; - - /** Set Journal Line. - * General Ledger Journal Line - */ - public void setGL_JournalLine_ID (int GL_JournalLine_ID); - - /** Get Journal Line. - * General Ledger Journal Line - */ - public int getGL_JournalLine_ID(); - /** Column name GL_Journal_ID */ public static final String COLUMNNAME_GL_Journal_ID = "GL_Journal_ID"; @@ -280,6 +263,19 @@ public interface I_GL_JournalLine public I_GL_Journal getGL_Journal() throws Exception; + /** Column name GL_JournalLine_ID */ + public static final String COLUMNNAME_GL_JournalLine_ID = "GL_JournalLine_ID"; + + /** Set Journal Line. + * General Ledger Journal Line + */ + public void setGL_JournalLine_ID (int GL_JournalLine_ID); + + /** Get Journal Line. + * General Ledger Journal Line + */ + public int getGL_JournalLine_ID(); + /** Column name IsGenerated */ public static final String COLUMNNAME_IsGenerated = "IsGenerated"; diff --git a/base/src/org/compiere/model/I_I_Asset.java b/base/src/org/compiere/model/I_I_Asset.java index 6265651a36..e7ac5a3071 100644 --- a/base/src/org/compiere/model/I_I_Asset.java +++ b/base/src/org/compiere/model/I_I_Asset.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_Asset - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_Asset { @@ -57,19 +53,6 @@ public interface I_I_Asset /** Load Meta Data */ - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID); - - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID(); - /** Column name A_Accumdepreciation_Acct */ public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; @@ -269,6 +252,19 @@ public interface I_I_Asset /** Get A_Disposal_Revenue */ public int getA_Disposal_Revenue(); + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + /** Column name A_Life_Period */ public static final String COLUMNNAME_A_Life_Period = "A_Life_Period"; diff --git a/base/src/org/compiere/model/I_I_BPartner.java b/base/src/org/compiere/model/I_I_BPartner.java index 0ee6242e90..2c88057f67 100644 --- a/base/src/org/compiere/model/I_I_BPartner.java +++ b/base/src/org/compiere/model/I_I_BPartner.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_BPartner - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_BPartner { @@ -57,21 +53,6 @@ public interface I_I_BPartner /** Load Meta Data */ - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID); - - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID(); - - public I_AD_User getAD_User() throws Exception; - /** Column name Address1 */ public static final String COLUMNNAME_Address1 = "Address1"; @@ -98,18 +79,20 @@ public interface I_I_BPartner */ public String getAddress2(); - /** Column name BPContactGreeting */ - public static final String COLUMNNAME_BPContactGreeting = "BPContactGreeting"; + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - /** Set BP Contact Greeting. - * Greeting for Business Partner Contact + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact */ - public void setBPContactGreeting (String BPContactGreeting); + public void setAD_User_ID (int AD_User_ID); - /** Get BP Contact Greeting. - * Greeting for Business Partner Contact + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact */ - public String getBPContactGreeting(); + public int getAD_User_ID(); + + public I_AD_User getAD_User() throws Exception; /** Column name Birthday */ public static final String COLUMNNAME_Birthday = "Birthday"; @@ -124,20 +107,18 @@ public interface I_I_BPartner */ public Timestamp getBirthday(); - /** Column name C_BP_Group_ID */ - public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; + /** Column name BPContactGreeting */ + public static final String COLUMNNAME_BPContactGreeting = "BPContactGreeting"; - /** Set Business Partner Group. - * Business Partner Group + /** Set BP Contact Greeting. + * Greeting for Business Partner Contact */ - public void setC_BP_Group_ID (int C_BP_Group_ID); + public void setBPContactGreeting (String BPContactGreeting); - /** Get Business Partner Group. - * Business Partner Group + /** Get BP Contact Greeting. + * Greeting for Business Partner Contact */ - public int getC_BP_Group_ID(); - - public I_C_BP_Group getC_BP_Group() throws Exception; + public String getBPContactGreeting(); /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -169,6 +150,21 @@ public interface I_I_BPartner public I_C_BPartner_Location getC_BPartner_Location() throws Exception; + /** Column name C_BP_Group_ID */ + public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; + + /** Set Business Partner Group. + * Business Partner Group + */ + public void setC_BP_Group_ID (int C_BP_Group_ID); + + /** Get Business Partner Group. + * Business Partner Group + */ + public int getC_BP_Group_ID(); + + public I_C_BP_Group getC_BP_Group() throws Exception; + /** Column name C_Country_ID */ public static final String COLUMNNAME_C_Country_ID = "C_Country_ID"; @@ -199,21 +195,6 @@ public interface I_I_BPartner public I_C_Greeting getC_Greeting() throws Exception; - /** Column name C_Region_ID */ - public static final String COLUMNNAME_C_Region_ID = "C_Region_ID"; - - /** Set Region. - * Identifies a geographical Region - */ - public void setC_Region_ID (int C_Region_ID); - - /** Get Region. - * Identifies a geographical Region - */ - public int getC_Region_ID(); - - public I_C_Region getC_Region() throws Exception; - /** Column name City */ public static final String COLUMNNAME_City = "City"; @@ -279,18 +260,20 @@ public interface I_I_BPartner */ public String getCountryCode(); - /** Column name DUNS */ - public static final String COLUMNNAME_DUNS = "DUNS"; + /** Column name C_Region_ID */ + public static final String COLUMNNAME_C_Region_ID = "C_Region_ID"; - /** Set D-U-N-S. - * Dun & Bradstreet Number + /** Set Region. + * Identifies a geographical Region */ - public void setDUNS (String DUNS); + public void setC_Region_ID (int C_Region_ID); - /** Get D-U-N-S. - * Dun & Bradstreet Number + /** Get Region. + * Identifies a geographical Region */ - public String getDUNS(); + public int getC_Region_ID(); + + public I_C_Region getC_Region() throws Exception; /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -305,6 +288,19 @@ public interface I_I_BPartner */ public String getDescription(); + /** Column name DUNS */ + public static final String COLUMNNAME_DUNS = "DUNS"; + + /** Set D-U-N-S. + * Dun & Bradstreet Number + */ + public void setDUNS (String DUNS); + + /** Get D-U-N-S. + * Dun & Bradstreet Number + */ + public String getDUNS(); + /** Column name EMail */ public static final String COLUMNNAME_EMail = "EMail"; @@ -518,6 +514,19 @@ public interface I_I_BPartner /** Get Process Now */ public boolean isProcessing(); + /** Column name RegionName */ + public static final String COLUMNNAME_RegionName = "RegionName"; + + /** Set Region. + * Name of the Region + */ + public void setRegionName (String RegionName); + + /** Get Region. + * Name of the Region + */ + public String getRegionName(); + /** Column name R_InterestArea_ID */ public static final String COLUMNNAME_R_InterestArea_ID = "R_InterestArea_ID"; @@ -533,19 +542,6 @@ public interface I_I_BPartner public I_R_InterestArea getR_InterestArea() throws Exception; - /** Column name RegionName */ - public static final String COLUMNNAME_RegionName = "RegionName"; - - /** Set Region. - * Name of the Region - */ - public void setRegionName (String RegionName); - - /** Get Region. - * Name of the Region - */ - public String getRegionName(); - /** Column name TaxID */ public static final String COLUMNNAME_TaxID = "TaxID"; diff --git a/base/src/org/compiere/model/I_I_BankStatement.java b/base/src/org/compiere/model/I_I_BankStatement.java index 3d50615af5..7d1abd75b0 100644 --- a/base/src/org/compiere/model/I_I_BankStatement.java +++ b/base/src/org/compiere/model/I_I_BankStatement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_BankStatement - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_BankStatement { @@ -57,19 +53,6 @@ public interface I_I_BankStatement /** Load Meta Data */ - /** Column name BPartnerValue */ - public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; - - /** Set Business Partner Key. - * Key of the Business Partner - */ - public void setBPartnerValue (String BPartnerValue); - - /** Get Business Partner Key. - * Key of the Business Partner - */ - public String getBPartnerValue(); - /** Column name BankAccountNo */ public static final String COLUMNNAME_BankAccountNo = "BankAccountNo"; @@ -83,20 +66,18 @@ public interface I_I_BankStatement */ public String getBankAccountNo(); - /** Column name C_BPartner_ID */ - public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; + /** Column name BPartnerValue */ + public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; - /** Set Business Partner . - * Identifies a Business Partner + /** Set Business Partner Key. + * Key of the Business Partner */ - public void setC_BPartner_ID (int C_BPartner_ID); + public void setBPartnerValue (String BPartnerValue); - /** Get Business Partner . - * Identifies a Business Partner + /** Get Business Partner Key. + * Key of the Business Partner */ - public int getC_BPartner_ID(); - - public I_C_BPartner getC_BPartner() throws Exception; + public String getBPartnerValue(); /** Column name C_BankAccount_ID */ public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID"; @@ -113,6 +94,21 @@ public interface I_I_BankStatement public I_C_BankAccount getC_BankAccount() throws Exception; + /** Column name C_BankStatement_ID */ + public static final String COLUMNNAME_C_BankStatement_ID = "C_BankStatement_ID"; + + /** Set Bank Statement. + * Bank Statement of account + */ + public void setC_BankStatement_ID (int C_BankStatement_ID); + + /** Get Bank Statement. + * Bank Statement of account + */ + public int getC_BankStatement_ID(); + + public I_C_BankStatement getC_BankStatement() throws Exception; + /** Column name C_BankStatementLine_ID */ public static final String COLUMNNAME_C_BankStatementLine_ID = "C_BankStatementLine_ID"; @@ -128,20 +124,20 @@ public interface I_I_BankStatement public I_C_BankStatementLine getC_BankStatementLine() throws Exception; - /** Column name C_BankStatement_ID */ - public static final String COLUMNNAME_C_BankStatement_ID = "C_BankStatement_ID"; + /** Column name C_BPartner_ID */ + public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; - /** Set Bank Statement. - * Bank Statement of account + /** Set Business Partner . + * Identifies a Business Partner */ - public void setC_BankStatement_ID (int C_BankStatement_ID); + public void setC_BPartner_ID (int C_BPartner_ID); - /** Get Bank Statement. - * Bank Statement of account + /** Get Business Partner . + * Identifies a Business Partner */ - public int getC_BankStatement_ID(); + public int getC_BPartner_ID(); - public I_C_BankStatement getC_BankStatement() throws Exception; + public I_C_BPartner getC_BPartner() throws Exception; /** Column name C_Charge_ID */ public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID"; @@ -173,6 +169,32 @@ public interface I_I_BankStatement public I_C_Currency getC_Currency() throws Exception; + /** Column name ChargeAmt */ + public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; + + /** Set Charge amount. + * Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt); + + /** Get Charge amount. + * Charge Amount + */ + public BigDecimal getChargeAmt(); + + /** Column name ChargeName */ + public static final String COLUMNNAME_ChargeName = "ChargeName"; + + /** Set Charge Name. + * Name of the Charge + */ + public void setChargeName (String ChargeName); + + /** Get Charge Name. + * Name of the Charge + */ + public String getChargeName(); + /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -203,32 +225,6 @@ public interface I_I_BankStatement public I_C_Payment getC_Payment() throws Exception; - /** Column name ChargeAmt */ - public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; - - /** Set Charge amount. - * Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt); - - /** Get Charge amount. - * Charge Amount - */ - public BigDecimal getChargeAmt(); - - /** Column name ChargeName */ - public static final String COLUMNNAME_ChargeName = "ChargeName"; - - /** Set Charge Name. - * Name of the Charge - */ - public void setChargeName (String ChargeName); - - /** Get Charge Name. - * Name of the Charge - */ - public String getChargeName(); - /** Column name CreatePayment */ public static final String COLUMNNAME_CreatePayment = "CreatePayment"; @@ -433,19 +429,6 @@ public interface I_I_BankStatement */ public Timestamp getEftValutaDate(); - /** Column name ISO_Code */ - public static final String COLUMNNAME_ISO_Code = "ISO_Code"; - - /** Set ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code); - - /** Get ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code(); - /** Column name I_BankStatement_ID */ public static final String COLUMNNAME_I_BankStatement_ID = "I_BankStatement_ID"; @@ -511,6 +494,19 @@ public interface I_I_BankStatement */ public String getInvoiceDocumentNo(); + /** Column name ISO_Code */ + public static final String COLUMNNAME_ISO_Code = "ISO_Code"; + + /** Set ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code); + + /** Get ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code(); + /** Column name IsReversal */ public static final String COLUMNNAME_IsReversal = "IsReversal"; diff --git a/base/src/org/compiere/model/I_I_Conversion_Rate.java b/base/src/org/compiere/model/I_I_Conversion_Rate.java index 262b978bc6..c59104588e 100644 --- a/base/src/org/compiere/model/I_I_Conversion_Rate.java +++ b/base/src/org/compiere/model/I_I_Conversion_Rate.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_Conversion_Rate - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_Conversion_Rate { @@ -57,21 +53,6 @@ public interface I_I_Conversion_Rate /** Load Meta Data */ - /** Column name C_ConversionType_ID */ - public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID"; - - /** Set Currency Type. - * Currency Conversion Rate Type - */ - public void setC_ConversionType_ID (int C_ConversionType_ID); - - /** Get Currency Type. - * Currency Conversion Rate Type - */ - public int getC_ConversionType_ID(); - - public I_C_ConversionType getC_ConversionType() throws Exception; - /** Column name C_Conversion_Rate_ID */ public static final String COLUMNNAME_C_Conversion_Rate_ID = "C_Conversion_Rate_ID"; @@ -87,6 +68,21 @@ public interface I_I_Conversion_Rate public I_C_Conversion_Rate getC_Conversion_Rate() throws Exception; + /** Column name C_ConversionType_ID */ + public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID"; + + /** Set Currency Type. + * Currency Conversion Rate Type + */ + public void setC_ConversionType_ID (int C_ConversionType_ID); + + /** Get Currency Type. + * Currency Conversion Rate Type + */ + public int getC_ConversionType_ID(); + + public I_C_ConversionType getC_ConversionType() throws Exception; + /** Column name C_Currency_ID */ public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID"; @@ -154,32 +150,6 @@ public interface I_I_Conversion_Rate */ public BigDecimal getDivideRate(); - /** Column name ISO_Code */ - public static final String COLUMNNAME_ISO_Code = "ISO_Code"; - - /** Set ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code); - - /** Get ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code(); - - /** Column name ISO_Code_To */ - public static final String COLUMNNAME_ISO_Code_To = "ISO_Code_To"; - - /** Set ISO Currency To Code. - * Three letter ISO 4217 Code of the To Currency - */ - public void setISO_Code_To (String ISO_Code_To); - - /** Get ISO Currency To Code. - * Three letter ISO 4217 Code of the To Currency - */ - public String getISO_Code_To(); - /** Column name I_Conversion_Rate_ID */ public static final String COLUMNNAME_I_Conversion_Rate_ID = "I_Conversion_Rate_ID"; @@ -219,6 +189,32 @@ public interface I_I_Conversion_Rate */ public boolean isI_IsImported(); + /** Column name ISO_Code */ + public static final String COLUMNNAME_ISO_Code = "ISO_Code"; + + /** Set ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code); + + /** Get ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code(); + + /** Column name ISO_Code_To */ + public static final String COLUMNNAME_ISO_Code_To = "ISO_Code_To"; + + /** Set ISO Currency To Code. + * Three letter ISO 4217 Code of the To Currency + */ + public void setISO_Code_To (String ISO_Code_To); + + /** Get ISO Currency To Code. + * Three letter ISO 4217 Code of the To Currency + */ + public String getISO_Code_To(); + /** Column name MultiplyRate */ public static final String COLUMNNAME_MultiplyRate = "MultiplyRate"; diff --git a/base/src/org/compiere/model/I_I_ElementValue.java b/base/src/org/compiere/model/I_I_ElementValue.java index 4018cbfcf5..5d7091c32b 100644 --- a/base/src/org/compiere/model/I_I_ElementValue.java +++ b/base/src/org/compiere/model/I_I_ElementValue.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for I_ElementValue - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_ElementValue { @@ -56,19 +52,6 @@ public interface I_I_ElementValue /** Load Meta Data */ - /** Column name AD_Column_ID */ - public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID"; - - /** Set Column. - * Column in the table - */ - public void setAD_Column_ID (int AD_Column_ID); - - /** Get Column. - * Column in the table - */ - public int getAD_Column_ID(); - /** Column name AccountSign */ public static final String COLUMNNAME_AccountSign = "AccountSign"; @@ -95,20 +78,18 @@ public interface I_I_ElementValue */ public String getAccountType(); - /** Column name C_ElementValue_ID */ - public static final String COLUMNNAME_C_ElementValue_ID = "C_ElementValue_ID"; + /** Column name AD_Column_ID */ + public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID"; - /** Set Account Element. - * Account Element + /** Set Column. + * Column in the table */ - public void setC_ElementValue_ID (int C_ElementValue_ID); + public void setAD_Column_ID (int AD_Column_ID); - /** Get Account Element. - * Account Element + /** Get Column. + * Column in the table */ - public int getC_ElementValue_ID(); - - public I_C_ElementValue getC_ElementValue() throws Exception; + public int getAD_Column_ID(); /** Column name C_Element_ID */ public static final String COLUMNNAME_C_Element_ID = "C_Element_ID"; @@ -125,6 +106,21 @@ public interface I_I_ElementValue public I_C_Element getC_Element() throws Exception; + /** Column name C_ElementValue_ID */ + public static final String COLUMNNAME_C_ElementValue_ID = "C_ElementValue_ID"; + + /** Set Account Element. + * Account Element + */ + public void setC_ElementValue_ID (int C_ElementValue_ID); + + /** Get Account Element. + * Account Element + */ + public int getC_ElementValue_ID(); + + public I_C_ElementValue getC_ElementValue() throws Exception; + /** Column name Default_Account */ public static final String COLUMNNAME_Default_Account = "Default_Account"; diff --git a/base/src/org/compiere/model/I_I_FAJournal.java b/base/src/org/compiere/model/I_I_FAJournal.java index db33fbd386..5bc5759bd8 100644 --- a/base/src/org/compiere/model/I_I_FAJournal.java +++ b/base/src/org/compiere/model/I_I_FAJournal.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_FAJournal - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_FAJournal { @@ -57,6 +53,58 @@ public interface I_I_FAJournal /** Load Meta Data */ + /** Column name A_Asset_ID */ + public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; + + /** Set Asset. + * Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID); + + /** Get Asset. + * Asset used internally or by customers + */ + public int getA_Asset_ID(); + + /** Column name Account_ID */ + public static final String COLUMNNAME_Account_ID = "Account_ID"; + + /** Set Account. + * Account used + */ + public void setAccount_ID (int Account_ID); + + /** Get Account. + * Account used + */ + public int getAccount_ID(); + + /** Column name AccountValue */ + public static final String COLUMNNAME_AccountValue = "AccountValue"; + + /** Set Account Key. + * Key of Account Element + */ + public void setAccountValue (String AccountValue); + + /** Get Account Key. + * Key of Account Element + */ + public String getAccountValue(); + + /** Column name AcctSchemaName */ + public static final String COLUMNNAME_AcctSchemaName = "AcctSchemaName"; + + /** Set Account Schema Name. + * Name of the Accounting Schema + */ + public void setAcctSchemaName (String AcctSchemaName); + + /** Get Account Schema Name. + * Name of the Accounting Schema + */ + public String getAcctSchemaName(); + /** Column name AD_OrgDoc_ID */ public static final String COLUMNNAME_AD_OrgDoc_ID = "AD_OrgDoc_ID"; @@ -83,19 +131,6 @@ public interface I_I_FAJournal */ public int getAD_OrgTrx_ID(); - /** Column name A_Asset_ID */ - public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; - - /** Set Asset. - * Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID); - - /** Get Asset. - * Asset used internally or by customers - */ - public int getA_Asset_ID(); - /** Column name A_Entry_Type */ public static final String COLUMNNAME_A_Entry_Type = "A_Entry_Type"; @@ -105,45 +140,6 @@ public interface I_I_FAJournal /** Get A_Entry_Type */ public String getA_Entry_Type(); - /** Column name AccountValue */ - public static final String COLUMNNAME_AccountValue = "AccountValue"; - - /** Set Account Key. - * Key of Account Element - */ - public void setAccountValue (String AccountValue); - - /** Get Account Key. - * Key of Account Element - */ - public String getAccountValue(); - - /** Column name Account_ID */ - public static final String COLUMNNAME_Account_ID = "Account_ID"; - - /** Set Account. - * Account used - */ - public void setAccount_ID (int Account_ID); - - /** Get Account. - * Account used - */ - public int getAccount_ID(); - - /** Column name AcctSchemaName */ - public static final String COLUMNNAME_AcctSchemaName = "AcctSchemaName"; - - /** Set Account Schema Name. - * Name of the Accounting Schema - */ - public void setAcctSchemaName (String AcctSchemaName); - - /** Get Account Schema Name. - * Name of the Accounting Schema - */ - public String getAcctSchemaName(); - /** Column name AmtAcctCr */ public static final String COLUMNNAME_AmtAcctCr = "AmtAcctCr"; @@ -196,19 +192,6 @@ public interface I_I_FAJournal */ public BigDecimal getAmtSourceDr(); - /** Column name BPartnerValue */ - public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; - - /** Set Business Partner Key. - * Key of the Business Partner - */ - public void setBPartnerValue (String BPartnerValue); - - /** Get Business Partner Key. - * Key of the Business Partner - */ - public String getBPartnerValue(); - /** Column name BatchDescription */ public static final String COLUMNNAME_BatchDescription = "BatchDescription"; @@ -235,6 +218,19 @@ public interface I_I_FAJournal */ public String getBatchDocumentNo(); + /** Column name BPartnerValue */ + public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; + + /** Set Business Partner Key. + * Key of the Business Partner + */ + public void setBPartnerValue (String BPartnerValue); + + /** Get Business Partner Key. + * Key of the Business Partner + */ + public String getBPartnerValue(); + /** Column name C_AcctSchema_ID */ public static final String COLUMNNAME_C_AcctSchema_ID = "C_AcctSchema_ID"; @@ -265,6 +261,19 @@ public interface I_I_FAJournal public I_C_Activity getC_Activity() throws Exception; + /** Column name CategoryName */ + public static final String COLUMNNAME_CategoryName = "CategoryName"; + + /** Set Category Name. + * Name of the Category + */ + public void setCategoryName (String CategoryName); + + /** Get Category Name. + * Name of the Category + */ + public String getCategoryName(); + /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -338,6 +347,19 @@ public interface I_I_FAJournal public I_C_DocType getC_DocType() throws Exception; + /** Column name ClientValue */ + public static final String COLUMNNAME_ClientValue = "ClientValue"; + + /** Set Client Key. + * Key of the Client + */ + public void setClientValue (String ClientValue); + + /** Get Client Key. + * Key of the Client + */ + public String getClientValue(); + /** Column name C_LocFrom_ID */ public static final String COLUMNNAME_C_LocFrom_ID = "C_LocFrom_ID"; @@ -364,6 +386,19 @@ public interface I_I_FAJournal */ public int getC_LocTo_ID(); + /** Column name ConversionTypeValue */ + public static final String COLUMNNAME_ConversionTypeValue = "ConversionTypeValue"; + + /** Set Currency Type Key. + * Key value for the Currency Conversion Rate Type + */ + public void setConversionTypeValue (String ConversionTypeValue); + + /** Get Currency Type Key. + * Key value for the Currency Conversion Rate Type + */ + public String getConversionTypeValue(); + /** Column name C_Period_ID */ public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; @@ -437,60 +472,6 @@ public interface I_I_FAJournal public I_C_UOM getC_UOM() throws Exception; - /** Column name C_ValidCombination_ID */ - public static final String COLUMNNAME_C_ValidCombination_ID = "C_ValidCombination_ID"; - - /** Set Combination. - * Valid Account Combination - */ - public void setC_ValidCombination_ID (int C_ValidCombination_ID); - - /** Get Combination. - * Valid Account Combination - */ - public int getC_ValidCombination_ID(); - - public I_C_ValidCombination getC_ValidCombination() throws Exception; - - /** Column name CategoryName */ - public static final String COLUMNNAME_CategoryName = "CategoryName"; - - /** Set Category Name. - * Name of the Category - */ - public void setCategoryName (String CategoryName); - - /** Get Category Name. - * Name of the Category - */ - public String getCategoryName(); - - /** Column name ClientValue */ - public static final String COLUMNNAME_ClientValue = "ClientValue"; - - /** Set Client Key. - * Key of the Client - */ - public void setClientValue (String ClientValue); - - /** Get Client Key. - * Key of the Client - */ - public String getClientValue(); - - /** Column name ConversionTypeValue */ - public static final String COLUMNNAME_ConversionTypeValue = "ConversionTypeValue"; - - /** Set Currency Type Key. - * Key value for the Currency Conversion Rate Type - */ - public void setConversionTypeValue (String ConversionTypeValue); - - /** Get Currency Type Key. - * Key value for the Currency Conversion Rate Type - */ - public String getConversionTypeValue(); - /** Column name CurrencyRate */ public static final String COLUMNNAME_CurrencyRate = "CurrencyRate"; @@ -513,6 +494,21 @@ public interface I_I_FAJournal /** Get CurrencyRateType */ public String getCurrencyRateType(); + /** Column name C_ValidCombination_ID */ + public static final String COLUMNNAME_C_ValidCombination_ID = "C_ValidCombination_ID"; + + /** Set Combination. + * Valid Account Combination + */ + public void setC_ValidCombination_ID (int C_ValidCombination_ID); + + /** Get Combination. + * Valid Account Combination + */ + public int getC_ValidCombination_ID(); + + public I_C_ValidCombination getC_ValidCombination() throws Exception; + /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; @@ -597,21 +593,6 @@ public interface I_I_FAJournal public I_GL_JournalBatch getGL_JournalBatch() throws Exception; - /** Column name GL_JournalLine_ID */ - public static final String COLUMNNAME_GL_JournalLine_ID = "GL_JournalLine_ID"; - - /** Set Journal Line. - * General Ledger Journal Line - */ - public void setGL_JournalLine_ID (int GL_JournalLine_ID); - - /** Get Journal Line. - * General Ledger Journal Line - */ - public int getGL_JournalLine_ID(); - - public I_GL_JournalLine getGL_JournalLine() throws Exception; - /** Column name GL_Journal_ID */ public static final String COLUMNNAME_GL_Journal_ID = "GL_Journal_ID"; @@ -627,18 +608,20 @@ public interface I_I_FAJournal public I_GL_Journal getGL_Journal() throws Exception; - /** Column name ISO_Code */ - public static final String COLUMNNAME_ISO_Code = "ISO_Code"; + /** Column name GL_JournalLine_ID */ + public static final String COLUMNNAME_GL_JournalLine_ID = "GL_JournalLine_ID"; - /** Set ISO Currency Code. - * Three letter ISO 4217 Code of the Currency + /** Set Journal Line. + * General Ledger Journal Line */ - public void setISO_Code (String ISO_Code); + public void setGL_JournalLine_ID (int GL_JournalLine_ID); - /** Get ISO Currency Code. - * Three letter ISO 4217 Code of the Currency + /** Get Journal Line. + * General Ledger Journal Line */ - public String getISO_Code(); + public int getGL_JournalLine_ID(); + + public I_GL_JournalLine getGL_JournalLine() throws Exception; /** Column name I_ErrorMsg */ public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg"; @@ -688,6 +671,19 @@ public interface I_I_FAJournal */ public String getIsDepreciated(); + /** Column name ISO_Code */ + public static final String COLUMNNAME_ISO_Code = "ISO_Code"; + + /** Set ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code); + + /** Get ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code(); + /** Column name JournalDocumentNo */ public static final String COLUMNNAME_JournalDocumentNo = "JournalDocumentNo"; @@ -855,32 +851,6 @@ public interface I_I_FAJournal */ public String getUPC(); - /** Column name User1_ID */ - public static final String COLUMNNAME_User1_ID = "User1_ID"; - - /** Set User List 1. - * User defined list element #1 - */ - public void setUser1_ID (int User1_ID); - - /** Get User List 1. - * User defined list element #1 - */ - public int getUser1_ID(); - - /** Column name User2_ID */ - public static final String COLUMNNAME_User2_ID = "User2_ID"; - - /** Set User List 2. - * User defined list element #2 - */ - public void setUser2_ID (int User2_ID); - - /** Get User List 2. - * User defined list element #2 - */ - public int getUser2_ID(); - /** Column name UserElement1_ID */ public static final String COLUMNNAME_UserElement1_ID = "UserElement1_ID"; @@ -906,4 +876,30 @@ public interface I_I_FAJournal * User defined accounting Element */ public int getUserElement2_ID(); + + /** Column name User1_ID */ + public static final String COLUMNNAME_User1_ID = "User1_ID"; + + /** Set User List 1. + * User defined list element #1 + */ + public void setUser1_ID (int User1_ID); + + /** Get User List 1. + * User defined list element #1 + */ + public int getUser1_ID(); + + /** Column name User2_ID */ + public static final String COLUMNNAME_User2_ID = "User2_ID"; + + /** Set User List 2. + * User defined list element #2 + */ + public void setUser2_ID (int User2_ID); + + /** Get User List 2. + * User defined list element #2 + */ + public int getUser2_ID(); } diff --git a/base/src/org/compiere/model/I_I_GLJournal.java b/base/src/org/compiere/model/I_I_GLJournal.java index d9fa9e9e55..35dd7a453b 100644 --- a/base/src/org/compiere/model/I_I_GLJournal.java +++ b/base/src/org/compiere/model/I_I_GLJournal.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_GLJournal - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_GLJournal { @@ -57,6 +53,45 @@ public interface I_I_GLJournal /** Load Meta Data */ + /** Column name Account_ID */ + public static final String COLUMNNAME_Account_ID = "Account_ID"; + + /** Set Account. + * Account used + */ + public void setAccount_ID (int Account_ID); + + /** Get Account. + * Account used + */ + public int getAccount_ID(); + + /** Column name AccountValue */ + public static final String COLUMNNAME_AccountValue = "AccountValue"; + + /** Set Account Key. + * Key of Account Element + */ + public void setAccountValue (String AccountValue); + + /** Get Account Key. + * Key of Account Element + */ + public String getAccountValue(); + + /** Column name AcctSchemaName */ + public static final String COLUMNNAME_AcctSchemaName = "AcctSchemaName"; + + /** Set Account Schema Name. + * Name of the Accounting Schema + */ + public void setAcctSchemaName (String AcctSchemaName); + + /** Get Account Schema Name. + * Name of the Accounting Schema + */ + public String getAcctSchemaName(); + /** Column name AD_OrgDoc_ID */ public static final String COLUMNNAME_AD_OrgDoc_ID = "AD_OrgDoc_ID"; @@ -83,45 +118,6 @@ public interface I_I_GLJournal */ public int getAD_OrgTrx_ID(); - /** Column name AccountValue */ - public static final String COLUMNNAME_AccountValue = "AccountValue"; - - /** Set Account Key. - * Key of Account Element - */ - public void setAccountValue (String AccountValue); - - /** Get Account Key. - * Key of Account Element - */ - public String getAccountValue(); - - /** Column name Account_ID */ - public static final String COLUMNNAME_Account_ID = "Account_ID"; - - /** Set Account. - * Account used - */ - public void setAccount_ID (int Account_ID); - - /** Get Account. - * Account used - */ - public int getAccount_ID(); - - /** Column name AcctSchemaName */ - public static final String COLUMNNAME_AcctSchemaName = "AcctSchemaName"; - - /** Set Account Schema Name. - * Name of the Accounting Schema - */ - public void setAcctSchemaName (String AcctSchemaName); - - /** Get Account Schema Name. - * Name of the Accounting Schema - */ - public String getAcctSchemaName(); - /** Column name AmtAcctCr */ public static final String COLUMNNAME_AmtAcctCr = "AmtAcctCr"; @@ -174,19 +170,6 @@ public interface I_I_GLJournal */ public BigDecimal getAmtSourceDr(); - /** Column name BPartnerValue */ - public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; - - /** Set Business Partner Key. - * Key of the Business Partner - */ - public void setBPartnerValue (String BPartnerValue); - - /** Get Business Partner Key. - * Key of the Business Partner - */ - public String getBPartnerValue(); - /** Column name BatchDescription */ public static final String COLUMNNAME_BatchDescription = "BatchDescription"; @@ -213,6 +196,19 @@ public interface I_I_GLJournal */ public String getBatchDocumentNo(); + /** Column name BPartnerValue */ + public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; + + /** Set Business Partner Key. + * Key of the Business Partner + */ + public void setBPartnerValue (String BPartnerValue); + + /** Get Business Partner Key. + * Key of the Business Partner + */ + public String getBPartnerValue(); + /** Column name C_AcctSchema_ID */ public static final String COLUMNNAME_C_AcctSchema_ID = "C_AcctSchema_ID"; @@ -243,6 +239,19 @@ public interface I_I_GLJournal public I_C_Activity getC_Activity() throws Exception; + /** Column name CategoryName */ + public static final String COLUMNNAME_CategoryName = "CategoryName"; + + /** Set Category Name. + * Name of the Category + */ + public void setCategoryName (String CategoryName); + + /** Get Category Name. + * Name of the Category + */ + public String getCategoryName(); + /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -318,6 +327,19 @@ public interface I_I_GLJournal public I_C_DocType getC_DocType() throws Exception; + /** Column name ClientValue */ + public static final String COLUMNNAME_ClientValue = "ClientValue"; + + /** Set Client Key. + * Key of the Client + */ + public void setClientValue (String ClientValue); + + /** Get Client Key. + * Key of the Client + */ + public String getClientValue(); + /** Column name C_LocFrom_ID */ public static final String COLUMNNAME_C_LocFrom_ID = "C_LocFrom_ID"; @@ -344,6 +366,19 @@ public interface I_I_GLJournal */ public int getC_LocTo_ID(); + /** Column name ConversionTypeValue */ + public static final String COLUMNNAME_ConversionTypeValue = "ConversionTypeValue"; + + /** Set Currency Type Key. + * Key value for the Currency Conversion Rate Type + */ + public void setConversionTypeValue (String ConversionTypeValue); + + /** Get Currency Type Key. + * Key value for the Currency Conversion Rate Type + */ + public String getConversionTypeValue(); + /** Column name C_Period_ID */ public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; @@ -404,6 +439,19 @@ public interface I_I_GLJournal public I_C_UOM getC_UOM() throws Exception; + /** Column name CurrencyRate */ + public static final String COLUMNNAME_CurrencyRate = "CurrencyRate"; + + /** Set Rate. + * Currency Conversion Rate + */ + public void setCurrencyRate (BigDecimal CurrencyRate); + + /** Get Rate. + * Currency Conversion Rate + */ + public BigDecimal getCurrencyRate(); + /** Column name C_ValidCombination_ID */ public static final String COLUMNNAME_C_ValidCombination_ID = "C_ValidCombination_ID"; @@ -419,58 +467,6 @@ public interface I_I_GLJournal public I_C_ValidCombination getC_ValidCombination() throws Exception; - /** Column name CategoryName */ - public static final String COLUMNNAME_CategoryName = "CategoryName"; - - /** Set Category Name. - * Name of the Category - */ - public void setCategoryName (String CategoryName); - - /** Get Category Name. - * Name of the Category - */ - public String getCategoryName(); - - /** Column name ClientValue */ - public static final String COLUMNNAME_ClientValue = "ClientValue"; - - /** Set Client Key. - * Key of the Client - */ - public void setClientValue (String ClientValue); - - /** Get Client Key. - * Key of the Client - */ - public String getClientValue(); - - /** Column name ConversionTypeValue */ - public static final String COLUMNNAME_ConversionTypeValue = "ConversionTypeValue"; - - /** Set Currency Type Key. - * Key value for the Currency Conversion Rate Type - */ - public void setConversionTypeValue (String ConversionTypeValue); - - /** Get Currency Type Key. - * Key value for the Currency Conversion Rate Type - */ - public String getConversionTypeValue(); - - /** Column name CurrencyRate */ - public static final String COLUMNNAME_CurrencyRate = "CurrencyRate"; - - /** Set Rate. - * Currency Conversion Rate - */ - public void setCurrencyRate (BigDecimal CurrencyRate); - - /** Get Rate. - * Currency Conversion Rate - */ - public BigDecimal getCurrencyRate(); - /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; @@ -555,21 +551,6 @@ public interface I_I_GLJournal public I_GL_JournalBatch getGL_JournalBatch() throws Exception; - /** Column name GL_JournalLine_ID */ - public static final String COLUMNNAME_GL_JournalLine_ID = "GL_JournalLine_ID"; - - /** Set Journal Line. - * General Ledger Journal Line - */ - public void setGL_JournalLine_ID (int GL_JournalLine_ID); - - /** Get Journal Line. - * General Ledger Journal Line - */ - public int getGL_JournalLine_ID(); - - public I_GL_JournalLine getGL_JournalLine() throws Exception; - /** Column name GL_Journal_ID */ public static final String COLUMNNAME_GL_Journal_ID = "GL_Journal_ID"; @@ -585,18 +566,20 @@ public interface I_I_GLJournal public I_GL_Journal getGL_Journal() throws Exception; - /** Column name ISO_Code */ - public static final String COLUMNNAME_ISO_Code = "ISO_Code"; + /** Column name GL_JournalLine_ID */ + public static final String COLUMNNAME_GL_JournalLine_ID = "GL_JournalLine_ID"; - /** Set ISO Currency Code. - * Three letter ISO 4217 Code of the Currency + /** Set Journal Line. + * General Ledger Journal Line */ - public void setISO_Code (String ISO_Code); + public void setGL_JournalLine_ID (int GL_JournalLine_ID); - /** Get ISO Currency Code. - * Three letter ISO 4217 Code of the Currency + /** Get Journal Line. + * General Ledger Journal Line */ - public String getISO_Code(); + public int getGL_JournalLine_ID(); + + public I_GL_JournalLine getGL_JournalLine() throws Exception; /** Column name I_ErrorMsg */ public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg"; @@ -663,6 +646,19 @@ public interface I_I_GLJournal */ public boolean isCreateNewJournal(); + /** Column name ISO_Code */ + public static final String COLUMNNAME_ISO_Code = "ISO_Code"; + + /** Set ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code); + + /** Get ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code(); + /** Column name JournalDocumentNo */ public static final String COLUMNNAME_JournalDocumentNo = "JournalDocumentNo"; diff --git a/base/src/org/compiere/model/I_I_InOutLineConfirm.java b/base/src/org/compiere/model/I_I_InOutLineConfirm.java index 2590457a34..6295a17d24 100644 --- a/base/src/org/compiere/model/I_I_InOutLineConfirm.java +++ b/base/src/org/compiere/model/I_I_InOutLineConfirm.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for I_InOutLineConfirm - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_InOutLineConfirm { diff --git a/base/src/org/compiere/model/I_I_Inventory.java b/base/src/org/compiere/model/I_I_Inventory.java index 7fa73b8339..d3f1163ec4 100644 --- a/base/src/org/compiere/model/I_I_Inventory.java +++ b/base/src/org/compiere/model/I_I_Inventory.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_Inventory - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_Inventory { @@ -135,21 +131,6 @@ public interface I_I_Inventory */ public String getLot(); - /** Column name M_InventoryLine_ID */ - public static final String COLUMNNAME_M_InventoryLine_ID = "M_InventoryLine_ID"; - - /** Set Phys.Inventory Line. - * Unique line in an Inventory document - */ - public void setM_InventoryLine_ID (int M_InventoryLine_ID); - - /** Get Phys.Inventory Line. - * Unique line in an Inventory document - */ - public int getM_InventoryLine_ID(); - - public I_M_InventoryLine getM_InventoryLine() throws Exception; - /** Column name M_Inventory_ID */ public static final String COLUMNNAME_M_Inventory_ID = "M_Inventory_ID"; @@ -165,6 +146,21 @@ public interface I_I_Inventory public I_M_Inventory getM_Inventory() throws Exception; + /** Column name M_InventoryLine_ID */ + public static final String COLUMNNAME_M_InventoryLine_ID = "M_InventoryLine_ID"; + + /** Set Phys.Inventory Line. + * Unique line in an Inventory document + */ + public void setM_InventoryLine_ID (int M_InventoryLine_ID); + + /** Get Phys.Inventory Line. + * Unique line in an Inventory document + */ + public int getM_InventoryLine_ID(); + + public I_M_InventoryLine getM_InventoryLine() throws Exception; + /** Column name M_Locator_ID */ public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; @@ -180,6 +176,19 @@ public interface I_I_Inventory public I_M_Locator getM_Locator() throws Exception; + /** Column name MovementDate */ + public static final String COLUMNNAME_MovementDate = "MovementDate"; + + /** Set Movement Date. + * Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate); + + /** Get Movement Date. + * Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -210,19 +219,6 @@ public interface I_I_Inventory public I_M_Warehouse getM_Warehouse() throws Exception; - /** Column name MovementDate */ - public static final String COLUMNNAME_MovementDate = "MovementDate"; - - /** Set Movement Date. - * Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate); - - /** Get Movement Date. - * Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate(); - /** Column name Processed */ public static final String COLUMNNAME_Processed = "Processed"; diff --git a/base/src/org/compiere/model/I_I_Invoice.java b/base/src/org/compiere/model/I_I_Invoice.java index 8cac4707c5..1483429a63 100644 --- a/base/src/org/compiere/model/I_I_Invoice.java +++ b/base/src/org/compiere/model/I_I_Invoice.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_Invoice - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_Invoice { @@ -57,34 +53,6 @@ public interface I_I_Invoice /** Load Meta Data */ - /** Column name AD_OrgTrx_ID */ - public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; - - /** Set Trx Organization. - * Performing or initiating organization - */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); - - /** Get Trx Organization. - * Performing or initiating organization - */ - public int getAD_OrgTrx_ID(); - - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID); - - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID(); - - public I_AD_User getAD_User() throws Exception; - /** Column name ActivityValue */ public static final String COLUMNNAME_ActivityValue = "ActivityValue"; @@ -120,6 +88,34 @@ public interface I_I_Invoice */ public String getAddress2(); + /** Column name AD_OrgTrx_ID */ + public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; + + /** Set Trx Organization. + * Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); + + /** Get Trx Organization. + * Performing or initiating organization + */ + public int getAD_OrgTrx_ID(); + + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + + public I_AD_User getAD_User() throws Exception; + /** Column name BPartnerValue */ public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; @@ -253,20 +249,18 @@ public interface I_I_Invoice public I_C_DocType getC_DocType() throws Exception; - /** Column name C_InvoiceLine_ID */ - public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; + /** Column name ChargeName */ + public static final String COLUMNNAME_ChargeName = "ChargeName"; - /** Set Invoice Line. - * Invoice Detail Line + /** Set Charge Name. + * Name of the Charge */ - public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); + public void setChargeName (String ChargeName); - /** Get Invoice Line. - * Invoice Detail Line + /** Get Charge Name. + * Name of the Charge */ - public int getC_InvoiceLine_ID(); - - public I_C_InvoiceLine getC_InvoiceLine() throws Exception; + public String getChargeName(); /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -283,6 +277,34 @@ public interface I_I_Invoice public I_C_Invoice getC_Invoice() throws Exception; + /** Column name C_InvoiceLine_ID */ + public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID"; + + /** Set Invoice Line. + * Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID); + + /** Get Invoice Line. + * Invoice Detail Line + */ + public int getC_InvoiceLine_ID(); + + public I_C_InvoiceLine getC_InvoiceLine() throws Exception; + + /** Column name City */ + public static final String COLUMNNAME_City = "City"; + + /** Set City. + * Identifies a City + */ + public void setCity (String City); + + /** Get City. + * Identifies a City + */ + public String getCity(); + /** Column name C_Location_ID */ public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; @@ -298,6 +320,32 @@ public interface I_I_Invoice public I_C_Location getC_Location() throws Exception; + /** Column name ContactName */ + public static final String COLUMNNAME_ContactName = "ContactName"; + + /** Set Contact Name. + * Business Partner Contact Name + */ + public void setContactName (String ContactName); + + /** Get Contact Name. + * Business Partner Contact Name + */ + public String getContactName(); + + /** Column name CountryCode */ + public static final String COLUMNNAME_CountryCode = "CountryCode"; + + /** Set ISO Country Code. + * 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); + + /** Get ISO Country Code. + * 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 boolean isCountryCode(); + /** Column name C_PaymentTerm_ID */ public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; @@ -358,58 +406,6 @@ public interface I_I_Invoice public I_C_Tax getC_Tax() throws Exception; - /** Column name ChargeName */ - public static final String COLUMNNAME_ChargeName = "ChargeName"; - - /** Set Charge Name. - * Name of the Charge - */ - public void setChargeName (String ChargeName); - - /** Get Charge Name. - * Name of the Charge - */ - public String getChargeName(); - - /** Column name City */ - public static final String COLUMNNAME_City = "City"; - - /** Set City. - * Identifies a City - */ - public void setCity (String City); - - /** Get City. - * Identifies a City - */ - public String getCity(); - - /** Column name ContactName */ - public static final String COLUMNNAME_ContactName = "ContactName"; - - /** Set Contact Name. - * Business Partner Contact Name - */ - public void setContactName (String ContactName); - - /** Get Contact Name. - * Business Partner Contact Name - */ - public String getContactName(); - - /** Column name CountryCode */ - public static final String COLUMNNAME_CountryCode = "CountryCode"; - - /** Set ISO Country Code. - * 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); - - /** Get ISO Country Code. - * 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 boolean isCountryCode(); - /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; @@ -722,19 +718,6 @@ public interface I_I_Invoice */ public String getRegionName(); - /** Column name SKU */ - public static final String COLUMNNAME_SKU = "SKU"; - - /** Set SKU. - * Stock Keeping Unit - */ - public void setSKU (String SKU); - - /** Get SKU. - * Stock Keeping Unit - */ - public String getSKU(); - /** Column name SalesRep_ID */ public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID"; @@ -748,6 +731,19 @@ public interface I_I_Invoice */ public int getSalesRep_ID(); + /** Column name SKU */ + public static final String COLUMNNAME_SKU = "SKU"; + + /** Set SKU. + * Stock Keeping Unit + */ + public void setSKU (String SKU); + + /** Get SKU. + * Stock Keeping Unit + */ + public String getSKU(); + /** Column name TaxAmt */ public static final String COLUMNNAME_TaxAmt = "TaxAmt"; diff --git a/base/src/org/compiere/model/I_I_Order.java b/base/src/org/compiere/model/I_I_Order.java index 322a024392..52780f3b1a 100644 --- a/base/src/org/compiere/model/I_I_Order.java +++ b/base/src/org/compiere/model/I_I_Order.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_Order - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_Order { @@ -57,6 +53,32 @@ public interface I_I_Order /** Load Meta Data */ + /** Column name Address1 */ + public static final String COLUMNNAME_Address1 = "Address1"; + + /** Set Address 1. + * Address line 1 for this location + */ + public void setAddress1 (String Address1); + + /** Get Address 1. + * Address line 1 for this location + */ + public String getAddress1(); + + /** Column name Address2 */ + public static final String COLUMNNAME_Address2 = "Address2"; + + /** Set Address 2. + * Address line 2 for this location + */ + public void setAddress2 (String Address2); + + /** Get Address 2. + * Address line 2 for this location + */ + public String getAddress2(); + /** Column name AD_OrgTrx_ID */ public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; @@ -85,31 +107,18 @@ public interface I_I_Order public I_AD_User getAD_User() throws Exception; - /** Column name Address1 */ - public static final String COLUMNNAME_Address1 = "Address1"; + /** Column name BillTo_ID */ + public static final String COLUMNNAME_BillTo_ID = "BillTo_ID"; - /** Set Address 1. - * Address line 1 for this location + /** Set Invoice To. + * Bill to Address */ - public void setAddress1 (String Address1); + public void setBillTo_ID (int BillTo_ID); - /** Get Address 1. - * Address line 1 for this location + /** Get Invoice To. + * Bill to Address */ - public String getAddress1(); - - /** Column name Address2 */ - public static final String COLUMNNAME_Address2 = "Address2"; - - /** Set Address 2. - * Address line 2 for this location - */ - public void setAddress2 (String Address2); - - /** Get Address 2. - * Address line 2 for this location - */ - public String getAddress2(); + public int getBillTo_ID(); /** Column name BPartnerValue */ public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; @@ -124,19 +133,6 @@ public interface I_I_Order */ public String getBPartnerValue(); - /** Column name BillTo_ID */ - public static final String COLUMNNAME_BillTo_ID = "BillTo_ID"; - - /** Set Invoice To. - * Bill to Address - */ - public void setBillTo_ID (int BillTo_ID); - - /** Get Invoice To. - * Bill to Address - */ - public int getBillTo_ID(); - /** Column name C_Activity_ID */ public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID"; @@ -242,6 +238,19 @@ public interface I_I_Order public I_C_DocType getC_DocType() throws Exception; + /** Column name City */ + public static final String COLUMNNAME_City = "City"; + + /** Set City. + * Identifies a City + */ + public void setCity (String City); + + /** Get City. + * Identifies a City + */ + public String getCity(); + /** Column name C_Location_ID */ public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; @@ -257,6 +266,34 @@ public interface I_I_Order public I_C_Location getC_Location() throws Exception; + /** Column name ContactName */ + public static final String COLUMNNAME_ContactName = "ContactName"; + + /** Set Contact Name. + * Business Partner Contact Name + */ + public void setContactName (String ContactName); + + /** Get Contact Name. + * Business Partner Contact Name + */ + public String getContactName(); + + /** Column name C_Order_ID */ + public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; + + /** Set Order. + * Order + */ + public void setC_Order_ID (int C_Order_ID); + + /** Get Order. + * Order + */ + public int getC_Order_ID(); + + public I_C_Order getC_Order() throws Exception; + /** Column name C_OrderLine_ID */ public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID"; @@ -272,20 +309,18 @@ public interface I_I_Order public I_C_OrderLine getC_OrderLine() throws Exception; - /** Column name C_Order_ID */ - public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; + /** Column name CountryCode */ + public static final String COLUMNNAME_CountryCode = "CountryCode"; - /** Set Order. - * Order + /** Set ISO Country Code. + * 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 setC_Order_ID (int C_Order_ID); + public void setCountryCode (String CountryCode); - /** Get Order. - * Order + /** Get ISO Country Code. + * 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 int getC_Order_ID(); - - public I_C_Order getC_Order() throws Exception; + public String getCountryCode(); /** Column name C_PaymentTerm_ID */ public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; @@ -362,45 +397,6 @@ public interface I_I_Order public I_C_UOM getC_UOM() throws Exception; - /** Column name City */ - public static final String COLUMNNAME_City = "City"; - - /** Set City. - * Identifies a City - */ - public void setCity (String City); - - /** Get City. - * Identifies a City - */ - public String getCity(); - - /** Column name ContactName */ - public static final String COLUMNNAME_ContactName = "ContactName"; - - /** Set Contact Name. - * Business Partner Contact Name - */ - public void setContactName (String ContactName); - - /** Get Contact Name. - * Business Partner Contact Name - */ - public String getContactName(); - - /** Column name CountryCode */ - public static final String COLUMNNAME_CountryCode = "CountryCode"; - - /** Set ISO Country Code. - * 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 (String CountryCode); - - /** Get ISO Country Code. - * 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 String getCountryCode(); - /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; @@ -743,19 +739,6 @@ public interface I_I_Order */ public String getRegionName(); - /** Column name SKU */ - public static final String COLUMNNAME_SKU = "SKU"; - - /** Set SKU. - * Stock Keeping Unit - */ - public void setSKU (String SKU); - - /** Get SKU. - * Stock Keeping Unit - */ - public String getSKU(); - /** Column name SalesRep_ID */ public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID"; @@ -769,6 +752,19 @@ public interface I_I_Order */ public int getSalesRep_ID(); + /** Column name SKU */ + public static final String COLUMNNAME_SKU = "SKU"; + + /** Set SKU. + * Stock Keeping Unit + */ + public void setSKU (String SKU); + + /** Get SKU. + * Stock Keeping Unit + */ + public String getSKU(); + /** Column name TaxAmt */ public static final String COLUMNNAME_TaxAmt = "TaxAmt"; diff --git a/base/src/org/compiere/model/I_I_Payment.java b/base/src/org/compiere/model/I_I_Payment.java index c58050b4ab..0ea9d5f789 100644 --- a/base/src/org/compiere/model/I_I_Payment.java +++ b/base/src/org/compiere/model/I_I_Payment.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_Payment - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_Payment { @@ -57,6 +53,19 @@ public interface I_I_Payment /** Load Meta Data */ + /** Column name AccountNo */ + public static final String COLUMNNAME_AccountNo = "AccountNo"; + + /** Set Account No. + * Account Number + */ + public void setAccountNo (String AccountNo); + + /** Get Account No. + * Account Number + */ + public String getAccountNo(); + /** Column name A_City */ public static final String COLUMNNAME_A_City = "A_City"; @@ -174,32 +183,6 @@ public interface I_I_Payment */ public String getA_Zip(); - /** Column name AccountNo */ - public static final String COLUMNNAME_AccountNo = "AccountNo"; - - /** Set Account No. - * Account Number - */ - public void setAccountNo (String AccountNo); - - /** Get Account No. - * Account Number - */ - public String getAccountNo(); - - /** Column name BPartnerValue */ - public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; - - /** Set Business Partner Key. - * Key of the Business Partner - */ - public void setBPartnerValue (String BPartnerValue); - - /** Get Business Partner Key. - * Key of the Business Partner - */ - public String getBPartnerValue(); - /** Column name BankAccountNo */ public static final String COLUMNNAME_BankAccountNo = "BankAccountNo"; @@ -213,20 +196,18 @@ public interface I_I_Payment */ public String getBankAccountNo(); - /** Column name C_BPartner_ID */ - public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; + /** Column name BPartnerValue */ + public static final String COLUMNNAME_BPartnerValue = "BPartnerValue"; - /** Set Business Partner . - * Identifies a Business Partner + /** Set Business Partner Key. + * Key of the Business Partner */ - public void setC_BPartner_ID (int C_BPartner_ID); + public void setBPartnerValue (String BPartnerValue); - /** Get Business Partner . - * Identifies a Business Partner + /** Get Business Partner Key. + * Key of the Business Partner */ - public int getC_BPartner_ID(); - - public I_C_BPartner getC_BPartner() throws Exception; + public String getBPartnerValue(); /** Column name C_BankAccount_ID */ public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID"; @@ -243,6 +224,21 @@ public interface I_I_Payment public I_C_BankAccount getC_BankAccount() throws Exception; + /** Column name C_BPartner_ID */ + public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; + + /** Set Business Partner . + * Identifies a Business Partner + */ + public void setC_BPartner_ID (int C_BPartner_ID); + + /** Get Business Partner . + * Identifies a Business Partner + */ + public int getC_BPartner_ID(); + + public I_C_BPartner getC_BPartner() throws Exception; + /** Column name C_Charge_ID */ public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID"; @@ -288,36 +284,6 @@ public interface I_I_Payment public I_C_DocType getC_DocType() throws Exception; - /** Column name C_Invoice_ID */ - public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; - - /** Set Invoice. - * Invoice Identifier - */ - public void setC_Invoice_ID (int C_Invoice_ID); - - /** Get Invoice. - * Invoice Identifier - */ - public int getC_Invoice_ID(); - - public I_C_Invoice getC_Invoice() throws Exception; - - /** Column name C_Payment_ID */ - public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID"; - - /** Set Payment. - * Payment identifier - */ - public void setC_Payment_ID (int C_Payment_ID); - - /** Get Payment. - * Payment identifier - */ - public int getC_Payment_ID(); - - public I_C_Payment getC_Payment() throws Exception; - /** Column name ChargeAmt */ public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; @@ -357,6 +323,36 @@ public interface I_I_Payment */ public String getCheckNo(); + /** Column name C_Invoice_ID */ + public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; + + /** Set Invoice. + * Invoice Identifier + */ + public void setC_Invoice_ID (int C_Invoice_ID); + + /** Get Invoice. + * Invoice Identifier + */ + public int getC_Invoice_ID(); + + public I_C_Invoice getC_Invoice() throws Exception; + + /** Column name C_Payment_ID */ + public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID"; + + /** Set Payment. + * Payment identifier + */ + public void setC_Payment_ID (int C_Payment_ID); + + /** Get Payment. + * Payment identifier + */ + public int getC_Payment_ID(); + + public I_C_Payment getC_Payment() throws Exception; + /** Column name CreditCardExpMM */ public static final String COLUMNNAME_CreditCardExpMM = "CreditCardExpMM"; @@ -487,19 +483,6 @@ public interface I_I_Payment */ public String getDocumentNo(); - /** Column name ISO_Code */ - public static final String COLUMNNAME_ISO_Code = "ISO_Code"; - - /** Set ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code); - - /** Get ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code(); - /** Column name I_ErrorMsg */ public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg"; @@ -526,19 +509,6 @@ public interface I_I_Payment */ public boolean isI_IsImported(); - /** Column name I_Payment_ID */ - public static final String COLUMNNAME_I_Payment_ID = "I_Payment_ID"; - - /** Set Import Payment. - * Import Payment - */ - public void setI_Payment_ID (int I_Payment_ID); - - /** Get Import Payment. - * Import Payment - */ - public int getI_Payment_ID(); - /** Column name InvoiceDocumentNo */ public static final String COLUMNNAME_InvoiceDocumentNo = "InvoiceDocumentNo"; @@ -552,6 +522,19 @@ public interface I_I_Payment */ public String getInvoiceDocumentNo(); + /** Column name I_Payment_ID */ + public static final String COLUMNNAME_I_Payment_ID = "I_Payment_ID"; + + /** Set Import Payment. + * Import Payment + */ + public void setI_Payment_ID (int I_Payment_ID); + + /** Get Import Payment. + * Import Payment + */ + public int getI_Payment_ID(); + /** Column name IsApproved */ public static final String COLUMNNAME_IsApproved = "IsApproved"; @@ -578,6 +561,19 @@ public interface I_I_Payment */ public boolean isDelayedCapture(); + /** Column name ISO_Code */ + public static final String COLUMNNAME_ISO_Code = "ISO_Code"; + + /** Set ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code); + + /** Get ISO Currency Code. + * Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code(); + /** Column name IsOverUnderPayment */ public static final String COLUMNNAME_IsOverUnderPayment = "IsOverUnderPayment"; @@ -656,19 +652,6 @@ public interface I_I_Payment */ public BigDecimal getOverUnderAmt(); - /** Column name PONum */ - public static final String COLUMNNAME_PONum = "PONum"; - - /** Set PO Number. - * Purchase Order Number - */ - public void setPONum (String PONum); - - /** Get PO Number. - * Purchase Order Number - */ - public String getPONum(); - /** Column name PayAmt */ public static final String COLUMNNAME_PayAmt = "PayAmt"; @@ -682,6 +665,19 @@ public interface I_I_Payment */ public BigDecimal getPayAmt(); + /** Column name PONum */ + public static final String COLUMNNAME_PONum = "PONum"; + + /** Set PO Number. + * Purchase Order Number + */ + public void setPONum (String PONum); + + /** Get PO Number. + * Purchase Order Number + */ + public String getPONum(); + /** Column name Processed */ public static final String COLUMNNAME_Processed = "Processed"; @@ -730,6 +726,19 @@ public interface I_I_Payment */ public String getR_Info(); + /** Column name RoutingNo */ + public static final String COLUMNNAME_RoutingNo = "RoutingNo"; + + /** Set Routing No. + * Bank Routing Number + */ + public void setRoutingNo (String RoutingNo); + + /** Get Routing No. + * Bank Routing Number + */ + public String getRoutingNo(); + /** Column name R_PnRef */ public static final String COLUMNNAME_R_PnRef = "R_PnRef"; @@ -769,19 +778,6 @@ public interface I_I_Payment */ public String getR_Result(); - /** Column name RoutingNo */ - public static final String COLUMNNAME_RoutingNo = "RoutingNo"; - - /** Set Routing No. - * Bank Routing Number - */ - public void setRoutingNo (String RoutingNo); - - /** Get Routing No. - * Bank Routing Number - */ - public String getRoutingNo(); - /** Column name Swipe */ public static final String COLUMNNAME_Swipe = "Swipe"; diff --git a/base/src/org/compiere/model/I_I_Product.java b/base/src/org/compiere/model/I_I_Product.java index 025ffe9171..3778ba38af 100644 --- a/base/src/org/compiere/model/I_I_Product.java +++ b/base/src/org/compiere/model/I_I_Product.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for I_Product - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_Product { @@ -100,21 +96,6 @@ public interface I_I_Product public I_C_Currency getC_Currency() throws Exception; - /** Column name C_UOM_ID */ - public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; - - /** Set UOM. - * Unit of Measure - */ - public void setC_UOM_ID (int C_UOM_ID); - - /** Get UOM. - * Unit of Measure - */ - public int getC_UOM_ID(); - - public I_C_UOM getC_UOM() throws Exception; - /** Column name Classification */ public static final String COLUMNNAME_Classification = "Classification"; @@ -141,6 +122,21 @@ public interface I_I_Product */ public BigDecimal getCostPerOrder(); + /** Column name C_UOM_ID */ + public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; + + /** Set UOM. + * Unit of Measure + */ + public void setC_UOM_ID (int C_UOM_ID); + + /** Get UOM. + * Unit of Measure + */ + public int getC_UOM_ID(); + + public I_C_UOM getC_UOM() throws Exception; + /** Column name DeliveryTime_Promised */ public static final String COLUMNNAME_DeliveryTime_Promised = "DeliveryTime_Promised"; @@ -232,19 +228,6 @@ public interface I_I_Product */ public String getHelp(); - /** Column name ISO_Code */ - public static final String COLUMNNAME_ISO_Code = "ISO_Code"; - - /** Set ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code); - - /** Get ISO Currency Code. - * Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code(); - /** Column name I_ErrorMsg */ public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg"; @@ -271,6 +254,19 @@ public interface I_I_Product */ public boolean isI_IsImported(); + /** Column name ImageURL */ + public static final String COLUMNNAME_ImageURL = "ImageURL"; + + /** Set Image URL. + * URL of image + */ + public void setImageURL (String ImageURL); + + /** Get Image URL. + * URL of image + */ + public String getImageURL(); + /** Column name I_Product_ID */ public static final String COLUMNNAME_I_Product_ID = "I_Product_ID"; @@ -284,18 +280,31 @@ public interface I_I_Product */ public int getI_Product_ID(); - /** Column name ImageURL */ - public static final String COLUMNNAME_ImageURL = "ImageURL"; + /** Column name ISO_Code */ + public static final String COLUMNNAME_ISO_Code = "ISO_Code"; - /** Set Image URL. - * URL of image + /** Set ISO Currency Code. + * Three letter ISO 4217 Code of the Currency */ - public void setImageURL (String ImageURL); + public void setISO_Code (String ISO_Code); - /** Get Image URL. - * URL of image + /** Get ISO Currency Code. + * Three letter ISO 4217 Code of the Currency */ - public String getImageURL(); + public String getISO_Code(); + + /** Column name Manufacturer */ + public static final String COLUMNNAME_Manufacturer = "Manufacturer"; + + /** Set Manufacturer. + * Manufacturer of the Product + */ + public void setManufacturer (String Manufacturer); + + /** Get Manufacturer. + * Manufacturer of the Product + */ + public String getManufacturer(); /** Column name M_Product_Category_ID */ public static final String COLUMNNAME_M_Product_Category_ID = "M_Product_Category_ID"; @@ -327,19 +336,6 @@ public interface I_I_Product public I_M_Product getM_Product() throws Exception; - /** Column name Manufacturer */ - public static final String COLUMNNAME_Manufacturer = "Manufacturer"; - - /** Set Manufacturer. - * Manufacturer of the Product - */ - public void setManufacturer (String Manufacturer); - - /** Get Manufacturer. - * Manufacturer of the Product - */ - public String getManufacturer(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; @@ -501,19 +497,6 @@ public interface I_I_Product */ public BigDecimal getRoyaltyAmt(); - /** Column name SKU */ - public static final String COLUMNNAME_SKU = "SKU"; - - /** Set SKU. - * Stock Keeping Unit - */ - public void setSKU (String SKU); - - /** Get SKU. - * Stock Keeping Unit - */ - public String getSKU(); - /** Column name ShelfDepth */ public static final String COLUMNNAME_ShelfDepth = "ShelfDepth"; @@ -553,18 +536,18 @@ public interface I_I_Product */ public int getShelfWidth(); - /** Column name UPC */ - public static final String COLUMNNAME_UPC = "UPC"; + /** Column name SKU */ + public static final String COLUMNNAME_SKU = "SKU"; - /** Set UPC/EAN. - * Bar Code (Universal Product Code or its superset European Article Number) + /** Set SKU. + * Stock Keeping Unit */ - public void setUPC (String UPC); + public void setSKU (String SKU); - /** Get UPC/EAN. - * Bar Code (Universal Product Code or its superset European Article Number) + /** Get SKU. + * Stock Keeping Unit */ - public String getUPC(); + public String getSKU(); /** Column name UnitsPerPallet */ public static final String COLUMNNAME_UnitsPerPallet = "UnitsPerPallet"; @@ -579,6 +562,19 @@ public interface I_I_Product */ public int getUnitsPerPallet(); + /** Column name UPC */ + public static final String COLUMNNAME_UPC = "UPC"; + + /** Set UPC/EAN. + * Bar Code (Universal Product Code or its superset European Article Number) + */ + public void setUPC (String UPC); + + /** Get UPC/EAN. + * Bar Code (Universal Product Code or its superset European Article Number) + */ + public String getUPC(); + /** Column name Value */ public static final String COLUMNNAME_Value = "Value"; diff --git a/base/src/org/compiere/model/I_I_ReportLine.java b/base/src/org/compiere/model/I_I_ReportLine.java index 7e5ac15d97..fed33b5d6e 100644 --- a/base/src/org/compiere/model/I_I_ReportLine.java +++ b/base/src/org/compiere/model/I_I_ReportLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for I_ReportLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_I_ReportLine { @@ -69,6 +65,15 @@ public interface I_I_ReportLine */ public String getAmountType(); + /** Column name CalculationType */ + public static final String COLUMNNAME_CalculationType = "CalculationType"; + + /** Set Calculation */ + public void setCalculationType (String CalculationType); + + /** Get Calculation */ + public String getCalculationType(); + /** Column name C_ElementValue_ID */ public static final String COLUMNNAME_C_ElementValue_ID = "C_ElementValue_ID"; @@ -84,15 +89,6 @@ public interface I_I_ReportLine public I_C_ElementValue getC_ElementValue() throws Exception; - /** Column name CalculationType */ - public static final String COLUMNNAME_CalculationType = "CalculationType"; - - /** Set Calculation */ - public void setCalculationType (String CalculationType); - - /** Get Calculation */ - public String getCalculationType(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -206,17 +202,6 @@ public interface I_I_ReportLine */ public String getName(); - /** Column name PA_ReportLineSet_ID */ - public static final String COLUMNNAME_PA_ReportLineSet_ID = "PA_ReportLineSet_ID"; - - /** Set Report Line Set */ - public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID); - - /** Get Report Line Set */ - public int getPA_ReportLineSet_ID(); - - public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception; - /** Column name PA_ReportLine_ID */ public static final String COLUMNNAME_PA_ReportLine_ID = "PA_ReportLine_ID"; @@ -228,6 +213,17 @@ public interface I_I_ReportLine public I_PA_ReportLine getPA_ReportLine() throws Exception; + /** Column name PA_ReportLineSet_ID */ + public static final String COLUMNNAME_PA_ReportLineSet_ID = "PA_ReportLineSet_ID"; + + /** Set Report Line Set */ + public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID); + + /** Get Report Line Set */ + public int getPA_ReportLineSet_ID(); + + public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception; + /** Column name PA_ReportSource_ID */ public static final String COLUMNNAME_PA_ReportSource_ID = "PA_ReportSource_ID"; diff --git a/base/src/org/compiere/model/I_K_Category.java b/base/src/org/compiere/model/I_K_Category.java index 3be6c20780..91a9ca80e9 100644 --- a/base/src/org/compiere/model/I_K_Category.java +++ b/base/src/org/compiere/model/I_K_Category.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_Category - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_Category { diff --git a/base/src/org/compiere/model/I_K_CategoryValue.java b/base/src/org/compiere/model/I_K_CategoryValue.java index 0c744122bc..32b65b3d83 100644 --- a/base/src/org/compiere/model/I_K_CategoryValue.java +++ b/base/src/org/compiere/model/I_K_CategoryValue.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_CategoryValue - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_CategoryValue { @@ -69,19 +65,6 @@ public interface I_K_CategoryValue */ public String getDescription(); - /** Column name K_CategoryValue_ID */ - public static final String COLUMNNAME_K_CategoryValue_ID = "K_CategoryValue_ID"; - - /** Set Category Value. - * The value of the category - */ - public void setK_CategoryValue_ID (int K_CategoryValue_ID); - - /** Get Category Value. - * The value of the category - */ - public int getK_CategoryValue_ID(); - /** Column name K_Category_ID */ public static final String COLUMNNAME_K_Category_ID = "K_Category_ID"; @@ -97,6 +80,19 @@ public interface I_K_CategoryValue public I_K_Category getK_Category() throws Exception; + /** Column name K_CategoryValue_ID */ + public static final String COLUMNNAME_K_CategoryValue_ID = "K_CategoryValue_ID"; + + /** Set Category Value. + * The value of the category + */ + public void setK_CategoryValue_ID (int K_CategoryValue_ID); + + /** Get Category Value. + * The value of the category + */ + public int getK_CategoryValue_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_K_Comment.java b/base/src/org/compiere/model/I_K_Comment.java index 1347dea5cb..4ad6e8d05d 100644 --- a/base/src/org/compiere/model/I_K_Comment.java +++ b/base/src/org/compiere/model/I_K_Comment.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_Comment - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_Comment { diff --git a/base/src/org/compiere/model/I_K_Entry.java b/base/src/org/compiere/model/I_K_Entry.java index b9d1bea2e6..e2c7417e9a 100644 --- a/base/src/org/compiere/model/I_K_Entry.java +++ b/base/src/org/compiere/model/I_K_Entry.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for K_Entry - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_Entry { @@ -111,6 +107,19 @@ public interface I_K_Entry */ public int getK_Entry_ID(); + /** Column name Keywords */ + public static final String COLUMNNAME_Keywords = "Keywords"; + + /** Set Keywords. + * List of Keywords - separated by space, comma or semicolon + */ + public void setKeywords (String Keywords); + + /** Get Keywords. + * List of Keywords - separated by space, comma or semicolon + */ + public String getKeywords(); + /** Column name K_Source_ID */ public static final String COLUMNNAME_K_Source_ID = "K_Source_ID"; @@ -141,19 +150,6 @@ public interface I_K_Entry public I_K_Topic getK_Topic() throws Exception; - /** Column name Keywords */ - public static final String COLUMNNAME_Keywords = "Keywords"; - - /** Set Keywords. - * List of Keywords - separated by space, comma or semicolon - */ - public void setKeywords (String Keywords); - - /** Get Keywords. - * List of Keywords - separated by space, comma or semicolon - */ - public String getKeywords(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_K_EntryCategory.java b/base/src/org/compiere/model/I_K_EntryCategory.java index 4a33e186c2..1a2581a5fa 100644 --- a/base/src/org/compiere/model/I_K_EntryCategory.java +++ b/base/src/org/compiere/model/I_K_EntryCategory.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_EntryCategory - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_EntryCategory { @@ -56,21 +52,6 @@ public interface I_K_EntryCategory /** Load Meta Data */ - /** Column name K_CategoryValue_ID */ - public static final String COLUMNNAME_K_CategoryValue_ID = "K_CategoryValue_ID"; - - /** Set Category Value. - * The value of the category - */ - public void setK_CategoryValue_ID (int K_CategoryValue_ID); - - /** Get Category Value. - * The value of the category - */ - public int getK_CategoryValue_ID(); - - public I_K_CategoryValue getK_CategoryValue() throws Exception; - /** Column name K_Category_ID */ public static final String COLUMNNAME_K_Category_ID = "K_Category_ID"; @@ -86,6 +67,21 @@ public interface I_K_EntryCategory public I_K_Category getK_Category() throws Exception; + /** Column name K_CategoryValue_ID */ + public static final String COLUMNNAME_K_CategoryValue_ID = "K_CategoryValue_ID"; + + /** Set Category Value. + * The value of the category + */ + public void setK_CategoryValue_ID (int K_CategoryValue_ID); + + /** Get Category Value. + * The value of the category + */ + public int getK_CategoryValue_ID(); + + public I_K_CategoryValue getK_CategoryValue() throws Exception; + /** Column name K_Entry_ID */ public static final String COLUMNNAME_K_Entry_ID = "K_Entry_ID"; diff --git a/base/src/org/compiere/model/I_K_EntryRelated.java b/base/src/org/compiere/model/I_K_EntryRelated.java index 902b9c4cd2..74f07e35e3 100644 --- a/base/src/org/compiere/model/I_K_EntryRelated.java +++ b/base/src/org/compiere/model/I_K_EntryRelated.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_EntryRelated - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_EntryRelated { @@ -56,19 +52,6 @@ public interface I_K_EntryRelated /** Load Meta Data */ - /** Column name K_EntryRelated_ID */ - public static final String COLUMNNAME_K_EntryRelated_ID = "K_EntryRelated_ID"; - - /** Set Related Entry. - * Related Entry for this Enntry - */ - public void setK_EntryRelated_ID (int K_EntryRelated_ID); - - /** Get Related Entry. - * Related Entry for this Enntry - */ - public int getK_EntryRelated_ID(); - /** Column name K_Entry_ID */ public static final String COLUMNNAME_K_Entry_ID = "K_Entry_ID"; @@ -84,6 +67,19 @@ public interface I_K_EntryRelated public I_K_Entry getK_Entry() throws Exception; + /** Column name K_EntryRelated_ID */ + public static final String COLUMNNAME_K_EntryRelated_ID = "K_EntryRelated_ID"; + + /** Set Related Entry. + * Related Entry for this Enntry + */ + public void setK_EntryRelated_ID (int K_EntryRelated_ID); + + /** Get Related Entry. + * Related Entry for this Enntry + */ + public int getK_EntryRelated_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_K_Index.java b/base/src/org/compiere/model/I_K_Index.java index 4469b01904..17871e9de8 100644 --- a/base/src/org/compiere/model/I_K_Index.java +++ b/base/src/org/compiere/model/I_K_Index.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for K_Index - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_Index { @@ -72,21 +68,6 @@ public interface I_K_Index public I_AD_Table getAD_Table() throws Exception; - /** Column name CM_WebProject_ID */ - public static final String COLUMNNAME_CM_WebProject_ID = "CM_WebProject_ID"; - - /** Set Web Project. - * A web project is the main data container for Containers, URLs, Ads, Media etc. - */ - public void setCM_WebProject_ID (int CM_WebProject_ID); - - /** Get Web Project. - * A web project is the main data container for Containers, URLs, Ads, Media etc. - */ - public int getCM_WebProject_ID(); - - public I_CM_WebProject getCM_WebProject() throws Exception; - /** Column name C_DocType_ID */ public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; @@ -102,6 +83,21 @@ public interface I_K_Index public I_C_DocType getC_DocType() throws Exception; + /** Column name CM_WebProject_ID */ + public static final String COLUMNNAME_CM_WebProject_ID = "CM_WebProject_ID"; + + /** Set Web Project. + * A web project is the main data container for Containers, URLs, Ads, Media etc. + */ + public void setCM_WebProject_ID (int CM_WebProject_ID); + + /** Get Web Project. + * A web project is the main data container for Containers, URLs, Ads, Media etc. + */ + public int getCM_WebProject_ID(); + + public I_CM_WebProject getCM_WebProject() throws Exception; + /** Column name Excerpt */ public static final String COLUMNNAME_Excerpt = "Excerpt"; @@ -115,6 +111,19 @@ public interface I_K_Index */ public String getExcerpt(); + /** Column name Keyword */ + public static final String COLUMNNAME_Keyword = "Keyword"; + + /** Set Keyword. + * Case insensitive keyword + */ + public void setKeyword (String Keyword); + + /** Get Keyword. + * Case insensitive keyword + */ + public String getKeyword(); + /** Column name K_INDEX_ID */ public static final String COLUMNNAME_K_INDEX_ID = "K_INDEX_ID"; @@ -128,18 +137,18 @@ public interface I_K_Index */ public int getK_INDEX_ID(); - /** Column name Keyword */ - public static final String COLUMNNAME_Keyword = "Keyword"; + /** Column name Record_ID */ + public static final String COLUMNNAME_Record_ID = "Record_ID"; - /** Set Keyword. - * Case insensitive keyword + /** Set Record ID. + * Direct internal record ID */ - public void setKeyword (String Keyword); + public void setRecord_ID (int Record_ID); - /** Get Keyword. - * Case insensitive keyword + /** Get Record ID. + * Direct internal record ID */ - public String getKeyword(); + public int getRecord_ID(); /** Column name R_RequestType_ID */ public static final String COLUMNNAME_R_RequestType_ID = "R_RequestType_ID"; @@ -156,19 +165,6 @@ public interface I_K_Index public I_R_RequestType getR_RequestType() throws Exception; - /** Column name Record_ID */ - public static final String COLUMNNAME_Record_ID = "Record_ID"; - - /** Set Record ID. - * Direct internal record ID - */ - public void setRecord_ID (int Record_ID); - - /** Get Record ID. - * Direct internal record ID - */ - public int getRecord_ID(); - /** Column name SourceUpdated */ public static final String COLUMNNAME_SourceUpdated = "SourceUpdated"; diff --git a/base/src/org/compiere/model/I_K_IndexLog.java b/base/src/org/compiere/model/I_K_IndexLog.java index 10d16f2f79..3a3ba69ea7 100644 --- a/base/src/org/compiere/model/I_K_IndexLog.java +++ b/base/src/org/compiere/model/I_K_IndexLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_IndexLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_IndexLog { diff --git a/base/src/org/compiere/model/I_K_IndexStop.java b/base/src/org/compiere/model/I_K_IndexStop.java index 3449322e14..fc51cf4238 100644 --- a/base/src/org/compiere/model/I_K_IndexStop.java +++ b/base/src/org/compiere/model/I_K_IndexStop.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_IndexStop - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_IndexStop { @@ -56,21 +52,6 @@ public interface I_K_IndexStop /** Load Meta Data */ - /** Column name CM_WebProject_ID */ - public static final String COLUMNNAME_CM_WebProject_ID = "CM_WebProject_ID"; - - /** Set Web Project. - * A web project is the main data container for Containers, URLs, Ads, Media etc. - */ - public void setCM_WebProject_ID (int CM_WebProject_ID); - - /** Get Web Project. - * A web project is the main data container for Containers, URLs, Ads, Media etc. - */ - public int getCM_WebProject_ID(); - - public I_CM_WebProject getCM_WebProject() throws Exception; - /** Column name C_DocType_ID */ public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; @@ -86,6 +67,21 @@ public interface I_K_IndexStop public I_C_DocType getC_DocType() throws Exception; + /** Column name CM_WebProject_ID */ + public static final String COLUMNNAME_CM_WebProject_ID = "CM_WebProject_ID"; + + /** Set Web Project. + * A web project is the main data container for Containers, URLs, Ads, Media etc. + */ + public void setCM_WebProject_ID (int CM_WebProject_ID); + + /** Get Web Project. + * A web project is the main data container for Containers, URLs, Ads, Media etc. + */ + public int getCM_WebProject_ID(); + + public I_CM_WebProject getCM_WebProject() throws Exception; + /** Column name IsManual */ public static final String COLUMNNAME_IsManual = "IsManual"; @@ -99,19 +95,6 @@ public interface I_K_IndexStop */ public boolean isManual(); - /** Column name K_IndexStop_ID */ - public static final String COLUMNNAME_K_IndexStop_ID = "K_IndexStop_ID"; - - /** Set Index Stop. - * Keyword not to be indexed - */ - public void setK_IndexStop_ID (int K_IndexStop_ID); - - /** Get Index Stop. - * Keyword not to be indexed - */ - public int getK_IndexStop_ID(); - /** Column name Keyword */ public static final String COLUMNNAME_Keyword = "Keyword"; @@ -125,6 +108,19 @@ public interface I_K_IndexStop */ public String getKeyword(); + /** Column name K_IndexStop_ID */ + public static final String COLUMNNAME_K_IndexStop_ID = "K_IndexStop_ID"; + + /** Set Index Stop. + * Keyword not to be indexed + */ + public void setK_IndexStop_ID (int K_IndexStop_ID); + + /** Get Index Stop. + * Keyword not to be indexed + */ + public int getK_IndexStop_ID(); + /** Column name R_RequestType_ID */ public static final String COLUMNNAME_R_RequestType_ID = "R_RequestType_ID"; diff --git a/base/src/org/compiere/model/I_K_Source.java b/base/src/org/compiere/model/I_K_Source.java index b4201ba2c8..74fb9157ed 100644 --- a/base/src/org/compiere/model/I_K_Source.java +++ b/base/src/org/compiere/model/I_K_Source.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_Source - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_Source { diff --git a/base/src/org/compiere/model/I_K_Synonym.java b/base/src/org/compiere/model/I_K_Synonym.java index 2ba0097332..33c5c6c134 100644 --- a/base/src/org/compiere/model/I_K_Synonym.java +++ b/base/src/org/compiere/model/I_K_Synonym.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_Synonym - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_Synonym { diff --git a/base/src/org/compiere/model/I_K_Topic.java b/base/src/org/compiere/model/I_K_Topic.java index 1414c3003b..c656d9ed93 100644 --- a/base/src/org/compiere/model/I_K_Topic.java +++ b/base/src/org/compiere/model/I_K_Topic.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_Topic - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_Topic { diff --git a/base/src/org/compiere/model/I_K_Type.java b/base/src/org/compiere/model/I_K_Type.java index 9d6a89ef57..414113ff17 100644 --- a/base/src/org/compiere/model/I_K_Type.java +++ b/base/src/org/compiere/model/I_K_Type.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for K_Type - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_K_Type { diff --git a/base/src/org/compiere/model/I_M_Attribute.java b/base/src/org/compiere/model/I_M_Attribute.java index cac50a0fb0..31c143871b 100644 --- a/base/src/org/compiere/model/I_M_Attribute.java +++ b/base/src/org/compiere/model/I_M_Attribute.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Attribute - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Attribute { @@ -108,6 +104,19 @@ public interface I_M_Attribute */ public boolean isMandatory(); + /** Column name M_Attribute_ID */ + public static final String COLUMNNAME_M_Attribute_ID = "M_Attribute_ID"; + + /** Set Attribute. + * Product Attribute + */ + public void setM_Attribute_ID (int M_Attribute_ID); + + /** Get Attribute. + * Product Attribute + */ + public int getM_Attribute_ID(); + /** Column name M_AttributeSearch_ID */ public static final String COLUMNNAME_M_AttributeSearch_ID = "M_AttributeSearch_ID"; @@ -123,19 +132,6 @@ public interface I_M_Attribute public I_M_AttributeSearch getM_AttributeSearch() throws Exception; - /** Column name M_Attribute_ID */ - public static final String COLUMNNAME_M_Attribute_ID = "M_Attribute_ID"; - - /** Set Attribute. - * Product Attribute - */ - public void setM_Attribute_ID (int M_Attribute_ID); - - /** Get Attribute. - * Product Attribute - */ - public int getM_Attribute_ID(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_M_AttributeInstance.java b/base/src/org/compiere/model/I_M_AttributeInstance.java index 60c04ffdd4..ffe8a76946 100644 --- a/base/src/org/compiere/model/I_M_AttributeInstance.java +++ b/base/src/org/compiere/model/I_M_AttributeInstance.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeInstance - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_AttributeInstance { @@ -56,6 +52,21 @@ public interface I_M_AttributeInstance /** Load Meta Data */ + /** Column name M_Attribute_ID */ + public static final String COLUMNNAME_M_Attribute_ID = "M_Attribute_ID"; + + /** Set Attribute. + * Product Attribute + */ + public void setM_Attribute_ID (int M_Attribute_ID); + + /** Get Attribute. + * Product Attribute + */ + public int getM_Attribute_ID(); + + public I_M_Attribute getM_Attribute() throws Exception; + /** Column name M_AttributeSetInstance_ID */ public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; @@ -84,21 +95,6 @@ public interface I_M_AttributeInstance public I_M_AttributeValue getM_AttributeValue() throws Exception; - /** Column name M_Attribute_ID */ - public static final String COLUMNNAME_M_Attribute_ID = "M_Attribute_ID"; - - /** Set Attribute. - * Product Attribute - */ - public void setM_Attribute_ID (int M_Attribute_ID); - - /** Get Attribute. - * Product Attribute - */ - public int getM_Attribute_ID(); - - public I_M_Attribute getM_Attribute() throws Exception; - /** Column name Value */ public static final String COLUMNNAME_Value = "Value"; diff --git a/base/src/org/compiere/model/I_M_AttributeSearch.java b/base/src/org/compiere/model/I_M_AttributeSearch.java index cf0f007a97..118e80dc77 100644 --- a/base/src/org/compiere/model/I_M_AttributeSearch.java +++ b/base/src/org/compiere/model/I_M_AttributeSearch.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeSearch - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_AttributeSearch { diff --git a/base/src/org/compiere/model/I_M_AttributeSet.java b/base/src/org/compiere/model/I_M_AttributeSet.java index 24676c29db..907c4ece3b 100644 --- a/base/src/org/compiere/model/I_M_AttributeSet.java +++ b/base/src/org/compiere/model/I_M_AttributeSet.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeSet - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_AttributeSet { @@ -199,6 +195,19 @@ public interface I_M_AttributeSet */ public String getLotCharSOverwrite(); + /** Column name MandatoryType */ + public static final String COLUMNNAME_MandatoryType = "MandatoryType"; + + /** Set Mandatory Type. + * The specification of a Product Attribute Instance is mandatory + */ + public void setMandatoryType (String MandatoryType); + + /** Get Mandatory Type. + * The specification of a Product Attribute Instance is mandatory + */ + public String getMandatoryType(); + /** Column name M_AttributeSet_ID */ public static final String COLUMNNAME_M_AttributeSet_ID = "M_AttributeSet_ID"; @@ -242,19 +251,6 @@ public interface I_M_AttributeSet public I_M_SerNoCtl getM_SerNoCtl() throws Exception; - /** Column name MandatoryType */ - public static final String COLUMNNAME_MandatoryType = "MandatoryType"; - - /** Set Mandatory Type. - * The specification of a Product Attribute Instance is mandatory - */ - public void setMandatoryType (String MandatoryType); - - /** Get Mandatory Type. - * The specification of a Product Attribute Instance is mandatory - */ - public String getMandatoryType(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_M_AttributeSetExclude.java b/base/src/org/compiere/model/I_M_AttributeSetExclude.java index 8cdaa1a43f..6204f9d49d 100644 --- a/base/src/org/compiere/model/I_M_AttributeSetExclude.java +++ b/base/src/org/compiere/model/I_M_AttributeSetExclude.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeSetExclude - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_AttributeSetExclude { diff --git a/base/src/org/compiere/model/I_M_AttributeSetInstance.java b/base/src/org/compiere/model/I_M_AttributeSetInstance.java index d7a94e7e8e..208d17536b 100644 --- a/base/src/org/compiere/model/I_M_AttributeSetInstance.java +++ b/base/src/org/compiere/model/I_M_AttributeSetInstance.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeSetInstance - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_AttributeSetInstance { @@ -96,19 +92,6 @@ public interface I_M_AttributeSetInstance */ public String getLot(); - /** Column name M_AttributeSetInstance_ID */ - public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; - - /** Set Attribute Set Instance. - * Product Attribute Set Instance - */ - public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID); - - /** Get Attribute Set Instance. - * Product Attribute Set Instance - */ - public int getM_AttributeSetInstance_ID(); - /** Column name M_AttributeSet_ID */ public static final String COLUMNNAME_M_AttributeSet_ID = "M_AttributeSet_ID"; @@ -124,6 +107,19 @@ public interface I_M_AttributeSetInstance public I_M_AttributeSet getM_AttributeSet() throws Exception; + /** Column name M_AttributeSetInstance_ID */ + public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; + + /** Set Attribute Set Instance. + * Product Attribute Set Instance + */ + public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID); + + /** Get Attribute Set Instance. + * Product Attribute Set Instance + */ + public int getM_AttributeSetInstance_ID(); + /** Column name M_Lot_ID */ public static final String COLUMNNAME_M_Lot_ID = "M_Lot_ID"; diff --git a/base/src/org/compiere/model/I_M_AttributeUse.java b/base/src/org/compiere/model/I_M_AttributeUse.java index d9bfd74ee6..b7f959a11f 100644 --- a/base/src/org/compiere/model/I_M_AttributeUse.java +++ b/base/src/org/compiere/model/I_M_AttributeUse.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeUse - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_AttributeUse { @@ -56,21 +52,6 @@ public interface I_M_AttributeUse /** Load Meta Data */ - /** Column name M_AttributeSet_ID */ - public static final String COLUMNNAME_M_AttributeSet_ID = "M_AttributeSet_ID"; - - /** Set Attribute Set. - * Product Attribute Set - */ - public void setM_AttributeSet_ID (int M_AttributeSet_ID); - - /** Get Attribute Set. - * Product Attribute Set - */ - public int getM_AttributeSet_ID(); - - public I_M_AttributeSet getM_AttributeSet() throws Exception; - /** Column name M_Attribute_ID */ public static final String COLUMNNAME_M_Attribute_ID = "M_Attribute_ID"; @@ -86,6 +67,21 @@ public interface I_M_AttributeUse public I_M_Attribute getM_Attribute() throws Exception; + /** Column name M_AttributeSet_ID */ + public static final String COLUMNNAME_M_AttributeSet_ID = "M_AttributeSet_ID"; + + /** Set Attribute Set. + * Product Attribute Set + */ + public void setM_AttributeSet_ID (int M_AttributeSet_ID); + + /** Get Attribute Set. + * Product Attribute Set + */ + public int getM_AttributeSet_ID(); + + public I_M_AttributeSet getM_AttributeSet() throws Exception; + /** Column name SeqNo */ public static final String COLUMNNAME_SeqNo = "SeqNo"; diff --git a/base/src/org/compiere/model/I_M_AttributeValue.java b/base/src/org/compiere/model/I_M_AttributeValue.java index 632733197a..0bd2ec2542 100644 --- a/base/src/org/compiere/model/I_M_AttributeValue.java +++ b/base/src/org/compiere/model/I_M_AttributeValue.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeValue - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_AttributeValue { @@ -69,19 +65,6 @@ public interface I_M_AttributeValue */ public String getDescription(); - /** Column name M_AttributeValue_ID */ - public static final String COLUMNNAME_M_AttributeValue_ID = "M_AttributeValue_ID"; - - /** Set Attribute Value. - * Product Attribute Value - */ - public void setM_AttributeValue_ID (int M_AttributeValue_ID); - - /** Get Attribute Value. - * Product Attribute Value - */ - public int getM_AttributeValue_ID(); - /** Column name M_Attribute_ID */ public static final String COLUMNNAME_M_Attribute_ID = "M_Attribute_ID"; @@ -97,6 +80,19 @@ public interface I_M_AttributeValue public I_M_Attribute getM_Attribute() throws Exception; + /** Column name M_AttributeValue_ID */ + public static final String COLUMNNAME_M_AttributeValue_ID = "M_AttributeValue_ID"; + + /** Set Attribute Value. + * Product Attribute Value + */ + public void setM_AttributeValue_ID (int M_AttributeValue_ID); + + /** Get Attribute Value. + * Product Attribute Value + */ + public int getM_AttributeValue_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_M_BOM.java b/base/src/org/compiere/model/I_M_BOM.java index 27fb8f5623..a5294e3705 100644 --- a/base/src/org/compiere/model/I_M_BOM.java +++ b/base/src/org/compiere/model/I_M_BOM.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_BOM - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_BOM { diff --git a/base/src/org/compiere/model/I_M_BOMAlternative.java b/base/src/org/compiere/model/I_M_BOMAlternative.java index 11c3e93dc4..6f352e3c79 100644 --- a/base/src/org/compiere/model/I_M_BOMAlternative.java +++ b/base/src/org/compiere/model/I_M_BOMAlternative.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_BOMAlternative - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_BOMAlternative { diff --git a/base/src/org/compiere/model/I_M_BOMProduct.java b/base/src/org/compiere/model/I_M_BOMProduct.java index 95dcb3fcb3..b81f095b24 100644 --- a/base/src/org/compiere/model/I_M_BOMProduct.java +++ b/base/src/org/compiere/model/I_M_BOMProduct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_BOMProduct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_BOMProduct { @@ -175,19 +171,6 @@ public interface I_M_BOMProduct public I_M_BOMAlternative getM_BOMAlternative() throws Exception; - /** Column name M_BOMProduct_ID */ - public static final String COLUMNNAME_M_BOMProduct_ID = "M_BOMProduct_ID"; - - /** Set BOM Component. - * Bill of Material Component (Product) - */ - public void setM_BOMProduct_ID (int M_BOMProduct_ID); - - /** Get BOM Component. - * Bill of Material Component (Product) - */ - public int getM_BOMProduct_ID(); - /** Column name M_BOM_ID */ public static final String COLUMNNAME_M_BOM_ID = "M_BOM_ID"; @@ -203,6 +186,19 @@ public interface I_M_BOMProduct public I_M_BOM getM_BOM() throws Exception; + /** Column name M_BOMProduct_ID */ + public static final String COLUMNNAME_M_BOMProduct_ID = "M_BOMProduct_ID"; + + /** Set BOM Component. + * Bill of Material Component (Product) + */ + public void setM_BOMProduct_ID (int M_BOMProduct_ID); + + /** Get BOM Component. + * Bill of Material Component (Product) + */ + public int getM_BOMProduct_ID(); + /** Column name M_ChangeNotice_ID */ public static final String COLUMNNAME_M_ChangeNotice_ID = "M_ChangeNotice_ID"; diff --git a/base/src/org/compiere/model/I_M_ChangeNotice.java b/base/src/org/compiere/model/I_M_ChangeNotice.java index fb4e4733ef..6c848647bd 100644 --- a/base/src/org/compiere/model/I_M_ChangeNotice.java +++ b/base/src/org/compiere/model/I_M_ChangeNotice.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_ChangeNotice - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_ChangeNotice { diff --git a/base/src/org/compiere/model/I_M_ChangeRequest.java b/base/src/org/compiere/model/I_M_ChangeRequest.java index f43435b5ea..ace6c816e9 100644 --- a/base/src/org/compiere/model/I_M_ChangeRequest.java +++ b/base/src/org/compiere/model/I_M_ChangeRequest.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_ChangeRequest - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_ChangeRequest { diff --git a/base/src/org/compiere/model/I_M_Cost.java b/base/src/org/compiere/model/I_M_Cost.java index ffc99775ff..92fe85612d 100644 --- a/base/src/org/compiere/model/I_M_Cost.java +++ b/base/src/org/compiere/model/I_M_Cost.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Cost - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Cost { @@ -126,14 +122,10 @@ public interface I_M_Cost /** Column name CurrentCostPriceLL */ public static final String COLUMNNAME_CurrentCostPriceLL = "CurrentCostPriceLL"; - /** Set Current Cost Price Low Level. - * The low level cost is using to accumulation the cost for low level in a bill of material or formula. - */ + /** Set CurrentCostPriceLL */ public void setCurrentCostPriceLL (BigDecimal CurrentCostPriceLL); - /** Get Current Cost Price Low Level. - * The low level cost is using to accumulation the cost for low level in a bill of material or formula. - */ + /** Get CurrentCostPriceLL */ public BigDecimal getCurrentCostPriceLL(); /** Column name CurrentQty */ diff --git a/base/src/org/compiere/model/I_M_CostDetail.java b/base/src/org/compiere/model/I_M_CostDetail.java index b4db4742b2..3c7a594f68 100644 --- a/base/src/org/compiere/model/I_M_CostDetail.java +++ b/base/src/org/compiere/model/I_M_CostDetail.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_CostDetail - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_CostDetail { diff --git a/base/src/org/compiere/model/I_M_CostElement.java b/base/src/org/compiere/model/I_M_CostElement.java index 66339b4673..a61f5b3cf4 100644 --- a/base/src/org/compiere/model/I_M_CostElement.java +++ b/base/src/org/compiere/model/I_M_CostElement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_CostElement - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_CostElement { diff --git a/base/src/org/compiere/model/I_M_CostQueue.java b/base/src/org/compiere/model/I_M_CostQueue.java index 0782d3a58b..bcfb4029aa 100644 --- a/base/src/org/compiere/model/I_M_CostQueue.java +++ b/base/src/org/compiere/model/I_M_CostQueue.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_CostQueue - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_CostQueue { diff --git a/base/src/org/compiere/model/I_M_CostType.java b/base/src/org/compiere/model/I_M_CostType.java index 3355d6ab1d..b6c741d115 100644 --- a/base/src/org/compiere/model/I_M_CostType.java +++ b/base/src/org/compiere/model/I_M_CostType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_CostType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_CostType { diff --git a/base/src/org/compiere/model/I_M_Demand.java b/base/src/org/compiere/model/I_M_Demand.java index e7ce585f70..832e99f024 100644 --- a/base/src/org/compiere/model/I_M_Demand.java +++ b/base/src/org/compiere/model/I_M_Demand.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Demand - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Demand { diff --git a/base/src/org/compiere/model/I_M_DemandDetail.java b/base/src/org/compiere/model/I_M_DemandDetail.java index 999d79fe33..81ffa567c5 100644 --- a/base/src/org/compiere/model/I_M_DemandDetail.java +++ b/base/src/org/compiere/model/I_M_DemandDetail.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_DemandDetail - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_DemandDetail { diff --git a/base/src/org/compiere/model/I_M_DemandLine.java b/base/src/org/compiere/model/I_M_DemandLine.java index 4a348e5a27..49d0900d2f 100644 --- a/base/src/org/compiere/model/I_M_DemandLine.java +++ b/base/src/org/compiere/model/I_M_DemandLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_DemandLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_DemandLine { @@ -71,19 +67,6 @@ public interface I_M_DemandLine public I_C_Period getC_Period() throws Exception; - /** Column name M_DemandLine_ID */ - public static final String COLUMNNAME_M_DemandLine_ID = "M_DemandLine_ID"; - - /** Set Demand Line. - * Material Demand Line - */ - public void setM_DemandLine_ID (int M_DemandLine_ID); - - /** Get Demand Line. - * Material Demand Line - */ - public int getM_DemandLine_ID(); - /** Column name M_Demand_ID */ public static final String COLUMNNAME_M_Demand_ID = "M_Demand_ID"; @@ -99,6 +82,19 @@ public interface I_M_DemandLine public I_M_Demand getM_Demand() throws Exception; + /** Column name M_DemandLine_ID */ + public static final String COLUMNNAME_M_DemandLine_ID = "M_DemandLine_ID"; + + /** Set Demand Line. + * Material Demand Line + */ + public void setM_DemandLine_ID (int M_DemandLine_ID); + + /** Get Demand Line. + * Material Demand Line + */ + public int getM_DemandLine_ID(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; diff --git a/base/src/org/compiere/model/I_M_DiscountSchema.java b/base/src/org/compiere/model/I_M_DiscountSchema.java index 95b132510f..564d624415 100644 --- a/base/src/org/compiere/model/I_M_DiscountSchema.java +++ b/base/src/org/compiere/model/I_M_DiscountSchema.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_DiscountSchema - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_DiscountSchema { diff --git a/base/src/org/compiere/model/I_M_DiscountSchemaBreak.java b/base/src/org/compiere/model/I_M_DiscountSchemaBreak.java index aef734347b..e4cd97027b 100644 --- a/base/src/org/compiere/model/I_M_DiscountSchemaBreak.java +++ b/base/src/org/compiere/model/I_M_DiscountSchemaBreak.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_DiscountSchemaBreak - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_DiscountSchemaBreak { diff --git a/base/src/org/compiere/model/I_M_DiscountSchemaLine.java b/base/src/org/compiere/model/I_M_DiscountSchemaLine.java index 345712c354..8a1682cdfc 100644 --- a/base/src/org/compiere/model/I_M_DiscountSchemaLine.java +++ b/base/src/org/compiere/model/I_M_DiscountSchemaLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_DiscountSchemaLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_DiscountSchemaLine { @@ -317,19 +313,6 @@ public interface I_M_DiscountSchemaLine */ public String getList_Rounding(); - /** Column name M_DiscountSchemaLine_ID */ - public static final String COLUMNNAME_M_DiscountSchemaLine_ID = "M_DiscountSchemaLine_ID"; - - /** Set Discount Pricelist. - * Line of the pricelist trade discount schema - */ - public void setM_DiscountSchemaLine_ID (int M_DiscountSchemaLine_ID); - - /** Get Discount Pricelist. - * Line of the pricelist trade discount schema - */ - public int getM_DiscountSchemaLine_ID(); - /** Column name M_DiscountSchema_ID */ public static final String COLUMNNAME_M_DiscountSchema_ID = "M_DiscountSchema_ID"; @@ -345,6 +328,19 @@ public interface I_M_DiscountSchemaLine public I_M_DiscountSchema getM_DiscountSchema() throws Exception; + /** Column name M_DiscountSchemaLine_ID */ + public static final String COLUMNNAME_M_DiscountSchemaLine_ID = "M_DiscountSchemaLine_ID"; + + /** Set Discount Pricelist. + * Line of the pricelist trade discount schema + */ + public void setM_DiscountSchemaLine_ID (int M_DiscountSchemaLine_ID); + + /** Get Discount Pricelist. + * Line of the pricelist trade discount schema + */ + public int getM_DiscountSchemaLine_ID(); + /** Column name M_Product_Category_ID */ public static final String COLUMNNAME_M_Product_Category_ID = "M_Product_Category_ID"; diff --git a/base/src/org/compiere/model/I_M_DistributionList.java b/base/src/org/compiere/model/I_M_DistributionList.java index 4a2c0979ef..1bf884f161 100644 --- a/base/src/org/compiere/model/I_M_DistributionList.java +++ b/base/src/org/compiere/model/I_M_DistributionList.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_DistributionList - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_DistributionList { diff --git a/base/src/org/compiere/model/I_M_DistributionListLine.java b/base/src/org/compiere/model/I_M_DistributionListLine.java index 78f786be64..6c05533c12 100644 --- a/base/src/org/compiere/model/I_M_DistributionListLine.java +++ b/base/src/org/compiere/model/I_M_DistributionListLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_DistributionListLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_DistributionListLine { @@ -99,19 +95,6 @@ public interface I_M_DistributionListLine */ public String getDescription(); - /** Column name M_DistributionListLine_ID */ - public static final String COLUMNNAME_M_DistributionListLine_ID = "M_DistributionListLine_ID"; - - /** Set Distribution List Line. - * Distribution List Line with Business Partner and Quantity/Percentage - */ - public void setM_DistributionListLine_ID (int M_DistributionListLine_ID); - - /** Get Distribution List Line. - * Distribution List Line with Business Partner and Quantity/Percentage - */ - public int getM_DistributionListLine_ID(); - /** Column name M_DistributionList_ID */ public static final String COLUMNNAME_M_DistributionList_ID = "M_DistributionList_ID"; @@ -127,6 +110,19 @@ public interface I_M_DistributionListLine public I_M_DistributionList getM_DistributionList() throws Exception; + /** Column name M_DistributionListLine_ID */ + public static final String COLUMNNAME_M_DistributionListLine_ID = "M_DistributionListLine_ID"; + + /** Set Distribution List Line. + * Distribution List Line with Business Partner and Quantity/Percentage + */ + public void setM_DistributionListLine_ID (int M_DistributionListLine_ID); + + /** Get Distribution List Line. + * Distribution List Line with Business Partner and Quantity/Percentage + */ + public int getM_DistributionListLine_ID(); + /** Column name MinQty */ public static final String COLUMNNAME_MinQty = "MinQty"; diff --git a/base/src/org/compiere/model/I_M_DistributionRun.java b/base/src/org/compiere/model/I_M_DistributionRun.java index 011d38d317..2f199062e7 100644 --- a/base/src/org/compiere/model/I_M_DistributionRun.java +++ b/base/src/org/compiere/model/I_M_DistributionRun.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_DistributionRun - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_DistributionRun { diff --git a/base/src/org/compiere/model/I_M_DistributionRunLine.java b/base/src/org/compiere/model/I_M_DistributionRunLine.java index e171db3eb3..c0f4987202 100644 --- a/base/src/org/compiere/model/I_M_DistributionRunLine.java +++ b/base/src/org/compiere/model/I_M_DistributionRunLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_DistributionRunLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_DistributionRunLine { @@ -97,19 +93,6 @@ public interface I_M_DistributionRunLine public I_M_DistributionList getM_DistributionList() throws Exception; - /** Column name M_DistributionRunLine_ID */ - public static final String COLUMNNAME_M_DistributionRunLine_ID = "M_DistributionRunLine_ID"; - - /** Set Distribution Run Line. - * Distribution Run Lines define Distribution List, the Product and Quantiries - */ - public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID); - - /** Get Distribution Run Line. - * Distribution Run Lines define Distribution List, the Product and Quantiries - */ - public int getM_DistributionRunLine_ID(); - /** Column name M_DistributionRun_ID */ public static final String COLUMNNAME_M_DistributionRun_ID = "M_DistributionRun_ID"; @@ -125,6 +108,32 @@ public interface I_M_DistributionRunLine public I_M_DistributionRun getM_DistributionRun() throws Exception; + /** Column name M_DistributionRunLine_ID */ + public static final String COLUMNNAME_M_DistributionRunLine_ID = "M_DistributionRunLine_ID"; + + /** Set Distribution Run Line. + * Distribution Run Lines define Distribution List, the Product and Quantiries + */ + public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID); + + /** Get Distribution Run Line. + * Distribution Run Lines define Distribution List, the Product and Quantiries + */ + public int getM_DistributionRunLine_ID(); + + /** Column name MinQty */ + public static final String COLUMNNAME_MinQty = "MinQty"; + + /** Set Minimum Quantity. + * Minimum quantity for the business partner + */ + public void setMinQty (BigDecimal MinQty); + + /** Get Minimum Quantity. + * Minimum quantity for the business partner + */ + public BigDecimal getMinQty(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -140,19 +149,6 @@ public interface I_M_DistributionRunLine public I_M_Product getM_Product() throws Exception; - /** Column name MinQty */ - public static final String COLUMNNAME_MinQty = "MinQty"; - - /** Set Minimum Quantity. - * Minimum quantity for the business partner - */ - public void setMinQty (BigDecimal MinQty); - - /** Get Minimum Quantity. - * Minimum quantity for the business partner - */ - public BigDecimal getMinQty(); - /** Column name TotalQty */ public static final String COLUMNNAME_TotalQty = "TotalQty"; diff --git a/base/src/org/compiere/model/I_M_EDI.java b/base/src/org/compiere/model/I_M_EDI.java index c24dea310f..540f76c919 100644 --- a/base/src/org/compiere/model/I_M_EDI.java +++ b/base/src/org/compiere/model/I_M_EDI.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_EDI - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_EDI { diff --git a/base/src/org/compiere/model/I_M_EDI_Info.java b/base/src/org/compiere/model/I_M_EDI_Info.java index c28b06ba7d..7e275f437d 100644 --- a/base/src/org/compiere/model/I_M_EDI_Info.java +++ b/base/src/org/compiere/model/I_M_EDI_Info.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_EDI_Info - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_EDI_Info { diff --git a/base/src/org/compiere/model/I_M_Forecast.java b/base/src/org/compiere/model/I_M_Forecast.java index 74d41364ab..9ef87d1b2a 100644 --- a/base/src/org/compiere/model/I_M_Forecast.java +++ b/base/src/org/compiere/model/I_M_Forecast.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Forecast - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Forecast { diff --git a/base/src/org/compiere/model/I_M_ForecastLine.java b/base/src/org/compiere/model/I_M_ForecastLine.java index 24dd265843..112478b7d4 100644 --- a/base/src/org/compiere/model/I_M_ForecastLine.java +++ b/base/src/org/compiere/model/I_M_ForecastLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_ForecastLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_ForecastLine { @@ -85,19 +81,6 @@ public interface I_M_ForecastLine */ public Timestamp getDatePromised(); - /** Column name M_ForecastLine_ID */ - public static final String COLUMNNAME_M_ForecastLine_ID = "M_ForecastLine_ID"; - - /** Set Forecast Line. - * Forecast Line - */ - public void setM_ForecastLine_ID (int M_ForecastLine_ID); - - /** Get Forecast Line. - * Forecast Line - */ - public int getM_ForecastLine_ID(); - /** Column name M_Forecast_ID */ public static final String COLUMNNAME_M_Forecast_ID = "M_Forecast_ID"; @@ -113,6 +96,19 @@ public interface I_M_ForecastLine public I_M_Forecast getM_Forecast() throws Exception; + /** Column name M_ForecastLine_ID */ + public static final String COLUMNNAME_M_ForecastLine_ID = "M_ForecastLine_ID"; + + /** Set Forecast Line. + * Forecast Line + */ + public void setM_ForecastLine_ID (int M_ForecastLine_ID); + + /** Get Forecast Line. + * Forecast Line + */ + public int getM_ForecastLine_ID(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; diff --git a/base/src/org/compiere/model/I_M_Freight.java b/base/src/org/compiere/model/I_M_Freight.java index 3a0a19328b..c59e321748 100644 --- a/base/src/org/compiere/model/I_M_Freight.java +++ b/base/src/org/compiere/model/I_M_Freight.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Freight - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Freight { diff --git a/base/src/org/compiere/model/I_M_FreightCategory.java b/base/src/org/compiere/model/I_M_FreightCategory.java index 9dfe40bf5d..793c498e04 100644 --- a/base/src/org/compiere/model/I_M_FreightCategory.java +++ b/base/src/org/compiere/model/I_M_FreightCategory.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_FreightCategory - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_FreightCategory { diff --git a/base/src/org/compiere/model/I_M_InOut.java b/base/src/org/compiere/model/I_M_InOut.java index 7833b7b8f2..ec4ad58478 100644 --- a/base/src/org/compiere/model/I_M_InOut.java +++ b/base/src/org/compiere/model/I_M_InOut.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOut - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_InOut { @@ -171,6 +167,19 @@ public interface I_M_InOut */ public int getC_DocType_ID(); + /** Column name ChargeAmt */ + public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; + + /** Set Charge amount. + * Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt); + + /** Get Charge amount. + * Charge Amount + */ + public BigDecimal getChargeAmt(); + /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -216,19 +225,6 @@ public interface I_M_InOut public I_C_Project getC_Project() throws Exception; - /** Column name ChargeAmt */ - public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; - - /** Set Charge amount. - * Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt); - - /** Get Charge amount. - * Charge Amount - */ - public BigDecimal getChargeAmt(); - /** Column name CreateConfirm */ public static final String COLUMNNAME_CreateConfirm = "CreateConfirm"; @@ -507,6 +503,32 @@ public interface I_M_InOut */ public int getM_InOut_ID(); + /** Column name MovementDate */ + public static final String COLUMNNAME_MovementDate = "MovementDate"; + + /** Set Movement Date. + * Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate); + + /** Get Movement Date. + * Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate(); + + /** Column name MovementType */ + public static final String COLUMNNAME_MovementType = "MovementType"; + + /** Set Movement Type. + * Method of moving the inventory + */ + public void setMovementType (String MovementType); + + /** Get Movement Type. + * Method of moving the inventory + */ + public String getMovementType(); + /** Column name M_RMA_ID */ public static final String COLUMNNAME_M_RMA_ID = "M_RMA_ID"; @@ -552,32 +574,6 @@ public interface I_M_InOut public I_M_Warehouse getM_Warehouse() throws Exception; - /** Column name MovementDate */ - public static final String COLUMNNAME_MovementDate = "MovementDate"; - - /** Set Movement Date. - * Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate); - - /** Get Movement Date. - * Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate(); - - /** Column name MovementType */ - public static final String COLUMNNAME_MovementType = "MovementType"; - - /** Set Movement Type. - * Method of moving the inventory - */ - public void setMovementType (String MovementType); - - /** Get Movement Type. - * Method of moving the inventory - */ - public String getMovementType(); - /** Column name NoPackages */ public static final String COLUMNNAME_NoPackages = "NoPackages"; @@ -591,19 +587,6 @@ public interface I_M_InOut */ public int getNoPackages(); - /** Column name POReference */ - public static final String COLUMNNAME_POReference = "POReference"; - - /** Set Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference); - - /** Get Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference(); - /** Column name PickDate */ public static final String COLUMNNAME_PickDate = "PickDate"; @@ -617,6 +600,19 @@ public interface I_M_InOut */ public Timestamp getPickDate(); + /** Column name POReference */ + public static final String COLUMNNAME_POReference = "POReference"; + + /** Set Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference); + + /** Get Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference(); + /** Column name Posted */ public static final String COLUMNNAME_Posted = "Posted"; diff --git a/base/src/org/compiere/model/I_M_InOutConfirm.java b/base/src/org/compiere/model/I_M_InOutConfirm.java index 06bd31d351..bd29cc1e6d 100644 --- a/base/src/org/compiere/model/I_M_InOutConfirm.java +++ b/base/src/org/compiere/model/I_M_InOutConfirm.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOutConfirm - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_InOutConfirm { @@ -84,19 +80,6 @@ public interface I_M_InOutConfirm public I_C_Invoice getC_Invoice() throws Exception; - /** Column name ConfirmType */ - public static final String COLUMNNAME_ConfirmType = "ConfirmType"; - - /** Set Confirmation Type. - * Type of confirmation - */ - public void setConfirmType (String ConfirmType); - - /** Get Confirmation Type. - * Type of confirmation - */ - public String getConfirmType(); - /** Column name ConfirmationNo */ public static final String COLUMNNAME_ConfirmationNo = "ConfirmationNo"; @@ -110,6 +93,19 @@ public interface I_M_InOutConfirm */ public String getConfirmationNo(); + /** Column name ConfirmType */ + public static final String COLUMNNAME_ConfirmType = "ConfirmType"; + + /** Set Confirmation Type. + * Type of confirmation + */ + public void setConfirmType (String ConfirmType); + + /** Get Confirmation Type. + * Type of confirmation + */ + public String getConfirmType(); + /** Column name CreatePackage */ public static final String COLUMNNAME_CreatePackage = "CreatePackage"; diff --git a/base/src/org/compiere/model/I_M_InOutLine.java b/base/src/org/compiere/model/I_M_InOutLine.java index e73eb527e3..4c818bf825 100644 --- a/base/src/org/compiere/model/I_M_InOutLine.java +++ b/base/src/org/compiere/model/I_M_InOutLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOutLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_InOutLine { @@ -114,6 +110,19 @@ public interface I_M_InOutLine public I_C_Charge getC_Charge() throws Exception; + /** Column name ConfirmedQty */ + public static final String COLUMNNAME_ConfirmedQty = "ConfirmedQty"; + + /** Set Confirmed Quantity. + * Confirmation of a received quantity + */ + public void setConfirmedQty (BigDecimal ConfirmedQty); + + /** Get Confirmed Quantity. + * Confirmation of a received quantity + */ + public BigDecimal getConfirmedQty(); + /** Column name C_OrderLine_ID */ public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID"; @@ -129,6 +138,21 @@ public interface I_M_InOutLine public I_C_OrderLine getC_OrderLine() throws Exception; + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public I_C_Project getC_Project() throws Exception; + /** Column name C_ProjectPhase_ID */ public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; @@ -159,21 +183,6 @@ public interface I_M_InOutLine public I_C_ProjectTask getC_ProjectTask() throws Exception; - /** Column name C_Project_ID */ - public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; - - /** Set Project. - * Financial Project - */ - public void setC_Project_ID (int C_Project_ID); - - /** Get Project. - * Financial Project - */ - public int getC_Project_ID(); - - public I_C_Project getC_Project() throws Exception; - /** Column name C_UOM_ID */ public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; @@ -189,19 +198,6 @@ public interface I_M_InOutLine public I_C_UOM getC_UOM() throws Exception; - /** Column name ConfirmedQty */ - public static final String COLUMNNAME_ConfirmedQty = "ConfirmedQty"; - - /** Set Confirmed Quantity. - * Confirmation of a received quantity - */ - public void setConfirmedQty (BigDecimal ConfirmedQty); - - /** Get Confirmed Quantity. - * Confirmation of a received quantity - */ - public BigDecimal getConfirmedQty(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -267,19 +263,6 @@ public interface I_M_InOutLine */ public int getM_AttributeSetInstance_ID(); - /** Column name M_InOutLine_ID */ - public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID"; - - /** Set Shipment/Receipt Line. - * Line on Shipment or Receipt document - */ - public void setM_InOutLine_ID (int M_InOutLine_ID); - - /** Get Shipment/Receipt Line. - * Line on Shipment or Receipt document - */ - public int getM_InOutLine_ID(); - /** Column name M_InOut_ID */ public static final String COLUMNNAME_M_InOut_ID = "M_InOut_ID"; @@ -295,6 +278,19 @@ public interface I_M_InOutLine public I_M_InOut getM_InOut() throws Exception; + /** Column name M_InOutLine_ID */ + public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID"; + + /** Set Shipment/Receipt Line. + * Line on Shipment or Receipt document + */ + public void setM_InOutLine_ID (int M_InOutLine_ID); + + /** Get Shipment/Receipt Line. + * Line on Shipment or Receipt document + */ + public int getM_InOutLine_ID(); + /** Column name M_Locator_ID */ public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; @@ -308,6 +304,19 @@ public interface I_M_InOutLine */ public int getM_Locator_ID(); + /** Column name MovementQty */ + public static final String COLUMNNAME_MovementQty = "MovementQty"; + + /** Set Movement Quantity. + * Quantity of a product moved. + */ + public void setMovementQty (BigDecimal MovementQty); + + /** Get Movement Quantity. + * Quantity of a product moved. + */ + public BigDecimal getMovementQty(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -338,19 +347,6 @@ public interface I_M_InOutLine public I_M_RMALine getM_RMALine() throws Exception; - /** Column name MovementQty */ - public static final String COLUMNNAME_MovementQty = "MovementQty"; - - /** Set Movement Quantity. - * Quantity of a product moved. - */ - public void setMovementQty (BigDecimal MovementQty); - - /** Get Movement Quantity. - * Quantity of a product moved. - */ - public BigDecimal getMovementQty(); - /** Column name PickedQty */ public static final String COLUMNNAME_PickedQty = "PickedQty"; diff --git a/base/src/org/compiere/model/I_M_InOutLineConfirm.java b/base/src/org/compiere/model/I_M_InOutLineConfirm.java index 9c357a7994..346beb1f52 100644 --- a/base/src/org/compiere/model/I_M_InOutLineConfirm.java +++ b/base/src/org/compiere/model/I_M_InOutLineConfirm.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOutLineConfirm - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_InOutLineConfirm { diff --git a/base/src/org/compiere/model/I_M_InOutLineMA.java b/base/src/org/compiere/model/I_M_InOutLineMA.java index fef8a56413..3905d670f0 100644 --- a/base/src/org/compiere/model/I_M_InOutLineMA.java +++ b/base/src/org/compiere/model/I_M_InOutLineMA.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOutLineMA - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_InOutLineMA { diff --git a/base/src/org/compiere/model/I_M_Inventory.java b/base/src/org/compiere/model/I_M_Inventory.java index 7e857b9204..2cbbd0a527 100644 --- a/base/src/org/compiere/model/I_M_Inventory.java +++ b/base/src/org/compiere/model/I_M_Inventory.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Inventory - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Inventory { @@ -234,6 +230,19 @@ public interface I_M_Inventory */ public int getM_Inventory_ID(); + /** Column name MovementDate */ + public static final String COLUMNNAME_MovementDate = "MovementDate"; + + /** Set Movement Date. + * Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate); + + /** Get Movement Date. + * Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate(); + /** Column name M_PerpetualInv_ID */ public static final String COLUMNNAME_M_PerpetualInv_ID = "M_PerpetualInv_ID"; @@ -264,19 +273,6 @@ public interface I_M_Inventory public I_M_Warehouse getM_Warehouse() throws Exception; - /** Column name MovementDate */ - public static final String COLUMNNAME_MovementDate = "MovementDate"; - - /** Set Movement Date. - * Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate); - - /** Get Movement Date. - * Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate(); - /** Column name Posted */ public static final String COLUMNNAME_Posted = "Posted"; diff --git a/base/src/org/compiere/model/I_M_InventoryLine.java b/base/src/org/compiere/model/I_M_InventoryLine.java index fcef6eb580..a6c8a01b69 100644 --- a/base/src/org/compiere/model/I_M_InventoryLine.java +++ b/base/src/org/compiere/model/I_M_InventoryLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_InventoryLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_InventoryLine { @@ -123,19 +119,6 @@ public interface I_M_InventoryLine */ public int getM_AttributeSetInstance_ID(); - /** Column name M_InventoryLine_ID */ - public static final String COLUMNNAME_M_InventoryLine_ID = "M_InventoryLine_ID"; - - /** Set Phys.Inventory Line. - * Unique line in an Inventory document - */ - public void setM_InventoryLine_ID (int M_InventoryLine_ID); - - /** Get Phys.Inventory Line. - * Unique line in an Inventory document - */ - public int getM_InventoryLine_ID(); - /** Column name M_Inventory_ID */ public static final String COLUMNNAME_M_Inventory_ID = "M_Inventory_ID"; @@ -151,6 +134,19 @@ public interface I_M_InventoryLine public I_M_Inventory getM_Inventory() throws Exception; + /** Column name M_InventoryLine_ID */ + public static final String COLUMNNAME_M_InventoryLine_ID = "M_InventoryLine_ID"; + + /** Set Phys.Inventory Line. + * Unique line in an Inventory document + */ + public void setM_InventoryLine_ID (int M_InventoryLine_ID); + + /** Get Phys.Inventory Line. + * Unique line in an Inventory document + */ + public int getM_InventoryLine_ID(); + /** Column name M_Locator_ID */ public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; diff --git a/base/src/org/compiere/model/I_M_InventoryLineMA.java b/base/src/org/compiere/model/I_M_InventoryLineMA.java index defbe54bd1..9aea5e0163 100644 --- a/base/src/org/compiere/model/I_M_InventoryLineMA.java +++ b/base/src/org/compiere/model/I_M_InventoryLineMA.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_InventoryLineMA - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_InventoryLineMA { diff --git a/base/src/org/compiere/model/I_M_Locator.java b/base/src/org/compiere/model/I_M_Locator.java index e72eb165ba..85bc00a0bd 100644 --- a/base/src/org/compiere/model/I_M_Locator.java +++ b/base/src/org/compiere/model/I_M_Locator.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Locator - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Locator { diff --git a/base/src/org/compiere/model/I_M_Lot.java b/base/src/org/compiere/model/I_M_Lot.java index 7ef05553aa..3566e0ce40 100644 --- a/base/src/org/compiere/model/I_M_Lot.java +++ b/base/src/org/compiere/model/I_M_Lot.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Lot - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Lot { diff --git a/base/src/org/compiere/model/I_M_LotCtl.java b/base/src/org/compiere/model/I_M_LotCtl.java index c4e5092895..6f583faa8f 100644 --- a/base/src/org/compiere/model/I_M_LotCtl.java +++ b/base/src/org/compiere/model/I_M_LotCtl.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_LotCtl - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_LotCtl { diff --git a/base/src/org/compiere/model/I_M_LotCtlExclude.java b/base/src/org/compiere/model/I_M_LotCtlExclude.java index d53753feb8..89a453de55 100644 --- a/base/src/org/compiere/model/I_M_LotCtlExclude.java +++ b/base/src/org/compiere/model/I_M_LotCtlExclude.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_LotCtlExclude - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_LotCtlExclude { diff --git a/base/src/org/compiere/model/I_M_MatchInv.java b/base/src/org/compiere/model/I_M_MatchInv.java index dc3e877b46..4cf9ec8f9b 100644 --- a/base/src/org/compiere/model/I_M_MatchInv.java +++ b/base/src/org/compiere/model/I_M_MatchInv.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_MatchInv - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_MatchInv { diff --git a/base/src/org/compiere/model/I_M_MatchPO.java b/base/src/org/compiere/model/I_M_MatchPO.java index 0249659c39..6faebecb9a 100644 --- a/base/src/org/compiere/model/I_M_MatchPO.java +++ b/base/src/org/compiere/model/I_M_MatchPO.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_MatchPO - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_MatchPO { diff --git a/base/src/org/compiere/model/I_M_Movement.java b/base/src/org/compiere/model/I_M_Movement.java index 6400ba1312..0d0834935e 100644 --- a/base/src/org/compiere/model/I_M_Movement.java +++ b/base/src/org/compiere/model/I_M_Movement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Movement - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Movement { @@ -184,6 +180,19 @@ public interface I_M_Movement public I_C_DocType getC_DocType() throws Exception; + /** Column name ChargeAmt */ + public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; + + /** Set Charge amount. + * Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt); + + /** Get Charge amount. + * Charge Amount + */ + public BigDecimal getChargeAmt(); + /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -199,19 +208,6 @@ public interface I_M_Movement public I_C_Project getC_Project() throws Exception; - /** Column name ChargeAmt */ - public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; - - /** Set Charge amount. - * Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt); - - /** Get Charge amount. - * Charge Amount - */ - public BigDecimal getChargeAmt(); - /** Column name CreateFrom */ public static final String COLUMNNAME_CreateFrom = "CreateFrom"; @@ -225,17 +221,6 @@ public interface I_M_Movement */ public String getCreateFrom(); - /** Column name DD_Order_ID */ - public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID"; - - /** Set Distribution Order */ - public void setDD_Order_ID (int DD_Order_ID); - - /** Get Distribution Order */ - public int getDD_Order_ID(); - - public org.eevolution.model.I_DD_Order getDD_Order() throws Exception; - /** Column name DateReceived */ public static final String COLUMNNAME_DateReceived = "DateReceived"; @@ -249,6 +234,17 @@ public interface I_M_Movement */ public Timestamp getDateReceived(); + /** Column name DD_Order_ID */ + public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID"; + + /** Set Distribution Order */ + public void setDD_Order_ID (int DD_Order_ID); + + /** Get Distribution Order */ + public int getDD_Order_ID(); + + public org.eevolution.model.I_DD_Order getDD_Order() throws Exception; + /** Column name DeliveryRule */ public static final String COLUMNNAME_DeliveryRule = "DeliveryRule"; @@ -392,6 +388,19 @@ public interface I_M_Movement */ public int getM_Movement_ID(); + /** Column name MovementDate */ + public static final String COLUMNNAME_MovementDate = "MovementDate"; + + /** Set Movement Date. + * Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate); + + /** Get Movement Date. + * Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate(); + /** Column name M_Shipper_ID */ public static final String COLUMNNAME_M_Shipper_ID = "M_Shipper_ID"; @@ -407,18 +416,18 @@ public interface I_M_Movement public I_M_Shipper getM_Shipper() throws Exception; - /** Column name MovementDate */ - public static final String COLUMNNAME_MovementDate = "MovementDate"; + /** Column name POReference */ + public static final String COLUMNNAME_POReference = "POReference"; - /** Set Movement Date. - * Date a product was moved in or out of inventory + /** Set Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public void setMovementDate (Timestamp MovementDate); + public void setPOReference (String POReference); - /** Get Movement Date. - * Date a product was moved in or out of inventory + /** Get Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public Timestamp getMovementDate(); + public String getPOReference(); /** Column name Posted */ public static final String COLUMNNAME_Posted = "Posted"; diff --git a/base/src/org/compiere/model/I_M_MovementConfirm.java b/base/src/org/compiere/model/I_M_MovementConfirm.java index 1e75a4045d..4af2f425ff 100644 --- a/base/src/org/compiere/model/I_M_MovementConfirm.java +++ b/base/src/org/compiere/model/I_M_MovementConfirm.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_MovementConfirm - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_MovementConfirm { diff --git a/base/src/org/compiere/model/I_M_MovementLine.java b/base/src/org/compiere/model/I_M_MovementLine.java index af52294a03..c09d233f1f 100644 --- a/base/src/org/compiere/model/I_M_MovementLine.java +++ b/base/src/org/compiere/model/I_M_MovementLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_MovementLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_MovementLine { @@ -106,19 +102,6 @@ public interface I_M_MovementLine */ public int getLine(); - /** Column name M_AttributeSetInstanceTo_ID */ - public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID"; - - /** Set Attribute Set Instance To. - * Target Product Attribute Set Instance - */ - public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID); - - /** Get Attribute Set Instance To. - * Target Product Attribute Set Instance - */ - public int getM_AttributeSetInstanceTo_ID(); - /** Column name M_AttributeSetInstance_ID */ public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; @@ -132,18 +115,18 @@ public interface I_M_MovementLine */ public int getM_AttributeSetInstance_ID(); - /** Column name M_LocatorTo_ID */ - public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID"; + /** Column name M_AttributeSetInstanceTo_ID */ + public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID"; - /** Set Locator To. - * Location inventory is moved to + /** Set Attribute Set Instance To. + * Target Product Attribute Set Instance */ - public void setM_LocatorTo_ID (int M_LocatorTo_ID); + public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID); - /** Get Locator To. - * Location inventory is moved to + /** Get Attribute Set Instance To. + * Target Product Attribute Set Instance */ - public int getM_LocatorTo_ID(); + public int getM_AttributeSetInstanceTo_ID(); /** Column name M_Locator_ID */ public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; @@ -158,18 +141,18 @@ public interface I_M_MovementLine */ public int getM_Locator_ID(); - /** Column name M_MovementLine_ID */ - public static final String COLUMNNAME_M_MovementLine_ID = "M_MovementLine_ID"; + /** Column name M_LocatorTo_ID */ + public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID"; - /** Set Move Line. - * Inventory Move document Line + /** Set Locator To. + * Location inventory is moved to */ - public void setM_MovementLine_ID (int M_MovementLine_ID); + public void setM_LocatorTo_ID (int M_LocatorTo_ID); - /** Get Move Line. - * Inventory Move document Line + /** Get Locator To. + * Location inventory is moved to */ - public int getM_MovementLine_ID(); + public int getM_LocatorTo_ID(); /** Column name M_Movement_ID */ public static final String COLUMNNAME_M_Movement_ID = "M_Movement_ID"; @@ -186,18 +169,18 @@ public interface I_M_MovementLine public I_M_Movement getM_Movement() throws Exception; - /** Column name M_Product_ID */ - public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + /** Column name M_MovementLine_ID */ + public static final String COLUMNNAME_M_MovementLine_ID = "M_MovementLine_ID"; - /** Set Product. - * Product, Service, Item + /** Set Move Line. + * Inventory Move document Line */ - public void setM_Product_ID (int M_Product_ID); + public void setM_MovementLine_ID (int M_MovementLine_ID); - /** Get Product. - * Product, Service, Item + /** Get Move Line. + * Inventory Move document Line */ - public int getM_Product_ID(); + public int getM_MovementLine_ID(); /** Column name MovementQty */ public static final String COLUMNNAME_MovementQty = "MovementQty"; @@ -212,6 +195,19 @@ public interface I_M_MovementLine */ public BigDecimal getMovementQty(); + /** Column name M_Product_ID */ + public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + + /** Set Product. + * Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID); + + /** Get Product. + * Product, Service, Item + */ + public int getM_Product_ID(); + /** Column name Processed */ public static final String COLUMNNAME_Processed = "Processed"; diff --git a/base/src/org/compiere/model/I_M_MovementLineConfirm.java b/base/src/org/compiere/model/I_M_MovementLineConfirm.java index 2ad6e7f1ae..e9c5ef761f 100644 --- a/base/src/org/compiere/model/I_M_MovementLineConfirm.java +++ b/base/src/org/compiere/model/I_M_MovementLineConfirm.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_MovementLineConfirm - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_MovementLineConfirm { diff --git a/base/src/org/compiere/model/I_M_MovementLineMA.java b/base/src/org/compiere/model/I_M_MovementLineMA.java index cb352deebf..773bc4928e 100644 --- a/base/src/org/compiere/model/I_M_MovementLineMA.java +++ b/base/src/org/compiere/model/I_M_MovementLineMA.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_MovementLineMA - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_MovementLineMA { diff --git a/base/src/org/compiere/model/I_M_OperationResource.java b/base/src/org/compiere/model/I_M_OperationResource.java index 2460e40846..72e6b0b3fb 100644 --- a/base/src/org/compiere/model/I_M_OperationResource.java +++ b/base/src/org/compiere/model/I_M_OperationResource.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_OperationResource - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_OperationResource { diff --git a/base/src/org/compiere/model/I_M_Package.java b/base/src/org/compiere/model/I_M_Package.java index 00f204679e..cbabcf8dd2 100644 --- a/base/src/org/compiere/model/I_M_Package.java +++ b/base/src/org/compiere/model/I_M_Package.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Package - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Package { diff --git a/base/src/org/compiere/model/I_M_PackageLine.java b/base/src/org/compiere/model/I_M_PackageLine.java index 4698fc38ac..1723b6ea95 100644 --- a/base/src/org/compiere/model/I_M_PackageLine.java +++ b/base/src/org/compiere/model/I_M_PackageLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_PackageLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_PackageLine { @@ -84,19 +80,6 @@ public interface I_M_PackageLine public I_M_InOutLine getM_InOutLine() throws Exception; - /** Column name M_PackageLine_ID */ - public static final String COLUMNNAME_M_PackageLine_ID = "M_PackageLine_ID"; - - /** Set Package Line. - * The detail content of the Package - */ - public void setM_PackageLine_ID (int M_PackageLine_ID); - - /** Get Package Line. - * The detail content of the Package - */ - public int getM_PackageLine_ID(); - /** Column name M_Package_ID */ public static final String COLUMNNAME_M_Package_ID = "M_Package_ID"; @@ -112,6 +95,19 @@ public interface I_M_PackageLine public I_M_Package getM_Package() throws Exception; + /** Column name M_PackageLine_ID */ + public static final String COLUMNNAME_M_PackageLine_ID = "M_PackageLine_ID"; + + /** Set Package Line. + * The detail content of the Package + */ + public void setM_PackageLine_ID (int M_PackageLine_ID); + + /** Get Package Line. + * The detail content of the Package + */ + public int getM_PackageLine_ID(); + /** Column name Qty */ public static final String COLUMNNAME_Qty = "Qty"; diff --git a/base/src/org/compiere/model/I_M_PerpetualInv.java b/base/src/org/compiere/model/I_M_PerpetualInv.java index dec74c4e2b..8fca701d03 100644 --- a/base/src/org/compiere/model/I_M_PerpetualInv.java +++ b/base/src/org/compiere/model/I_M_PerpetualInv.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_PerpetualInv - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_PerpetualInv { diff --git a/base/src/org/compiere/model/I_M_PriceList.java b/base/src/org/compiere/model/I_M_PriceList.java index bcc942cc15..4209e8fd04 100644 --- a/base/src/org/compiere/model/I_M_PriceList.java +++ b/base/src/org/compiere/model/I_M_PriceList.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_PriceList - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_PriceList { diff --git a/base/src/org/compiere/model/I_M_PriceList_Version.java b/base/src/org/compiere/model/I_M_PriceList_Version.java index 1fa22e4b70..09173ca528 100644 --- a/base/src/org/compiere/model/I_M_PriceList_Version.java +++ b/base/src/org/compiere/model/I_M_PriceList_Version.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_PriceList_Version - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_PriceList_Version { @@ -100,19 +96,6 @@ public interface I_M_PriceList_Version public I_M_PriceList getM_PriceList() throws Exception; - /** Column name M_PriceList_Version_ID */ - public static final String COLUMNNAME_M_PriceList_Version_ID = "M_PriceList_Version_ID"; - - /** Set Price List Version. - * Identifies a unique instance of a Price List - */ - public void setM_PriceList_Version_ID (int M_PriceList_Version_ID); - - /** Get Price List Version. - * Identifies a unique instance of a Price List - */ - public int getM_PriceList_Version_ID(); - /** Column name M_Pricelist_Version_Base_ID */ public static final String COLUMNNAME_M_Pricelist_Version_Base_ID = "M_Pricelist_Version_Base_ID"; @@ -126,6 +109,19 @@ public interface I_M_PriceList_Version */ public int getM_Pricelist_Version_Base_ID(); + /** Column name M_PriceList_Version_ID */ + public static final String COLUMNNAME_M_PriceList_Version_ID = "M_PriceList_Version_ID"; + + /** Set Price List Version. + * Identifies a unique instance of a Price List + */ + public void setM_PriceList_Version_ID (int M_PriceList_Version_ID); + + /** Get Price List Version. + * Identifies a unique instance of a Price List + */ + public int getM_PriceList_Version_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_M_Product.java b/base/src/org/compiere/model/I_M_Product.java index cd79afafda..b7971bc751 100644 --- a/base/src/org/compiere/model/I_M_Product.java +++ b/base/src/org/compiere/model/I_M_Product.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Product { @@ -57,6 +53,19 @@ public interface I_M_Product /** Load Meta Data */ + /** Column name Classification */ + public static final String COLUMNNAME_Classification = "Classification"; + + /** Set Classification. + * Classification for grouping + */ + public void setClassification (String Classification); + + /** Get Classification. + * Classification for grouping + */ + public String getClassification(); + /** Column name C_RevenueRecognition_ID */ public static final String COLUMNNAME_C_RevenueRecognition_ID = "C_RevenueRecognition_ID"; @@ -115,19 +124,6 @@ public interface I_M_Product public I_C_UOM getC_UOM() throws Exception; - /** Column name Classification */ - public static final String COLUMNNAME_Classification = "Classification"; - - /** Set Classification. - * Classification for grouping - */ - public void setClassification (String Classification); - - /** Get Classification. - * Classification for grouping - */ - public String getClassification(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -428,19 +424,6 @@ public interface I_M_Product /** Get LowLevel */ public int getLowLevel(); - /** Column name M_AttributeSetInstance_ID */ - public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; - - /** Set Attribute Set Instance. - * Product Attribute Set Instance - */ - public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID); - - /** Get Attribute Set Instance. - * Product Attribute Set Instance - */ - public int getM_AttributeSetInstance_ID(); - /** Column name M_AttributeSet_ID */ public static final String COLUMNNAME_M_AttributeSet_ID = "M_AttributeSet_ID"; @@ -456,6 +439,19 @@ public interface I_M_Product public I_M_AttributeSet getM_AttributeSet() throws Exception; + /** Column name M_AttributeSetInstance_ID */ + public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; + + /** Set Attribute Set Instance. + * Product Attribute Set Instance + */ + public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID); + + /** Get Attribute Set Instance. + * Product Attribute Set Instance + */ + public int getM_AttributeSetInstance_ID(); + /** Column name M_FreightCategory_ID */ public static final String COLUMNNAME_M_FreightCategory_ID = "M_FreightCategory_ID"; @@ -562,18 +558,18 @@ public interface I_M_Product public I_R_MailText getR_MailText() throws Exception; - /** Column name SKU */ - public static final String COLUMNNAME_SKU = "SKU"; + /** Column name SalesRep_ID */ + public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID"; - /** Set SKU. - * Stock Keeping Unit + /** Set Sales Representative. + * Sales Representative or Company Agent */ - public void setSKU (String SKU); + public void setSalesRep_ID (int SalesRep_ID); - /** Get SKU. - * Stock Keeping Unit + /** Get Sales Representative. + * Sales Representative or Company Agent */ - public String getSKU(); + public int getSalesRep_ID(); /** Column name S_ExpenseType_ID */ public static final String COLUMNNAME_S_ExpenseType_ID = "S_ExpenseType_ID"; @@ -590,34 +586,6 @@ public interface I_M_Product public I_S_ExpenseType getS_ExpenseType() throws Exception; - /** Column name S_Resource_ID */ - public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; - - /** Set Resource. - * Resource - */ - public void setS_Resource_ID (int S_Resource_ID); - - /** Get Resource. - * Resource - */ - public int getS_Resource_ID(); - - public I_S_Resource getS_Resource() throws Exception; - - /** Column name SalesRep_ID */ - public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID"; - - /** Set Sales Representative. - * Sales Representative or Company Agent - */ - public void setSalesRep_ID (int SalesRep_ID); - - /** Get Sales Representative. - * Sales Representative or Company Agent - */ - public int getSalesRep_ID(); - /** Column name ShelfDepth */ public static final String COLUMNNAME_ShelfDepth = "ShelfDepth"; @@ -657,18 +625,33 @@ public interface I_M_Product */ public int getShelfWidth(); - /** Column name UPC */ - public static final String COLUMNNAME_UPC = "UPC"; + /** Column name SKU */ + public static final String COLUMNNAME_SKU = "SKU"; - /** Set UPC/EAN. - * Bar Code (Universal Product Code or its superset European Article Number) + /** Set SKU. + * Stock Keeping Unit */ - public void setUPC (String UPC); + public void setSKU (String SKU); - /** Get UPC/EAN. - * Bar Code (Universal Product Code or its superset European Article Number) + /** Get SKU. + * Stock Keeping Unit */ - public String getUPC(); + public String getSKU(); + + /** Column name S_Resource_ID */ + public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; + + /** Set Resource. + * Resource + */ + public void setS_Resource_ID (int S_Resource_ID); + + /** Get Resource. + * Resource + */ + public int getS_Resource_ID(); + + public I_S_Resource getS_Resource() throws Exception; /** Column name UnitsPerPallet */ public static final String COLUMNNAME_UnitsPerPallet = "UnitsPerPallet"; @@ -683,6 +666,19 @@ public interface I_M_Product */ public BigDecimal getUnitsPerPallet(); + /** Column name UPC */ + public static final String COLUMNNAME_UPC = "UPC"; + + /** Set UPC/EAN. + * Bar Code (Universal Product Code or its superset European Article Number) + */ + public void setUPC (String UPC); + + /** Get UPC/EAN. + * Bar Code (Universal Product Code or its superset European Article Number) + */ + public String getUPC(); + /** Column name Value */ public static final String COLUMNNAME_Value = "Value"; diff --git a/base/src/org/compiere/model/I_M_ProductDownload.java b/base/src/org/compiere/model/I_M_ProductDownload.java index 9f3e2e4c53..efd18f707a 100644 --- a/base/src/org/compiere/model/I_M_ProductDownload.java +++ b/base/src/org/compiere/model/I_M_ProductDownload.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductDownload - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_ProductDownload { diff --git a/base/src/org/compiere/model/I_M_ProductOperation.java b/base/src/org/compiere/model/I_M_ProductOperation.java index 0abda57599..8393405119 100644 --- a/base/src/org/compiere/model/I_M_ProductOperation.java +++ b/base/src/org/compiere/model/I_M_ProductOperation.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductOperation - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_ProductOperation { @@ -82,19 +78,6 @@ public interface I_M_ProductOperation */ public String getHelp(); - /** Column name M_ProductOperation_ID */ - public static final String COLUMNNAME_M_ProductOperation_ID = "M_ProductOperation_ID"; - - /** Set Product Operation. - * Product Manufacturing Operation - */ - public void setM_ProductOperation_ID (int M_ProductOperation_ID); - - /** Get Product Operation. - * Product Manufacturing Operation - */ - public int getM_ProductOperation_ID(); - /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -110,6 +93,19 @@ public interface I_M_ProductOperation public I_M_Product getM_Product() throws Exception; + /** Column name M_ProductOperation_ID */ + public static final String COLUMNNAME_M_ProductOperation_ID = "M_ProductOperation_ID"; + + /** Set Product Operation. + * Product Manufacturing Operation + */ + public void setM_ProductOperation_ID (int M_ProductOperation_ID); + + /** Get Product Operation. + * Product Manufacturing Operation + */ + public int getM_ProductOperation_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_M_ProductPrice.java b/base/src/org/compiere/model/I_M_ProductPrice.java index f49182da89..e190895278 100644 --- a/base/src/org/compiere/model/I_M_ProductPrice.java +++ b/base/src/org/compiere/model/I_M_ProductPrice.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductPrice - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_ProductPrice { diff --git a/base/src/org/compiere/model/I_M_Product_Acct.java b/base/src/org/compiere/model/I_M_Product_Acct.java index f49d47fc96..8c5d421852 100644 --- a/base/src/org/compiere/model/I_M_Product_Acct.java +++ b/base/src/org/compiere/model/I_M_Product_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Product_Acct { diff --git a/base/src/org/compiere/model/I_M_Product_BOM.java b/base/src/org/compiere/model/I_M_Product_BOM.java index cc9026123c..0ea6264feb 100644 --- a/base/src/org/compiere/model/I_M_Product_BOM.java +++ b/base/src/org/compiere/model/I_M_Product_BOM.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_BOM - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Product_BOM { @@ -108,6 +104,15 @@ public interface I_M_Product_BOM */ public int getLine(); + /** Column name M_Product_BOM_ID */ + public static final String COLUMNNAME_M_Product_BOM_ID = "M_Product_BOM_ID"; + + /** Set BOM Line */ + public void setM_Product_BOM_ID (int M_Product_BOM_ID); + + /** Get BOM Line */ + public int getM_Product_BOM_ID(); + /** Column name M_ProductBOM_ID */ public static final String COLUMNNAME_M_ProductBOM_ID = "M_ProductBOM_ID"; @@ -121,15 +126,6 @@ public interface I_M_Product_BOM */ public int getM_ProductBOM_ID(); - /** Column name M_Product_BOM_ID */ - public static final String COLUMNNAME_M_Product_BOM_ID = "M_Product_BOM_ID"; - - /** Set BOM Line */ - public void setM_Product_BOM_ID (int M_Product_BOM_ID); - - /** Get BOM Line */ - public int getM_Product_BOM_ID(); - /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; diff --git a/base/src/org/compiere/model/I_M_Product_Category.java b/base/src/org/compiere/model/I_M_Product_Category.java index 2992151789..b77386b3cd 100644 --- a/base/src/org/compiere/model/I_M_Product_Category.java +++ b/base/src/org/compiere/model/I_M_Product_Category.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_Category - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Product_Category { @@ -56,21 +52,6 @@ public interface I_M_Product_Category /** Load Meta Data */ - /** Column name AD_PrintColor_ID */ - public static final String COLUMNNAME_AD_PrintColor_ID = "AD_PrintColor_ID"; - - /** Set Print Color. - * Color used for printing and display - */ - public void setAD_PrintColor_ID (int AD_PrintColor_ID); - - /** Get Print Color. - * Color used for printing and display - */ - public int getAD_PrintColor_ID(); - - public I_AD_PrintColor getAD_PrintColor() throws Exception; - /** Column name A_Asset_Group_ID */ public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID"; @@ -86,6 +67,21 @@ public interface I_M_Product_Category public I_A_Asset_Group getA_Asset_Group() throws Exception; + /** Column name AD_PrintColor_ID */ + public static final String COLUMNNAME_AD_PrintColor_ID = "AD_PrintColor_ID"; + + /** Set Print Color. + * Color used for printing and display + */ + public void setAD_PrintColor_ID (int AD_PrintColor_ID); + + /** Get Print Color. + * Color used for printing and display + */ + public int getAD_PrintColor_ID(); + + public I_AD_PrintColor getAD_PrintColor() throws Exception; + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_M_Product_Category_Acct.java b/base/src/org/compiere/model/I_M_Product_Category_Acct.java index 9b11b1fcf0..76fcb1494d 100644 --- a/base/src/org/compiere/model/I_M_Product_Category_Acct.java +++ b/base/src/org/compiere/model/I_M_Product_Category_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_Category_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Product_Category_Acct { @@ -216,6 +212,15 @@ public interface I_M_Product_Category_Acct */ public int getP_Revenue_Acct(); + /** Column name Processing */ + public static final String COLUMNNAME_Processing = "Processing"; + + /** Set Process Now */ + public void setProcessing (boolean Processing); + + /** Get Process Now */ + public boolean isProcessing(); + /** Column name P_TradeDiscountGrant_Acct */ public static final String COLUMNNAME_P_TradeDiscountGrant_Acct = "P_TradeDiscountGrant_Acct"; @@ -241,13 +246,4 @@ public interface I_M_Product_Category_Acct * Trade Discount Receivable Account */ public int getP_TradeDiscountRec_Acct(); - - /** Column name Processing */ - public static final String COLUMNNAME_Processing = "Processing"; - - /** Set Process Now */ - public void setProcessing (boolean Processing); - - /** Get Process Now */ - public boolean isProcessing(); } diff --git a/base/src/org/compiere/model/I_M_Product_Costing.java b/base/src/org/compiere/model/I_M_Product_Costing.java index 518e8469f0..5870399d63 100644 --- a/base/src/org/compiere/model/I_M_Product_Costing.java +++ b/base/src/org/compiere/model/I_M_Product_Costing.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_Costing - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Product_Costing { diff --git a/base/src/org/compiere/model/I_M_Product_PO.java b/base/src/org/compiere/model/I_M_Product_PO.java index 95dde1d855..205ec5abba 100644 --- a/base/src/org/compiere/model/I_M_Product_PO.java +++ b/base/src/org/compiere/model/I_M_Product_PO.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_PO - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Product_PO { @@ -87,6 +83,19 @@ public interface I_M_Product_PO public I_C_Currency getC_Currency() throws Exception; + /** Column name CostPerOrder */ + public static final String COLUMNNAME_CostPerOrder = "CostPerOrder"; + + /** Set Cost per Order. + * Fixed Cost Per Order + */ + public void setCostPerOrder (BigDecimal CostPerOrder); + + /** Get Cost per Order. + * Fixed Cost Per Order + */ + public BigDecimal getCostPerOrder(); + /** Column name C_UOM_ID */ public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; @@ -102,19 +111,6 @@ public interface I_M_Product_PO public I_C_UOM getC_UOM() throws Exception; - /** Column name CostPerOrder */ - public static final String COLUMNNAME_CostPerOrder = "CostPerOrder"; - - /** Set Cost per Order. - * Fixed Cost Per Order - */ - public void setCostPerOrder (BigDecimal CostPerOrder); - - /** Get Cost per Order. - * Fixed Cost Per Order - */ - public BigDecimal getCostPerOrder(); - /** Column name DeliveryTime_Actual */ public static final String COLUMNNAME_DeliveryTime_Actual = "DeliveryTime_Actual"; @@ -180,6 +176,19 @@ public interface I_M_Product_PO */ public boolean isCurrentVendor(); + /** Column name Manufacturer */ + public static final String COLUMNNAME_Manufacturer = "Manufacturer"; + + /** Set Manufacturer. + * Manufacturer of the Product + */ + public void setManufacturer (String Manufacturer); + + /** Get Manufacturer. + * Manufacturer of the Product + */ + public String getManufacturer(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -195,19 +204,6 @@ public interface I_M_Product_PO public I_M_Product getM_Product() throws Exception; - /** Column name Manufacturer */ - public static final String COLUMNNAME_Manufacturer = "Manufacturer"; - - /** Set Manufacturer. - * Manufacturer of the Product - */ - public void setManufacturer (String Manufacturer); - - /** Get Manufacturer. - * Manufacturer of the Product - */ - public String getManufacturer(); - /** Column name Order_Min */ public static final String COLUMNNAME_Order_Min = "Order_Min"; diff --git a/base/src/org/compiere/model/I_M_Production.java b/base/src/org/compiere/model/I_M_Production.java index 810b331956..a154d7fb8d 100644 --- a/base/src/org/compiere/model/I_M_Production.java +++ b/base/src/org/compiere/model/I_M_Production.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Production - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Production { @@ -137,19 +133,6 @@ public interface I_M_Production /** Get Records created */ public boolean isCreated(); - /** Column name M_Production_ID */ - public static final String COLUMNNAME_M_Production_ID = "M_Production_ID"; - - /** Set Production. - * Plan for producing a product - */ - public void setM_Production_ID (int M_Production_ID); - - /** Get Production. - * Plan for producing a product - */ - public int getM_Production_ID(); - /** Column name MovementDate */ public static final String COLUMNNAME_MovementDate = "MovementDate"; @@ -163,6 +146,19 @@ public interface I_M_Production */ public Timestamp getMovementDate(); + /** Column name M_Production_ID */ + public static final String COLUMNNAME_M_Production_ID = "M_Production_ID"; + + /** Set Production. + * Plan for producing a product + */ + public void setM_Production_ID (int M_Production_ID); + + /** Get Production. + * Plan for producing a product + */ + public int getM_Production_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_M_ProductionLine.java b/base/src/org/compiere/model/I_M_ProductionLine.java index 9a607c1611..26597d9091 100644 --- a/base/src/org/compiere/model/I_M_ProductionLine.java +++ b/base/src/org/compiere/model/I_M_ProductionLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductionLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_ProductionLine { @@ -108,6 +104,19 @@ public interface I_M_ProductionLine */ public int getM_Locator_ID(); + /** Column name MovementQty */ + public static final String COLUMNNAME_MovementQty = "MovementQty"; + + /** Set Movement Quantity. + * Quantity of a product moved. + */ + public void setMovementQty (BigDecimal MovementQty); + + /** Get Movement Quantity. + * Quantity of a product moved. + */ + public BigDecimal getMovementQty(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -151,19 +160,6 @@ public interface I_M_ProductionLine public I_M_ProductionPlan getM_ProductionPlan() throws Exception; - /** Column name MovementQty */ - public static final String COLUMNNAME_MovementQty = "MovementQty"; - - /** Set Movement Quantity. - * Quantity of a product moved. - */ - public void setMovementQty (BigDecimal MovementQty); - - /** Get Movement Quantity. - * Quantity of a product moved. - */ - public BigDecimal getMovementQty(); - /** Column name Processed */ public static final String COLUMNNAME_Processed = "Processed"; diff --git a/base/src/org/compiere/model/I_M_ProductionLineMA.java b/base/src/org/compiere/model/I_M_ProductionLineMA.java index a49f5737d3..886467e392 100644 --- a/base/src/org/compiere/model/I_M_ProductionLineMA.java +++ b/base/src/org/compiere/model/I_M_ProductionLineMA.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductionLineMA - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_ProductionLineMA { @@ -69,6 +65,19 @@ public interface I_M_ProductionLineMA */ public int getM_AttributeSetInstance_ID(); + /** Column name MovementQty */ + public static final String COLUMNNAME_MovementQty = "MovementQty"; + + /** Set Movement Quantity. + * Quantity of a product moved. + */ + public void setMovementQty (BigDecimal MovementQty); + + /** Get Movement Quantity. + * Quantity of a product moved. + */ + public BigDecimal getMovementQty(); + /** Column name M_ProductionLine_ID */ public static final String COLUMNNAME_M_ProductionLine_ID = "M_ProductionLine_ID"; @@ -83,17 +92,4 @@ public interface I_M_ProductionLineMA public int getM_ProductionLine_ID(); public I_M_ProductionLine getM_ProductionLine() throws Exception; - - /** Column name MovementQty */ - public static final String COLUMNNAME_MovementQty = "MovementQty"; - - /** Set Movement Quantity. - * Quantity of a product moved. - */ - public void setMovementQty (BigDecimal MovementQty); - - /** Get Movement Quantity. - * Quantity of a product moved. - */ - public BigDecimal getMovementQty(); } diff --git a/base/src/org/compiere/model/I_M_ProductionPlan.java b/base/src/org/compiere/model/I_M_ProductionPlan.java index 88ebe46739..fdc1d37990 100644 --- a/base/src/org/compiere/model/I_M_ProductionPlan.java +++ b/base/src/org/compiere/model/I_M_ProductionPlan.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductionPlan - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_ProductionPlan { @@ -108,19 +104,6 @@ public interface I_M_ProductionPlan */ public int getM_Product_ID(); - /** Column name M_ProductionPlan_ID */ - public static final String COLUMNNAME_M_ProductionPlan_ID = "M_ProductionPlan_ID"; - - /** Set Production Plan. - * Plan for how a product is produced - */ - public void setM_ProductionPlan_ID (int M_ProductionPlan_ID); - - /** Get Production Plan. - * Plan for how a product is produced - */ - public int getM_ProductionPlan_ID(); - /** Column name M_Production_ID */ public static final String COLUMNNAME_M_Production_ID = "M_Production_ID"; @@ -136,6 +119,19 @@ public interface I_M_ProductionPlan public I_M_Production getM_Production() throws Exception; + /** Column name M_ProductionPlan_ID */ + public static final String COLUMNNAME_M_ProductionPlan_ID = "M_ProductionPlan_ID"; + + /** Set Production Plan. + * Plan for how a product is produced + */ + public void setM_ProductionPlan_ID (int M_ProductionPlan_ID); + + /** Get Production Plan. + * Plan for how a product is produced + */ + public int getM_ProductionPlan_ID(); + /** Column name Processed */ public static final String COLUMNNAME_Processed = "Processed"; diff --git a/base/src/org/compiere/model/I_M_RMA.java b/base/src/org/compiere/model/I_M_RMA.java index 9dde8b5749..2283521578 100644 --- a/base/src/org/compiere/model/I_M_RMA.java +++ b/base/src/org/compiere/model/I_M_RMA.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_RMA - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_RMA { @@ -244,6 +240,19 @@ public interface I_M_RMA */ public boolean isSOTrx(); + /** Column name M_RMA_ID */ + public static final String COLUMNNAME_M_RMA_ID = "M_RMA_ID"; + + /** Set RMA. + * Return Material Authorization + */ + public void setM_RMA_ID (int M_RMA_ID); + + /** Get RMA. + * Return Material Authorization + */ + public int getM_RMA_ID(); + /** Column name M_RMAType_ID */ public static final String COLUMNNAME_M_RMAType_ID = "M_RMAType_ID"; @@ -259,19 +268,6 @@ public interface I_M_RMA public I_M_RMAType getM_RMAType() throws Exception; - /** Column name M_RMA_ID */ - public static final String COLUMNNAME_M_RMA_ID = "M_RMA_ID"; - - /** Set RMA. - * Return Material Authorization - */ - public void setM_RMA_ID (int M_RMA_ID); - - /** Get RMA. - * Return Material Authorization - */ - public int getM_RMA_ID(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_M_RMALine.java b/base/src/org/compiere/model/I_M_RMALine.java index 862b4ecbb4..f769817fba 100644 --- a/base/src/org/compiere/model/I_M_RMALine.java +++ b/base/src/org/compiere/model/I_M_RMALine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_RMALine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_RMALine { @@ -138,19 +134,6 @@ public interface I_M_RMALine public I_M_InOutLine getM_InOutLine() throws Exception; - /** Column name M_RMALine_ID */ - public static final String COLUMNNAME_M_RMALine_ID = "M_RMALine_ID"; - - /** Set RMA Line. - * Return Material Authorization Line - */ - public void setM_RMALine_ID (int M_RMALine_ID); - - /** Get RMA Line. - * Return Material Authorization Line - */ - public int getM_RMALine_ID(); - /** Column name M_RMA_ID */ public static final String COLUMNNAME_M_RMA_ID = "M_RMA_ID"; @@ -166,6 +149,19 @@ public interface I_M_RMALine public I_M_RMA getM_RMA() throws Exception; + /** Column name M_RMALine_ID */ + public static final String COLUMNNAME_M_RMALine_ID = "M_RMALine_ID"; + + /** Set RMA Line. + * Return Material Authorization Line + */ + public void setM_RMALine_ID (int M_RMALine_ID); + + /** Get RMA Line. + * Return Material Authorization Line + */ + public int getM_RMALine_ID(); + /** Column name Processed */ public static final String COLUMNNAME_Processed = "Processed"; diff --git a/base/src/org/compiere/model/I_M_RMAType.java b/base/src/org/compiere/model/I_M_RMAType.java index b39ea00eee..0f27313ab8 100644 --- a/base/src/org/compiere/model/I_M_RMAType.java +++ b/base/src/org/compiere/model/I_M_RMAType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_RMAType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_RMAType { diff --git a/base/src/org/compiere/model/I_M_RelatedProduct.java b/base/src/org/compiere/model/I_M_RelatedProduct.java index 322f1dc5b8..b22518ecfe 100644 --- a/base/src/org/compiere/model/I_M_RelatedProduct.java +++ b/base/src/org/compiere/model/I_M_RelatedProduct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_RelatedProduct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_RelatedProduct { @@ -97,15 +93,6 @@ public interface I_M_RelatedProduct */ public String getName(); - /** Column name RelatedProductType */ - public static final String COLUMNNAME_RelatedProductType = "RelatedProductType"; - - /** Set Related Product Type */ - public void setRelatedProductType (String RelatedProductType); - - /** Get Related Product Type */ - public String getRelatedProductType(); - /** Column name RelatedProduct_ID */ public static final String COLUMNNAME_RelatedProduct_ID = "RelatedProduct_ID"; @@ -118,4 +105,13 @@ public interface I_M_RelatedProduct * Related Product */ public int getRelatedProduct_ID(); + + /** Column name RelatedProductType */ + public static final String COLUMNNAME_RelatedProductType = "RelatedProductType"; + + /** Set Related Product Type */ + public void setRelatedProductType (String RelatedProductType); + + /** Get Related Product Type */ + public String getRelatedProductType(); } diff --git a/base/src/org/compiere/model/I_M_Replenish.java b/base/src/org/compiere/model/I_M_Replenish.java index 6dac84271d..afbf8d17f2 100644 --- a/base/src/org/compiere/model/I_M_Replenish.java +++ b/base/src/org/compiere/model/I_M_Replenish.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Replenish - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Replenish { @@ -97,19 +93,6 @@ public interface I_M_Replenish public I_M_Product getM_Product() throws Exception; - /** Column name M_WarehouseSource_ID */ - public static final String COLUMNNAME_M_WarehouseSource_ID = "M_WarehouseSource_ID"; - - /** Set Source Warehouse. - * Optional Warehouse to replenish from - */ - public void setM_WarehouseSource_ID (int M_WarehouseSource_ID); - - /** Get Source Warehouse. - * Optional Warehouse to replenish from - */ - public int getM_WarehouseSource_ID(); - /** Column name M_Warehouse_ID */ public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID"; @@ -125,6 +108,19 @@ public interface I_M_Replenish public I_M_Warehouse getM_Warehouse() throws Exception; + /** Column name M_WarehouseSource_ID */ + public static final String COLUMNNAME_M_WarehouseSource_ID = "M_WarehouseSource_ID"; + + /** Set Source Warehouse. + * Optional Warehouse to replenish from + */ + public void setM_WarehouseSource_ID (int M_WarehouseSource_ID); + + /** Get Source Warehouse. + * Optional Warehouse to replenish from + */ + public int getM_WarehouseSource_ID(); + /** Column name ReplenishType */ public static final String COLUMNNAME_ReplenishType = "ReplenishType"; diff --git a/base/src/org/compiere/model/I_M_Requisition.java b/base/src/org/compiere/model/I_M_Requisition.java index a8f2dcd300..bffc3f7b1e 100644 --- a/base/src/org/compiere/model/I_M_Requisition.java +++ b/base/src/org/compiere/model/I_M_Requisition.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Requisition - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Requisition { diff --git a/base/src/org/compiere/model/I_M_RequisitionLine.java b/base/src/org/compiere/model/I_M_RequisitionLine.java index 983bcecabd..005862f4ab 100644 --- a/base/src/org/compiere/model/I_M_RequisitionLine.java +++ b/base/src/org/compiere/model/I_M_RequisitionLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_RequisitionLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_RequisitionLine { @@ -153,19 +149,6 @@ public interface I_M_RequisitionLine public I_M_Product getM_Product() throws Exception; - /** Column name M_RequisitionLine_ID */ - public static final String COLUMNNAME_M_RequisitionLine_ID = "M_RequisitionLine_ID"; - - /** Set Requisition Line. - * Material Requisition Line - */ - public void setM_RequisitionLine_ID (int M_RequisitionLine_ID); - - /** Get Requisition Line. - * Material Requisition Line - */ - public int getM_RequisitionLine_ID(); - /** Column name M_Requisition_ID */ public static final String COLUMNNAME_M_Requisition_ID = "M_Requisition_ID"; @@ -181,6 +164,19 @@ public interface I_M_RequisitionLine public I_M_Requisition getM_Requisition() throws Exception; + /** Column name M_RequisitionLine_ID */ + public static final String COLUMNNAME_M_RequisitionLine_ID = "M_RequisitionLine_ID"; + + /** Set Requisition Line. + * Material Requisition Line + */ + public void setM_RequisitionLine_ID (int M_RequisitionLine_ID); + + /** Get Requisition Line. + * Material Requisition Line + */ + public int getM_RequisitionLine_ID(); + /** Column name PriceActual */ public static final String COLUMNNAME_PriceActual = "PriceActual"; diff --git a/base/src/org/compiere/model/I_M_SerNoCtl.java b/base/src/org/compiere/model/I_M_SerNoCtl.java index 1e143cd54a..3f136aaea4 100644 --- a/base/src/org/compiere/model/I_M_SerNoCtl.java +++ b/base/src/org/compiere/model/I_M_SerNoCtl.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_SerNoCtl - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_SerNoCtl { diff --git a/base/src/org/compiere/model/I_M_SerNoCtlExclude.java b/base/src/org/compiere/model/I_M_SerNoCtlExclude.java index 75ab0e22f3..9614639a9d 100644 --- a/base/src/org/compiere/model/I_M_SerNoCtlExclude.java +++ b/base/src/org/compiere/model/I_M_SerNoCtlExclude.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_SerNoCtlExclude - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_SerNoCtlExclude { diff --git a/base/src/org/compiere/model/I_M_Shipper.java b/base/src/org/compiere/model/I_M_Shipper.java index eb8511ae10..1d86872b90 100644 --- a/base/src/org/compiere/model/I_M_Shipper.java +++ b/base/src/org/compiere/model/I_M_Shipper.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Shipper - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Shipper { diff --git a/base/src/org/compiere/model/I_M_Storage.java b/base/src/org/compiere/model/I_M_Storage.java index 005ba7f56e..e2775df3d9 100644 --- a/base/src/org/compiere/model/I_M_Storage.java +++ b/base/src/org/compiere/model/I_M_Storage.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Storage - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Storage { diff --git a/base/src/org/compiere/model/I_M_Substitute.java b/base/src/org/compiere/model/I_M_Substitute.java index 27e6fae8a0..7718c13851 100644 --- a/base/src/org/compiere/model/I_M_Substitute.java +++ b/base/src/org/compiere/model/I_M_Substitute.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Substitute - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Substitute { diff --git a/base/src/org/compiere/model/I_M_Transaction.java b/base/src/org/compiere/model/I_M_Transaction.java index 235f985ffd..88ecc87c32 100644 --- a/base/src/org/compiere/model/I_M_Transaction.java +++ b/base/src/org/compiere/model/I_M_Transaction.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Transaction - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Transaction { @@ -143,45 +139,6 @@ public interface I_M_Transaction public I_M_MovementLine getM_MovementLine() throws Exception; - /** Column name M_Product_ID */ - public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; - - /** Set Product. - * Product, Service, Item - */ - public void setM_Product_ID (int M_Product_ID); - - /** Get Product. - * Product, Service, Item - */ - public int getM_Product_ID(); - - public I_M_Product getM_Product() throws Exception; - - /** Column name M_ProductionLine_ID */ - public static final String COLUMNNAME_M_ProductionLine_ID = "M_ProductionLine_ID"; - - /** Set Production Line. - * Document Line representing a production - */ - public void setM_ProductionLine_ID (int M_ProductionLine_ID); - - /** Get Production Line. - * Document Line representing a production - */ - public int getM_ProductionLine_ID(); - - public I_M_ProductionLine getM_ProductionLine() throws Exception; - - /** Column name M_Transaction_ID */ - public static final String COLUMNNAME_M_Transaction_ID = "M_Transaction_ID"; - - /** Set Inventory Transaction */ - public void setM_Transaction_ID (int M_Transaction_ID); - - /** Get Inventory Transaction */ - public int getM_Transaction_ID(); - /** Column name MovementDate */ public static final String COLUMNNAME_MovementDate = "MovementDate"; @@ -221,6 +178,45 @@ public interface I_M_Transaction */ public String getMovementType(); + /** Column name M_Product_ID */ + public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + + /** Set Product. + * Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID); + + /** Get Product. + * Product, Service, Item + */ + public int getM_Product_ID(); + + public I_M_Product getM_Product() throws Exception; + + /** Column name M_ProductionLine_ID */ + public static final String COLUMNNAME_M_ProductionLine_ID = "M_ProductionLine_ID"; + + /** Set Production Line. + * Document Line representing a production + */ + public void setM_ProductionLine_ID (int M_ProductionLine_ID); + + /** Get Production Line. + * Document Line representing a production + */ + public int getM_ProductionLine_ID(); + + public I_M_ProductionLine getM_ProductionLine() throws Exception; + + /** Column name M_Transaction_ID */ + public static final String COLUMNNAME_M_Transaction_ID = "M_Transaction_ID"; + + /** Set Inventory Transaction */ + public void setM_Transaction_ID (int M_Transaction_ID); + + /** Get Inventory Transaction */ + public int getM_Transaction_ID(); + /** Column name PP_Order_BOMLine_ID */ public static final String COLUMNNAME_PP_Order_BOMLine_ID = "PP_Order_BOMLine_ID"; diff --git a/base/src/org/compiere/model/I_M_TransactionAllocation.java b/base/src/org/compiere/model/I_M_TransactionAllocation.java index 0fa555c1e8..dc16263025 100644 --- a/base/src/org/compiere/model/I_M_TransactionAllocation.java +++ b/base/src/org/compiere/model/I_M_TransactionAllocation.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_TransactionAllocation - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_TransactionAllocation { diff --git a/base/src/org/compiere/model/I_M_Warehouse.java b/base/src/org/compiere/model/I_M_Warehouse.java index 12a173817b..23ebaa2c19 100644 --- a/base/src/org/compiere/model/I_M_Warehouse.java +++ b/base/src/org/compiere/model/I_M_Warehouse.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Warehouse - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Warehouse { @@ -95,19 +91,6 @@ public interface I_M_Warehouse */ public boolean isInTransit(); - /** Column name M_WarehouseSource_ID */ - public static final String COLUMNNAME_M_WarehouseSource_ID = "M_WarehouseSource_ID"; - - /** Set Source Warehouse. - * Optional Warehouse to replenish from - */ - public void setM_WarehouseSource_ID (int M_WarehouseSource_ID); - - /** Get Source Warehouse. - * Optional Warehouse to replenish from - */ - public int getM_WarehouseSource_ID(); - /** Column name M_Warehouse_ID */ public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID"; @@ -121,6 +104,19 @@ public interface I_M_Warehouse */ public int getM_Warehouse_ID(); + /** Column name M_WarehouseSource_ID */ + public static final String COLUMNNAME_M_WarehouseSource_ID = "M_WarehouseSource_ID"; + + /** Set Source Warehouse. + * Optional Warehouse to replenish from + */ + public void setM_WarehouseSource_ID (int M_WarehouseSource_ID); + + /** Get Source Warehouse. + * Optional Warehouse to replenish from + */ + public int getM_WarehouseSource_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_M_Warehouse_Acct.java b/base/src/org/compiere/model/I_M_Warehouse_Acct.java index ff77fb4e1f..d921a3d8a8 100644 --- a/base/src/org/compiere/model/I_M_Warehouse_Acct.java +++ b/base/src/org/compiere/model/I_M_Warehouse_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for M_Warehouse_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_M_Warehouse_Acct { diff --git a/base/src/org/compiere/model/I_PA_Achievement.java b/base/src/org/compiere/model/I_PA_Achievement.java index 65dfcd341f..55c4a5f54f 100644 --- a/base/src/org/compiere/model/I_PA_Achievement.java +++ b/base/src/org/compiere/model/I_PA_Achievement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Achievement - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_Achievement { diff --git a/base/src/org/compiere/model/I_PA_Benchmark.java b/base/src/org/compiere/model/I_PA_Benchmark.java index 64013143fd..120c789073 100644 --- a/base/src/org/compiere/model/I_PA_Benchmark.java +++ b/base/src/org/compiere/model/I_PA_Benchmark.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Benchmark - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_Benchmark { diff --git a/base/src/org/compiere/model/I_PA_BenchmarkData.java b/base/src/org/compiere/model/I_PA_BenchmarkData.java index 9b862e6dbf..225d9e52b0 100644 --- a/base/src/org/compiere/model/I_PA_BenchmarkData.java +++ b/base/src/org/compiere/model/I_PA_BenchmarkData.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_BenchmarkData - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_BenchmarkData { diff --git a/base/src/org/compiere/model/I_PA_ColorSchema.java b/base/src/org/compiere/model/I_PA_ColorSchema.java index d1ab03ddde..8477348266 100644 --- a/base/src/org/compiere/model/I_PA_ColorSchema.java +++ b/base/src/org/compiere/model/I_PA_ColorSchema.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ColorSchema - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_ColorSchema { diff --git a/base/src/org/compiere/model/I_PA_DashboardContent.java b/base/src/org/compiere/model/I_PA_DashboardContent.java index 685fc8a3f8..6a846290c6 100644 --- a/base/src/org/compiere/model/I_PA_DashboardContent.java +++ b/base/src/org/compiere/model/I_PA_DashboardContent.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_DashboardContent - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_DashboardContent { diff --git a/base/src/org/compiere/model/I_PA_Goal.java b/base/src/org/compiere/model/I_PA_Goal.java index 01a8e74d7f..daee6c3ee8 100644 --- a/base/src/org/compiere/model/I_PA_Goal.java +++ b/base/src/org/compiere/model/I_PA_Goal.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Goal - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_Goal { @@ -258,19 +254,6 @@ public interface I_PA_Goal public I_PA_ColorSchema getPA_ColorSchema() throws Exception; - /** Column name PA_GoalParent_ID */ - public static final String COLUMNNAME_PA_GoalParent_ID = "PA_GoalParent_ID"; - - /** Set Parent Goal. - * Parent Goal - */ - public void setPA_GoalParent_ID (int PA_GoalParent_ID); - - /** Get Parent Goal. - * Parent Goal - */ - public int getPA_GoalParent_ID(); - /** Column name PA_Goal_ID */ public static final String COLUMNNAME_PA_Goal_ID = "PA_Goal_ID"; @@ -284,6 +267,19 @@ public interface I_PA_Goal */ public int getPA_Goal_ID(); + /** Column name PA_GoalParent_ID */ + public static final String COLUMNNAME_PA_GoalParent_ID = "PA_GoalParent_ID"; + + /** Set Parent Goal. + * Parent Goal + */ + public void setPA_GoalParent_ID (int PA_GoalParent_ID); + + /** Get Parent Goal. + * Parent Goal + */ + public int getPA_GoalParent_ID(); + /** Column name PA_Measure_ID */ public static final String COLUMNNAME_PA_Measure_ID = "PA_Measure_ID"; diff --git a/base/src/org/compiere/model/I_PA_GoalRestriction.java b/base/src/org/compiere/model/I_PA_GoalRestriction.java index 5e8114b32f..d26b4e3979 100644 --- a/base/src/org/compiere/model/I_PA_GoalRestriction.java +++ b/base/src/org/compiere/model/I_PA_GoalRestriction.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_GoalRestriction - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_GoalRestriction { @@ -56,21 +52,6 @@ public interface I_PA_GoalRestriction /** Load Meta Data */ - /** Column name C_BP_Group_ID */ - public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; - - /** Set Business Partner Group. - * Business Partner Group - */ - public void setC_BP_Group_ID (int C_BP_Group_ID); - - /** Get Business Partner Group. - * Business Partner Group - */ - public int getC_BP_Group_ID(); - - public I_C_BP_Group getC_BP_Group() throws Exception; - /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -86,6 +67,21 @@ public interface I_PA_GoalRestriction public I_C_BPartner getC_BPartner() throws Exception; + /** Column name C_BP_Group_ID */ + public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; + + /** Set Business Partner Group. + * Business Partner Group + */ + public void setC_BP_Group_ID (int C_BP_Group_ID); + + /** Get Business Partner Group. + * Business Partner Group + */ + public int getC_BP_Group_ID(); + + public I_C_BP_Group getC_BP_Group() throws Exception; + /** Column name GoalRestrictionType */ public static final String COLUMNNAME_GoalRestrictionType = "GoalRestrictionType"; @@ -155,19 +151,6 @@ public interface I_PA_GoalRestriction */ public int getOrg_ID(); - /** Column name PA_GoalRestriction_ID */ - public static final String COLUMNNAME_PA_GoalRestriction_ID = "PA_GoalRestriction_ID"; - - /** Set Goal Restriction. - * Performance Goal Restriction - */ - public void setPA_GoalRestriction_ID (int PA_GoalRestriction_ID); - - /** Get Goal Restriction. - * Performance Goal Restriction - */ - public int getPA_GoalRestriction_ID(); - /** Column name PA_Goal_ID */ public static final String COLUMNNAME_PA_Goal_ID = "PA_Goal_ID"; @@ -182,4 +165,17 @@ public interface I_PA_GoalRestriction public int getPA_Goal_ID(); public I_PA_Goal getPA_Goal() throws Exception; + + /** Column name PA_GoalRestriction_ID */ + public static final String COLUMNNAME_PA_GoalRestriction_ID = "PA_GoalRestriction_ID"; + + /** Set Goal Restriction. + * Performance Goal Restriction + */ + public void setPA_GoalRestriction_ID (int PA_GoalRestriction_ID); + + /** Get Goal Restriction. + * Performance Goal Restriction + */ + public int getPA_GoalRestriction_ID(); } diff --git a/base/src/org/compiere/model/I_PA_Hierarchy.java b/base/src/org/compiere/model/I_PA_Hierarchy.java index 7781563f3e..5bc8a28a81 100644 --- a/base/src/org/compiere/model/I_PA_Hierarchy.java +++ b/base/src/org/compiere/model/I_PA_Hierarchy.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Hierarchy - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_Hierarchy { diff --git a/base/src/org/compiere/model/I_PA_Measure.java b/base/src/org/compiere/model/I_PA_Measure.java index 1cf633c670..2ecdcec508 100644 --- a/base/src/org/compiere/model/I_PA_Measure.java +++ b/base/src/org/compiere/model/I_PA_Measure.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Measure - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_Measure { @@ -56,6 +52,19 @@ public interface I_PA_Measure /** Load Meta Data */ + /** Column name CalculationClass */ + public static final String COLUMNNAME_CalculationClass = "CalculationClass"; + + /** Set Calculation Class. + * Java Class for calculation, implementing Interface Measure + */ + public void setCalculationClass (String CalculationClass); + + /** Get Calculation Class. + * Java Class for calculation, implementing Interface Measure + */ + public String getCalculationClass(); + /** Column name C_ProjectType_ID */ public static final String COLUMNNAME_C_ProjectType_ID = "C_ProjectType_ID"; @@ -71,19 +80,6 @@ public interface I_PA_Measure public I_C_ProjectType getC_ProjectType() throws Exception; - /** Column name CalculationClass */ - public static final String COLUMNNAME_CalculationClass = "CalculationClass"; - - /** Set Calculation Class. - * Java Class for calculation, implementing Interface Measure - */ - public void setCalculationClass (String CalculationClass); - - /** Get Calculation Class. - * Java Class for calculation, implementing Interface Measure - */ - public String getCalculationClass(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_PA_MeasureCalc.java b/base/src/org/compiere/model/I_PA_MeasureCalc.java index 95ae0255ee..9215a42fe1 100644 --- a/base/src/org/compiere/model/I_PA_MeasureCalc.java +++ b/base/src/org/compiere/model/I_PA_MeasureCalc.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_MeasureCalc - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_MeasureCalc { diff --git a/base/src/org/compiere/model/I_PA_Ratio.java b/base/src/org/compiere/model/I_PA_Ratio.java index f8b84272c8..627f4f1561 100644 --- a/base/src/org/compiere/model/I_PA_Ratio.java +++ b/base/src/org/compiere/model/I_PA_Ratio.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Ratio - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_Ratio { diff --git a/base/src/org/compiere/model/I_PA_RatioElement.java b/base/src/org/compiere/model/I_PA_RatioElement.java index 2154e08e82..e21e6bc1c1 100644 --- a/base/src/org/compiere/model/I_PA_RatioElement.java +++ b/base/src/org/compiere/model/I_PA_RatioElement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_RatioElement - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_RatioElement { @@ -136,19 +132,6 @@ public interface I_PA_RatioElement */ public int getPA_RatioElement_ID(); - /** Column name PA_RatioUsed_ID */ - public static final String COLUMNNAME_PA_RatioUsed_ID = "PA_RatioUsed_ID"; - - /** Set Ratio Used. - * Performace Ratio Used - */ - public void setPA_RatioUsed_ID (int PA_RatioUsed_ID); - - /** Get Ratio Used. - * Performace Ratio Used - */ - public int getPA_RatioUsed_ID(); - /** Column name PA_Ratio_ID */ public static final String COLUMNNAME_PA_Ratio_ID = "PA_Ratio_ID"; @@ -164,6 +147,19 @@ public interface I_PA_RatioElement public I_PA_Ratio getPA_Ratio() throws Exception; + /** Column name PA_RatioUsed_ID */ + public static final String COLUMNNAME_PA_RatioUsed_ID = "PA_RatioUsed_ID"; + + /** Set Ratio Used. + * Performace Ratio Used + */ + public void setPA_RatioUsed_ID (int PA_RatioUsed_ID); + + /** Get Ratio Used. + * Performace Ratio Used + */ + public int getPA_RatioUsed_ID(); + /** Column name PostingType */ public static final String COLUMNNAME_PostingType = "PostingType"; diff --git a/base/src/org/compiere/model/I_PA_Report.java b/base/src/org/compiere/model/I_PA_Report.java index 992053b9a0..5c885a4ff1 100644 --- a/base/src/org/compiere/model/I_PA_Report.java +++ b/base/src/org/compiere/model/I_PA_Report.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Report - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_Report { @@ -190,17 +186,6 @@ public interface I_PA_Report public I_PA_ReportColumnSet getPA_ReportColumnSet() throws Exception; - /** Column name PA_ReportLineSet_ID */ - public static final String COLUMNNAME_PA_ReportLineSet_ID = "PA_ReportLineSet_ID"; - - /** Set Report Line Set */ - public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID); - - /** Get Report Line Set */ - public int getPA_ReportLineSet_ID(); - - public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception; - /** Column name PA_Report_ID */ public static final String COLUMNNAME_PA_Report_ID = "PA_Report_ID"; @@ -214,6 +199,17 @@ public interface I_PA_Report */ public int getPA_Report_ID(); + /** Column name PA_ReportLineSet_ID */ + public static final String COLUMNNAME_PA_ReportLineSet_ID = "PA_ReportLineSet_ID"; + + /** Set Report Line Set */ + public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID); + + /** Get Report Line Set */ + public int getPA_ReportLineSet_ID(); + + public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception; + /** Column name Processing */ public static final String COLUMNNAME_Processing = "Processing"; diff --git a/base/src/org/compiere/model/I_PA_ReportColumn.java b/base/src/org/compiere/model/I_PA_ReportColumn.java index 7bc91df1e5..72020e41b7 100644 --- a/base/src/org/compiere/model/I_PA_ReportColumn.java +++ b/base/src/org/compiere/model/I_PA_ReportColumn.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportColumn - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_ReportColumn { @@ -84,6 +80,15 @@ public interface I_PA_ReportColumn public I_C_Activity getC_Activity() throws Exception; + /** Column name CalculationType */ + public static final String COLUMNNAME_CalculationType = "CalculationType"; + + /** Set Calculation */ + public void setCalculationType (String CalculationType); + + /** Get Calculation */ + public String getCalculationType(); + /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -157,6 +162,15 @@ public interface I_PA_ReportColumn */ public int getC_Location_ID(); + /** Column name ColumnType */ + public static final String COLUMNNAME_ColumnType = "ColumnType"; + + /** Set Column Type */ + public void setColumnType (String ColumnType); + + /** Get Column Type */ + public String getColumnType(); + /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -187,24 +201,6 @@ public interface I_PA_ReportColumn public I_C_SalesRegion getC_SalesRegion() throws Exception; - /** Column name CalculationType */ - public static final String COLUMNNAME_CalculationType = "CalculationType"; - - /** Set Calculation */ - public void setCalculationType (String CalculationType); - - /** Get Calculation */ - public String getCalculationType(); - - /** Column name ColumnType */ - public static final String COLUMNNAME_ColumnType = "ColumnType"; - - /** Set Column Type */ - public void setColumnType (String ColumnType); - - /** Get Column Type */ - public String getColumnType(); - /** Column name CurrencyType */ public static final String COLUMNNAME_CurrencyType = "CurrencyType"; @@ -491,6 +487,19 @@ public interface I_PA_ReportColumn */ public int getOrg_ID(); + /** Column name PA_ReportColumn_ID */ + public static final String COLUMNNAME_PA_ReportColumn_ID = "PA_ReportColumn_ID"; + + /** Set Report Column. + * Column in Report + */ + public void setPA_ReportColumn_ID (int PA_ReportColumn_ID); + + /** Get Report Column. + * Column in Report + */ + public int getPA_ReportColumn_ID(); + /** Column name PA_ReportColumnSet_ID */ public static final String COLUMNNAME_PA_ReportColumnSet_ID = "PA_ReportColumnSet_ID"; @@ -506,19 +515,6 @@ public interface I_PA_ReportColumn public I_PA_ReportColumnSet getPA_ReportColumnSet() throws Exception; - /** Column name PA_ReportColumn_ID */ - public static final String COLUMNNAME_PA_ReportColumn_ID = "PA_ReportColumn_ID"; - - /** Set Report Column. - * Column in Report - */ - public void setPA_ReportColumn_ID (int PA_ReportColumn_ID); - - /** Get Report Column. - * Column in Report - */ - public int getPA_ReportColumn_ID(); - /** Column name PostingType */ public static final String COLUMNNAME_PostingType = "PostingType"; diff --git a/base/src/org/compiere/model/I_PA_ReportColumnSet.java b/base/src/org/compiere/model/I_PA_ReportColumnSet.java index 9f8536dcad..82e7da4166 100644 --- a/base/src/org/compiere/model/I_PA_ReportColumnSet.java +++ b/base/src/org/compiere/model/I_PA_ReportColumnSet.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportColumnSet - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_ReportColumnSet { diff --git a/base/src/org/compiere/model/I_PA_ReportLine.java b/base/src/org/compiere/model/I_PA_ReportLine.java index 470f98b9db..1b051c7c3e 100644 --- a/base/src/org/compiere/model/I_PA_ReportLine.java +++ b/base/src/org/compiere/model/I_PA_ReportLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_ReportLine { @@ -167,6 +163,15 @@ public interface I_PA_ReportLine */ public int getOper_2_ID(); + /** Column name PA_ReportLine_ID */ + public static final String COLUMNNAME_PA_ReportLine_ID = "PA_ReportLine_ID"; + + /** Set Report Line */ + public void setPA_ReportLine_ID (int PA_ReportLine_ID); + + /** Get Report Line */ + public int getPA_ReportLine_ID(); + /** Column name PA_ReportLineSet_ID */ public static final String COLUMNNAME_PA_ReportLineSet_ID = "PA_ReportLineSet_ID"; @@ -178,15 +183,6 @@ public interface I_PA_ReportLine public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception; - /** Column name PA_ReportLine_ID */ - public static final String COLUMNNAME_PA_ReportLine_ID = "PA_ReportLine_ID"; - - /** Set Report Line */ - public void setPA_ReportLine_ID (int PA_ReportLine_ID); - - /** Get Report Line */ - public int getPA_ReportLine_ID(); - /** Column name PostingType */ public static final String COLUMNNAME_PostingType = "PostingType"; diff --git a/base/src/org/compiere/model/I_PA_ReportLineSet.java b/base/src/org/compiere/model/I_PA_ReportLineSet.java index 2d525fae57..0489ebe255 100644 --- a/base/src/org/compiere/model/I_PA_ReportLineSet.java +++ b/base/src/org/compiere/model/I_PA_ReportLineSet.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportLineSet - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_ReportLineSet { diff --git a/base/src/org/compiere/model/I_PA_ReportSource.java b/base/src/org/compiere/model/I_PA_ReportSource.java index c6f50b8f8a..538e89929b 100644 --- a/base/src/org/compiere/model/I_PA_ReportSource.java +++ b/base/src/org/compiere/model/I_PA_ReportSource.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportSource - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_ReportSource { diff --git a/base/src/org/compiere/model/I_PA_SLA_Criteria.java b/base/src/org/compiere/model/I_PA_SLA_Criteria.java index 251d1a814f..b3e33c3f82 100644 --- a/base/src/org/compiere/model/I_PA_SLA_Criteria.java +++ b/base/src/org/compiere/model/I_PA_SLA_Criteria.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_SLA_Criteria - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_SLA_Criteria { diff --git a/base/src/org/compiere/model/I_PA_SLA_Goal.java b/base/src/org/compiere/model/I_PA_SLA_Goal.java index 0f5e1c2314..a37e86784a 100644 --- a/base/src/org/compiere/model/I_PA_SLA_Goal.java +++ b/base/src/org/compiere/model/I_PA_SLA_Goal.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_SLA_Goal - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_SLA_Goal { diff --git a/base/src/org/compiere/model/I_PA_SLA_Measure.java b/base/src/org/compiere/model/I_PA_SLA_Measure.java index 5fffb30523..56ba47de64 100644 --- a/base/src/org/compiere/model/I_PA_SLA_Measure.java +++ b/base/src/org/compiere/model/I_PA_SLA_Measure.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for PA_SLA_Measure - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PA_SLA_Measure { diff --git a/base/src/org/compiere/model/I_RV_BPartner.java b/base/src/org/compiere/model/I_RV_BPartner.java index 58452abff7..ba1e73010c 100644 --- a/base/src/org/compiere/model/I_RV_BPartner.java +++ b/base/src/org/compiere/model/I_RV_BPartner.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for RV_BPartner - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_RV_BPartner { @@ -57,60 +53,6 @@ public interface I_RV_BPartner /** Load Meta Data */ - /** Column name AD_Language */ - public static final String COLUMNNAME_AD_Language = "AD_Language"; - - /** Set Language. - * Language for this entity - */ - public void setAD_Language (String AD_Language); - - /** Get Language. - * Language for this entity - */ - public String getAD_Language(); - - /** Column name AD_OrgBP_ID */ - public static final String COLUMNNAME_AD_OrgBP_ID = "AD_OrgBP_ID"; - - /** Set Linked Organization. - * The Business Partner is another Organization for explicit Inter-Org transactions - */ - public void setAD_OrgBP_ID (int AD_OrgBP_ID); - - /** Get Linked Organization. - * The Business Partner is another Organization for explicit Inter-Org transactions - */ - public int getAD_OrgBP_ID(); - - /** Column name AD_OrgTrx_ID */ - public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; - - /** Set Trx Organization. - * Performing or initiating organization - */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); - - /** Get Trx Organization. - * Performing or initiating organization - */ - public int getAD_OrgTrx_ID(); - - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID); - - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID(); - - public I_AD_User getAD_User() throws Exception; - /** Column name AcqusitionCost */ public static final String COLUMNNAME_AcqusitionCost = "AcqusitionCost"; @@ -176,31 +118,59 @@ public interface I_RV_BPartner */ public String getAddress3(); - /** Column name BPContactGreeting */ - public static final String COLUMNNAME_BPContactGreeting = "BPContactGreeting"; + /** Column name AD_Language */ + public static final String COLUMNNAME_AD_Language = "AD_Language"; - /** Set BP Contact Greeting. - * Greeting for Business Partner Contact + /** Set Language. + * Language for this entity */ - public void setBPContactGreeting (int BPContactGreeting); + public void setAD_Language (String AD_Language); - /** Get BP Contact Greeting. - * Greeting for Business Partner Contact + /** Get Language. + * Language for this entity */ - public int getBPContactGreeting(); + public String getAD_Language(); - /** Column name BPartner_Parent_ID */ - public static final String COLUMNNAME_BPartner_Parent_ID = "BPartner_Parent_ID"; + /** Column name AD_OrgBP_ID */ + public static final String COLUMNNAME_AD_OrgBP_ID = "AD_OrgBP_ID"; - /** Set Partner Parent. - * Business Partner Parent + /** Set Linked Organization. + * The Business Partner is another Organization for explicit Inter-Org transactions */ - public void setBPartner_Parent_ID (int BPartner_Parent_ID); + public void setAD_OrgBP_ID (int AD_OrgBP_ID); - /** Get Partner Parent. - * Business Partner Parent + /** Get Linked Organization. + * The Business Partner is another Organization for explicit Inter-Org transactions */ - public int getBPartner_Parent_ID(); + public int getAD_OrgBP_ID(); + + /** Column name AD_OrgTrx_ID */ + public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; + + /** Set Trx Organization. + * Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); + + /** Get Trx Organization. + * Performing or initiating organization + */ + public int getAD_OrgTrx_ID(); + + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + + public I_AD_User getAD_User() throws Exception; /** Column name Birthday */ public static final String COLUMNNAME_Birthday = "Birthday"; @@ -215,20 +185,31 @@ public interface I_RV_BPartner */ public Timestamp getBirthday(); - /** Column name C_BP_Group_ID */ - public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; + /** Column name BPartner_Parent_ID */ + public static final String COLUMNNAME_BPartner_Parent_ID = "BPartner_Parent_ID"; - /** Set Business Partner Group. - * Business Partner Group + /** Set Partner Parent. + * Business Partner Parent */ - public void setC_BP_Group_ID (int C_BP_Group_ID); + public void setBPartner_Parent_ID (int BPartner_Parent_ID); - /** Get Business Partner Group. - * Business Partner Group + /** Get Partner Parent. + * Business Partner Parent */ - public int getC_BP_Group_ID(); + public int getBPartner_Parent_ID(); - public I_C_BP_Group getC_BP_Group() throws Exception; + /** Column name BPContactGreeting */ + public static final String COLUMNNAME_BPContactGreeting = "BPContactGreeting"; + + /** Set BP Contact Greeting. + * Greeting for Business Partner Contact + */ + public void setBPContactGreeting (int BPContactGreeting); + + /** Get BP Contact Greeting. + * Greeting for Business Partner Contact + */ + public int getBPContactGreeting(); /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -258,6 +239,21 @@ public interface I_RV_BPartner public I_C_BPartner_Location getC_BPartner_Location() throws Exception; + /** Column name C_BP_Group_ID */ + public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; + + /** Set Business Partner Group. + * Business Partner Group + */ + public void setC_BP_Group_ID (int C_BP_Group_ID); + + /** Get Business Partner Group. + * Business Partner Group + */ + public int getC_BP_Group_ID(); + + public I_C_BP_Group getC_BP_Group() throws Exception; + /** Column name C_Country_ID */ public static final String COLUMNNAME_C_Country_ID = "C_Country_ID"; @@ -318,36 +314,6 @@ public interface I_RV_BPartner public I_C_InvoiceSchedule getC_InvoiceSchedule() throws Exception; - /** Column name C_PaymentTerm_ID */ - public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; - - /** Set Payment Term. - * The terms of Payment (timing, discount) - */ - public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); - - /** Get Payment Term. - * The terms of Payment (timing, discount) - */ - public int getC_PaymentTerm_ID(); - - public I_C_PaymentTerm getC_PaymentTerm() throws Exception; - - /** Column name C_Region_ID */ - public static final String COLUMNNAME_C_Region_ID = "C_Region_ID"; - - /** Set Region. - * Identifies a geographical Region - */ - public void setC_Region_ID (int C_Region_ID); - - /** Get Region. - * Identifies a geographical Region - */ - public int getC_Region_ID(); - - public I_C_Region getC_Region() throws Exception; - /** Column name City */ public static final String COLUMNNAME_City = "City"; @@ -413,18 +379,35 @@ public interface I_RV_BPartner */ public String getCountryName(); - /** Column name DUNS */ - public static final String COLUMNNAME_DUNS = "DUNS"; + /** Column name C_PaymentTerm_ID */ + public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID"; - /** Set D-U-N-S. - * Dun & Bradstreet Number + /** Set Payment Term. + * The terms of Payment (timing, discount) */ - public void setDUNS (String DUNS); + public void setC_PaymentTerm_ID (int C_PaymentTerm_ID); - /** Get D-U-N-S. - * Dun & Bradstreet Number + /** Get Payment Term. + * The terms of Payment (timing, discount) */ - public String getDUNS(); + public int getC_PaymentTerm_ID(); + + public I_C_PaymentTerm getC_PaymentTerm() throws Exception; + + /** Column name C_Region_ID */ + public static final String COLUMNNAME_C_Region_ID = "C_Region_ID"; + + /** Set Region. + * Identifies a geographical Region + */ + public void setC_Region_ID (int C_Region_ID); + + /** Get Region. + * Identifies a geographical Region + */ + public int getC_Region_ID(); + + public I_C_Region getC_Region() throws Exception; /** Column name DeliveryRule */ public static final String COLUMNNAME_DeliveryRule = "DeliveryRule"; @@ -478,6 +461,19 @@ public interface I_RV_BPartner */ public int getDocumentCopies(); + /** Column name DUNS */ + public static final String COLUMNNAME_DUNS = "DUNS"; + + /** Set D-U-N-S. + * Dun & Bradstreet Number + */ + public void setDUNS (String DUNS); + + /** Get D-U-N-S. + * Dun & Bradstreet Number + */ + public String getDUNS(); + /** Column name EMail */ public static final String COLUMNNAME_EMail = "EMail"; @@ -582,19 +578,6 @@ public interface I_RV_BPartner */ public String getFreightCostRule(); - /** Column name InvoiceRule */ - public static final String COLUMNNAME_InvoiceRule = "InvoiceRule"; - - /** Set Invoice Rule. - * Frequency and method of invoicing - */ - public void setInvoiceRule (String InvoiceRule); - - /** Get Invoice Rule. - * Frequency and method of invoicing - */ - public String getInvoiceRule(); - /** Column name Invoice_PrintFormat_ID */ public static final String COLUMNNAME_Invoice_PrintFormat_ID = "Invoice_PrintFormat_ID"; @@ -608,6 +591,19 @@ public interface I_RV_BPartner */ public int getInvoice_PrintFormat_ID(); + /** Column name InvoiceRule */ + public static final String COLUMNNAME_InvoiceRule = "InvoiceRule"; + + /** Set Invoice Rule. + * Frequency and method of invoicing + */ + public void setInvoiceRule (String InvoiceRule); + + /** Get Invoice Rule. + * Frequency and method of invoicing + */ + public String getInvoiceRule(); + /** Column name IsCustomer */ public static final String COLUMNNAME_IsCustomer = "IsCustomer"; @@ -721,19 +717,6 @@ public interface I_RV_BPartner */ public boolean isVendor(); - /** Column name LDAPUser */ - public static final String COLUMNNAME_LDAPUser = "LDAPUser"; - - /** Set LDAP User Name. - * User Name used for authorization via LDAP (directory) services - */ - public void setLDAPUser (boolean LDAPUser); - - /** Get LDAP User Name. - * User Name used for authorization via LDAP (directory) services - */ - public boolean isLDAPUser(); - /** Column name LastContact */ public static final String COLUMNNAME_LastContact = "LastContact"; @@ -760,6 +743,19 @@ public interface I_RV_BPartner */ public String getLastResult(); + /** Column name LDAPUser */ + public static final String COLUMNNAME_LDAPUser = "LDAPUser"; + + /** Set LDAP User Name. + * User Name used for authorization via LDAP (directory) services + */ + public void setLDAPUser (boolean LDAPUser); + + /** Get LDAP User Name. + * User Name used for authorization via LDAP (directory) services + */ + public boolean isLDAPUser(); + /** Column name M_DiscountSchema_ID */ public static final String COLUMNNAME_M_DiscountSchema_ID = "M_DiscountSchema_ID"; @@ -855,58 +851,6 @@ public interface I_RV_BPartner */ public int getNumberEmployees(); - /** Column name POReference */ - public static final String COLUMNNAME_POReference = "POReference"; - - /** Set Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference); - - /** Get Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference(); - - /** Column name PO_DiscountSchema_ID */ - public static final String COLUMNNAME_PO_DiscountSchema_ID = "PO_DiscountSchema_ID"; - - /** Set PO Discount Schema. - * Schema to calculate the purchase trade discount percentage - */ - public void setPO_DiscountSchema_ID (int PO_DiscountSchema_ID); - - /** Get PO Discount Schema. - * Schema to calculate the purchase trade discount percentage - */ - public int getPO_DiscountSchema_ID(); - - /** Column name PO_PaymentTerm_ID */ - public static final String COLUMNNAME_PO_PaymentTerm_ID = "PO_PaymentTerm_ID"; - - /** Set PO Payment Term. - * Payment rules for a purchase order - */ - public void setPO_PaymentTerm_ID (int PO_PaymentTerm_ID); - - /** Get PO Payment Term. - * Payment rules for a purchase order - */ - public int getPO_PaymentTerm_ID(); - - /** Column name PO_PriceList_ID */ - public static final String COLUMNNAME_PO_PriceList_ID = "PO_PriceList_ID"; - - /** Set Purchase Pricelist. - * Price List used by this Business Partner - */ - public void setPO_PriceList_ID (int PO_PriceList_ID); - - /** Get Purchase Pricelist. - * Price List used by this Business Partner - */ - public int getPO_PriceList_ID(); - /** Column name PaymentRule */ public static final String COLUMNNAME_PaymentRule = "PaymentRule"; @@ -959,6 +903,58 @@ public interface I_RV_BPartner */ public String getPhone2(); + /** Column name PO_DiscountSchema_ID */ + public static final String COLUMNNAME_PO_DiscountSchema_ID = "PO_DiscountSchema_ID"; + + /** Set PO Discount Schema. + * Schema to calculate the purchase trade discount percentage + */ + public void setPO_DiscountSchema_ID (int PO_DiscountSchema_ID); + + /** Get PO Discount Schema. + * Schema to calculate the purchase trade discount percentage + */ + public int getPO_DiscountSchema_ID(); + + /** Column name PO_PaymentTerm_ID */ + public static final String COLUMNNAME_PO_PaymentTerm_ID = "PO_PaymentTerm_ID"; + + /** Set PO Payment Term. + * Payment rules for a purchase order + */ + public void setPO_PaymentTerm_ID (int PO_PaymentTerm_ID); + + /** Get PO Payment Term. + * Payment rules for a purchase order + */ + public int getPO_PaymentTerm_ID(); + + /** Column name PO_PriceList_ID */ + public static final String COLUMNNAME_PO_PriceList_ID = "PO_PriceList_ID"; + + /** Set Purchase Pricelist. + * Price List used by this Business Partner + */ + public void setPO_PriceList_ID (int PO_PriceList_ID); + + /** Get Purchase Pricelist. + * Price List used by this Business Partner + */ + public int getPO_PriceList_ID(); + + /** Column name POReference */ + public static final String COLUMNNAME_POReference = "POReference"; + + /** Set Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference); + + /** Get Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference(); + /** Column name Postal */ public static final String COLUMNNAME_Postal = "Postal"; @@ -1024,71 +1020,6 @@ public interface I_RV_BPartner */ public String getRegionName(); - /** Column name SOCreditStatus */ - public static final String COLUMNNAME_SOCreditStatus = "SOCreditStatus"; - - /** Set Credit Status. - * Business Partner Credit Status - */ - public void setSOCreditStatus (String SOCreditStatus); - - /** Get Credit Status. - * Business Partner Credit Status - */ - public String getSOCreditStatus(); - - /** Column name SO_CreditAvailable */ - public static final String COLUMNNAME_SO_CreditAvailable = "SO_CreditAvailable"; - - /** Set Credit Available. - * Available Credit based on Credit Limit (not Total Open Balance) and Credit Used - */ - public void setSO_CreditAvailable (BigDecimal SO_CreditAvailable); - - /** Get Credit Available. - * Available Credit based on Credit Limit (not Total Open Balance) and Credit Used - */ - public BigDecimal getSO_CreditAvailable(); - - /** Column name SO_CreditLimit */ - public static final String COLUMNNAME_SO_CreditLimit = "SO_CreditLimit"; - - /** Set Credit Limit. - * Total outstanding invoice amounts allowed - */ - public void setSO_CreditLimit (BigDecimal SO_CreditLimit); - - /** Get Credit Limit. - * Total outstanding invoice amounts allowed - */ - public BigDecimal getSO_CreditLimit(); - - /** Column name SO_CreditUsed */ - public static final String COLUMNNAME_SO_CreditUsed = "SO_CreditUsed"; - - /** Set Credit Used. - * Current open balance - */ - public void setSO_CreditUsed (BigDecimal SO_CreditUsed); - - /** Get Credit Used. - * Current open balance - */ - public BigDecimal getSO_CreditUsed(); - - /** Column name SO_Description */ - public static final String COLUMNNAME_SO_Description = "SO_Description"; - - /** Set Order Description. - * Description to be used on orders - */ - public void setSO_Description (String SO_Description); - - /** Get Order Description. - * Description to be used on orders - */ - public String getSO_Description(); - /** Column name SalesRep_ID */ public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID"; @@ -1154,6 +1085,71 @@ public interface I_RV_BPartner */ public int getShelfLifeMinPct(); + /** Column name SO_CreditAvailable */ + public static final String COLUMNNAME_SO_CreditAvailable = "SO_CreditAvailable"; + + /** Set Credit Available. + * Available Credit based on Credit Limit (not Total Open Balance) and Credit Used + */ + public void setSO_CreditAvailable (BigDecimal SO_CreditAvailable); + + /** Get Credit Available. + * Available Credit based on Credit Limit (not Total Open Balance) and Credit Used + */ + public BigDecimal getSO_CreditAvailable(); + + /** Column name SO_CreditLimit */ + public static final String COLUMNNAME_SO_CreditLimit = "SO_CreditLimit"; + + /** Set Credit Limit. + * Total outstanding invoice amounts allowed + */ + public void setSO_CreditLimit (BigDecimal SO_CreditLimit); + + /** Get Credit Limit. + * Total outstanding invoice amounts allowed + */ + public BigDecimal getSO_CreditLimit(); + + /** Column name SOCreditStatus */ + public static final String COLUMNNAME_SOCreditStatus = "SOCreditStatus"; + + /** Set Credit Status. + * Business Partner Credit Status + */ + public void setSOCreditStatus (String SOCreditStatus); + + /** Get Credit Status. + * Business Partner Credit Status + */ + public String getSOCreditStatus(); + + /** Column name SO_CreditUsed */ + public static final String COLUMNNAME_SO_CreditUsed = "SO_CreditUsed"; + + /** Set Credit Used. + * Current open balance + */ + public void setSO_CreditUsed (BigDecimal SO_CreditUsed); + + /** Get Credit Used. + * Current open balance + */ + public BigDecimal getSO_CreditUsed(); + + /** Column name SO_Description */ + public static final String COLUMNNAME_SO_Description = "SO_Description"; + + /** Set Order Description. + * Description to be used on orders + */ + public void setSO_Description (String SO_Description); + + /** Get Order Description. + * Description to be used on orders + */ + public String getSO_Description(); + /** Column name Supervisor_ID */ public static final String COLUMNNAME_Supervisor_ID = "Supervisor_ID"; diff --git a/base/src/org/compiere/model/I_RV_WarehousePrice.java b/base/src/org/compiere/model/I_RV_WarehousePrice.java index f661d2ecbb..b4aa493e5a 100644 --- a/base/src/org/compiere/model/I_RV_WarehousePrice.java +++ b/base/src/org/compiere/model/I_RV_WarehousePrice.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for RV_WarehousePrice - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_RV_WarehousePrice { @@ -84,6 +80,19 @@ public interface I_RV_WarehousePrice */ public boolean isInstanceAttribute(); + /** Column name Margin */ + public static final String COLUMNNAME_Margin = "Margin"; + + /** Set Margin %. + * Margin for a product as a percentage + */ + public void setMargin (BigDecimal Margin); + + /** Get Margin %. + * Margin for a product as a percentage + */ + public BigDecimal getMargin(); + /** Column name M_PriceList_Version_ID */ public static final String COLUMNNAME_M_PriceList_Version_ID = "M_PriceList_Version_ID"; @@ -129,19 +138,6 @@ public interface I_RV_WarehousePrice public I_M_Warehouse getM_Warehouse() throws Exception; - /** Column name Margin */ - public static final String COLUMNNAME_Margin = "Margin"; - - /** Set Margin %. - * Margin for a product as a percentage - */ - public void setMargin (BigDecimal Margin); - - /** Get Margin %. - * Margin for a product as a percentage - */ - public BigDecimal getMargin(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/compiere/model/I_R_Category.java b/base/src/org/compiere/model/I_R_Category.java index 4e1c1bf628..7288f9e8bf 100644 --- a/base/src/org/compiere/model/I_R_Category.java +++ b/base/src/org/compiere/model/I_R_Category.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_Category - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_Category { diff --git a/base/src/org/compiere/model/I_R_CategoryUpdates.java b/base/src/org/compiere/model/I_R_CategoryUpdates.java index f381cac18a..ef68b3878f 100644 --- a/base/src/org/compiere/model/I_R_CategoryUpdates.java +++ b/base/src/org/compiere/model/I_R_CategoryUpdates.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_CategoryUpdates - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_CategoryUpdates { diff --git a/base/src/org/compiere/model/I_R_ContactInterest.java b/base/src/org/compiere/model/I_R_ContactInterest.java index a352760774..865df75e80 100644 --- a/base/src/org/compiere/model/I_R_ContactInterest.java +++ b/base/src/org/compiere/model/I_R_ContactInterest.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for R_ContactInterest - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_ContactInterest { diff --git a/base/src/org/compiere/model/I_R_Group.java b/base/src/org/compiere/model/I_R_Group.java index 72f409c27a..9717915e7e 100644 --- a/base/src/org/compiere/model/I_R_Group.java +++ b/base/src/org/compiere/model/I_R_Group.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_Group - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_Group { diff --git a/base/src/org/compiere/model/I_R_GroupUpdates.java b/base/src/org/compiere/model/I_R_GroupUpdates.java index 54166bf1c1..1857e4ddac 100644 --- a/base/src/org/compiere/model/I_R_GroupUpdates.java +++ b/base/src/org/compiere/model/I_R_GroupUpdates.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_GroupUpdates - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_GroupUpdates { diff --git a/base/src/org/compiere/model/I_R_InterestArea.java b/base/src/org/compiere/model/I_R_InterestArea.java index de5a26a177..b6c22c0613 100644 --- a/base/src/org/compiere/model/I_R_InterestArea.java +++ b/base/src/org/compiere/model/I_R_InterestArea.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_InterestArea - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_InterestArea { diff --git a/base/src/org/compiere/model/I_R_IssueKnown.java b/base/src/org/compiere/model/I_R_IssueKnown.java index 3f4b05843b..609441c8a6 100644 --- a/base/src/org/compiere/model/I_R_IssueKnown.java +++ b/base/src/org/compiere/model/I_R_IssueKnown.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueKnown - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_IssueKnown { @@ -130,6 +126,19 @@ public interface I_R_IssueKnown /** Get Process Now */ public boolean isProcessing(); + /** Column name ReleaseNo */ + public static final String COLUMNNAME_ReleaseNo = "ReleaseNo"; + + /** Set Release No. + * Internal Release Number + */ + public void setReleaseNo (String ReleaseNo); + + /** Get Release No. + * Internal Release Number + */ + public String getReleaseNo(); + /** Column name R_IssueKnown_ID */ public static final String COLUMNNAME_R_IssueKnown_ID = "R_IssueKnown_ID"; @@ -188,19 +197,6 @@ public interface I_R_IssueKnown public I_R_Request getR_Request() throws Exception; - /** Column name ReleaseNo */ - public static final String COLUMNNAME_ReleaseNo = "ReleaseNo"; - - /** Set Release No. - * Internal Release Number - */ - public void setReleaseNo (String ReleaseNo); - - /** Get Release No. - * Internal Release Number - */ - public String getReleaseNo(); - /** Column name SourceClassName */ public static final String COLUMNNAME_SourceClassName = "SourceClassName"; diff --git a/base/src/org/compiere/model/I_R_IssueProject.java b/base/src/org/compiere/model/I_R_IssueProject.java index de4ee55664..fd768d24c5 100644 --- a/base/src/org/compiere/model/I_R_IssueProject.java +++ b/base/src/org/compiere/model/I_R_IssueProject.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueProject - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_IssueProject { diff --git a/base/src/org/compiere/model/I_R_IssueRecommendation.java b/base/src/org/compiere/model/I_R_IssueRecommendation.java index 58f962b9b2..188372e225 100644 --- a/base/src/org/compiere/model/I_R_IssueRecommendation.java +++ b/base/src/org/compiere/model/I_R_IssueRecommendation.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueRecommendation - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_IssueRecommendation { diff --git a/base/src/org/compiere/model/I_R_IssueStatus.java b/base/src/org/compiere/model/I_R_IssueStatus.java index 368a56f918..aa5360079f 100644 --- a/base/src/org/compiere/model/I_R_IssueStatus.java +++ b/base/src/org/compiere/model/I_R_IssueStatus.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueStatus - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_IssueStatus { diff --git a/base/src/org/compiere/model/I_R_IssueSystem.java b/base/src/org/compiere/model/I_R_IssueSystem.java index de0284d387..6e819e494c 100644 --- a/base/src/org/compiere/model/I_R_IssueSystem.java +++ b/base/src/org/compiere/model/I_R_IssueSystem.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueSystem - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_IssueSystem { diff --git a/base/src/org/compiere/model/I_R_IssueUser.java b/base/src/org/compiere/model/I_R_IssueUser.java index 6544c5d541..5d55e1282b 100644 --- a/base/src/org/compiere/model/I_R_IssueUser.java +++ b/base/src/org/compiere/model/I_R_IssueUser.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueUser - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_IssueUser { diff --git a/base/src/org/compiere/model/I_R_MailText.java b/base/src/org/compiere/model/I_R_MailText.java index 7beae4917f..774353d5aa 100644 --- a/base/src/org/compiere/model/I_R_MailText.java +++ b/base/src/org/compiere/model/I_R_MailText.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_MailText - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_MailText { diff --git a/base/src/org/compiere/model/I_R_Request.java b/base/src/org/compiere/model/I_R_Request.java index b0d2d0548c..bac2297832 100644 --- a/base/src/org/compiere/model/I_R_Request.java +++ b/base/src/org/compiere/model/I_R_Request.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for R_Request - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_Request { @@ -57,6 +53,21 @@ public interface I_R_Request /** Load Meta Data */ + /** Column name A_Asset_ID */ + public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; + + /** Set Asset. + * Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID); + + /** Get Asset. + * Asset used internally or by customers + */ + public int getA_Asset_ID(); + + public I_A_Asset getA_Asset() throws Exception; + /** Column name AD_Role_ID */ public static final String COLUMNNAME_AD_Role_ID = "AD_Role_ID"; @@ -102,21 +113,6 @@ public interface I_R_Request public I_AD_User getAD_User() throws Exception; - /** Column name A_Asset_ID */ - public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; - - /** Set Asset. - * Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID); - - /** Get Asset. - * Asset used internally or by customers - */ - public int getA_Asset_ID(); - - public I_A_Asset getA_Asset() throws Exception; - /** Column name C_Activity_ID */ public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID"; @@ -162,19 +158,6 @@ public interface I_R_Request public I_C_Campaign getC_Campaign() throws Exception; - /** Column name C_InvoiceRequest_ID */ - public static final String COLUMNNAME_C_InvoiceRequest_ID = "C_InvoiceRequest_ID"; - - /** Set Request Invoice. - * The generated invoice for this request - */ - public void setC_InvoiceRequest_ID (int C_InvoiceRequest_ID); - - /** Get Request Invoice. - * The generated invoice for this request - */ - public int getC_InvoiceRequest_ID(); - /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -190,6 +173,58 @@ public interface I_R_Request public I_C_Invoice getC_Invoice() throws Exception; + /** Column name C_InvoiceRequest_ID */ + public static final String COLUMNNAME_C_InvoiceRequest_ID = "C_InvoiceRequest_ID"; + + /** Set Request Invoice. + * The generated invoice for this request + */ + public void setC_InvoiceRequest_ID (int C_InvoiceRequest_ID); + + /** Get Request Invoice. + * The generated invoice for this request + */ + public int getC_InvoiceRequest_ID(); + + /** Column name CloseDate */ + public static final String COLUMNNAME_CloseDate = "CloseDate"; + + /** Set Close Date. + * Close Date + */ + public void setCloseDate (Timestamp CloseDate); + + /** Get Close Date. + * Close Date + */ + public Timestamp getCloseDate(); + + /** Column name ConfidentialType */ + public static final String COLUMNNAME_ConfidentialType = "ConfidentialType"; + + /** Set Confidentiality. + * Type of Confidentiality + */ + public void setConfidentialType (String ConfidentialType); + + /** Get Confidentiality. + * Type of Confidentiality + */ + public String getConfidentialType(); + + /** Column name ConfidentialTypeEntry */ + public static final String COLUMNNAME_ConfidentialTypeEntry = "ConfidentialTypeEntry"; + + /** Set Entry Confidentiality. + * Confidentiality of the individual entry + */ + public void setConfidentialTypeEntry (String ConfidentialTypeEntry); + + /** Get Entry Confidentiality. + * Confidentiality of the individual entry + */ + public String getConfidentialTypeEntry(); + /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -235,45 +270,6 @@ public interface I_R_Request public I_C_Project getC_Project() throws Exception; - /** Column name CloseDate */ - public static final String COLUMNNAME_CloseDate = "CloseDate"; - - /** Set Close Date. - * Close Date - */ - public void setCloseDate (Timestamp CloseDate); - - /** Get Close Date. - * Close Date - */ - public Timestamp getCloseDate(); - - /** Column name ConfidentialType */ - public static final String COLUMNNAME_ConfidentialType = "ConfidentialType"; - - /** Set Confidentiality. - * Type of Confidentiality - */ - public void setConfidentialType (String ConfidentialType); - - /** Get Confidentiality. - * Type of Confidentiality - */ - public String getConfidentialType(); - - /** Column name ConfidentialTypeEntry */ - public static final String COLUMNNAME_ConfidentialTypeEntry = "ConfidentialTypeEntry"; - - /** Set Entry Confidentiality. - * Confidentiality of the individual entry - */ - public void setConfidentialTypeEntry (String ConfidentialTypeEntry); - - /** Get Entry Confidentiality. - * Confidentiality of the individual entry - */ - public String getConfidentialTypeEntry(); - /** Column name DateCompletePlan */ public static final String COLUMNNAME_DateCompletePlan = "DateCompletePlan"; @@ -473,19 +469,6 @@ public interface I_R_Request public I_M_InOut getM_InOut() throws Exception; - /** Column name M_ProductSpent_ID */ - public static final String COLUMNNAME_M_ProductSpent_ID = "M_ProductSpent_ID"; - - /** Set Product Used. - * Product/Resource/Service used in Request - */ - public void setM_ProductSpent_ID (int M_ProductSpent_ID); - - /** Get Product Used. - * Product/Resource/Service used in Request - */ - public int getM_ProductSpent_ID(); - /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -501,6 +484,19 @@ public interface I_R_Request public I_M_Product getM_Product() throws Exception; + /** Column name M_ProductSpent_ID */ + public static final String COLUMNNAME_M_ProductSpent_ID = "M_ProductSpent_ID"; + + /** Set Product Used. + * Product/Resource/Service used in Request + */ + public void setM_ProductSpent_ID (int M_ProductSpent_ID); + + /** Get Product Used. + * Product/Resource/Service used in Request + */ + public int getM_ProductSpent_ID(); + /** Column name M_RMA_ID */ public static final String COLUMNNAME_M_RMA_ID = "M_RMA_ID"; @@ -622,6 +618,45 @@ public interface I_R_Request public I_R_Category getR_Category() throws Exception; + /** Column name Record_ID */ + public static final String COLUMNNAME_Record_ID = "Record_ID"; + + /** Set Record ID. + * Direct internal record ID + */ + public void setRecord_ID (int Record_ID); + + /** Get Record ID. + * Direct internal record ID + */ + public int getRecord_ID(); + + /** Column name RequestAmt */ + public static final String COLUMNNAME_RequestAmt = "RequestAmt"; + + /** Set Request Amount. + * Amount associated with this request + */ + public void setRequestAmt (BigDecimal RequestAmt); + + /** Get Request Amount. + * Amount associated with this request + */ + public BigDecimal getRequestAmt(); + + /** Column name Result */ + public static final String COLUMNNAME_Result = "Result"; + + /** Set Result. + * Result of the action taken + */ + public void setResult (String Result); + + /** Get Result. + * Result of the action taken + */ + public String getResult(); + /** Column name R_Group_ID */ public static final String COLUMNNAME_R_Group_ID = "R_Group_ID"; @@ -652,6 +687,19 @@ public interface I_R_Request public I_R_MailText getR_MailText() throws Exception; + /** Column name R_Request_ID */ + public static final String COLUMNNAME_R_Request_ID = "R_Request_ID"; + + /** Set Request. + * Request from a Business Partner or Prospect + */ + public void setR_Request_ID (int R_Request_ID); + + /** Get Request. + * Request from a Business Partner or Prospect + */ + public int getR_Request_ID(); + /** Column name R_RequestRelated_ID */ public static final String COLUMNNAME_R_RequestRelated_ID = "R_RequestRelated_ID"; @@ -680,19 +728,6 @@ public interface I_R_Request public I_R_RequestType getR_RequestType() throws Exception; - /** Column name R_Request_ID */ - public static final String COLUMNNAME_R_Request_ID = "R_Request_ID"; - - /** Set Request. - * Request from a Business Partner or Prospect - */ - public void setR_Request_ID (int R_Request_ID); - - /** Get Request. - * Request from a Business Partner or Prospect - */ - public int getR_Request_ID(); - /** Column name R_Resolution_ID */ public static final String COLUMNNAME_R_Resolution_ID = "R_Resolution_ID"; @@ -738,45 +773,6 @@ public interface I_R_Request public I_R_Status getR_Status() throws Exception; - /** Column name Record_ID */ - public static final String COLUMNNAME_Record_ID = "Record_ID"; - - /** Set Record ID. - * Direct internal record ID - */ - public void setRecord_ID (int Record_ID); - - /** Get Record ID. - * Direct internal record ID - */ - public int getRecord_ID(); - - /** Column name RequestAmt */ - public static final String COLUMNNAME_RequestAmt = "RequestAmt"; - - /** Set Request Amount. - * Amount associated with this request - */ - public void setRequestAmt (BigDecimal RequestAmt); - - /** Get Request Amount. - * Amount associated with this request - */ - public BigDecimal getRequestAmt(); - - /** Column name Result */ - public static final String COLUMNNAME_Result = "Result"; - - /** Set Result. - * Result of the action taken - */ - public void setResult (String Result); - - /** Get Result. - * Result of the action taken - */ - public String getResult(); - /** Column name SalesRep_ID */ public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID"; diff --git a/base/src/org/compiere/model/I_R_RequestAction.java b/base/src/org/compiere/model/I_R_RequestAction.java index b08418f8ec..5f862cc4d6 100644 --- a/base/src/org/compiere/model/I_R_RequestAction.java +++ b/base/src/org/compiere/model/I_R_RequestAction.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestAction - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_RequestAction { @@ -57,6 +53,21 @@ public interface I_R_RequestAction /** Load Meta Data */ + /** Column name A_Asset_ID */ + public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; + + /** Set Asset. + * Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID); + + /** Get Asset. + * Asset used internally or by customers + */ + public int getA_Asset_ID(); + + public I_A_Asset getA_Asset() throws Exception; + /** Column name AD_Role_ID */ public static final String COLUMNNAME_AD_Role_ID = "AD_Role_ID"; @@ -87,21 +98,6 @@ public interface I_R_RequestAction public I_AD_User getAD_User() throws Exception; - /** Column name A_Asset_ID */ - public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; - - /** Set Asset. - * Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID); - - /** Get Asset. - * Asset used internally or by customers - */ - public int getA_Asset_ID(); - - public I_A_Asset getA_Asset() throws Exception; - /** Column name C_Activity_ID */ public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID"; @@ -147,6 +143,19 @@ public interface I_R_RequestAction public I_C_Invoice getC_Invoice() throws Exception; + /** Column name ConfidentialType */ + public static final String COLUMNNAME_ConfidentialType = "ConfidentialType"; + + /** Set Confidentiality. + * Type of Confidentiality + */ + public void setConfidentialType (String ConfidentialType); + + /** Get Confidentiality. + * Type of Confidentiality + */ + public String getConfidentialType(); + /** Column name C_Order_ID */ public static final String COLUMNNAME_C_Order_ID = "C_Order_ID"; @@ -192,19 +201,6 @@ public interface I_R_RequestAction public I_C_Project getC_Project() throws Exception; - /** Column name ConfidentialType */ - public static final String COLUMNNAME_ConfidentialType = "ConfidentialType"; - - /** Set Confidentiality. - * Type of Confidentiality - */ - public void setConfidentialType (String ConfidentialType); - - /** Get Confidentiality. - * Type of Confidentiality - */ - public String getConfidentialType(); - /** Column name DateCompletePlan */ public static final String COLUMNNAME_DateCompletePlan = "DateCompletePlan"; @@ -311,19 +307,6 @@ public interface I_R_RequestAction public I_M_InOut getM_InOut() throws Exception; - /** Column name M_ProductSpent_ID */ - public static final String COLUMNNAME_M_ProductSpent_ID = "M_ProductSpent_ID"; - - /** Set Product Used. - * Product/Resource/Service used in Request - */ - public void setM_ProductSpent_ID (int M_ProductSpent_ID); - - /** Get Product Used. - * Product/Resource/Service used in Request - */ - public int getM_ProductSpent_ID(); - /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -339,6 +322,19 @@ public interface I_R_RequestAction public I_M_Product getM_Product() throws Exception; + /** Column name M_ProductSpent_ID */ + public static final String COLUMNNAME_M_ProductSpent_ID = "M_ProductSpent_ID"; + + /** Set Product Used. + * Product/Resource/Service used in Request + */ + public void setM_ProductSpent_ID (int M_ProductSpent_ID); + + /** Get Product Used. + * Product/Resource/Service used in Request + */ + public int getM_ProductSpent_ID(); + /** Column name M_RMA_ID */ public static final String COLUMNNAME_M_RMA_ID = "M_RMA_ID"; @@ -475,21 +471,6 @@ public interface I_R_RequestAction */ public int getR_RequestAction_ID(); - /** Column name R_RequestType_ID */ - public static final String COLUMNNAME_R_RequestType_ID = "R_RequestType_ID"; - - /** Set Request Type. - * Type of request (e.g. Inquiry, Complaint, ..) - */ - public void setR_RequestType_ID (int R_RequestType_ID); - - /** Get Request Type. - * Type of request (e.g. Inquiry, Complaint, ..) - */ - public int getR_RequestType_ID(); - - public I_R_RequestType getR_RequestType() throws Exception; - /** Column name R_Request_ID */ public static final String COLUMNNAME_R_Request_ID = "R_Request_ID"; @@ -505,6 +486,21 @@ public interface I_R_RequestAction public I_R_Request getR_Request() throws Exception; + /** Column name R_RequestType_ID */ + public static final String COLUMNNAME_R_RequestType_ID = "R_RequestType_ID"; + + /** Set Request Type. + * Type of request (e.g. Inquiry, Complaint, ..) + */ + public void setR_RequestType_ID (int R_RequestType_ID); + + /** Get Request Type. + * Type of request (e.g. Inquiry, Complaint, ..) + */ + public int getR_RequestType_ID(); + + public I_R_RequestType getR_RequestType() throws Exception; + /** Column name R_Resolution_ID */ public static final String COLUMNNAME_R_Resolution_ID = "R_Resolution_ID"; diff --git a/base/src/org/compiere/model/I_R_RequestProcessor.java b/base/src/org/compiere/model/I_R_RequestProcessor.java index c4cf20192d..5c241c3ff0 100644 --- a/base/src/org/compiere/model/I_R_RequestProcessor.java +++ b/base/src/org/compiere/model/I_R_RequestProcessor.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestProcessor - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_RequestProcessor { @@ -196,6 +192,19 @@ public interface I_R_RequestProcessor /** Get Process Now */ public boolean isProcessing(); + /** Column name RemindDays */ + public static final String COLUMNNAME_RemindDays = "RemindDays"; + + /** Set Reminder Days. + * Days between sending Reminder Emails for a due or inactive Document + */ + public void setRemindDays (int RemindDays); + + /** Get Reminder Days. + * Days between sending Reminder Emails for a due or inactive Document + */ + public int getRemindDays(); + /** Column name R_RequestProcessor_ID */ public static final String COLUMNNAME_R_RequestProcessor_ID = "R_RequestProcessor_ID"; @@ -224,19 +233,6 @@ public interface I_R_RequestProcessor public I_R_RequestType getR_RequestType() throws Exception; - /** Column name RemindDays */ - public static final String COLUMNNAME_RemindDays = "RemindDays"; - - /** Set Reminder Days. - * Days between sending Reminder Emails for a due or inactive Document - */ - public void setRemindDays (int RemindDays); - - /** Get Reminder Days. - * Days between sending Reminder Emails for a due or inactive Document - */ - public int getRemindDays(); - /** Column name Supervisor_ID */ public static final String COLUMNNAME_Supervisor_ID = "Supervisor_ID"; diff --git a/base/src/org/compiere/model/I_R_RequestProcessorLog.java b/base/src/org/compiere/model/I_R_RequestProcessorLog.java index e0a691bdab..f00bd10e7b 100644 --- a/base/src/org/compiere/model/I_R_RequestProcessorLog.java +++ b/base/src/org/compiere/model/I_R_RequestProcessorLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestProcessorLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_RequestProcessorLog { @@ -95,18 +91,18 @@ public interface I_R_RequestProcessorLog */ public boolean isError(); - /** Column name R_RequestProcessorLog_ID */ - public static final String COLUMNNAME_R_RequestProcessorLog_ID = "R_RequestProcessorLog_ID"; + /** Column name Reference */ + public static final String COLUMNNAME_Reference = "Reference"; - /** Set Request Processor Log. - * Result of the execution of the Request Processor + /** Set Reference. + * Reference for this record */ - public void setR_RequestProcessorLog_ID (int R_RequestProcessorLog_ID); + public void setReference (String Reference); - /** Get Request Processor Log. - * Result of the execution of the Request Processor + /** Get Reference. + * Reference for this record */ - public int getR_RequestProcessorLog_ID(); + public String getReference(); /** Column name R_RequestProcessor_ID */ public static final String COLUMNNAME_R_RequestProcessor_ID = "R_RequestProcessor_ID"; @@ -123,18 +119,18 @@ public interface I_R_RequestProcessorLog public I_R_RequestProcessor getR_RequestProcessor() throws Exception; - /** Column name Reference */ - public static final String COLUMNNAME_Reference = "Reference"; + /** Column name R_RequestProcessorLog_ID */ + public static final String COLUMNNAME_R_RequestProcessorLog_ID = "R_RequestProcessorLog_ID"; - /** Set Reference. - * Reference for this record + /** Set Request Processor Log. + * Result of the execution of the Request Processor */ - public void setReference (String Reference); + public void setR_RequestProcessorLog_ID (int R_RequestProcessorLog_ID); - /** Get Reference. - * Reference for this record + /** Get Request Processor Log. + * Result of the execution of the Request Processor */ - public String getReference(); + public int getR_RequestProcessorLog_ID(); /** Column name Summary */ public static final String COLUMNNAME_Summary = "Summary"; diff --git a/base/src/org/compiere/model/I_R_RequestProcessor_Route.java b/base/src/org/compiere/model/I_R_RequestProcessor_Route.java index 83cbf19f71..569dfc316e 100644 --- a/base/src/org/compiere/model/I_R_RequestProcessor_Route.java +++ b/base/src/org/compiere/model/I_R_RequestProcessor_Route.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestProcessor_Route - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_RequestProcessor_Route { diff --git a/base/src/org/compiere/model/I_R_RequestType.java b/base/src/org/compiere/model/I_R_RequestType.java index 509221277f..fe34b1e015 100644 --- a/base/src/org/compiere/model/I_R_RequestType.java +++ b/base/src/org/compiere/model/I_R_RequestType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_RequestType { diff --git a/base/src/org/compiere/model/I_R_RequestTypeUpdates.java b/base/src/org/compiere/model/I_R_RequestTypeUpdates.java index 804f1d2a25..f4d9d9c71e 100644 --- a/base/src/org/compiere/model/I_R_RequestTypeUpdates.java +++ b/base/src/org/compiere/model/I_R_RequestTypeUpdates.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestTypeUpdates - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_RequestTypeUpdates { diff --git a/base/src/org/compiere/model/I_R_RequestUpdate.java b/base/src/org/compiere/model/I_R_RequestUpdate.java index 9c319f0d2f..563fc86134 100644 --- a/base/src/org/compiere/model/I_R_RequestUpdate.java +++ b/base/src/org/compiere/model/I_R_RequestUpdate.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestUpdate - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_RequestUpdate { @@ -122,18 +118,18 @@ public interface I_R_RequestUpdate */ public BigDecimal getQtySpent(); - /** Column name R_RequestUpdate_ID */ - public static final String COLUMNNAME_R_RequestUpdate_ID = "R_RequestUpdate_ID"; + /** Column name Result */ + public static final String COLUMNNAME_Result = "Result"; - /** Set Request Update. - * Request Updates + /** Set Result. + * Result of the action taken */ - public void setR_RequestUpdate_ID (int R_RequestUpdate_ID); + public void setResult (String Result); - /** Get Request Update. - * Request Updates + /** Get Result. + * Result of the action taken */ - public int getR_RequestUpdate_ID(); + public String getResult(); /** Column name R_Request_ID */ public static final String COLUMNNAME_R_Request_ID = "R_Request_ID"; @@ -150,18 +146,18 @@ public interface I_R_RequestUpdate public I_R_Request getR_Request() throws Exception; - /** Column name Result */ - public static final String COLUMNNAME_Result = "Result"; + /** Column name R_RequestUpdate_ID */ + public static final String COLUMNNAME_R_RequestUpdate_ID = "R_RequestUpdate_ID"; - /** Set Result. - * Result of the action taken + /** Set Request Update. + * Request Updates */ - public void setResult (String Result); + public void setR_RequestUpdate_ID (int R_RequestUpdate_ID); - /** Get Result. - * Result of the action taken + /** Get Request Update. + * Request Updates */ - public String getResult(); + public int getR_RequestUpdate_ID(); /** Column name StartTime */ public static final String COLUMNNAME_StartTime = "StartTime"; diff --git a/base/src/org/compiere/model/I_R_RequestUpdates.java b/base/src/org/compiere/model/I_R_RequestUpdates.java index 30a37ddfac..20c812d70c 100644 --- a/base/src/org/compiere/model/I_R_RequestUpdates.java +++ b/base/src/org/compiere/model/I_R_RequestUpdates.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestUpdates - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_RequestUpdates { diff --git a/base/src/org/compiere/model/I_R_Resolution.java b/base/src/org/compiere/model/I_R_Resolution.java index 305db819a9..f86a13040f 100644 --- a/base/src/org/compiere/model/I_R_Resolution.java +++ b/base/src/org/compiere/model/I_R_Resolution.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_Resolution - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_Resolution { diff --git a/base/src/org/compiere/model/I_R_StandardResponse.java b/base/src/org/compiere/model/I_R_StandardResponse.java index d319caf77a..c6446e1a61 100644 --- a/base/src/org/compiere/model/I_R_StandardResponse.java +++ b/base/src/org/compiere/model/I_R_StandardResponse.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_StandardResponse - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_StandardResponse { @@ -69,19 +65,6 @@ public interface I_R_StandardResponse */ public String getName(); - /** Column name R_StandardResponse_ID */ - public static final String COLUMNNAME_R_StandardResponse_ID = "R_StandardResponse_ID"; - - /** Set Standard Response. - * Request Standard Response - */ - public void setR_StandardResponse_ID (int R_StandardResponse_ID); - - /** Get Standard Response. - * Request Standard Response - */ - public int getR_StandardResponse_ID(); - /** Column name ResponseText */ public static final String COLUMNNAME_ResponseText = "ResponseText"; @@ -94,4 +77,17 @@ public interface I_R_StandardResponse * Request Response Text */ public String getResponseText(); + + /** Column name R_StandardResponse_ID */ + public static final String COLUMNNAME_R_StandardResponse_ID = "R_StandardResponse_ID"; + + /** Set Standard Response. + * Request Standard Response + */ + public void setR_StandardResponse_ID (int R_StandardResponse_ID); + + /** Get Standard Response. + * Request Standard Response + */ + public int getR_StandardResponse_ID(); } diff --git a/base/src/org/compiere/model/I_R_Status.java b/base/src/org/compiere/model/I_R_Status.java index 03bcffb1f8..aa4adeebc1 100644 --- a/base/src/org/compiere/model/I_R_Status.java +++ b/base/src/org/compiere/model/I_R_Status.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_Status - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_Status { diff --git a/base/src/org/compiere/model/I_R_StatusCategory.java b/base/src/org/compiere/model/I_R_StatusCategory.java index bc2ff822f8..d30fdbb34d 100644 --- a/base/src/org/compiere/model/I_R_StatusCategory.java +++ b/base/src/org/compiere/model/I_R_StatusCategory.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for R_StatusCategory - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_R_StatusCategory { diff --git a/base/src/org/compiere/model/I_S_ExpenseType.java b/base/src/org/compiere/model/I_S_ExpenseType.java index 981743e020..c98b542888 100644 --- a/base/src/org/compiere/model/I_S_ExpenseType.java +++ b/base/src/org/compiere/model/I_S_ExpenseType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for S_ExpenseType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_ExpenseType { diff --git a/base/src/org/compiere/model/I_S_Resource.java b/base/src/org/compiere/model/I_S_Resource.java index c6c2eea60e..23b3d2bd4a 100644 --- a/base/src/org/compiere/model/I_S_Resource.java +++ b/base/src/org/compiere/model/I_S_Resource.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for S_Resource - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_Resource { @@ -118,12 +114,21 @@ public interface I_S_Resource /** Column name IsManufacturingResource */ public static final String COLUMNNAME_IsManufacturingResource = "IsManufacturingResource"; - /** Set IsManufacturingResource */ + /** Set Manufacturing Resource */ public void setIsManufacturingResource (boolean IsManufacturingResource); - /** Get IsManufacturingResource */ + /** Get Manufacturing Resource */ public boolean isManufacturingResource(); + /** Column name ManufacturingResourceType */ + public static final String COLUMNNAME_ManufacturingResourceType = "ManufacturingResourceType"; + + /** Set Manufacturing Resource Type */ + public void setManufacturingResourceType (String ManufacturingResourceType); + + /** Get Manufacturing Resource Type */ + public String getManufacturingResourceType(); + /** Column name M_Warehouse_ID */ public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID"; @@ -139,15 +144,6 @@ public interface I_S_Resource public I_M_Warehouse getM_Warehouse() throws Exception; - /** Column name ManufacturingResourceType */ - public static final String COLUMNNAME_ManufacturingResourceType = "ManufacturingResourceType"; - - /** Set ManufacturingResourceType */ - public void setManufacturingResourceType (String ManufacturingResourceType); - - /** Get ManufacturingResourceType */ - public String getManufacturingResourceType(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; @@ -192,17 +188,6 @@ public interface I_S_Resource /** Get QueuingTime */ public BigDecimal getQueuingTime(); - /** Column name S_ResourceType_ID */ - public static final String COLUMNNAME_S_ResourceType_ID = "S_ResourceType_ID"; - - /** Set Resource Type */ - public void setS_ResourceType_ID (int S_ResourceType_ID); - - /** Get Resource Type */ - public int getS_ResourceType_ID(); - - public I_S_ResourceType getS_ResourceType() throws Exception; - /** Column name S_Resource_ID */ public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; @@ -216,6 +201,17 @@ public interface I_S_Resource */ public int getS_Resource_ID(); + /** Column name S_ResourceType_ID */ + public static final String COLUMNNAME_S_ResourceType_ID = "S_ResourceType_ID"; + + /** Set Resource Type */ + public void setS_ResourceType_ID (int S_ResourceType_ID); + + /** Get Resource Type */ + public int getS_ResourceType_ID(); + + public I_S_ResourceType getS_ResourceType() throws Exception; + /** Column name Value */ public static final String COLUMNNAME_Value = "Value"; diff --git a/base/src/org/compiere/model/I_S_ResourceAssignment.java b/base/src/org/compiere/model/I_S_ResourceAssignment.java index 4154e97a76..549d9ce5dc 100644 --- a/base/src/org/compiere/model/I_S_ResourceAssignment.java +++ b/base/src/org/compiere/model/I_S_ResourceAssignment.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for S_ResourceAssignment - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_ResourceAssignment { diff --git a/base/src/org/compiere/model/I_S_ResourceType.java b/base/src/org/compiere/model/I_S_ResourceType.java index ea6e6cc7cc..228b824e92 100644 --- a/base/src/org/compiere/model/I_S_ResourceType.java +++ b/base/src/org/compiere/model/I_S_ResourceType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for S_ResourceType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_ResourceType { @@ -70,6 +66,15 @@ public interface I_S_ResourceType */ public boolean isAllowUoMFractions(); + /** Column name ChargeableQty */ + public static final String COLUMNNAME_ChargeableQty = "ChargeableQty"; + + /** Set Chargeable Quantity */ + public void setChargeableQty (int ChargeableQty); + + /** Get Chargeable Quantity */ + public int getChargeableQty(); + /** Column name C_TaxCategory_ID */ public static final String COLUMNNAME_C_TaxCategory_ID = "C_TaxCategory_ID"; @@ -100,15 +105,6 @@ public interface I_S_ResourceType public I_C_UOM getC_UOM() throws Exception; - /** Column name ChargeableQty */ - public static final String COLUMNNAME_ChargeableQty = "ChargeableQty"; - - /** Set Chargeable Quantity */ - public void setChargeableQty (int ChargeableQty); - - /** Get Chargeable Quantity */ - public int getChargeableQty(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/compiere/model/I_S_ResourceUnAvailable.java b/base/src/org/compiere/model/I_S_ResourceUnAvailable.java index f5aa3af567..8e06e7c5c9 100644 --- a/base/src/org/compiere/model/I_S_ResourceUnAvailable.java +++ b/base/src/org/compiere/model/I_S_ResourceUnAvailable.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for S_ResourceUnAvailable - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_ResourceUnAvailable { @@ -96,15 +92,6 @@ public interface I_S_ResourceUnAvailable */ public String getDescription(); - /** Column name S_ResourceUnAvailable_ID */ - public static final String COLUMNNAME_S_ResourceUnAvailable_ID = "S_ResourceUnAvailable_ID"; - - /** Set Resource Unavailability */ - public void setS_ResourceUnAvailable_ID (int S_ResourceUnAvailable_ID); - - /** Get Resource Unavailability */ - public int getS_ResourceUnAvailable_ID(); - /** Column name S_Resource_ID */ public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; @@ -119,4 +106,13 @@ public interface I_S_ResourceUnAvailable public int getS_Resource_ID(); public I_S_Resource getS_Resource() throws Exception; + + /** Column name S_ResourceUnAvailable_ID */ + public static final String COLUMNNAME_S_ResourceUnAvailable_ID = "S_ResourceUnAvailable_ID"; + + /** Set Resource Unavailability */ + public void setS_ResourceUnAvailable_ID (int S_ResourceUnAvailable_ID); + + /** Get Resource Unavailability */ + public int getS_ResourceUnAvailable_ID(); } diff --git a/base/src/org/compiere/model/I_S_TimeExpense.java b/base/src/org/compiere/model/I_S_TimeExpense.java index da9a6ac4fc..ac5b6bb501 100644 --- a/base/src/org/compiere/model/I_S_TimeExpense.java +++ b/base/src/org/compiere/model/I_S_TimeExpense.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for S_TimeExpense - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_TimeExpense { diff --git a/base/src/org/compiere/model/I_S_TimeExpenseLine.java b/base/src/org/compiere/model/I_S_TimeExpenseLine.java index b27584f2a6..03e54e83f4 100644 --- a/base/src/org/compiere/model/I_S_TimeExpenseLine.java +++ b/base/src/org/compiere/model/I_S_TimeExpenseLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for S_TimeExpenseLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_TimeExpenseLine { @@ -132,6 +128,19 @@ public interface I_S_TimeExpenseLine public I_C_InvoiceLine getC_InvoiceLine() throws Exception; + /** Column name ConvertedAmt */ + public static final String COLUMNNAME_ConvertedAmt = "ConvertedAmt"; + + /** Set Converted Amount. + * Converted Amount + */ + public void setConvertedAmt (BigDecimal ConvertedAmt); + + /** Get Converted Amount. + * Converted Amount + */ + public BigDecimal getConvertedAmt(); + /** Column name C_OrderLine_ID */ public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID"; @@ -147,6 +156,21 @@ public interface I_S_TimeExpenseLine public I_C_OrderLine getC_OrderLine() throws Exception; + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public I_C_Project getC_Project() throws Exception; + /** Column name C_ProjectPhase_ID */ public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; @@ -177,21 +201,6 @@ public interface I_S_TimeExpenseLine public I_C_ProjectTask getC_ProjectTask() throws Exception; - /** Column name C_Project_ID */ - public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; - - /** Set Project. - * Financial Project - */ - public void setC_Project_ID (int C_Project_ID); - - /** Get Project. - * Financial Project - */ - public int getC_Project_ID(); - - public I_C_Project getC_Project() throws Exception; - /** Column name C_UOM_ID */ public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; @@ -207,19 +216,6 @@ public interface I_S_TimeExpenseLine public I_C_UOM getC_UOM() throws Exception; - /** Column name ConvertedAmt */ - public static final String COLUMNNAME_ConvertedAmt = "ConvertedAmt"; - - /** Set Converted Amount. - * Converted Amount - */ - public void setConvertedAmt (BigDecimal ConvertedAmt); - - /** Get Converted Amount. - * Converted Amount - */ - public BigDecimal getConvertedAmt(); - /** Column name DateExpense */ public static final String COLUMNNAME_DateExpense = "DateExpense"; @@ -430,19 +426,6 @@ public interface I_S_TimeExpenseLine */ public int getS_ResourceAssignment_ID(); - /** Column name S_TimeExpenseLine_ID */ - public static final String COLUMNNAME_S_TimeExpenseLine_ID = "S_TimeExpenseLine_ID"; - - /** Set Expense Line. - * Time and Expense Report Line - */ - public void setS_TimeExpenseLine_ID (int S_TimeExpenseLine_ID); - - /** Get Expense Line. - * Time and Expense Report Line - */ - public int getS_TimeExpenseLine_ID(); - /** Column name S_TimeExpense_ID */ public static final String COLUMNNAME_S_TimeExpense_ID = "S_TimeExpense_ID"; @@ -458,6 +441,19 @@ public interface I_S_TimeExpenseLine public I_S_TimeExpense getS_TimeExpense() throws Exception; + /** Column name S_TimeExpenseLine_ID */ + public static final String COLUMNNAME_S_TimeExpenseLine_ID = "S_TimeExpenseLine_ID"; + + /** Set Expense Line. + * Time and Expense Report Line + */ + public void setS_TimeExpenseLine_ID (int S_TimeExpenseLine_ID); + + /** Get Expense Line. + * Time and Expense Report Line + */ + public int getS_TimeExpenseLine_ID(); + /** Column name S_TimeType_ID */ public static final String COLUMNNAME_S_TimeType_ID = "S_TimeType_ID"; diff --git a/base/src/org/compiere/model/I_S_TimeType.java b/base/src/org/compiere/model/I_S_TimeType.java index 009fb17ea0..af12b4f901 100644 --- a/base/src/org/compiere/model/I_S_TimeType.java +++ b/base/src/org/compiere/model/I_S_TimeType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for S_TimeType - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_TimeType { diff --git a/base/src/org/compiere/model/I_S_Training.java b/base/src/org/compiere/model/I_S_Training.java index d617208a6f..5d9349f768 100644 --- a/base/src/org/compiere/model/I_S_Training.java +++ b/base/src/org/compiere/model/I_S_Training.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for S_Training - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_Training { diff --git a/base/src/org/compiere/model/I_S_Training_Class.java b/base/src/org/compiere/model/I_S_Training_Class.java index 3972a152f7..110d988309 100644 --- a/base/src/org/compiere/model/I_S_Training_Class.java +++ b/base/src/org/compiere/model/I_S_Training_Class.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for S_Training_Class - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_S_Training_Class { @@ -85,6 +81,19 @@ public interface I_S_Training_Class public I_M_Product getM_Product() throws Exception; + /** Column name StartDate */ + public static final String COLUMNNAME_StartDate = "StartDate"; + + /** Set Start Date. + * First effective day (inclusive) + */ + public void setStartDate (Timestamp StartDate); + + /** Get Start Date. + * First effective day (inclusive) + */ + public Timestamp getStartDate(); + /** Column name S_Training_Class_ID */ public static final String COLUMNNAME_S_Training_Class_ID = "S_Training_Class_ID"; @@ -112,17 +121,4 @@ public interface I_S_Training_Class public int getS_Training_ID(); public I_S_Training getS_Training() throws Exception; - - /** Column name StartDate */ - public static final String COLUMNNAME_StartDate = "StartDate"; - - /** Set Start Date. - * First effective day (inclusive) - */ - public void setStartDate (Timestamp StartDate); - - /** Get Start Date. - * First effective day (inclusive) - */ - public Timestamp getStartDate(); } diff --git a/base/src/org/compiere/model/I_T_Aging.java b/base/src/org/compiere/model/I_T_Aging.java index 74f386003d..242d86d24b 100644 --- a/base/src/org/compiere/model/I_T_Aging.java +++ b/base/src/org/compiere/model/I_T_Aging.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for T_Aging - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_Aging { @@ -87,21 +83,6 @@ public interface I_T_Aging public I_C_Activity getC_Activity() throws Exception; - /** Column name C_BP_Group_ID */ - public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; - - /** Set Business Partner Group. - * Business Partner Group - */ - public void setC_BP_Group_ID (int C_BP_Group_ID); - - /** Get Business Partner Group. - * Business Partner Group - */ - public int getC_BP_Group_ID(); - - public I_C_BP_Group getC_BP_Group() throws Exception; - /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -117,6 +98,21 @@ public interface I_T_Aging public I_C_BPartner getC_BPartner() throws Exception; + /** Column name C_BP_Group_ID */ + public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; + + /** Set Business Partner Group. + * Business Partner Group + */ + public void setC_BP_Group_ID (int C_BP_Group_ID); + + /** Get Business Partner Group. + * Business Partner Group + */ + public int getC_BP_Group_ID(); + + public I_C_BP_Group getC_BP_Group() throws Exception; + /** Column name C_Campaign_ID */ public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID"; @@ -147,21 +143,6 @@ public interface I_T_Aging public I_C_Currency getC_Currency() throws Exception; - /** Column name C_InvoicePaySchedule_ID */ - public static final String COLUMNNAME_C_InvoicePaySchedule_ID = "C_InvoicePaySchedule_ID"; - - /** Set Invoice Payment Schedule. - * Invoice Payment Schedule - */ - public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID); - - /** Get Invoice Payment Schedule. - * Invoice Payment Schedule - */ - public int getC_InvoicePaySchedule_ID(); - - public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws Exception; - /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -177,6 +158,21 @@ public interface I_T_Aging public I_C_Invoice getC_Invoice() throws Exception; + /** Column name C_InvoicePaySchedule_ID */ + public static final String COLUMNNAME_C_InvoicePaySchedule_ID = "C_InvoicePaySchedule_ID"; + + /** Set Invoice Payment Schedule. + * Invoice Payment Schedule + */ + public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID); + + /** Get Invoice Payment Schedule. + * Invoice Payment Schedule + */ + public int getC_InvoicePaySchedule_ID(); + + public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws Exception; + /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -218,6 +214,32 @@ public interface I_T_Aging */ public int getDaysDue(); + /** Column name DueAmt */ + public static final String COLUMNNAME_DueAmt = "DueAmt"; + + /** Set Amount due. + * Amount of the payment due + */ + public void setDueAmt (BigDecimal DueAmt); + + /** Get Amount due. + * Amount of the payment due + */ + public BigDecimal getDueAmt(); + + /** Column name DueDate */ + public static final String COLUMNNAME_DueDate = "DueDate"; + + /** Set Due Date. + * Date when the payment is due + */ + public void setDueDate (Timestamp DueDate); + + /** Get Due Date. + * Date when the payment is due + */ + public Timestamp getDueDate(); + /** Column name Due0 */ public static final String COLUMNNAME_Due0 = "Due0"; @@ -254,15 +276,6 @@ public interface I_T_Aging /** Get Due 1-7 */ public BigDecimal getDue1_7(); - /** Column name Due31_60 */ - public static final String COLUMNNAME_Due31_60 = "Due31_60"; - - /** Set Due 31-60 */ - public void setDue31_60 (BigDecimal Due31_60); - - /** Get Due 31-60 */ - public BigDecimal getDue31_60(); - /** Column name Due31_Plus */ public static final String COLUMNNAME_Due31_Plus = "Due31_Plus"; @@ -272,14 +285,14 @@ public interface I_T_Aging /** Get Due > 31 */ public BigDecimal getDue31_Plus(); - /** Column name Due61_90 */ - public static final String COLUMNNAME_Due61_90 = "Due61_90"; + /** Column name Due31_60 */ + public static final String COLUMNNAME_Due31_60 = "Due31_60"; - /** Set Due 61-90 */ - public void setDue61_90 (BigDecimal Due61_90); + /** Set Due 31-60 */ + public void setDue31_60 (BigDecimal Due31_60); - /** Get Due 61-90 */ - public BigDecimal getDue61_90(); + /** Get Due 31-60 */ + public BigDecimal getDue31_60(); /** Column name Due61_Plus */ public static final String COLUMNNAME_Due61_Plus = "Due61_Plus"; @@ -290,6 +303,15 @@ public interface I_T_Aging /** Get Due > 61 */ public BigDecimal getDue61_Plus(); + /** Column name Due61_90 */ + public static final String COLUMNNAME_Due61_90 = "Due61_90"; + + /** Set Due 61-90 */ + public void setDue61_90 (BigDecimal Due61_90); + + /** Get Due 61-90 */ + public BigDecimal getDue61_90(); + /** Column name Due8_30 */ public static final String COLUMNNAME_Due8_30 = "Due8_30"; @@ -308,32 +330,6 @@ public interface I_T_Aging /** Get Due > 91 */ public BigDecimal getDue91_Plus(); - /** Column name DueAmt */ - public static final String COLUMNNAME_DueAmt = "DueAmt"; - - /** Set Amount due. - * Amount of the payment due - */ - public void setDueAmt (BigDecimal DueAmt); - - /** Get Amount due. - * Amount of the payment due - */ - public BigDecimal getDueAmt(); - - /** Column name DueDate */ - public static final String COLUMNNAME_DueDate = "DueDate"; - - /** Set Due Date. - * Date when the payment is due - */ - public void setDueDate (Timestamp DueDate); - - /** Get Due Date. - * Date when the payment is due - */ - public Timestamp getDueDate(); - /** Column name InvoicedAmt */ public static final String COLUMNNAME_InvoicedAmt = "InvoicedAmt"; @@ -386,6 +382,15 @@ public interface I_T_Aging */ public BigDecimal getOpenAmt(); + /** Column name PastDueAmt */ + public static final String COLUMNNAME_PastDueAmt = "PastDueAmt"; + + /** Set Past Due */ + public void setPastDueAmt (BigDecimal PastDueAmt); + + /** Get Past Due */ + public BigDecimal getPastDueAmt(); + /** Column name PastDue1_30 */ public static final String COLUMNNAME_PastDue1_30 = "PastDue1_30"; @@ -404,15 +409,6 @@ public interface I_T_Aging /** Get Past Due 1-7 */ public BigDecimal getPastDue1_7(); - /** Column name PastDue31_60 */ - public static final String COLUMNNAME_PastDue31_60 = "PastDue31_60"; - - /** Set Past Due 31-60 */ - public void setPastDue31_60 (BigDecimal PastDue31_60); - - /** Get Past Due 31-60 */ - public BigDecimal getPastDue31_60(); - /** Column name PastDue31_Plus */ public static final String COLUMNNAME_PastDue31_Plus = "PastDue31_Plus"; @@ -422,14 +418,14 @@ public interface I_T_Aging /** Get Past Due > 31 */ public BigDecimal getPastDue31_Plus(); - /** Column name PastDue61_90 */ - public static final String COLUMNNAME_PastDue61_90 = "PastDue61_90"; + /** Column name PastDue31_60 */ + public static final String COLUMNNAME_PastDue31_60 = "PastDue31_60"; - /** Set Past Due 61-90 */ - public void setPastDue61_90 (BigDecimal PastDue61_90); + /** Set Past Due 31-60 */ + public void setPastDue31_60 (BigDecimal PastDue31_60); - /** Get Past Due 61-90 */ - public BigDecimal getPastDue61_90(); + /** Get Past Due 31-60 */ + public BigDecimal getPastDue31_60(); /** Column name PastDue61_Plus */ public static final String COLUMNNAME_PastDue61_Plus = "PastDue61_Plus"; @@ -440,6 +436,15 @@ public interface I_T_Aging /** Get Past Due > 61 */ public BigDecimal getPastDue61_Plus(); + /** Column name PastDue61_90 */ + public static final String COLUMNNAME_PastDue61_90 = "PastDue61_90"; + + /** Set Past Due 61-90 */ + public void setPastDue61_90 (BigDecimal PastDue61_90); + + /** Get Past Due 61-90 */ + public BigDecimal getPastDue61_90(); + /** Column name PastDue8_30 */ public static final String COLUMNNAME_PastDue8_30 = "PastDue8_30"; @@ -458,15 +463,6 @@ public interface I_T_Aging /** Get Past Due > 91 */ public BigDecimal getPastDue91_Plus(); - /** Column name PastDueAmt */ - public static final String COLUMNNAME_PastDueAmt = "PastDueAmt"; - - /** Set Past Due */ - public void setPastDueAmt (BigDecimal PastDueAmt); - - /** Get Past Due */ - public BigDecimal getPastDueAmt(); - /** Column name StatementDate */ public static final String COLUMNNAME_StatementDate = "StatementDate"; diff --git a/base/src/org/compiere/model/I_T_DistributionRunDetail.java b/base/src/org/compiere/model/I_T_DistributionRunDetail.java index 3bc1ea72a5..fe1d502283 100644 --- a/base/src/org/compiere/model/I_T_DistributionRunDetail.java +++ b/base/src/org/compiere/model/I_T_DistributionRunDetail.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for T_DistributionRunDetail - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_DistributionRunDetail { @@ -86,21 +82,6 @@ public interface I_T_DistributionRunDetail public I_C_BPartner_Location getC_BPartner_Location() throws Exception; - /** Column name M_DistributionListLine_ID */ - public static final String COLUMNNAME_M_DistributionListLine_ID = "M_DistributionListLine_ID"; - - /** Set Distribution List Line. - * Distribution List Line with Business Partner and Quantity/Percentage - */ - public void setM_DistributionListLine_ID (int M_DistributionListLine_ID); - - /** Get Distribution List Line. - * Distribution List Line with Business Partner and Quantity/Percentage - */ - public int getM_DistributionListLine_ID(); - - public I_M_DistributionListLine getM_DistributionListLine() throws Exception; - /** Column name M_DistributionList_ID */ public static final String COLUMNNAME_M_DistributionList_ID = "M_DistributionList_ID"; @@ -116,20 +97,20 @@ public interface I_T_DistributionRunDetail public I_M_DistributionList getM_DistributionList() throws Exception; - /** Column name M_DistributionRunLine_ID */ - public static final String COLUMNNAME_M_DistributionRunLine_ID = "M_DistributionRunLine_ID"; + /** Column name M_DistributionListLine_ID */ + public static final String COLUMNNAME_M_DistributionListLine_ID = "M_DistributionListLine_ID"; - /** Set Distribution Run Line. - * Distribution Run Lines define Distribution List, the Product and Quantiries + /** Set Distribution List Line. + * Distribution List Line with Business Partner and Quantity/Percentage */ - public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID); + public void setM_DistributionListLine_ID (int M_DistributionListLine_ID); - /** Get Distribution Run Line. - * Distribution Run Lines define Distribution List, the Product and Quantiries + /** Get Distribution List Line. + * Distribution List Line with Business Partner and Quantity/Percentage */ - public int getM_DistributionRunLine_ID(); + public int getM_DistributionListLine_ID(); - public I_M_DistributionRunLine getM_DistributionRunLine() throws Exception; + public I_M_DistributionListLine getM_DistributionListLine() throws Exception; /** Column name M_DistributionRun_ID */ public static final String COLUMNNAME_M_DistributionRun_ID = "M_DistributionRun_ID"; @@ -146,6 +127,34 @@ public interface I_T_DistributionRunDetail public I_M_DistributionRun getM_DistributionRun() throws Exception; + /** Column name M_DistributionRunLine_ID */ + public static final String COLUMNNAME_M_DistributionRunLine_ID = "M_DistributionRunLine_ID"; + + /** Set Distribution Run Line. + * Distribution Run Lines define Distribution List, the Product and Quantiries + */ + public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID); + + /** Get Distribution Run Line. + * Distribution Run Lines define Distribution List, the Product and Quantiries + */ + public int getM_DistributionRunLine_ID(); + + public I_M_DistributionRunLine getM_DistributionRunLine() throws Exception; + + /** Column name MinQty */ + public static final String COLUMNNAME_MinQty = "MinQty"; + + /** Set Minimum Quantity. + * Minimum quantity for the business partner + */ + public void setMinQty (BigDecimal MinQty); + + /** Get Minimum Quantity. + * Minimum quantity for the business partner + */ + public BigDecimal getMinQty(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -161,19 +170,6 @@ public interface I_T_DistributionRunDetail public I_M_Product getM_Product() throws Exception; - /** Column name MinQty */ - public static final String COLUMNNAME_MinQty = "MinQty"; - - /** Set Minimum Quantity. - * Minimum quantity for the business partner - */ - public void setMinQty (BigDecimal MinQty); - - /** Get Minimum Quantity. - * Minimum quantity for the business partner - */ - public BigDecimal getMinQty(); - /** Column name Qty */ public static final String COLUMNNAME_Qty = "Qty"; diff --git a/base/src/org/compiere/model/I_T_InventoryValue.java b/base/src/org/compiere/model/I_T_InventoryValue.java index 3070882822..bae2cd85cb 100644 --- a/base/src/org/compiere/model/I_T_InventoryValue.java +++ b/base/src/org/compiere/model/I_T_InventoryValue.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for T_InventoryValue - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_InventoryValue { diff --git a/base/src/org/compiere/model/I_T_InvoiceGL.java b/base/src/org/compiere/model/I_T_InvoiceGL.java index 03c6efb917..8c728578da 100644 --- a/base/src/org/compiere/model/I_T_InvoiceGL.java +++ b/base/src/org/compiere/model/I_T_InvoiceGL.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for T_InvoiceGL - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_InvoiceGL { @@ -72,19 +68,6 @@ public interface I_T_InvoiceGL public I_AD_PInstance getAD_PInstance() throws Exception; - /** Column name APAR */ - public static final String COLUMNNAME_APAR = "APAR"; - - /** Set AP - AR. - * Include Receivables and/or Payables transactions - */ - public void setAPAR (String APAR); - - /** Get AP - AR. - * Include Receivables and/or Payables transactions - */ - public String getAPAR(); - /** Column name AmtAcctBalance */ public static final String COLUMNNAME_AmtAcctBalance = "AmtAcctBalance"; @@ -163,6 +146,19 @@ public interface I_T_InvoiceGL */ public BigDecimal getAmtSourceBalance(); + /** Column name APAR */ + public static final String COLUMNNAME_APAR = "APAR"; + + /** Set AP - AR. + * Include Receivables and/or Payables transactions + */ + public void setAPAR (String APAR); + + /** Get AP - AR. + * Include Receivables and/or Payables transactions + */ + public String getAPAR(); + /** Column name C_ConversionTypeReval_ID */ public static final String COLUMNNAME_C_ConversionTypeReval_ID = "C_ConversionTypeReval_ID"; diff --git a/base/src/org/compiere/model/I_T_Replenish.java b/base/src/org/compiere/model/I_T_Replenish.java index db14f387ed..6859098400 100644 --- a/base/src/org/compiere/model/I_T_Replenish.java +++ b/base/src/org/compiere/model/I_T_Replenish.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for T_Replenish - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_Replenish { @@ -142,19 +138,6 @@ public interface I_T_Replenish public I_M_Product getM_Product() throws Exception; - /** Column name M_WarehouseSource_ID */ - public static final String COLUMNNAME_M_WarehouseSource_ID = "M_WarehouseSource_ID"; - - /** Set Source Warehouse. - * Optional Warehouse to replenish from - */ - public void setM_WarehouseSource_ID (int M_WarehouseSource_ID); - - /** Get Source Warehouse. - * Optional Warehouse to replenish from - */ - public int getM_WarehouseSource_ID(); - /** Column name M_Warehouse_ID */ public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID"; @@ -170,6 +153,19 @@ public interface I_T_Replenish public I_M_Warehouse getM_Warehouse() throws Exception; + /** Column name M_WarehouseSource_ID */ + public static final String COLUMNNAME_M_WarehouseSource_ID = "M_WarehouseSource_ID"; + + /** Set Source Warehouse. + * Optional Warehouse to replenish from + */ + public void setM_WarehouseSource_ID (int M_WarehouseSource_ID); + + /** Get Source Warehouse. + * Optional Warehouse to replenish from + */ + public int getM_WarehouseSource_ID(); + /** Column name Order_Min */ public static final String COLUMNNAME_Order_Min = "Order_Min"; @@ -244,19 +240,6 @@ public interface I_T_Replenish /** Get Quantity to Order */ public BigDecimal getQtyToOrder(); - /** Column name ReplenishType */ - public static final String COLUMNNAME_ReplenishType = "ReplenishType"; - - /** Set Replenish Type. - * Method for re-ordering a product - */ - public void setReplenishType (String ReplenishType); - - /** Get Replenish Type. - * Method for re-ordering a product - */ - public String getReplenishType(); - /** Column name ReplenishmentCreate */ public static final String COLUMNNAME_ReplenishmentCreate = "ReplenishmentCreate"; @@ -269,4 +252,17 @@ public interface I_T_Replenish * Create from Replenishment */ public String getReplenishmentCreate(); + + /** Column name ReplenishType */ + public static final String COLUMNNAME_ReplenishType = "ReplenishType"; + + /** Set Replenish Type. + * Method for re-ordering a product + */ + public void setReplenishType (String ReplenishType); + + /** Get Replenish Type. + * Method for re-ordering a product + */ + public String getReplenishType(); } diff --git a/base/src/org/compiere/model/I_T_Report.java b/base/src/org/compiere/model/I_T_Report.java index 3b24dd8beb..1644cd1a90 100644 --- a/base/src/org/compiere/model/I_T_Report.java +++ b/base/src/org/compiere/model/I_T_Report.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for T_Report - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_Report { diff --git a/base/src/org/compiere/model/I_T_ReportStatement.java b/base/src/org/compiere/model/I_T_ReportStatement.java index 2b9da0e1e8..526582d65b 100644 --- a/base/src/org/compiere/model/I_T_ReportStatement.java +++ b/base/src/org/compiere/model/I_T_ReportStatement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for T_ReportStatement - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_ReportStatement { diff --git a/base/src/org/compiere/model/I_T_Transaction.java b/base/src/org/compiere/model/I_T_Transaction.java index 9582f3bb9b..db5ae618f6 100644 --- a/base/src/org/compiere/model/I_T_Transaction.java +++ b/base/src/org/compiere/model/I_T_Transaction.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for T_Transaction - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_Transaction { @@ -72,21 +68,6 @@ public interface I_T_Transaction public I_AD_PInstance getAD_PInstance() throws Exception; - /** Column name C_ProjectIssue_ID */ - public static final String COLUMNNAME_C_ProjectIssue_ID = "C_ProjectIssue_ID"; - - /** Set Project Issue. - * Project Issues (Material, Labor) - */ - public void setC_ProjectIssue_ID (int C_ProjectIssue_ID); - - /** Get Project Issue. - * Project Issues (Material, Labor) - */ - public int getC_ProjectIssue_ID(); - - public I_C_ProjectIssue getC_ProjectIssue() throws Exception; - /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -102,6 +83,21 @@ public interface I_T_Transaction public I_C_Project getC_Project() throws Exception; + /** Column name C_ProjectIssue_ID */ + public static final String COLUMNNAME_C_ProjectIssue_ID = "C_ProjectIssue_ID"; + + /** Set Project Issue. + * Project Issues (Material, Labor) + */ + public void setC_ProjectIssue_ID (int C_ProjectIssue_ID); + + /** Get Project Issue. + * Project Issues (Material, Labor) + */ + public int getC_ProjectIssue_ID(); + + public I_C_ProjectIssue getC_ProjectIssue() throws Exception; + /** Column name M_AttributeSetInstance_ID */ public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; @@ -115,21 +111,6 @@ public interface I_T_Transaction */ public int getM_AttributeSetInstance_ID(); - /** Column name M_InOutLine_ID */ - public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID"; - - /** Set Shipment/Receipt Line. - * Line on Shipment or Receipt document - */ - public void setM_InOutLine_ID (int M_InOutLine_ID); - - /** Get Shipment/Receipt Line. - * Line on Shipment or Receipt document - */ - public int getM_InOutLine_ID(); - - public I_M_InOutLine getM_InOutLine() throws Exception; - /** Column name M_InOut_ID */ public static final String COLUMNNAME_M_InOut_ID = "M_InOut_ID"; @@ -145,20 +126,20 @@ public interface I_T_Transaction public I_M_InOut getM_InOut() throws Exception; - /** Column name M_InventoryLine_ID */ - public static final String COLUMNNAME_M_InventoryLine_ID = "M_InventoryLine_ID"; + /** Column name M_InOutLine_ID */ + public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID"; - /** Set Phys.Inventory Line. - * Unique line in an Inventory document + /** Set Shipment/Receipt Line. + * Line on Shipment or Receipt document */ - public void setM_InventoryLine_ID (int M_InventoryLine_ID); + public void setM_InOutLine_ID (int M_InOutLine_ID); - /** Get Phys.Inventory Line. - * Unique line in an Inventory document + /** Get Shipment/Receipt Line. + * Line on Shipment or Receipt document */ - public int getM_InventoryLine_ID(); + public int getM_InOutLine_ID(); - public I_M_InventoryLine getM_InventoryLine() throws Exception; + public I_M_InOutLine getM_InOutLine() throws Exception; /** Column name M_Inventory_ID */ public static final String COLUMNNAME_M_Inventory_ID = "M_Inventory_ID"; @@ -175,6 +156,21 @@ public interface I_T_Transaction public I_M_Inventory getM_Inventory() throws Exception; + /** Column name M_InventoryLine_ID */ + public static final String COLUMNNAME_M_InventoryLine_ID = "M_InventoryLine_ID"; + + /** Set Phys.Inventory Line. + * Unique line in an Inventory document + */ + public void setM_InventoryLine_ID (int M_InventoryLine_ID); + + /** Get Phys.Inventory Line. + * Unique line in an Inventory document + */ + public int getM_InventoryLine_ID(); + + public I_M_InventoryLine getM_InventoryLine() throws Exception; + /** Column name M_Locator_ID */ public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; @@ -188,21 +184,6 @@ public interface I_T_Transaction */ public int getM_Locator_ID(); - /** Column name M_MovementLine_ID */ - public static final String COLUMNNAME_M_MovementLine_ID = "M_MovementLine_ID"; - - /** Set Move Line. - * Inventory Move document Line - */ - public void setM_MovementLine_ID (int M_MovementLine_ID); - - /** Get Move Line. - * Inventory Move document Line - */ - public int getM_MovementLine_ID(); - - public I_M_MovementLine getM_MovementLine() throws Exception; - /** Column name M_Movement_ID */ public static final String COLUMNNAME_M_Movement_ID = "M_Movement_ID"; @@ -218,61 +199,20 @@ public interface I_T_Transaction public I_M_Movement getM_Movement() throws Exception; - /** Column name M_Product_ID */ - public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + /** Column name M_MovementLine_ID */ + public static final String COLUMNNAME_M_MovementLine_ID = "M_MovementLine_ID"; - /** Set Product. - * Product, Service, Item + /** Set Move Line. + * Inventory Move document Line */ - public void setM_Product_ID (int M_Product_ID); + public void setM_MovementLine_ID (int M_MovementLine_ID); - /** Get Product. - * Product, Service, Item + /** Get Move Line. + * Inventory Move document Line */ - public int getM_Product_ID(); + public int getM_MovementLine_ID(); - public I_M_Product getM_Product() throws Exception; - - /** Column name M_ProductionLine_ID */ - public static final String COLUMNNAME_M_ProductionLine_ID = "M_ProductionLine_ID"; - - /** Set Production Line. - * Document Line representing a production - */ - public void setM_ProductionLine_ID (int M_ProductionLine_ID); - - /** Get Production Line. - * Document Line representing a production - */ - public int getM_ProductionLine_ID(); - - public I_M_ProductionLine getM_ProductionLine() throws Exception; - - /** Column name M_Production_ID */ - public static final String COLUMNNAME_M_Production_ID = "M_Production_ID"; - - /** Set Production. - * Plan for producing a product - */ - public void setM_Production_ID (int M_Production_ID); - - /** Get Production. - * Plan for producing a product - */ - public int getM_Production_ID(); - - public I_M_Production getM_Production() throws Exception; - - /** Column name M_Transaction_ID */ - public static final String COLUMNNAME_M_Transaction_ID = "M_Transaction_ID"; - - /** Set Inventory Transaction */ - public void setM_Transaction_ID (int M_Transaction_ID); - - /** Get Inventory Transaction */ - public int getM_Transaction_ID(); - - public I_M_Transaction getM_Transaction() throws Exception; + public I_M_MovementLine getM_MovementLine() throws Exception; /** Column name MovementDate */ public static final String COLUMNNAME_MovementDate = "MovementDate"; @@ -313,6 +253,62 @@ public interface I_T_Transaction */ public String getMovementType(); + /** Column name M_Product_ID */ + public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; + + /** Set Product. + * Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID); + + /** Get Product. + * Product, Service, Item + */ + public int getM_Product_ID(); + + public I_M_Product getM_Product() throws Exception; + + /** Column name M_Production_ID */ + public static final String COLUMNNAME_M_Production_ID = "M_Production_ID"; + + /** Set Production. + * Plan for producing a product + */ + public void setM_Production_ID (int M_Production_ID); + + /** Get Production. + * Plan for producing a product + */ + public int getM_Production_ID(); + + public I_M_Production getM_Production() throws Exception; + + /** Column name M_ProductionLine_ID */ + public static final String COLUMNNAME_M_ProductionLine_ID = "M_ProductionLine_ID"; + + /** Set Production Line. + * Document Line representing a production + */ + public void setM_ProductionLine_ID (int M_ProductionLine_ID); + + /** Get Production Line. + * Document Line representing a production + */ + public int getM_ProductionLine_ID(); + + public I_M_ProductionLine getM_ProductionLine() throws Exception; + + /** Column name M_Transaction_ID */ + public static final String COLUMNNAME_M_Transaction_ID = "M_Transaction_ID"; + + /** Set Inventory Transaction */ + public void setM_Transaction_ID (int M_Transaction_ID); + + /** Get Inventory Transaction */ + public int getM_Transaction_ID(); + + public I_M_Transaction getM_Transaction() throws Exception; + /** Column name Search_InOut_ID */ public static final String COLUMNNAME_Search_InOut_ID = "Search_InOut_ID"; diff --git a/base/src/org/compiere/model/I_Test.java b/base/src/org/compiere/model/I_Test.java index 3372fe6541..719f3592d7 100644 --- a/base/src/org/compiere/model/I_Test.java +++ b/base/src/org/compiere/model/I_Test.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for Test - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_Test { @@ -109,6 +105,19 @@ public interface I_Test public I_C_Currency getC_Currency() throws Exception; + /** Column name CharacterData */ + public static final String COLUMNNAME_CharacterData = "CharacterData"; + + /** Set Character Data. + * Long Character Field + */ + public void setCharacterData (String CharacterData); + + /** Get Character Data. + * Long Character Field + */ + public String getCharacterData(); + /** Column name C_Location_ID */ public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; @@ -152,19 +161,6 @@ public interface I_Test public I_C_UOM getC_UOM() throws Exception; - /** Column name CharacterData */ - public static final String COLUMNNAME_CharacterData = "CharacterData"; - - /** Set Character Data. - * Long Character Field - */ - public void setCharacterData (String CharacterData); - - /** Get Character Data. - * Long Character Field - */ - public String getCharacterData(); - /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -281,6 +277,15 @@ public interface I_Test /** Get DateTime */ public Timestamp getT_DateTime(); + /** Column name Test_ID */ + public static final String COLUMNNAME_Test_ID = "Test_ID"; + + /** Set Test ID */ + public void setTest_ID (int Test_ID); + + /** Get Test ID */ + public int getTest_ID(); + /** Column name T_Integer */ public static final String COLUMNNAME_T_Integer = "T_Integer"; @@ -307,13 +312,4 @@ public interface I_Test /** Get Qty */ public BigDecimal getT_Qty(); - - /** Column name Test_ID */ - public static final String COLUMNNAME_Test_ID = "Test_ID"; - - /** Set Test ID */ - public void setTest_ID (int Test_ID); - - /** Get Test ID */ - public int getTest_ID(); } diff --git a/base/src/org/compiere/model/I_U_BlackListCheque.java b/base/src/org/compiere/model/I_U_BlackListCheque.java index 943b22fa8f..537b249227 100644 --- a/base/src/org/compiere/model/I_U_BlackListCheque.java +++ b/base/src/org/compiere/model/I_U_BlackListCheque.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for U_BlackListCheque - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_U_BlackListCheque { diff --git a/base/src/org/compiere/model/I_U_RoleMenu.java b/base/src/org/compiere/model/I_U_RoleMenu.java index 66274361d3..66282eaad0 100644 --- a/base/src/org/compiere/model/I_U_RoleMenu.java +++ b/base/src/org/compiere/model/I_U_RoleMenu.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for U_RoleMenu - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_U_RoleMenu { diff --git a/base/src/org/compiere/model/I_U_WebMenu.java b/base/src/org/compiere/model/I_U_WebMenu.java index 3cf29ab371..13eae49e3d 100644 --- a/base/src/org/compiere/model/I_U_WebMenu.java +++ b/base/src/org/compiere/model/I_U_WebMenu.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for U_WebMenu - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_U_WebMenu { diff --git a/base/src/org/compiere/model/I_U_Web_Properties.java b/base/src/org/compiere/model/I_U_Web_Properties.java index 8a3b4c6b9d..9610229639 100644 --- a/base/src/org/compiere/model/I_U_Web_Properties.java +++ b/base/src/org/compiere/model/I_U_Web_Properties.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for U_Web_Properties - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_U_Web_Properties { diff --git a/base/src/org/compiere/model/I_W_Advertisement.java b/base/src/org/compiere/model/I_W_Advertisement.java index 0a621f9418..f10ccb9437 100644 --- a/base/src/org/compiere/model/I_W_Advertisement.java +++ b/base/src/org/compiere/model/I_W_Advertisement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import java.sql.Timestamp; import org.compiere.util.KeyNamePair; /** Generated Interface for W_Advertisement - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_W_Advertisement { @@ -57,6 +53,19 @@ public interface I_W_Advertisement /** Load Meta Data */ + /** Column name AdText */ + public static final String COLUMNNAME_AdText = "AdText"; + + /** Set Advertisement Text. + * Text of the Advertisement + */ + public void setAdText (String AdText); + + /** Get Advertisement Text. + * Text of the Advertisement + */ + public String getAdText(); + /** Column name AD_User_ID */ public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; @@ -72,19 +81,6 @@ public interface I_W_Advertisement public I_AD_User getAD_User() throws Exception; - /** Column name AdText */ - public static final String COLUMNNAME_AdText = "AdText"; - - /** Set Advertisement Text. - * Text of the Advertisement - */ - public void setAdText (String AdText); - - /** Get Advertisement Text. - * Text of the Advertisement - */ - public String getAdText(); - /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; diff --git a/base/src/org/compiere/model/I_W_Basket.java b/base/src/org/compiere/model/I_W_Basket.java index 50dc0e1c56..3566203b3b 100644 --- a/base/src/org/compiere/model/I_W_Basket.java +++ b/base/src/org/compiere/model/I_W_Basket.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for W_Basket - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_W_Basket { diff --git a/base/src/org/compiere/model/I_W_BasketLine.java b/base/src/org/compiere/model/I_W_BasketLine.java index 2911cb7ef8..30cb443620 100644 --- a/base/src/org/compiere/model/I_W_BasketLine.java +++ b/base/src/org/compiere/model/I_W_BasketLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for W_BasketLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_W_BasketLine { @@ -132,19 +128,6 @@ public interface I_W_BasketLine */ public BigDecimal getQty(); - /** Column name W_BasketLine_ID */ - public static final String COLUMNNAME_W_BasketLine_ID = "W_BasketLine_ID"; - - /** Set Basket Line. - * Web Basket Line - */ - public void setW_BasketLine_ID (int W_BasketLine_ID); - - /** Get Basket Line. - * Web Basket Line - */ - public int getW_BasketLine_ID(); - /** Column name W_Basket_ID */ public static final String COLUMNNAME_W_Basket_ID = "W_Basket_ID"; @@ -159,4 +142,17 @@ public interface I_W_BasketLine public int getW_Basket_ID(); public I_W_Basket getW_Basket() throws Exception; + + /** Column name W_BasketLine_ID */ + public static final String COLUMNNAME_W_BasketLine_ID = "W_BasketLine_ID"; + + /** Set Basket Line. + * Web Basket Line + */ + public void setW_BasketLine_ID (int W_BasketLine_ID); + + /** Get Basket Line. + * Web Basket Line + */ + public int getW_BasketLine_ID(); } diff --git a/base/src/org/compiere/model/I_W_Click.java b/base/src/org/compiere/model/I_W_Click.java index c528354ed0..ceabe5905e 100644 --- a/base/src/org/compiere/model/I_W_Click.java +++ b/base/src/org/compiere/model/I_W_Click.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for W_Click - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_W_Click { @@ -56,19 +52,6 @@ public interface I_W_Click /** Load Meta Data */ - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID); - - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID(); - /** Column name AcceptLanguage */ public static final String COLUMNNAME_AcceptLanguage = "AcceptLanguage"; @@ -82,6 +65,19 @@ public interface I_W_Click */ public String getAcceptLanguage(); + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + /** Column name EMail */ public static final String COLUMNNAME_EMail = "EMail"; diff --git a/base/src/org/compiere/model/I_W_ClickCount.java b/base/src/org/compiere/model/I_W_ClickCount.java index bde120751c..89b44d3ce9 100644 --- a/base/src/org/compiere/model/I_W_ClickCount.java +++ b/base/src/org/compiere/model/I_W_ClickCount.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for W_ClickCount - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_W_ClickCount { diff --git a/base/src/org/compiere/model/I_W_Counter.java b/base/src/org/compiere/model/I_W_Counter.java index b44c33bd5e..c3df9434f6 100644 --- a/base/src/org/compiere/model/I_W_Counter.java +++ b/base/src/org/compiere/model/I_W_Counter.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for W_Counter - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_W_Counter { @@ -56,19 +52,6 @@ public interface I_W_Counter /** Load Meta Data */ - /** Column name AD_User_ID */ - public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; - - /** Set User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID); - - /** Get User/Contact. - * User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID(); - /** Column name AcceptLanguage */ public static final String COLUMNNAME_AcceptLanguage = "AcceptLanguage"; @@ -82,6 +65,19 @@ public interface I_W_Counter */ public String getAcceptLanguage(); + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + /** Column name EMail */ public static final String COLUMNNAME_EMail = "EMail"; diff --git a/base/src/org/compiere/model/I_W_CounterCount.java b/base/src/org/compiere/model/I_W_CounterCount.java index b57cd4f2fb..7fc4145561 100644 --- a/base/src/org/compiere/model/I_W_CounterCount.java +++ b/base/src/org/compiere/model/I_W_CounterCount.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for W_CounterCount - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_W_CounterCount { diff --git a/base/src/org/compiere/model/I_W_MailMsg.java b/base/src/org/compiere/model/I_W_MailMsg.java index 10f6523628..85aab7abc4 100644 --- a/base/src/org/compiere/model/I_W_MailMsg.java +++ b/base/src/org/compiere/model/I_W_MailMsg.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for W_MailMsg - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_W_MailMsg { diff --git a/base/src/org/compiere/model/I_W_Store.java b/base/src/org/compiere/model/I_W_Store.java index 7bf66c3a88..c94cfa9b67 100644 --- a/base/src/org/compiere/model/I_W_Store.java +++ b/base/src/org/compiere/model/I_W_Store.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -36,8 +32,8 @@ import java.math.BigDecimal; import org.compiere.util.KeyNamePair; /** Generated Interface for W_Store - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_W_Store { @@ -348,58 +344,6 @@ public interface I_W_Store */ public String getURL(); - /** Column name WStoreEMail */ - public static final String COLUMNNAME_WStoreEMail = "WStoreEMail"; - - /** Set Web Store EMail. - * EMail address used as the sender (From) - */ - public void setWStoreEMail (String WStoreEMail); - - /** Get Web Store EMail. - * EMail address used as the sender (From) - */ - public String getWStoreEMail(); - - /** Column name WStoreUser */ - public static final String COLUMNNAME_WStoreUser = "WStoreUser"; - - /** Set WebStore User. - * User ID of the Web Store EMail address - */ - public void setWStoreUser (String WStoreUser); - - /** Get WebStore User. - * User ID of the Web Store EMail address - */ - public String getWStoreUser(); - - /** Column name WStoreUserPW */ - public static final String COLUMNNAME_WStoreUserPW = "WStoreUserPW"; - - /** Set WebStore Password. - * Password of the Web Store EMail address - */ - public void setWStoreUserPW (String WStoreUserPW); - - /** Get WebStore Password. - * Password of the Web Store EMail address - */ - public String getWStoreUserPW(); - - /** Column name W_Store_ID */ - public static final String COLUMNNAME_W_Store_ID = "W_Store_ID"; - - /** Set Web Store. - * A Web Store of the Client - */ - public void setW_Store_ID (int W_Store_ID); - - /** Get Web Store. - * A Web Store of the Client - */ - public int getW_Store_ID(); - /** Column name WebContext */ public static final String COLUMNNAME_WebContext = "WebContext"; @@ -516,4 +460,56 @@ public interface I_W_Store * Web Site Parameter 6 (default footer right) */ public String getWebParam6(); + + /** Column name WStoreEMail */ + public static final String COLUMNNAME_WStoreEMail = "WStoreEMail"; + + /** Set Web Store EMail. + * EMail address used as the sender (From) + */ + public void setWStoreEMail (String WStoreEMail); + + /** Get Web Store EMail. + * EMail address used as the sender (From) + */ + public String getWStoreEMail(); + + /** Column name W_Store_ID */ + public static final String COLUMNNAME_W_Store_ID = "W_Store_ID"; + + /** Set Web Store. + * A Web Store of the Client + */ + public void setW_Store_ID (int W_Store_ID); + + /** Get Web Store. + * A Web Store of the Client + */ + public int getW_Store_ID(); + + /** Column name WStoreUser */ + public static final String COLUMNNAME_WStoreUser = "WStoreUser"; + + /** Set WebStore User. + * User ID of the Web Store EMail address + */ + public void setWStoreUser (String WStoreUser); + + /** Get WebStore User. + * User ID of the Web Store EMail address + */ + public String getWStoreUser(); + + /** Column name WStoreUserPW */ + public static final String COLUMNNAME_WStoreUserPW = "WStoreUserPW"; + + /** Set WebStore Password. + * Password of the Web Store EMail address + */ + public void setWStoreUserPW (String WStoreUserPW); + + /** Get WebStore Password. + * Password of the Web Store EMail address + */ + public String getWStoreUserPW(); } diff --git a/base/src/org/compiere/model/X_AD_AccessLog.java b/base/src/org/compiere/model/X_AD_AccessLog.java index 224de0ecd2..98d91bd6ee 100644 --- a/base/src/org/compiere/model/X_AD_AccessLog.java +++ b/base/src/org/compiere/model/X_AD_AccessLog.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_AccessLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent { @@ -186,12 +186,6 @@ public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -232,12 +226,6 @@ public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent */ public void setRemote_Addr (String Remote_Addr) { - - if (Remote_Addr != null && Remote_Addr.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Addr = Remote_Addr.substring(0, 60); - } set_Value (COLUMNNAME_Remote_Addr, Remote_Addr); } @@ -255,12 +243,6 @@ public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent */ public void setRemote_Host (String Remote_Host) { - - if (Remote_Host != null && Remote_Host.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Host = Remote_Host.substring(0, 60); - } set_Value (COLUMNNAME_Remote_Host, Remote_Host); } @@ -278,12 +260,6 @@ public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent */ public void setReply (String Reply) { - - if (Reply != null && Reply.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Reply = Reply.substring(0, 2000); - } set_Value (COLUMNNAME_Reply, Reply); } @@ -301,12 +277,6 @@ public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_AD_Alert.java b/base/src/org/compiere/model/X_AD_Alert.java index c3d77f7035..385f20549c 100644 --- a/base/src/org/compiere/model/X_AD_Alert.java +++ b/base/src/org/compiere/model/X_AD_Alert.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Alert * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent super (ctx, AD_Alert_ID, trxName); /** if (AD_Alert_ID == 0) { - setAD_AlertProcessor_ID (0); setAD_Alert_ID (0); + setAD_AlertProcessor_ID (0); setAlertMessage (null); setAlertSubject (null); setEnforceClientSecurity (true); @@ -82,6 +82,28 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent return sb.toString(); } + /** Set 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 (COLUMNNAME_AD_Alert_ID, Integer.valueOf(AD_Alert_ID)); + } + + /** Get Alert. + @return Adempiere Alert + */ + public int getAD_Alert_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Alert_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_AlertProcessor getAD_AlertProcessor() throws Exception { Class clazz = MTable.getClass(I_AD_AlertProcessor.Table_Name); @@ -120,28 +142,6 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent return ii.intValue(); } - /** Set 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 (COLUMNNAME_AD_Alert_ID, Integer.valueOf(AD_Alert_ID)); - } - - /** Get Alert. - @return Adempiere Alert - */ - public int getAD_Alert_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_Alert_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Alert Message. @param AlertMessage Message of the Alert @@ -150,12 +150,6 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent { if (AlertMessage == null) throw new IllegalArgumentException ("AlertMessage is mandatory."); - - if (AlertMessage.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - AlertMessage = AlertMessage.substring(0, 2000); - } set_Value (COLUMNNAME_AlertMessage, AlertMessage); } @@ -175,12 +169,6 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent { if (AlertSubject == null) throw new IllegalArgumentException ("AlertSubject is mandatory."); - - if (AlertSubject.length() > 60) - { - log.warning("Length > 60 - truncated"); - AlertSubject = AlertSubject.substring(0, 60); - } set_Value (COLUMNNAME_AlertSubject, AlertSubject); } @@ -198,12 +186,6 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -269,12 +251,6 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -318,12 +294,6 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_AlertProcessor.java b/base/src/org/compiere/model/X_AD_AlertProcessor.java index 177ce30cd7..220e025095 100644 --- a/base/src/org/compiere/model/X_AD_AlertProcessor.java +++ b/base/src/org/compiere/model/X_AD_AlertProcessor.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_AlertProcessor * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Persistent { @@ -139,12 +139,6 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -191,13 +185,7 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe public void setFrequencyType (String FrequencyType) { if (FrequencyType == null) throw new IllegalArgumentException ("FrequencyType is mandatory"); - if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); - if (FrequencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FrequencyType = FrequencyType.substring(0, 1); - } - set_Value (COLUMNNAME_FrequencyType, FrequencyType); + if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); set_Value (COLUMNNAME_FrequencyType, FrequencyType); } /** Get Frequency Type. @@ -236,12 +224,6 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_AlertProcessorLog.java b/base/src/org/compiere/model/X_AD_AlertProcessorLog.java index 50863a1643..6723741082 100644 --- a/base/src/org/compiere/model/X_AD_AlertProcessorLog.java +++ b/base/src/org/compiere/model/X_AD_AlertProcessorLog.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_AlertProcessorLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog, I_Persistent { @@ -39,8 +39,8 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog super (ctx, AD_AlertProcessorLog_ID, trxName); /** if (AD_AlertProcessorLog_ID == 0) { - setAD_AlertProcessorLog_ID (0); setAD_AlertProcessor_ID (0); + setAD_AlertProcessorLog_ID (0); setIsError (false); } */ } @@ -73,28 +73,6 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog return sb.toString(); } - /** Set Alert Processor Log. - @param AD_AlertProcessorLog_ID - Result of the execution of the Alert Processor - */ - public void setAD_AlertProcessorLog_ID (int AD_AlertProcessorLog_ID) - { - if (AD_AlertProcessorLog_ID < 1) - throw new IllegalArgumentException ("AD_AlertProcessorLog_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_AlertProcessorLog_ID, Integer.valueOf(AD_AlertProcessorLog_ID)); - } - - /** Get Alert Processor Log. - @return Result of the execution of the Alert Processor - */ - public int getAD_AlertProcessorLog_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_AlertProcessorLog_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_AlertProcessor getAD_AlertProcessor() throws Exception { Class clazz = MTable.getClass(I_AD_AlertProcessor.Table_Name); @@ -133,6 +111,28 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog return ii.intValue(); } + /** Set Alert Processor Log. + @param AD_AlertProcessorLog_ID + Result of the execution of the Alert Processor + */ + public void setAD_AlertProcessorLog_ID (int AD_AlertProcessorLog_ID) + { + if (AD_AlertProcessorLog_ID < 1) + throw new IllegalArgumentException ("AD_AlertProcessorLog_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_AlertProcessorLog_ID, Integer.valueOf(AD_AlertProcessorLog_ID)); + } + + /** Get Alert Processor Log. + @return Result of the execution of the Alert Processor + */ + public int getAD_AlertProcessorLog_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_AlertProcessorLog_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set BinaryData. @param BinaryData Binary Data @@ -156,12 +156,6 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -203,12 +197,6 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog */ public void setReference (String Reference) { - - if (Reference != null && Reference.length() > 60) - { - log.warning("Length > 60 - truncated"); - Reference = Reference.substring(0, 60); - } set_Value (COLUMNNAME_Reference, Reference); } @@ -226,12 +214,6 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_Value (COLUMNNAME_Summary, Summary); } @@ -249,12 +231,6 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_AD_AlertRecipient.java b/base/src/org/compiere/model/X_AD_AlertRecipient.java index 99407bf08f..119f5b0993 100644 --- a/base/src/org/compiere/model/X_AD_AlertRecipient.java +++ b/base/src/org/compiere/model/X_AD_AlertRecipient.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_AlertRecipient * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_AlertRecipient extends PO implements I_AD_AlertRecipient, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_AlertRecipient extends PO implements I_AD_AlertRecipient, I_Pe super (ctx, AD_AlertRecipient_ID, trxName); /** if (AD_AlertRecipient_ID == 0) { - setAD_AlertRecipient_ID (0); setAD_Alert_ID (0); + setAD_AlertRecipient_ID (0); } */ } @@ -73,28 +73,6 @@ public class X_AD_AlertRecipient extends PO implements I_AD_AlertRecipient, I_Pe return sb.toString(); } - /** Set Alert Recipient. - @param AD_AlertRecipient_ID - Recipient of the Alert Notification - */ - public void setAD_AlertRecipient_ID (int AD_AlertRecipient_ID) - { - if (AD_AlertRecipient_ID < 1) - throw new IllegalArgumentException ("AD_AlertRecipient_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_AlertRecipient_ID, Integer.valueOf(AD_AlertRecipient_ID)); - } - - /** Get Alert Recipient. - @return Recipient of the Alert Notification - */ - public int getAD_AlertRecipient_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_AlertRecipient_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_Alert getAD_Alert() throws Exception { Class clazz = MTable.getClass(I_AD_Alert.Table_Name); @@ -133,6 +111,28 @@ public class X_AD_AlertRecipient extends PO implements I_AD_AlertRecipient, I_Pe return ii.intValue(); } + /** Set Alert Recipient. + @param AD_AlertRecipient_ID + Recipient of the Alert Notification + */ + public void setAD_AlertRecipient_ID (int AD_AlertRecipient_ID) + { + if (AD_AlertRecipient_ID < 1) + throw new IllegalArgumentException ("AD_AlertRecipient_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_AlertRecipient_ID, Integer.valueOf(AD_AlertRecipient_ID)); + } + + /** Get Alert Recipient. + @return Recipient of the Alert Notification + */ + public int getAD_AlertRecipient_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_AlertRecipient_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_Role getAD_Role() throws Exception { Class clazz = MTable.getClass(I_AD_Role.Table_Name); diff --git a/base/src/org/compiere/model/X_AD_AlertRule.java b/base/src/org/compiere/model/X_AD_AlertRule.java index 1d46b92216..c15e3d11ce 100644 --- a/base/src/org/compiere/model/X_AD_AlertRule.java +++ b/base/src/org/compiere/model/X_AD_AlertRule.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_AlertRule * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent super (ctx, AD_AlertRule_ID, trxName); /** if (AD_AlertRule_ID == 0) { - setAD_AlertRule_ID (0); setAD_Alert_ID (0); + setAD_AlertRule_ID (0); setFromClause (null); setIsValid (true); // Y @@ -78,28 +78,6 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent return sb.toString(); } - /** Set Alert Rule. - @param AD_AlertRule_ID - Definition of the alert element - */ - public void setAD_AlertRule_ID (int AD_AlertRule_ID) - { - if (AD_AlertRule_ID < 1) - throw new IllegalArgumentException ("AD_AlertRule_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_AlertRule_ID, Integer.valueOf(AD_AlertRule_ID)); - } - - /** Get Alert Rule. - @return Definition of the alert element - */ - public int getAD_AlertRule_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_AlertRule_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_Alert getAD_Alert() throws Exception { Class clazz = MTable.getClass(I_AD_Alert.Table_Name); @@ -138,6 +116,28 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent return ii.intValue(); } + /** Set Alert Rule. + @param AD_AlertRule_ID + Definition of the alert element + */ + public void setAD_AlertRule_ID (int AD_AlertRule_ID) + { + if (AD_AlertRule_ID < 1) + throw new IllegalArgumentException ("AD_AlertRule_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_AlertRule_ID, Integer.valueOf(AD_AlertRule_ID)); + } + + /** Get Alert Rule. + @return Definition of the alert element + */ + public int getAD_AlertRule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_AlertRule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_Table getAD_Table() throws Exception { Class clazz = MTable.getClass(I_AD_Table.Table_Name); @@ -181,12 +181,6 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent @param ErrorMsg Error Msg */ public void setErrorMsg (String ErrorMsg) { - - if (ErrorMsg != null && ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ErrorMsg = ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_ErrorMsg, ErrorMsg); } @@ -205,12 +199,6 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent { if (FromClause == null) throw new IllegalArgumentException ("FromClause is mandatory."); - - if (FromClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - FromClause = FromClause.substring(0, 2000); - } set_Value (COLUMNNAME_FromClause, FromClause); } @@ -254,12 +242,6 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -285,12 +267,6 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent */ public void setOtherClause (String OtherClause) { - - if (OtherClause != null && OtherClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OtherClause = OtherClause.substring(0, 2000); - } set_Value (COLUMNNAME_OtherClause, OtherClause); } @@ -308,12 +284,6 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent */ public void setPostProcessing (String PostProcessing) { - - if (PostProcessing != null && PostProcessing.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - PostProcessing = PostProcessing.substring(0, 2000); - } set_Value (COLUMNNAME_PostProcessing, PostProcessing); } @@ -331,12 +301,6 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent */ public void setPreProcessing (String PreProcessing) { - - if (PreProcessing != null && PreProcessing.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - PreProcessing = PreProcessing.substring(0, 2000); - } set_Value (COLUMNNAME_PreProcessing, PreProcessing); } @@ -356,12 +320,6 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent { if (SelectClause == null) throw new IllegalArgumentException ("SelectClause is mandatory."); - - if (SelectClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - SelectClause = SelectClause.substring(0, 2000); - } set_Value (COLUMNNAME_SelectClause, SelectClause); } @@ -379,12 +337,6 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent */ public void setWhereClause (String WhereClause) { - - if (WhereClause != null && WhereClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WhereClause = WhereClause.substring(0, 2000); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/compiere/model/X_AD_Archive.java b/base/src/org/compiere/model/X_AD_Archive.java index a4d46d6540..97077e4333 100644 --- a/base/src/org/compiere/model/X_AD_Archive.java +++ b/base/src/org/compiere/model/X_AD_Archive.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Archive * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent { @@ -239,12 +239,6 @@ public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -262,12 +256,6 @@ public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -311,12 +299,6 @@ public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_Attachment.java b/base/src/org/compiere/model/X_AD_Attachment.java index 09c17a3640..c394161b6e 100644 --- a/base/src/org/compiere/model/X_AD_Attachment.java +++ b/base/src/org/compiere/model/X_AD_Attachment.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Attachment * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Attachment extends PO implements I_AD_Attachment, I_Persistent { @@ -180,12 +180,6 @@ public class X_AD_Attachment extends PO implements I_AD_Attachment, I_Persistent */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } @@ -205,12 +199,6 @@ public class X_AD_Attachment extends PO implements I_AD_Attachment, I_Persistent { if (Title == null) throw new IllegalArgumentException ("Title is mandatory."); - - if (Title.length() > 60) - { - log.warning("Length > 60 - truncated"); - Title = Title.substring(0, 60); - } set_Value (COLUMNNAME_Title, Title); } diff --git a/base/src/org/compiere/model/X_AD_AttachmentNote.java b/base/src/org/compiere/model/X_AD_AttachmentNote.java index 2965ccd3f0..b84ff0bea0 100644 --- a/base/src/org/compiere/model/X_AD_AttachmentNote.java +++ b/base/src/org/compiere/model/X_AD_AttachmentNote.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_AttachmentNote * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Pe super (ctx, AD_AttachmentNote_ID, trxName); /** if (AD_AttachmentNote_ID == 0) { - setAD_AttachmentNote_ID (0); setAD_Attachment_ID (0); + setAD_AttachmentNote_ID (0); setAD_User_ID (0); setTextMsg (null); setTitle (null); @@ -76,28 +76,6 @@ public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Pe return sb.toString(); } - /** Set Attachment Note. - @param AD_AttachmentNote_ID - Personal Attachment Note - */ - public void setAD_AttachmentNote_ID (int AD_AttachmentNote_ID) - { - if (AD_AttachmentNote_ID < 1) - throw new IllegalArgumentException ("AD_AttachmentNote_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_AttachmentNote_ID, Integer.valueOf(AD_AttachmentNote_ID)); - } - - /** Get Attachment Note. - @return Personal Attachment Note - */ - public int getAD_AttachmentNote_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_AttachmentNote_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_Attachment getAD_Attachment() throws Exception { Class clazz = MTable.getClass(I_AD_Attachment.Table_Name); @@ -136,6 +114,28 @@ public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Pe return ii.intValue(); } + /** Set Attachment Note. + @param AD_AttachmentNote_ID + Personal Attachment Note + */ + public void setAD_AttachmentNote_ID (int AD_AttachmentNote_ID) + { + if (AD_AttachmentNote_ID < 1) + throw new IllegalArgumentException ("AD_AttachmentNote_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_AttachmentNote_ID, Integer.valueOf(AD_AttachmentNote_ID)); + } + + /** Get Attachment Note. + @return Personal Attachment Note + */ + public int getAD_AttachmentNote_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_AttachmentNote_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_User getAD_User() throws Exception { Class clazz = MTable.getClass(I_AD_User.Table_Name); @@ -182,12 +182,6 @@ public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Pe { if (TextMsg == null) throw new IllegalArgumentException ("TextMsg is mandatory."); - - if (TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } @@ -207,12 +201,6 @@ public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Pe { if (Title == null) throw new IllegalArgumentException ("Title is mandatory."); - - if (Title.length() > 60) - { - log.warning("Length > 60 - truncated"); - Title = Title.substring(0, 60); - } set_Value (COLUMNNAME_Title, Title); } diff --git a/base/src/org/compiere/model/X_AD_Attribute.java b/base/src/org/compiere/model/X_AD_Attribute.java index 1234fefe30..51a317fa45 100644 --- a/base/src/org/compiere/model/X_AD_Attribute.java +++ b/base/src/org/compiere/model/X_AD_Attribute.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Attribute * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent { @@ -233,12 +233,6 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent */ public void setCallout (String Callout) { - - if (Callout != null && Callout.length() > 60) - { - log.warning("Length > 60 - truncated"); - Callout = Callout.substring(0, 60); - } set_Value (COLUMNNAME_Callout, Callout); } @@ -256,12 +250,6 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent */ public void setDefaultValue (String DefaultValue) { - - if (DefaultValue != null && DefaultValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DefaultValue = DefaultValue.substring(0, 2000); - } set_Value (COLUMNNAME_DefaultValue, DefaultValue); } @@ -279,12 +267,6 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -322,12 +304,6 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent */ public void setDisplayLogic (String DisplayLogic) { - - if (DisplayLogic != null && DisplayLogic.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DisplayLogic = DisplayLogic.substring(0, 2000); - } set_Value (COLUMNNAME_DisplayLogic, DisplayLogic); } @@ -365,12 +341,6 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -558,12 +528,6 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -603,41 +567,12 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent return ii.intValue(); } - /** Set Value Format. - @param VFormat - Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public void setVFormat (String VFormat) - { - - if (VFormat != null && VFormat.length() > 60) - { - log.warning("Length > 60 - truncated"); - VFormat = VFormat.substring(0, 60); - } - set_Value (COLUMNNAME_VFormat, VFormat); - } - - /** Get Value Format. - @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public String getVFormat () - { - return (String)get_Value(COLUMNNAME_VFormat); - } - /** Set Max. Value. @param ValueMax Maximum Value for a field */ public void setValueMax (String ValueMax) { - - if (ValueMax != null && ValueMax.length() > 20) - { - log.warning("Length > 20 - truncated"); - ValueMax = ValueMax.substring(0, 20); - } set_Value (COLUMNNAME_ValueMax, ValueMax); } @@ -655,12 +590,6 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent */ public void setValueMin (String ValueMin) { - - if (ValueMin != null && ValueMin.length() > 20) - { - log.warning("Length > 20 - truncated"); - ValueMin = ValueMin.substring(0, 20); - } set_Value (COLUMNNAME_ValueMin, ValueMin); } @@ -671,4 +600,21 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent { return (String)get_Value(COLUMNNAME_ValueMin); } + + /** Set Value Format. + @param VFormat + Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public void setVFormat (String VFormat) + { + set_Value (COLUMNNAME_VFormat, VFormat); + } + + /** Get Value Format. + @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public String getVFormat () + { + return (String)get_Value(COLUMNNAME_VFormat); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_AD_Attribute_Value.java b/base/src/org/compiere/model/X_AD_Attribute_Value.java index 514e5e58ac..45850a757d 100644 --- a/base/src/org/compiere/model/X_AD_Attribute_Value.java +++ b/base/src/org/compiere/model/X_AD_Attribute_Value.java @@ -23,7 +23,7 @@ import java.util.Properties; /** Generated Model for AD_Attribute_Value * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Attribute_Value extends PO implements I_AD_Attribute_Value, I_Persistent { @@ -130,12 +130,6 @@ public class X_AD_Attribute_Value extends PO implements I_AD_Attribute_Value, I_ @param V_Number V_Number */ public void setV_Number (String V_Number) { - - if (V_Number != null && V_Number.length() > 22) - { - log.warning("Length > 22 - truncated"); - V_Number = V_Number.substring(0, 22); - } set_Value (COLUMNNAME_V_Number, V_Number); } @@ -150,12 +144,6 @@ public class X_AD_Attribute_Value extends PO implements I_AD_Attribute_Value, I_ @param V_String V_String */ public void setV_String (String V_String) { - - if (V_String != null && V_String.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - V_String = V_String.substring(0, 2000); - } set_Value (COLUMNNAME_V_String, V_String); } diff --git a/base/src/org/compiere/model/X_AD_ChangeLog.java b/base/src/org/compiere/model/X_AD_ChangeLog.java index 1459f9e2f9..83ce995c00 100644 --- a/base/src/org/compiere/model/X_AD_ChangeLog.java +++ b/base/src/org/compiere/model/X_AD_ChangeLog.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_ChangeLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent { @@ -227,12 +227,6 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -259,13 +253,7 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent public void setEventChangeLog (String EventChangeLog) { - if (EventChangeLog == null || EventChangeLog.equals("I") || EventChangeLog.equals("D") || EventChangeLog.equals("U")); else throw new IllegalArgumentException ("EventChangeLog Invalid value - " + EventChangeLog + " - Reference_ID=53238 - I - D - U"); - if (EventChangeLog != null && EventChangeLog.length() > 1) - { - log.warning("Length > 1 - truncated"); - EventChangeLog = EventChangeLog.substring(0, 1); - } - set_Value (COLUMNNAME_EventChangeLog, EventChangeLog); + if (EventChangeLog == null || EventChangeLog.equals("I") || EventChangeLog.equals("D") || EventChangeLog.equals("U")); else throw new IllegalArgumentException ("EventChangeLog Invalid value - " + EventChangeLog + " - Reference_ID=53238 - I - D - U"); set_Value (COLUMNNAME_EventChangeLog, EventChangeLog); } /** Get Event Change Log. @@ -306,12 +294,6 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent */ public void setNewValue (String NewValue) { - - if (NewValue != null && NewValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - NewValue = NewValue.substring(0, 2000); - } set_ValueNoCheck (COLUMNNAME_NewValue, NewValue); } @@ -329,12 +311,6 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent */ public void setOldValue (String OldValue) { - - if (OldValue != null && OldValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OldValue = OldValue.substring(0, 2000); - } set_ValueNoCheck (COLUMNNAME_OldValue, OldValue); } @@ -372,12 +348,6 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent @param Redo Redo */ public void setRedo (String Redo) { - - if (Redo != null && Redo.length() > 1) - { - log.warning("Length > 1 - truncated"); - Redo = Redo.substring(0, 1); - } set_Value (COLUMNNAME_Redo, Redo); } @@ -394,12 +364,6 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent */ public void setTrxName (String TrxName) { - - if (TrxName != null && TrxName.length() > 60) - { - log.warning("Length > 60 - truncated"); - TrxName = TrxName.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_TrxName, TrxName); } @@ -415,12 +379,6 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent @param Undo Undo */ public void setUndo (String Undo) { - - if (Undo != null && Undo.length() > 1) - { - log.warning("Length > 1 - truncated"); - Undo = Undo.substring(0, 1); - } set_Value (COLUMNNAME_Undo, Undo); } diff --git a/base/src/org/compiere/model/X_AD_Client.java b/base/src/org/compiere/model/X_AD_Client.java index e2296f0902..d27a4952bb 100644 --- a/base/src/org/compiere/model/X_AD_Client.java +++ b/base/src/org/compiere/model/X_AD_Client.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Client * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent { @@ -99,12 +99,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setAD_Language (String AD_Language) { - - if (AD_Language != null && AD_Language.length() > 6) - { - log.warning("Length > 6 - truncated"); - AD_Language = AD_Language.substring(0, 6); - } set_Value (COLUMNNAME_AD_Language, AD_Language); } @@ -172,13 +166,7 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent public void setAutoArchive (String AutoArchive) { if (AutoArchive == null) throw new IllegalArgumentException ("AutoArchive is mandatory"); - if (AutoArchive.equals("N") || AutoArchive.equals("1") || AutoArchive.equals("2") || AutoArchive.equals("3")); else throw new IllegalArgumentException ("AutoArchive Invalid value - " + AutoArchive + " - Reference_ID=334 - N - 1 - 2 - 3"); - if (AutoArchive.length() > 1) - { - log.warning("Length > 1 - truncated"); - AutoArchive = AutoArchive.substring(0, 1); - } - set_Value (COLUMNNAME_AutoArchive, AutoArchive); + if (AutoArchive.equals("N") || AutoArchive.equals("1") || AutoArchive.equals("2") || AutoArchive.equals("3")); else throw new IllegalArgumentException ("AutoArchive Invalid value - " + AutoArchive + " - Reference_ID=334 - N - 1 - 2 - 3"); set_Value (COLUMNNAME_AutoArchive, AutoArchive); } /** Get Auto Archive. @@ -195,12 +183,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -218,12 +200,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setDocumentDir (String DocumentDir) { - - if (DocumentDir != null && DocumentDir.length() > 60) - { - log.warning("Length > 60 - truncated"); - DocumentDir = DocumentDir.substring(0, 60); - } set_Value (COLUMNNAME_DocumentDir, DocumentDir); } @@ -241,12 +217,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setEMailTest (String EMailTest) { - - if (EMailTest != null && EMailTest.length() > 1) - { - log.warning("Length > 1 - truncated"); - EMailTest = EMailTest.substring(0, 1); - } set_Value (COLUMNNAME_EMailTest, EMailTest); } @@ -436,13 +406,7 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent public void setMMPolicy (String MMPolicy) { if (MMPolicy == null) throw new IllegalArgumentException ("MMPolicy is mandatory"); - if (MMPolicy.equals("L") || MMPolicy.equals("F")); else throw new IllegalArgumentException ("MMPolicy Invalid value - " + MMPolicy + " - Reference_ID=335 - L - F"); - if (MMPolicy.length() > 1) - { - log.warning("Length > 1 - truncated"); - MMPolicy = MMPolicy.substring(0, 1); - } - set_Value (COLUMNNAME_MMPolicy, MMPolicy); + if (MMPolicy.equals("L") || MMPolicy.equals("F")); else throw new IllegalArgumentException ("MMPolicy Invalid value - " + MMPolicy + " - Reference_ID=335 - L - F"); set_Value (COLUMNNAME_MMPolicy, MMPolicy); } /** Get Material Policy. @@ -459,12 +423,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setModelValidationClasses (String ModelValidationClasses) { - - if (ModelValidationClasses != null && ModelValidationClasses.length() > 255) - { - log.warning("Length > 255 - truncated"); - ModelValidationClasses = ModelValidationClasses.substring(0, 255); - } set_Value (COLUMNNAME_ModelValidationClasses, ModelValidationClasses); } @@ -484,12 +442,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -515,12 +467,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setRequestEMail (String RequestEMail) { - - if (RequestEMail != null && RequestEMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - RequestEMail = RequestEMail.substring(0, 60); - } set_Value (COLUMNNAME_RequestEMail, RequestEMail); } @@ -538,12 +484,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setRequestFolder (String RequestFolder) { - - if (RequestFolder != null && RequestFolder.length() > 20) - { - log.warning("Length > 20 - truncated"); - RequestFolder = RequestFolder.substring(0, 20); - } set_Value (COLUMNNAME_RequestFolder, RequestFolder); } @@ -561,12 +501,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setRequestUser (String RequestUser) { - - if (RequestUser != null && RequestUser.length() > 60) - { - log.warning("Length > 60 - truncated"); - RequestUser = RequestUser.substring(0, 60); - } set_Value (COLUMNNAME_RequestUser, RequestUser); } @@ -584,12 +518,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setRequestUserPW (String RequestUserPW) { - - if (RequestUserPW != null && RequestUserPW.length() > 20) - { - log.warning("Length > 20 - truncated"); - RequestUserPW = RequestUserPW.substring(0, 20); - } set_Value (COLUMNNAME_RequestUserPW, RequestUserPW); } @@ -607,12 +535,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent */ public void setSMTPHost (String SMTPHost) { - - if (SMTPHost != null && SMTPHost.length() > 60) - { - log.warning("Length > 60 - truncated"); - SMTPHost = SMTPHost.substring(0, 60); - } set_Value (COLUMNNAME_SMTPHost, SMTPHost); } @@ -670,12 +592,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent @param UnixArchivePath Unix Archive Path */ public void setUnixArchivePath (String UnixArchivePath) { - - if (UnixArchivePath != null && UnixArchivePath.length() > 255) - { - log.warning("Length > 255 - truncated"); - UnixArchivePath = UnixArchivePath.substring(0, 255); - } set_Value (COLUMNNAME_UnixArchivePath, UnixArchivePath); } @@ -690,12 +606,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent @param UnixAttachmentPath Unix Attachment Path */ public void setUnixAttachmentPath (String UnixAttachmentPath) { - - if (UnixAttachmentPath != null && UnixAttachmentPath.length() > 255) - { - log.warning("Length > 255 - truncated"); - UnixAttachmentPath = UnixAttachmentPath.substring(0, 255); - } set_Value (COLUMNNAME_UnixAttachmentPath, UnixAttachmentPath); } @@ -714,12 +624,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -735,12 +639,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent @param WindowsArchivePath Windows Archive Path */ public void setWindowsArchivePath (String WindowsArchivePath) { - - if (WindowsArchivePath != null && WindowsArchivePath.length() > 255) - { - log.warning("Length > 255 - truncated"); - WindowsArchivePath = WindowsArchivePath.substring(0, 255); - } set_Value (COLUMNNAME_WindowsArchivePath, WindowsArchivePath); } @@ -755,12 +653,6 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent @param WindowsAttachmentPath Windows Attachment Path */ public void setWindowsAttachmentPath (String WindowsAttachmentPath) { - - if (WindowsAttachmentPath != null && WindowsAttachmentPath.length() > 255) - { - log.warning("Length > 255 - truncated"); - WindowsAttachmentPath = WindowsAttachmentPath.substring(0, 255); - } set_Value (COLUMNNAME_WindowsAttachmentPath, WindowsAttachmentPath); } diff --git a/base/src/org/compiere/model/X_AD_ClientInfo.java b/base/src/org/compiere/model/X_AD_ClientInfo.java index 5ebed884b0..28187b63c8 100644 --- a/base/src/org/compiere/model/X_AD_ClientInfo.java +++ b/base/src/org/compiere/model/X_AD_ClientInfo.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_ClientInfo * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_ClientShare.java b/base/src/org/compiere/model/X_AD_ClientShare.java index 1741e53d25..0e65c8e40b 100644 --- a/base/src/org/compiere/model/X_AD_ClientShare.java +++ b/base/src/org/compiere/model/X_AD_ClientShare.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_ClientShare * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persistent { @@ -141,12 +141,6 @@ public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -166,12 +160,6 @@ public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -206,13 +194,7 @@ public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persiste public void setShareType (String ShareType) { if (ShareType == null) throw new IllegalArgumentException ("ShareType is mandatory"); - if (ShareType.equals("C") || ShareType.equals("O") || ShareType.equals("x")); else throw new IllegalArgumentException ("ShareType Invalid value - " + ShareType + " - Reference_ID=365 - C - O - x"); - if (ShareType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ShareType = ShareType.substring(0, 1); - } - set_Value (COLUMNNAME_ShareType, ShareType); + if (ShareType.equals("C") || ShareType.equals("O") || ShareType.equals("x")); else throw new IllegalArgumentException ("ShareType Invalid value - " + ShareType + " - Reference_ID=365 - C - O - x"); set_Value (COLUMNNAME_ShareType, ShareType); } /** Get Share Type. diff --git a/base/src/org/compiere/model/X_AD_Color.java b/base/src/org/compiere/model/X_AD_Color.java index 2398ceccf4..01435ca50b 100644 --- a/base/src/org/compiere/model/X_AD_Color.java +++ b/base/src/org/compiere/model/X_AD_Color.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Color * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Color extends PO implements I_AD_Color, I_Persistent { @@ -240,13 +240,7 @@ public class X_AD_Color extends PO implements I_AD_Color, I_Persistent public void setColorType (String ColorType) { if (ColorType == null) throw new IllegalArgumentException ("ColorType is mandatory"); - if (ColorType.equals("F") || ColorType.equals("G") || ColorType.equals("L") || ColorType.equals("T")); else throw new IllegalArgumentException ("ColorType Invalid value - " + ColorType + " - Reference_ID=243 - F - G - L - T"); - if (ColorType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ColorType = ColorType.substring(0, 1); - } - set_Value (COLUMNNAME_ColorType, ColorType); + if (ColorType.equals("F") || ColorType.equals("G") || ColorType.equals("L") || ColorType.equals("T")); else throw new IllegalArgumentException ("ColorType Invalid value - " + ColorType + " - Reference_ID=243 - F - G - L - T"); set_Value (COLUMNNAME_ColorType, ColorType); } /** Get Color Type. @@ -391,12 +385,6 @@ public class X_AD_Color extends PO implements I_AD_Color, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -501,13 +489,7 @@ public class X_AD_Color extends PO implements I_AD_Color, I_Persistent public void setStartPoint (String StartPoint) { - if (StartPoint == null || StartPoint.equals("1") || StartPoint.equals("2") || StartPoint.equals("3") || StartPoint.equals("4") || StartPoint.equals("5") || StartPoint.equals("6") || StartPoint.equals("7") || StartPoint.equals("8")); else throw new IllegalArgumentException ("StartPoint Invalid value - " + StartPoint + " - Reference_ID=248 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8"); - if (StartPoint != null && StartPoint.length() > 22) - { - log.warning("Length > 22 - truncated"); - StartPoint = StartPoint.substring(0, 22); - } - set_Value (COLUMNNAME_StartPoint, StartPoint); + if (StartPoint == null || StartPoint.equals("1") || StartPoint.equals("2") || StartPoint.equals("3") || StartPoint.equals("4") || StartPoint.equals("5") || StartPoint.equals("6") || StartPoint.equals("7") || StartPoint.equals("8")); else throw new IllegalArgumentException ("StartPoint Invalid value - " + StartPoint + " - Reference_ID=248 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8"); set_Value (COLUMNNAME_StartPoint, StartPoint); } /** Get Start Point. diff --git a/base/src/org/compiere/model/X_AD_Column.java b/base/src/org/compiere/model/X_AD_Column.java index c42a0b5395..33f148f647 100644 --- a/base/src/org/compiere/model/X_AD_Column.java +++ b/base/src/org/compiere/model/X_AD_Column.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Column * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent { @@ -327,12 +327,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setCallout (String Callout) { - - if (Callout != null && Callout.length() > 255) - { - log.warning("Length > 255 - truncated"); - Callout = Callout.substring(0, 255); - } set_Value (COLUMNNAME_Callout, Callout); } @@ -352,12 +346,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent { if (ColumnName == null) throw new IllegalArgumentException ("ColumnName is mandatory."); - - if (ColumnName.length() > 40) - { - log.warning("Length > 40 - truncated"); - ColumnName = ColumnName.substring(0, 40); - } set_Value (COLUMNNAME_ColumnName, ColumnName); } @@ -383,12 +371,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setColumnSQL (String ColumnSQL) { - - if (ColumnSQL != null && ColumnSQL.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ColumnSQL = ColumnSQL.substring(0, 2000); - } set_Value (COLUMNNAME_ColumnSQL, ColumnSQL); } @@ -406,12 +388,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setDefaultValue (String DefaultValue) { - - if (DefaultValue != null && DefaultValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DefaultValue = DefaultValue.substring(0, 2000); - } set_Value (COLUMNNAME_DefaultValue, DefaultValue); } @@ -429,12 +405,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -454,12 +424,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -497,12 +461,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -520,12 +478,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setInfoFactoryClass (String InfoFactoryClass) { - - if (InfoFactoryClass != null && InfoFactoryClass.length() > 255) - { - log.warning("Length > 255 - truncated"); - InfoFactoryClass = InfoFactoryClass.substring(0, 255); - } set_Value (COLUMNNAME_InfoFactoryClass, InfoFactoryClass); } @@ -537,6 +489,30 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent return (String)get_Value(COLUMNNAME_InfoFactoryClass); } + /** Set IsAllowLogging. + @param IsAllowLogging + Determine if a column must be recorded into the change log + */ + public void setIsAllowLogging (boolean IsAllowLogging) + { + set_Value (COLUMNNAME_IsAllowLogging, Boolean.valueOf(IsAllowLogging)); + } + + /** Get IsAllowLogging. + @return Determine if a column must be recorded into the change log + */ + public boolean isAllowLogging () + { + Object oo = get_Value(COLUMNNAME_IsAllowLogging); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Always Updateable. @param IsAlwaysUpdateable The column is always updateable, even if the record is not active or processed @@ -598,13 +574,7 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public void setIsEncrypted (String IsEncrypted) { if (IsEncrypted == null) throw new IllegalArgumentException ("IsEncrypted is mandatory"); - if (IsEncrypted.equals("Y") || IsEncrypted.equals("N")); else throw new IllegalArgumentException ("IsEncrypted Invalid value - " + IsEncrypted + " - Reference_ID=354 - Y - N"); - if (IsEncrypted.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsEncrypted = IsEncrypted.substring(0, 1); - } - set_Value (COLUMNNAME_IsEncrypted, IsEncrypted); + if (IsEncrypted.equals("Y") || IsEncrypted.equals("N")); else throw new IllegalArgumentException ("IsEncrypted Invalid value - " + IsEncrypted + " - Reference_ID=354 - Y - N"); set_Value (COLUMNNAME_IsEncrypted, IsEncrypted); } /** Get Encrypted. @@ -741,12 +711,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setIsSyncDatabase (String IsSyncDatabase) { - - if (IsSyncDatabase != null && IsSyncDatabase.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsSyncDatabase = IsSyncDatabase.substring(0, 1); - } set_Value (COLUMNNAME_IsSyncDatabase, IsSyncDatabase); } @@ -810,12 +774,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent @param MandatoryLogic Mandatory Logic */ public void setMandatoryLogic (String MandatoryLogic) { - - if (MandatoryLogic != null && MandatoryLogic.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - MandatoryLogic = MandatoryLogic.substring(0, 2000); - } set_Value (COLUMNNAME_MandatoryLogic, MandatoryLogic); } @@ -834,12 +792,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -857,12 +809,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setReadOnlyLogic (String ReadOnlyLogic) { - - if (ReadOnlyLogic != null && ReadOnlyLogic.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ReadOnlyLogic = ReadOnlyLogic.substring(0, 2000); - } set_Value (COLUMNNAME_ReadOnlyLogic, ReadOnlyLogic); } @@ -894,41 +840,12 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent return ii.intValue(); } - /** Set Value Format. - @param VFormat - Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public void setVFormat (String VFormat) - { - - if (VFormat != null && VFormat.length() > 60) - { - log.warning("Length > 60 - truncated"); - VFormat = VFormat.substring(0, 60); - } - set_Value (COLUMNNAME_VFormat, VFormat); - } - - /** Get Value Format. - @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public String getVFormat () - { - return (String)get_Value(COLUMNNAME_VFormat); - } - /** Set Max. Value. @param ValueMax Maximum Value for a field */ public void setValueMax (String ValueMax) { - - if (ValueMax != null && ValueMax.length() > 20) - { - log.warning("Length > 20 - truncated"); - ValueMax = ValueMax.substring(0, 20); - } set_Value (COLUMNNAME_ValueMax, ValueMax); } @@ -946,12 +863,6 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent */ public void setValueMin (String ValueMin) { - - if (ValueMin != null && ValueMin.length() > 20) - { - log.warning("Length > 20 - truncated"); - ValueMin = ValueMin.substring(0, 20); - } set_Value (COLUMNNAME_ValueMin, ValueMin); } @@ -985,19 +896,20 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent return bd; } - /** Get IsAllowLogging . - * Determines, if a column must be recorded into the change log + /** Set Value Format. + @param VFormat + Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" */ - public boolean IsAllowLogging() { - Object oo = get_Value(COLUMNNAME_isAllowLogging); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; + public void setVFormat (String VFormat) + { + set_Value (COLUMNNAME_VFormat, VFormat); } -} - - \ No newline at end of file + + /** Get Value Format. + @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public String getVFormat () + { + return (String)get_Value(COLUMNNAME_VFormat); + } +} \ No newline at end of file diff --git a/base/src/org/compiere/model/X_AD_Column_Access.java b/base/src/org/compiere/model/X_AD_Column_Access.java index 3be9f5862e..ffa0b1a160 100644 --- a/base/src/org/compiere/model/X_AD_Column_Access.java +++ b/base/src/org/compiere/model/X_AD_Column_Access.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Column_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Column_Access extends PO implements I_AD_Column_Access, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_Desktop.java b/base/src/org/compiere/model/X_AD_Desktop.java index 16a92e8af3..7656f0cd81 100644 --- a/base/src/org/compiere/model/X_AD_Desktop.java +++ b/base/src/org/compiere/model/X_AD_Desktop.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Desktop * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Desktop extends PO implements I_AD_Desktop, I_Persistent { @@ -145,12 +145,6 @@ public class X_AD_Desktop extends PO implements I_AD_Desktop, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -168,12 +162,6 @@ public class X_AD_Desktop extends PO implements I_AD_Desktop, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -193,12 +181,6 @@ public class X_AD_Desktop extends PO implements I_AD_Desktop, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_DesktopWorkbench.java b/base/src/org/compiere/model/X_AD_DesktopWorkbench.java index fd4562b458..d5a33e23df 100644 --- a/base/src/org/compiere/model/X_AD_DesktopWorkbench.java +++ b/base/src/org/compiere/model/X_AD_DesktopWorkbench.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_DesktopWorkbench * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_DesktopWorkbench extends PO implements I_AD_DesktopWorkbench, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_DesktopWorkbench extends PO implements I_AD_DesktopWorkbench, super (ctx, AD_DesktopWorkbench_ID, trxName); /** if (AD_DesktopWorkbench_ID == 0) { - setAD_DesktopWorkbench_ID (0); setAD_Desktop_ID (0); + setAD_DesktopWorkbench_ID (0); setAD_Workbench_ID (0); setSeqNo (0); } */ @@ -75,25 +75,6 @@ public class X_AD_DesktopWorkbench extends PO implements I_AD_DesktopWorkbench, return sb.toString(); } - /** Set Desktop Workbench. - @param AD_DesktopWorkbench_ID Desktop Workbench */ - public void setAD_DesktopWorkbench_ID (int AD_DesktopWorkbench_ID) - { - if (AD_DesktopWorkbench_ID < 1) - throw new IllegalArgumentException ("AD_DesktopWorkbench_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_DesktopWorkbench_ID, Integer.valueOf(AD_DesktopWorkbench_ID)); - } - - /** Get Desktop Workbench. - @return Desktop Workbench */ - public int getAD_DesktopWorkbench_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_DesktopWorkbench_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_Desktop getAD_Desktop() throws Exception { Class clazz = MTable.getClass(I_AD_Desktop.Table_Name); @@ -132,6 +113,25 @@ public class X_AD_DesktopWorkbench extends PO implements I_AD_DesktopWorkbench, return ii.intValue(); } + /** Set Desktop Workbench. + @param AD_DesktopWorkbench_ID Desktop Workbench */ + public void setAD_DesktopWorkbench_ID (int AD_DesktopWorkbench_ID) + { + if (AD_DesktopWorkbench_ID < 1) + throw new IllegalArgumentException ("AD_DesktopWorkbench_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_DesktopWorkbench_ID, Integer.valueOf(AD_DesktopWorkbench_ID)); + } + + /** Get Desktop Workbench. + @return Desktop Workbench */ + public int getAD_DesktopWorkbench_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_DesktopWorkbench_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_Workbench getAD_Workbench() throws Exception { Class clazz = MTable.getClass(I_AD_Workbench.Table_Name); diff --git a/base/src/org/compiere/model/X_AD_Document_Action_Access.java b/base/src/org/compiere/model/X_AD_Document_Action_Access.java index c54a70fe89..03987bf9ed 100644 --- a/base/src/org/compiere/model/X_AD_Document_Action_Access.java +++ b/base/src/org/compiere/model/X_AD_Document_Action_Access.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Document_Action_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Document_Action_Access extends PO implements I_AD_Document_Action_Access, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_Element.java b/base/src/org/compiere/model/X_AD_Element.java index d94b85debf..3b25fd14c1 100644 --- a/base/src/org/compiere/model/X_AD_Element.java +++ b/base/src/org/compiere/model/X_AD_Element.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Element * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent { @@ -105,12 +105,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent { if (ColumnName == null) throw new IllegalArgumentException ("ColumnName is mandatory."); - - if (ColumnName.length() > 40) - { - log.warning("Length > 40 - truncated"); - ColumnName = ColumnName.substring(0, 40); - } set_Value (COLUMNNAME_ColumnName, ColumnName); } @@ -136,12 +130,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -161,12 +149,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -184,12 +166,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -209,12 +185,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -232,12 +202,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent */ public void setPO_Description (String PO_Description) { - - if (PO_Description != null && PO_Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - PO_Description = PO_Description.substring(0, 255); - } set_Value (COLUMNNAME_PO_Description, PO_Description); } @@ -255,12 +219,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent */ public void setPO_Help (String PO_Help) { - - if (PO_Help != null && PO_Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - PO_Help = PO_Help.substring(0, 2000); - } set_Value (COLUMNNAME_PO_Help, PO_Help); } @@ -278,12 +236,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent */ public void setPO_Name (String PO_Name) { - - if (PO_Name != null && PO_Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - PO_Name = PO_Name.substring(0, 60); - } set_Value (COLUMNNAME_PO_Name, PO_Name); } @@ -301,12 +253,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent */ public void setPO_PrintName (String PO_PrintName) { - - if (PO_PrintName != null && PO_PrintName.length() > 60) - { - log.warning("Length > 60 - truncated"); - PO_PrintName = PO_PrintName.substring(0, 60); - } set_Value (COLUMNNAME_PO_PrintName, PO_PrintName); } @@ -326,12 +272,6 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent { if (PrintName == null) throw new IllegalArgumentException ("PrintName is mandatory."); - - if (PrintName.length() > 60) - { - log.warning("Length > 60 - truncated"); - PrintName = PrintName.substring(0, 60); - } set_Value (COLUMNNAME_PrintName, PrintName); } diff --git a/base/src/org/compiere/model/X_AD_EntityType.java b/base/src/org/compiere/model/X_AD_EntityType.java index ad91e1d63e..5098de394d 100644 --- a/base/src/org/compiere/model/X_AD_EntityType.java +++ b/base/src/org/compiere/model/X_AD_EntityType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_EntityType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent { @@ -100,12 +100,6 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent */ public void setClasspath (String Classpath) { - - if (Classpath != null && Classpath.length() > 255) - { - log.warning("Length > 255 - truncated"); - Classpath = Classpath.substring(0, 255); - } set_Value (COLUMNNAME_Classpath, Classpath); } @@ -123,12 +117,6 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -148,12 +136,6 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent { if (EntityType == null) throw new IllegalArgumentException ("EntityType is mandatory."); - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_EntityType, EntityType); } @@ -171,12 +153,6 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -194,12 +170,6 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent */ public void setModelPackage (String ModelPackage) { - - if (ModelPackage != null && ModelPackage.length() > 255) - { - log.warning("Length > 255 - truncated"); - ModelPackage = ModelPackage.substring(0, 255); - } set_Value (COLUMNNAME_ModelPackage, ModelPackage); } @@ -219,12 +189,6 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -271,12 +235,6 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent */ public void setVersion (String Version) { - - if (Version != null && Version.length() > 20) - { - log.warning("Length > 20 - truncated"); - Version = Version.substring(0, 20); - } set_Value (COLUMNNAME_Version, Version); } diff --git a/base/src/org/compiere/model/X_AD_Error.java b/base/src/org/compiere/model/X_AD_Error.java index b96a34074e..f75a688998 100644 --- a/base/src/org/compiere/model/X_AD_Error.java +++ b/base/src/org/compiere/model/X_AD_Error.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Error * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Error extends PO implements I_AD_Error, I_Persistent { @@ -98,12 +98,6 @@ public class X_AD_Error extends PO implements I_AD_Error, I_Persistent */ public void setAD_Language (String AD_Language) { - - if (AD_Language != null && AD_Language.length() > 6) - { - log.warning("Length > 6 - truncated"); - AD_Language = AD_Language.substring(0, 6); - } set_Value (COLUMNNAME_AD_Language, AD_Language); } @@ -121,12 +115,6 @@ public class X_AD_Error extends PO implements I_AD_Error, I_Persistent */ public void setCode (String Code) { - - if (Code != null && Code.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Code = Code.substring(0, 2000); - } set_Value (COLUMNNAME_Code, Code); } @@ -146,12 +134,6 @@ public class X_AD_Error extends PO implements I_AD_Error, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_Field.java b/base/src/org/compiere/model/X_AD_Field.java index f9e7a34645..0757919ee1 100644 --- a/base/src/org/compiere/model/X_AD_Field.java +++ b/base/src/org/compiere/model/X_AD_Field.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Field * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent { @@ -320,12 +320,6 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent */ public void setDefaultValue (String DefaultValue) { - - if (DefaultValue != null && DefaultValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DefaultValue = DefaultValue.substring(0, 2000); - } set_Value (COLUMNNAME_DefaultValue, DefaultValue); } @@ -343,12 +337,6 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -386,12 +374,6 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent */ public void setDisplayLogic (String DisplayLogic) { - - if (DisplayLogic != null && DisplayLogic.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DisplayLogic = DisplayLogic.substring(0, 2000); - } set_Value (COLUMNNAME_DisplayLogic, DisplayLogic); } @@ -411,12 +393,6 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -434,12 +410,6 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -457,12 +427,6 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent */ public void setInfoFactoryClass (String InfoFactoryClass) { - - if (InfoFactoryClass != null && InfoFactoryClass.length() > 255) - { - log.warning("Length > 255 - truncated"); - InfoFactoryClass = InfoFactoryClass.substring(0, 255); - } set_Value (COLUMNNAME_InfoFactoryClass, InfoFactoryClass); } @@ -607,13 +571,7 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public void setIsMandatory (String IsMandatory) { - if (IsMandatory == null || IsMandatory.equals("Y") || IsMandatory.equals("N")); else throw new IllegalArgumentException ("IsMandatory Invalid value - " + IsMandatory + " - Reference_ID=319 - Y - N"); - if (IsMandatory != null && IsMandatory.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsMandatory = IsMandatory.substring(0, 1); - } - set_Value (COLUMNNAME_IsMandatory, IsMandatory); + if (IsMandatory == null || IsMandatory.equals("Y") || IsMandatory.equals("N")); else throw new IllegalArgumentException ("IsMandatory Invalid value - " + IsMandatory + " - Reference_ID=319 - Y - N"); set_Value (COLUMNNAME_IsMandatory, IsMandatory); } /** Get Mandatory. @@ -680,12 +638,6 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -722,13 +674,7 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public void setObscureType (String ObscureType) { - if (ObscureType == null || ObscureType.equals("904") || ObscureType.equals("944") || ObscureType.equals("A44") || ObscureType.equals("A04")); else throw new IllegalArgumentException ("ObscureType Invalid value - " + ObscureType + " - Reference_ID=291 - 904 - 944 - A44 - A04"); - if (ObscureType != null && ObscureType.length() > 3) - { - log.warning("Length > 3 - truncated"); - ObscureType = ObscureType.substring(0, 3); - } - set_Value (COLUMNNAME_ObscureType, ObscureType); + if (ObscureType == null || ObscureType.equals("904") || ObscureType.equals("944") || ObscureType.equals("A44") || ObscureType.equals("A04")); else throw new IllegalArgumentException ("ObscureType Invalid value - " + ObscureType + " - Reference_ID=291 - 904 - 944 - A44 - A04"); set_Value (COLUMNNAME_ObscureType, ObscureType); } /** Get Obscure. diff --git a/base/src/org/compiere/model/X_AD_FieldGroup.java b/base/src/org/compiere/model/X_AD_FieldGroup.java index 09c2f09937..d75964fe81 100644 --- a/base/src/org/compiere/model/X_AD_FieldGroup.java +++ b/base/src/org/compiere/model/X_AD_FieldGroup.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_FieldGroup * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent { @@ -103,12 +103,6 @@ public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -133,13 +127,7 @@ public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent public void setFieldGroupType (String FieldGroupType) { - if (FieldGroupType == null || FieldGroupType.equals("T") || FieldGroupType.equals("L") || FieldGroupType.equals("C")); else throw new IllegalArgumentException ("FieldGroupType Invalid value - " + FieldGroupType + " - Reference_ID=53000 - T - L - C"); - if (FieldGroupType != null && FieldGroupType.length() > 10) - { - log.warning("Length > 10 - truncated"); - FieldGroupType = FieldGroupType.substring(0, 10); - } - set_Value (COLUMNNAME_FieldGroupType, FieldGroupType); + if (FieldGroupType == null || FieldGroupType.equals("T") || FieldGroupType.equals("L") || FieldGroupType.equals("C")); else throw new IllegalArgumentException ("FieldGroupType Invalid value - " + FieldGroupType + " - Reference_ID=53000 - T - L - C"); set_Value (COLUMNNAME_FieldGroupType, FieldGroupType); } /** Get Field Group Type. @@ -181,12 +169,6 @@ public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_Find.java b/base/src/org/compiere/model/X_AD_Find.java index c2a109973f..01c7beab97 100644 --- a/base/src/org/compiere/model/X_AD_Find.java +++ b/base/src/org/compiere/model/X_AD_Find.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Find * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Find extends PO implements I_AD_Find, I_Persistent { @@ -143,13 +143,7 @@ public class X_AD_Find extends PO implements I_AD_Find, I_Persistent public void setAndOr (String AndOr) { if (AndOr == null) throw new IllegalArgumentException ("AndOr is mandatory"); - if (AndOr.equals("A") || AndOr.equals("O")); else throw new IllegalArgumentException ("AndOr Invalid value - " + AndOr + " - Reference_ID=204 - A - O"); - if (AndOr.length() > 1) - { - log.warning("Length > 1 - truncated"); - AndOr = AndOr.substring(0, 1); - } - set_Value (COLUMNNAME_AndOr, AndOr); + if (AndOr.equals("A") || AndOr.equals("O")); else throw new IllegalArgumentException ("AndOr Invalid value - " + AndOr + " - Reference_ID=204 - A - O"); set_Value (COLUMNNAME_AndOr, AndOr); } /** Get And/Or. @@ -206,13 +200,7 @@ public class X_AD_Find extends PO implements I_AD_Find, I_Persistent public void setOperation (String Operation) { if (Operation == null) throw new IllegalArgumentException ("Operation is mandatory"); - if (Operation.equals("==") || Operation.equals(">=") || Operation.equals(">>") || Operation.equals("<<") || Operation.equals("~~") || Operation.equals("<=") || Operation.equals("AB") || Operation.equals("SQ") || Operation.equals("!=")); else throw new IllegalArgumentException ("Operation Invalid value - " + Operation + " - Reference_ID=205 - == - >= - >> - << - ~~ - <= - AB - SQ - !="); - if (Operation.length() > 2) - { - log.warning("Length > 2 - truncated"); - Operation = Operation.substring(0, 2); - } - set_Value (COLUMNNAME_Operation, Operation); + if (Operation.equals("==") || Operation.equals(">=") || Operation.equals(">>") || Operation.equals("<<") || Operation.equals("~~") || Operation.equals("<=") || Operation.equals("AB") || Operation.equals("SQ") || Operation.equals("!=")); else throw new IllegalArgumentException ("Operation Invalid value - " + Operation + " - Reference_ID=205 - == - >= - >> - << - ~~ - <= - AB - SQ - !="); set_Value (COLUMNNAME_Operation, Operation); } /** Get Operation. @@ -231,12 +219,6 @@ public class X_AD_Find extends PO implements I_AD_Find, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -254,12 +236,6 @@ public class X_AD_Find extends PO implements I_AD_Find, I_Persistent */ public void setValue2 (String Value2) { - - if (Value2 != null && Value2.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value2 = Value2.substring(0, 40); - } set_Value (COLUMNNAME_Value2, Value2); } diff --git a/base/src/org/compiere/model/X_AD_Form.java b/base/src/org/compiere/model/X_AD_Form.java index bec09ad4d1..0126f33e1a 100644 --- a/base/src/org/compiere/model/X_AD_Form.java +++ b/base/src/org/compiere/model/X_AD_Form.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Form * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent { @@ -38,8 +38,8 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent super (ctx, AD_Form_ID, trxName); /** if (AD_Form_ID == 0) { - setAD_Form_ID (0); setAccessLevel (null); + setAD_Form_ID (0); setEntityType (null); // U setIsBetaFunctionality (false); @@ -75,6 +75,38 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent return sb.toString(); } + /** AccessLevel AD_Reference_ID=5 */ + public static final int ACCESSLEVEL_AD_Reference_ID=5; + /** Organization = 1 */ + public static final String ACCESSLEVEL_Organization = "1"; + /** Client+Organization = 3 */ + public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; + /** System only = 4 */ + public static final String ACCESSLEVEL_SystemOnly = "4"; + /** All = 7 */ + public static final String ACCESSLEVEL_All = "7"; + /** System+Client = 6 */ + public static final String ACCESSLEVEL_SystemPlusClient = "6"; + /** Client only = 2 */ + public static final String ACCESSLEVEL_ClientOnly = "2"; + /** Set Data Access Level. + @param AccessLevel + Access Level required + */ + public void setAccessLevel (String AccessLevel) + { + if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); + if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); set_Value (COLUMNNAME_AccessLevel, AccessLevel); + } + + /** Get Data Access Level. + @return Access Level required + */ + public String getAccessLevel () + { + return (String)get_Value(COLUMNNAME_AccessLevel); + } + /** Set Special Form. @param AD_Form_ID Special Form @@ -97,56 +129,12 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent return ii.intValue(); } - /** AccessLevel AD_Reference_ID=5 */ - public static final int ACCESSLEVEL_AD_Reference_ID=5; - /** Organization = 1 */ - public static final String ACCESSLEVEL_Organization = "1"; - /** Client+Organization = 3 */ - public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; - /** System only = 4 */ - public static final String ACCESSLEVEL_SystemOnly = "4"; - /** All = 7 */ - public static final String ACCESSLEVEL_All = "7"; - /** System+Client = 6 */ - public static final String ACCESSLEVEL_SystemPlusClient = "6"; - /** Client only = 2 */ - public static final String ACCESSLEVEL_ClientOnly = "2"; - /** Set Data Access Level. - @param AccessLevel - Access Level required - */ - public void setAccessLevel (String AccessLevel) - { - if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); - if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); - if (AccessLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccessLevel = AccessLevel.substring(0, 1); - } - set_Value (COLUMNNAME_AccessLevel, AccessLevel); - } - - /** Get Data Access Level. - @return Access Level required - */ - public String getAccessLevel () - { - return (String)get_Value(COLUMNNAME_AccessLevel); - } - /** Set Classname. @param Classname Java Classname */ public void setClassname (String Classname) { - - if (Classname != null && Classname.length() > 60) - { - log.warning("Length > 60 - truncated"); - Classname = Classname.substring(0, 60); - } set_Value (COLUMNNAME_Classname, Classname); } @@ -164,12 +152,6 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -189,12 +171,6 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -212,12 +188,6 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -259,12 +229,6 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent */ public void setJSPURL (String JSPURL) { - - if (JSPURL != null && JSPURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - JSPURL = JSPURL.substring(0, 120); - } set_Value (COLUMNNAME_JSPURL, JSPURL); } @@ -284,12 +248,6 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_Form_Access.java b/base/src/org/compiere/model/X_AD_Form_Access.java index 925712c689..c72917ef74 100644 --- a/base/src/org/compiere/model/X_AD_Form_Access.java +++ b/base/src/org/compiere/model/X_AD_Form_Access.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Form_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Form_Access extends PO implements I_AD_Form_Access, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_Image.java b/base/src/org/compiere/model/X_AD_Image.java index 690e0302d2..80bede8c42 100644 --- a/base/src/org/compiere/model/X_AD_Image.java +++ b/base/src/org/compiere/model/X_AD_Image.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Image * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Image extends PO implements I_AD_Image, I_Persistent { @@ -118,12 +118,6 @@ public class X_AD_Image extends PO implements I_AD_Image, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -143,12 +137,6 @@ public class X_AD_Image extends PO implements I_AD_Image, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -166,12 +154,6 @@ public class X_AD_Image extends PO implements I_AD_Image, I_Persistent */ public void setImageURL (String ImageURL) { - - if (ImageURL != null && ImageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - ImageURL = ImageURL.substring(0, 120); - } set_Value (COLUMNNAME_ImageURL, ImageURL); } @@ -191,12 +173,6 @@ public class X_AD_Image extends PO implements I_AD_Image, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_ImpFormat.java b/base/src/org/compiere/model/X_AD_ImpFormat.java index dcc4beaedb..93d3171f95 100644 --- a/base/src/org/compiere/model/X_AD_ImpFormat.java +++ b/base/src/org/compiere/model/X_AD_ImpFormat.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_ImpFormat * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent { @@ -139,12 +139,6 @@ public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -173,13 +167,7 @@ public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent public void setFormatType (String FormatType) { if (FormatType == null) throw new IllegalArgumentException ("FormatType is mandatory"); - if (FormatType.equals("F") || FormatType.equals("C") || FormatType.equals("T") || FormatType.equals("X")); else throw new IllegalArgumentException ("FormatType Invalid value - " + FormatType + " - Reference_ID=209 - F - C - T - X"); - if (FormatType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FormatType = FormatType.substring(0, 1); - } - set_Value (COLUMNNAME_FormatType, FormatType); + if (FormatType.equals("F") || FormatType.equals("C") || FormatType.equals("T") || FormatType.equals("X")); else throw new IllegalArgumentException ("FormatType Invalid value - " + FormatType + " - Reference_ID=209 - F - C - T - X"); set_Value (COLUMNNAME_FormatType, FormatType); } /** Get Format. @@ -198,12 +186,6 @@ public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_ImpFormat_Row.java b/base/src/org/compiere/model/X_AD_ImpFormat_Row.java index c695e86059..a8dd630283 100644 --- a/base/src/org/compiere/model/X_AD_ImpFormat_Row.java +++ b/base/src/org/compiere/model/X_AD_ImpFormat_Row.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_ImpFormat_Row * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Persistent { @@ -179,12 +179,6 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers */ public void setCallout (String Callout) { - - if (Callout != null && Callout.length() > 60) - { - log.warning("Length > 60 - truncated"); - Callout = Callout.substring(0, 60); - } set_Value (COLUMNNAME_Callout, Callout); } @@ -202,12 +196,6 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers */ public void setConstantValue (String ConstantValue) { - - if (ConstantValue != null && ConstantValue.length() > 60) - { - log.warning("Length > 60 - truncated"); - ConstantValue = ConstantValue.substring(0, 60); - } set_Value (COLUMNNAME_ConstantValue, ConstantValue); } @@ -225,12 +213,6 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers */ public void setDataFormat (String DataFormat) { - - if (DataFormat != null && DataFormat.length() > 20) - { - log.warning("Length > 20 - truncated"); - DataFormat = DataFormat.substring(0, 20); - } set_Value (COLUMNNAME_DataFormat, DataFormat); } @@ -259,13 +241,7 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers public void setDataType (String DataType) { if (DataType == null) throw new IllegalArgumentException ("DataType is mandatory"); - if (DataType.equals("S") || DataType.equals("N") || DataType.equals("D") || DataType.equals("C")); else throw new IllegalArgumentException ("DataType Invalid value - " + DataType + " - Reference_ID=210 - S - N - D - C"); - if (DataType.length() > 1) - { - log.warning("Length > 1 - truncated"); - DataType = DataType.substring(0, 1); - } - set_Value (COLUMNNAME_DataType, DataType); + if (DataType.equals("S") || DataType.equals("N") || DataType.equals("D") || DataType.equals("C")); else throw new IllegalArgumentException ("DataType Invalid value - " + DataType + " - Reference_ID=210 - S - N - D - C"); set_Value (COLUMNNAME_DataType, DataType); } /** Get Data Type. @@ -284,12 +260,6 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers { if (DecimalPoint == null) throw new IllegalArgumentException ("DecimalPoint is mandatory."); - - if (DecimalPoint.length() > 1) - { - log.warning("Length > 1 - truncated"); - DecimalPoint = DecimalPoint.substring(0, 1); - } set_Value (COLUMNNAME_DecimalPoint, DecimalPoint); } @@ -350,12 +320,6 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -381,12 +345,6 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers */ public void setScript (String Script) { - - if (Script != null && Script.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Script = Script.substring(0, 2000); - } set_Value (COLUMNNAME_Script, Script); } diff --git a/base/src/org/compiere/model/X_AD_InfoColumn.java b/base/src/org/compiere/model/X_AD_InfoColumn.java index 0b2876c55e..837cb3b422 100644 --- a/base/src/org/compiere/model/X_AD_InfoColumn.java +++ b/base/src/org/compiere/model/X_AD_InfoColumn.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_InfoColumn * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent { @@ -210,12 +210,6 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -235,12 +229,6 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -258,12 +246,6 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -331,12 +313,6 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -364,12 +340,6 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent { if (SelectClause == null) throw new IllegalArgumentException ("SelectClause is mandatory."); - - if (SelectClause.length() > 255) - { - log.warning("Length > 255 - truncated"); - SelectClause = SelectClause.substring(0, 255); - } set_Value (COLUMNNAME_SelectClause, SelectClause); } diff --git a/base/src/org/compiere/model/X_AD_InfoWindow.java b/base/src/org/compiere/model/X_AD_InfoWindow.java index eb83e84782..42352c230c 100644 --- a/base/src/org/compiere/model/X_AD_InfoWindow.java +++ b/base/src/org/compiere/model/X_AD_InfoWindow.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_InfoWindow * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent { @@ -143,12 +143,6 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -168,12 +162,6 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -193,12 +181,6 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent { if (FromClause == null) throw new IllegalArgumentException ("FromClause is mandatory."); - - if (FromClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - FromClause = FromClause.substring(0, 2000); - } set_Value (COLUMNNAME_FromClause, FromClause); } @@ -216,12 +198,6 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -241,12 +217,6 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -272,12 +242,6 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent */ public void setOtherClause (String OtherClause) { - - if (OtherClause != null && OtherClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OtherClause = OtherClause.substring(0, 2000); - } set_Value (COLUMNNAME_OtherClause, OtherClause); } diff --git a/base/src/org/compiere/model/X_AD_Issue.java b/base/src/org/compiere/model/X_AD_Issue.java index 96191740fc..aee8e9ff34 100644 --- a/base/src/org/compiere/model/X_AD_Issue.java +++ b/base/src/org/compiere/model/X_AD_Issue.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Issue * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent { @@ -85,6 +85,45 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent return sb.toString(); } + public I_A_Asset getA_Asset() throws Exception + { + Class clazz = MTable.getClass(I_A_Asset.Table_Name); + I_A_Asset result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_A_Asset)constructor.newInstance(new Object[] {getCtx(), new Integer(getA_Asset_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Asset. + @param A_Asset_ID + Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID) + { + if (A_Asset_ID < 1) + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); + else + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + } + + /** Get Asset. + @return Asset used internally or by customers + */ + public int getA_Asset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_Form getAD_Form() throws Exception { Class clazz = MTable.getClass(I_AD_Form.Table_Name); @@ -224,57 +263,12 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent return ii.intValue(); } - public I_A_Asset getA_Asset() throws Exception - { - Class clazz = MTable.getClass(I_A_Asset.Table_Name); - I_A_Asset result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_A_Asset)constructor.newInstance(new Object[] {getCtx(), new Integer(getA_Asset_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Asset. - @param A_Asset_ID - Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID) - { - if (A_Asset_ID < 1) - set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); - else - set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); - } - - /** Get Asset. - @return Asset used internally or by customers - */ - public int getA_Asset_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Comments. @param Comments Comments or additional information */ public void setComments (String Comments) { - - if (Comments != null && Comments.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Comments = Comments.substring(0, 2000); - } set_Value (COLUMNNAME_Comments, Comments); } @@ -286,41 +280,12 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent return (String)get_Value(COLUMNNAME_Comments); } - /** Set DB Address. - @param DBAddress - JDBC URL of the database server - */ - public void setDBAddress (String DBAddress) - { - - if (DBAddress != null && DBAddress.length() > 255) - { - log.warning("Length > 255 - truncated"); - DBAddress = DBAddress.substring(0, 255); - } - set_ValueNoCheck (COLUMNNAME_DBAddress, DBAddress); - } - - /** Get DB Address. - @return JDBC URL of the database server - */ - public String getDBAddress () - { - return (String)get_Value(COLUMNNAME_DBAddress); - } - /** Set Database. @param DatabaseInfo Database Information */ public void setDatabaseInfo (String DatabaseInfo) { - - if (DatabaseInfo != null && DatabaseInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - DatabaseInfo = DatabaseInfo.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_DatabaseInfo, DatabaseInfo); } @@ -332,18 +297,29 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent return (String)get_Value(COLUMNNAME_DatabaseInfo); } + /** Set DB Address. + @param DBAddress + JDBC URL of the database server + */ + public void setDBAddress (String DBAddress) + { + set_ValueNoCheck (COLUMNNAME_DBAddress, DBAddress); + } + + /** Get DB Address. + @return JDBC URL of the database server + */ + public String getDBAddress () + { + return (String)get_Value(COLUMNNAME_DBAddress); + } + /** Set Error Trace. @param ErrorTrace System Error Trace */ public void setErrorTrace (String ErrorTrace) { - - if (ErrorTrace != null && ErrorTrace.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ErrorTrace = ErrorTrace.substring(0, 2000); - } set_Value (COLUMNNAME_ErrorTrace, ErrorTrace); } @@ -368,13 +344,7 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent public void setIsReproducible (String IsReproducible) { - if (IsReproducible == null || IsReproducible.equals("Y") || IsReproducible.equals("N")); else throw new IllegalArgumentException ("IsReproducible Invalid value - " + IsReproducible + " - Reference_ID=319 - Y - N"); - if (IsReproducible != null && IsReproducible.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsReproducible = IsReproducible.substring(0, 1); - } - set_Value (COLUMNNAME_IsReproducible, IsReproducible); + if (IsReproducible == null || IsReproducible.equals("Y") || IsReproducible.equals("N")); else throw new IllegalArgumentException ("IsReproducible Invalid value - " + IsReproducible + " - Reference_ID=319 - Y - N"); set_Value (COLUMNNAME_IsReproducible, IsReproducible); } /** Get Reproducible. @@ -385,36 +355,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent return (String)get_Value(COLUMNNAME_IsReproducible); } - /** IsVanillaSystem AD_Reference_ID=319 */ - public static final int ISVANILLASYSTEM_AD_Reference_ID=319; - /** Yes = Y */ - public static final String ISVANILLASYSTEM_Yes = "Y"; - /** No = N */ - public static final String ISVANILLASYSTEM_No = "N"; - /** Set Vanilla System. - @param IsVanillaSystem - The system was NOT compiled from Source - i.e. standard distribution - */ - public void setIsVanillaSystem (String IsVanillaSystem) - { - - if (IsVanillaSystem == null || IsVanillaSystem.equals("Y") || IsVanillaSystem.equals("N")); else throw new IllegalArgumentException ("IsVanillaSystem Invalid value - " + IsVanillaSystem + " - Reference_ID=319 - Y - N"); - if (IsVanillaSystem != null && IsVanillaSystem.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsVanillaSystem = IsVanillaSystem.substring(0, 1); - } - set_Value (COLUMNNAME_IsVanillaSystem, IsVanillaSystem); - } - - /** Get Vanilla System. - @return The system was NOT compiled from Source - i.e. standard distribution - */ - public String getIsVanillaSystem () - { - return (String)get_Value(COLUMNNAME_IsVanillaSystem); - } - /** IssueSource AD_Reference_ID=104 */ public static final int ISSUESOURCE_AD_Reference_ID=104; /** Window = W */ @@ -438,13 +378,7 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent public void setIssueSource (String IssueSource) { - if (IssueSource == null || IssueSource.equals("W") || IssueSource.equals("T") || IssueSource.equals("F") || IssueSource.equals("P") || IssueSource.equals("R") || IssueSource.equals("X") || IssueSource.equals("B")); else throw new IllegalArgumentException ("IssueSource Invalid value - " + IssueSource + " - Reference_ID=104 - W - T - F - P - R - X - B"); - if (IssueSource != null && IssueSource.length() > 1) - { - log.warning("Length > 1 - truncated"); - IssueSource = IssueSource.substring(0, 1); - } - set_Value (COLUMNNAME_IssueSource, IssueSource); + if (IssueSource == null || IssueSource.equals("W") || IssueSource.equals("T") || IssueSource.equals("F") || IssueSource.equals("P") || IssueSource.equals("R") || IssueSource.equals("X") || IssueSource.equals("B")); else throw new IllegalArgumentException ("IssueSource Invalid value - " + IssueSource + " - Reference_ID=104 - W - T - F - P - R - X - B"); set_Value (COLUMNNAME_IssueSource, IssueSource); } /** Get Source. @@ -463,12 +397,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent { if (IssueSummary == null) throw new IllegalArgumentException ("IssueSummary is mandatory."); - - if (IssueSummary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - IssueSummary = IssueSummary.substring(0, 2000); - } set_Value (COLUMNNAME_IssueSummary, IssueSummary); } @@ -488,18 +416,36 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent return new KeyNamePair(get_ID(), getIssueSummary()); } + /** IsVanillaSystem AD_Reference_ID=319 */ + public static final int ISVANILLASYSTEM_AD_Reference_ID=319; + /** Yes = Y */ + public static final String ISVANILLASYSTEM_Yes = "Y"; + /** No = N */ + public static final String ISVANILLASYSTEM_No = "N"; + /** Set Vanilla System. + @param IsVanillaSystem + The system was NOT compiled from Source - i.e. standard distribution + */ + public void setIsVanillaSystem (String IsVanillaSystem) + { + + if (IsVanillaSystem == null || IsVanillaSystem.equals("Y") || IsVanillaSystem.equals("N")); else throw new IllegalArgumentException ("IsVanillaSystem Invalid value - " + IsVanillaSystem + " - Reference_ID=319 - Y - N"); set_Value (COLUMNNAME_IsVanillaSystem, IsVanillaSystem); + } + + /** Get Vanilla System. + @return The system was NOT compiled from Source - i.e. standard distribution + */ + public String getIsVanillaSystem () + { + return (String)get_Value(COLUMNNAME_IsVanillaSystem); + } + /** Set Java Info. @param JavaInfo Java Version Info */ public void setJavaInfo (String JavaInfo) { - - if (JavaInfo != null && JavaInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - JavaInfo = JavaInfo.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_JavaInfo, JavaInfo); } @@ -537,12 +483,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent */ public void setLocal_Host (String Local_Host) { - - if (Local_Host != null && Local_Host.length() > 120) - { - log.warning("Length > 120 - truncated"); - Local_Host = Local_Host.substring(0, 120); - } set_ValueNoCheck (COLUMNNAME_Local_Host, Local_Host); } @@ -560,12 +500,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent */ public void setLoggerName (String LoggerName) { - - if (LoggerName != null && LoggerName.length() > 60) - { - log.warning("Length > 60 - truncated"); - LoggerName = LoggerName.substring(0, 60); - } set_Value (COLUMNNAME_LoggerName, LoggerName); } @@ -585,12 +519,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_ValueNoCheck (COLUMNNAME_Name, Name); } @@ -608,12 +536,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent */ public void setOperatingSystemInfo (String OperatingSystemInfo) { - - if (OperatingSystemInfo != null && OperatingSystemInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - OperatingSystemInfo = OperatingSystemInfo.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_OperatingSystemInfo, OperatingSystemInfo); } @@ -676,12 +598,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent */ public void setProfileInfo (String ProfileInfo) { - - if (ProfileInfo != null && ProfileInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - ProfileInfo = ProfileInfo.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_ProfileInfo, ProfileInfo); } @@ -693,6 +609,133 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent return (String)get_Value(COLUMNNAME_ProfileInfo); } + /** Set Record ID. + @param Record_ID + Direct internal record ID + */ + public void setRecord_ID (int Record_ID) + { + if (Record_ID < 1) + set_ValueNoCheck (COLUMNNAME_Record_ID, null); + else + set_ValueNoCheck (COLUMNNAME_Record_ID, Integer.valueOf(Record_ID)); + } + + /** Get Record ID. + @return Direct internal record ID + */ + public int getRecord_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Record_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Release No. + @param ReleaseNo + Internal Release Number + */ + public void setReleaseNo (String ReleaseNo) + { + if (ReleaseNo == null) + throw new IllegalArgumentException ("ReleaseNo is mandatory."); + set_ValueNoCheck (COLUMNNAME_ReleaseNo, ReleaseNo); + } + + /** Get Release No. + @return Internal Release Number + */ + public String getReleaseNo () + { + return (String)get_Value(COLUMNNAME_ReleaseNo); + } + + /** Set Release Tag. + @param ReleaseTag + Release Tag + */ + public void setReleaseTag (String ReleaseTag) + { + set_Value (COLUMNNAME_ReleaseTag, ReleaseTag); + } + + /** Get Release Tag. + @return Release Tag + */ + public String getReleaseTag () + { + return (String)get_Value(COLUMNNAME_ReleaseTag); + } + + /** Set Remote Addr. + @param Remote_Addr + Remote Address + */ + public void setRemote_Addr (String Remote_Addr) + { + set_ValueNoCheck (COLUMNNAME_Remote_Addr, Remote_Addr); + } + + /** Get Remote Addr. + @return Remote Address + */ + public String getRemote_Addr () + { + return (String)get_Value(COLUMNNAME_Remote_Addr); + } + + /** Set Remote Host. + @param Remote_Host + Remote host Info + */ + public void setRemote_Host (String Remote_Host) + { + set_ValueNoCheck (COLUMNNAME_Remote_Host, Remote_Host); + } + + /** Get Remote Host. + @return Remote host Info + */ + public String getRemote_Host () + { + return (String)get_Value(COLUMNNAME_Remote_Host); + } + + /** Set Request Document No. + @param RequestDocumentNo + Adempiere Request Document No + */ + public void setRequestDocumentNo (String RequestDocumentNo) + { + set_ValueNoCheck (COLUMNNAME_RequestDocumentNo, RequestDocumentNo); + } + + /** Get Request Document No. + @return Adempiere Request Document No + */ + public String getRequestDocumentNo () + { + return (String)get_Value(COLUMNNAME_RequestDocumentNo); + } + + /** Set Response Text. + @param ResponseText + Request Response Text + */ + public void setResponseText (String ResponseText) + { + set_ValueNoCheck (COLUMNNAME_ResponseText, ResponseText); + } + + /** Get Response Text. + @return Request Response Text + */ + public String getResponseText () + { + return (String)get_Value(COLUMNNAME_ResponseText); + } + public I_R_IssueKnown getR_IssueKnown() throws Exception { Class clazz = MTable.getClass(I_R_IssueKnown.Table_Name); @@ -888,181 +931,12 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent return ii.intValue(); } - /** Set Record ID. - @param Record_ID - Direct internal record ID - */ - public void setRecord_ID (int Record_ID) - { - if (Record_ID < 1) - set_ValueNoCheck (COLUMNNAME_Record_ID, null); - else - set_ValueNoCheck (COLUMNNAME_Record_ID, Integer.valueOf(Record_ID)); - } - - /** Get Record ID. - @return Direct internal record ID - */ - public int getRecord_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Record_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Release No. - @param ReleaseNo - Internal Release Number - */ - public void setReleaseNo (String ReleaseNo) - { - if (ReleaseNo == null) - throw new IllegalArgumentException ("ReleaseNo is mandatory."); - - if (ReleaseNo.length() > 4) - { - log.warning("Length > 4 - truncated"); - ReleaseNo = ReleaseNo.substring(0, 4); - } - set_ValueNoCheck (COLUMNNAME_ReleaseNo, ReleaseNo); - } - - /** Get Release No. - @return Internal Release Number - */ - public String getReleaseNo () - { - return (String)get_Value(COLUMNNAME_ReleaseNo); - } - - /** Set Release Tag. - @param ReleaseTag - Release Tag - */ - public void setReleaseTag (String ReleaseTag) - { - - if (ReleaseTag != null && ReleaseTag.length() > 60) - { - log.warning("Length > 60 - truncated"); - ReleaseTag = ReleaseTag.substring(0, 60); - } - set_Value (COLUMNNAME_ReleaseTag, ReleaseTag); - } - - /** Get Release Tag. - @return Release Tag - */ - public String getReleaseTag () - { - return (String)get_Value(COLUMNNAME_ReleaseTag); - } - - /** Set Remote Addr. - @param Remote_Addr - Remote Address - */ - public void setRemote_Addr (String Remote_Addr) - { - - if (Remote_Addr != null && Remote_Addr.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Addr = Remote_Addr.substring(0, 60); - } - set_ValueNoCheck (COLUMNNAME_Remote_Addr, Remote_Addr); - } - - /** Get Remote Addr. - @return Remote Address - */ - public String getRemote_Addr () - { - return (String)get_Value(COLUMNNAME_Remote_Addr); - } - - /** Set Remote Host. - @param Remote_Host - Remote host Info - */ - public void setRemote_Host (String Remote_Host) - { - - if (Remote_Host != null && Remote_Host.length() > 120) - { - log.warning("Length > 120 - truncated"); - Remote_Host = Remote_Host.substring(0, 120); - } - set_ValueNoCheck (COLUMNNAME_Remote_Host, Remote_Host); - } - - /** Get Remote Host. - @return Remote host Info - */ - public String getRemote_Host () - { - return (String)get_Value(COLUMNNAME_Remote_Host); - } - - /** Set Request Document No. - @param RequestDocumentNo - Adempiere Request Document No - */ - public void setRequestDocumentNo (String RequestDocumentNo) - { - - if (RequestDocumentNo != null && RequestDocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - RequestDocumentNo = RequestDocumentNo.substring(0, 30); - } - set_ValueNoCheck (COLUMNNAME_RequestDocumentNo, RequestDocumentNo); - } - - /** Get Request Document No. - @return Adempiere Request Document No - */ - public String getRequestDocumentNo () - { - return (String)get_Value(COLUMNNAME_RequestDocumentNo); - } - - /** Set Response Text. - @param ResponseText - Request Response Text - */ - public void setResponseText (String ResponseText) - { - - if (ResponseText != null && ResponseText.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ResponseText = ResponseText.substring(0, 2000); - } - set_ValueNoCheck (COLUMNNAME_ResponseText, ResponseText); - } - - /** Get Response Text. - @return Request Response Text - */ - public String getResponseText () - { - return (String)get_Value(COLUMNNAME_ResponseText); - } - /** Set Source Class. @param SourceClassName Source Class Name */ public void setSourceClassName (String SourceClassName) { - - if (SourceClassName != null && SourceClassName.length() > 60) - { - log.warning("Length > 60 - truncated"); - SourceClassName = SourceClassName.substring(0, 60); - } set_Value (COLUMNNAME_SourceClassName, SourceClassName); } @@ -1080,12 +954,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent */ public void setSourceMethodName (String SourceMethodName) { - - if (SourceMethodName != null && SourceMethodName.length() > 60) - { - log.warning("Length > 60 - truncated"); - SourceMethodName = SourceMethodName.substring(0, 60); - } set_Value (COLUMNNAME_SourceMethodName, SourceMethodName); } @@ -1103,12 +971,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent */ public void setStackTrace (String StackTrace) { - - if (StackTrace != null && StackTrace.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - StackTrace = StackTrace.substring(0, 2000); - } set_Value (COLUMNNAME_StackTrace, StackTrace); } @@ -1126,12 +988,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent */ public void setStatisticsInfo (String StatisticsInfo) { - - if (StatisticsInfo != null && StatisticsInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - StatisticsInfo = StatisticsInfo.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_StatisticsInfo, StatisticsInfo); } @@ -1149,12 +1005,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent */ public void setSupportEMail (String SupportEMail) { - - if (SupportEMail != null && SupportEMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - SupportEMail = SupportEMail.substring(0, 60); - } set_Value (COLUMNNAME_SupportEMail, SupportEMail); } @@ -1181,13 +1031,7 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent public void setSystemStatus (String SystemStatus) { if (SystemStatus == null) throw new IllegalArgumentException ("SystemStatus is mandatory"); - if (SystemStatus.equals("E") || SystemStatus.equals("I") || SystemStatus.equals("P")); else throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P"); - if (SystemStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - SystemStatus = SystemStatus.substring(0, 1); - } - set_Value (COLUMNNAME_SystemStatus, SystemStatus); + if (SystemStatus.equals("E") || SystemStatus.equals("I") || SystemStatus.equals("P")); else throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P"); set_Value (COLUMNNAME_SystemStatus, SystemStatus); } /** Get System Status. @@ -1206,12 +1050,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent { if (UserName == null) throw new IllegalArgumentException ("UserName is mandatory."); - - if (UserName.length() > 60) - { - log.warning("Length > 60 - truncated"); - UserName = UserName.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_UserName, UserName); } @@ -1231,12 +1069,6 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent { if (Version == null) throw new IllegalArgumentException ("Version is mandatory."); - - if (Version.length() > 40) - { - log.warning("Length > 40 - truncated"); - Version = Version.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_Version, Version); } diff --git a/base/src/org/compiere/model/X_AD_LabelPrinter.java b/base/src/org/compiere/model/X_AD_LabelPrinter.java index 994d877c5d..e1f5e0ad61 100644 --- a/base/src/org/compiere/model/X_AD_LabelPrinter.java +++ b/base/src/org/compiere/model/X_AD_LabelPrinter.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_LabelPrinter * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_LabelPrinter extends PO implements I_AD_LabelPrinter, I_Persistent { @@ -99,12 +99,6 @@ public class X_AD_LabelPrinter extends PO implements I_AD_LabelPrinter, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -124,12 +118,6 @@ public class X_AD_LabelPrinter extends PO implements I_AD_LabelPrinter, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_LabelPrinterFunction.java b/base/src/org/compiere/model/X_AD_LabelPrinterFunction.java index 8fe32d3eb1..a5ca4b0344 100644 --- a/base/src/org/compiere/model/X_AD_LabelPrinterFunction.java +++ b/base/src/org/compiere/model/X_AD_LabelPrinterFunction.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_LabelPrinterFunction * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFunction, I_Persistent { @@ -141,12 +141,6 @@ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFu */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -164,12 +158,6 @@ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFu */ public void setFunctionPrefix (String FunctionPrefix) { - - if (FunctionPrefix != null && FunctionPrefix.length() > 40) - { - log.warning("Length > 40 - truncated"); - FunctionPrefix = FunctionPrefix.substring(0, 40); - } set_Value (COLUMNNAME_FunctionPrefix, FunctionPrefix); } @@ -187,12 +175,6 @@ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFu */ public void setFunctionSuffix (String FunctionSuffix) { - - if (FunctionSuffix != null && FunctionSuffix.length() > 40) - { - log.warning("Length > 40 - truncated"); - FunctionSuffix = FunctionSuffix.substring(0, 40); - } set_Value (COLUMNNAME_FunctionSuffix, FunctionSuffix); } @@ -236,12 +218,6 @@ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFu { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -267,12 +243,6 @@ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFu */ public void setXYSeparator (String XYSeparator) { - - if (XYSeparator != null && XYSeparator.length() > 20) - { - log.warning("Length > 20 - truncated"); - XYSeparator = XYSeparator.substring(0, 20); - } set_Value (COLUMNNAME_XYSeparator, XYSeparator); } diff --git a/base/src/org/compiere/model/X_AD_Language.java b/base/src/org/compiere/model/X_AD_Language.java index 6891c0ff6a..847827ff2d 100644 --- a/base/src/org/compiere/model/X_AD_Language.java +++ b/base/src/org/compiere/model/X_AD_Language.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Language * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent { @@ -85,12 +85,6 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent { if (AD_Language == null) throw new IllegalArgumentException ("AD_Language is mandatory."); - - if (AD_Language.length() > 6) - { - log.warning("Length > 6 - truncated"); - AD_Language = AD_Language.substring(0, 6); - } set_ValueNoCheck (COLUMNNAME_AD_Language, AD_Language); } @@ -127,12 +121,6 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent */ public void setCountryCode (String CountryCode) { - - if (CountryCode != null && CountryCode.length() > 2) - { - log.warning("Length > 2 - truncated"); - CountryCode = CountryCode.substring(0, 2); - } set_Value (COLUMNNAME_CountryCode, CountryCode); } @@ -150,12 +138,6 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent */ public void setDatePattern (String DatePattern) { - - if (DatePattern != null && DatePattern.length() > 20) - { - log.warning("Length > 20 - truncated"); - DatePattern = DatePattern.substring(0, 20); - } set_Value (COLUMNNAME_DatePattern, DatePattern); } @@ -245,12 +227,6 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent */ public void setLanguageISO (String LanguageISO) { - - if (LanguageISO != null && LanguageISO.length() > 2) - { - log.warning("Length > 2 - truncated"); - LanguageISO = LanguageISO.substring(0, 2); - } set_Value (COLUMNNAME_LanguageISO, LanguageISO); } @@ -270,12 +246,6 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -322,12 +292,6 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent */ public void setTimePattern (String TimePattern) { - - if (TimePattern != null && TimePattern.length() > 20) - { - log.warning("Length > 20 - truncated"); - TimePattern = TimePattern.substring(0, 20); - } set_Value (COLUMNNAME_TimePattern, TimePattern); } diff --git a/base/src/org/compiere/model/X_AD_LdapAccess.java b/base/src/org/compiere/model/X_AD_LdapAccess.java index f07b9611a0..d861d77dba 100755 --- a/base/src/org/compiere/model/X_AD_LdapAccess.java +++ b/base/src/org/compiere/model/X_AD_LdapAccess.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_LdapAccess * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_LdapAccess extends PO implements I_AD_LdapAccess, I_Persistent { @@ -187,12 +187,6 @@ public class X_AD_LdapAccess extends PO implements I_AD_LdapAccess, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -273,12 +267,6 @@ public class X_AD_LdapAccess extends PO implements I_AD_LdapAccess, I_Persistent */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_ValueNoCheck (COLUMNNAME_Summary, Summary); } diff --git a/base/src/org/compiere/model/X_AD_LdapProcessor.java b/base/src/org/compiere/model/X_AD_LdapProcessor.java index b236ee3dc5..d33ce48107 100755 --- a/base/src/org/compiere/model/X_AD_LdapProcessor.java +++ b/base/src/org/compiere/model/X_AD_LdapProcessor.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_LdapProcessor * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_LdapProcessor extends PO implements I_AD_LdapProcessor, I_Persistent { @@ -139,12 +139,6 @@ public class X_AD_LdapProcessor extends PO implements I_AD_LdapProcessor, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -204,12 +198,6 @@ public class X_AD_LdapProcessor extends PO implements I_AD_LdapProcessor, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_LdapProcessorLog.java b/base/src/org/compiere/model/X_AD_LdapProcessorLog.java index 83a5082f6f..cb9e388d29 100755 --- a/base/src/org/compiere/model/X_AD_LdapProcessorLog.java +++ b/base/src/org/compiere/model/X_AD_LdapProcessorLog.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_LdapProcessorLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, I_Persistent { @@ -39,8 +39,8 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, super (ctx, AD_LdapProcessorLog_ID, trxName); /** if (AD_LdapProcessorLog_ID == 0) { - setAD_LdapProcessorLog_ID (0); setAD_LdapProcessor_ID (0); + setAD_LdapProcessorLog_ID (0); setIsError (false); } */ } @@ -73,28 +73,6 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, return sb.toString(); } - /** Set Ldap Processor Log. - @param AD_LdapProcessorLog_ID - LDAP Server Log - */ - public void setAD_LdapProcessorLog_ID (int AD_LdapProcessorLog_ID) - { - if (AD_LdapProcessorLog_ID < 1) - throw new IllegalArgumentException ("AD_LdapProcessorLog_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_LdapProcessorLog_ID, Integer.valueOf(AD_LdapProcessorLog_ID)); - } - - /** Get Ldap Processor Log. - @return LDAP Server Log - */ - public int getAD_LdapProcessorLog_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_LdapProcessorLog_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_LdapProcessor getAD_LdapProcessor() throws Exception { Class clazz = MTable.getClass(I_AD_LdapProcessor.Table_Name); @@ -133,6 +111,28 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, return ii.intValue(); } + /** Set Ldap Processor Log. + @param AD_LdapProcessorLog_ID + LDAP Server Log + */ + public void setAD_LdapProcessorLog_ID (int AD_LdapProcessorLog_ID) + { + if (AD_LdapProcessorLog_ID < 1) + throw new IllegalArgumentException ("AD_LdapProcessorLog_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_LdapProcessorLog_ID, Integer.valueOf(AD_LdapProcessorLog_ID)); + } + + /** Get Ldap Processor Log. + @return LDAP Server Log + */ + public int getAD_LdapProcessorLog_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_LdapProcessorLog_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set BinaryData. @param BinaryData Binary Data @@ -156,12 +156,6 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -203,12 +197,6 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, */ public void setReference (String Reference) { - - if (Reference != null && Reference.length() > 60) - { - log.warning("Length > 60 - truncated"); - Reference = Reference.substring(0, 60); - } set_Value (COLUMNNAME_Reference, Reference); } @@ -226,12 +214,6 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_Value (COLUMNNAME_Summary, Summary); } @@ -249,12 +231,6 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_AD_Menu.java b/base/src/org/compiere/model/X_AD_Menu.java index 5db4b01504..5705d8ecf8 100644 --- a/base/src/org/compiere/model/X_AD_Menu.java +++ b/base/src/org/compiere/model/X_AD_Menu.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Menu * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent { @@ -79,6 +79,40 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent return sb.toString(); } + /** Action AD_Reference_ID=104 */ + public static final int ACTION_AD_Reference_ID=104; + /** Window = W */ + public static final String ACTION_Window = "W"; + /** Task = T */ + public static final String ACTION_Task = "T"; + /** WorkFlow = F */ + public static final String ACTION_WorkFlow = "F"; + /** Process = P */ + public static final String ACTION_Process = "P"; + /** Report = R */ + public static final String ACTION_Report = "R"; + /** Form = X */ + public static final String ACTION_Form = "X"; + /** Workbench = B */ + public static final String ACTION_Workbench = "B"; + /** Set Action. + @param Action + Indicates the Action to be performed + */ + public void setAction (String Action) + { + + if (Action == null || Action.equals("W") || Action.equals("T") || Action.equals("F") || Action.equals("P") || Action.equals("R") || Action.equals("X") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=104 - W - T - F - P - R - X - B"); set_Value (COLUMNNAME_Action, Action); + } + + /** Get Action. + @return Indicates the Action to be performed + */ + public String getAction () + { + return (String)get_Value(COLUMNNAME_Action); + } + public I_AD_Form getAD_Form() throws Exception { Class clazz = MTable.getClass(I_AD_Form.Table_Name); @@ -335,58 +369,12 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent return ii.intValue(); } - /** Action AD_Reference_ID=104 */ - public static final int ACTION_AD_Reference_ID=104; - /** Window = W */ - public static final String ACTION_Window = "W"; - /** Task = T */ - public static final String ACTION_Task = "T"; - /** WorkFlow = F */ - public static final String ACTION_WorkFlow = "F"; - /** Process = P */ - public static final String ACTION_Process = "P"; - /** Report = R */ - public static final String ACTION_Report = "R"; - /** Form = X */ - public static final String ACTION_Form = "X"; - /** Workbench = B */ - public static final String ACTION_Workbench = "B"; - /** Set Action. - @param Action - Indicates the Action to be performed - */ - public void setAction (String Action) - { - - if (Action == null || Action.equals("W") || Action.equals("T") || Action.equals("F") || Action.equals("P") || Action.equals("R") || Action.equals("X") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=104 - W - T - F - P - R - X - B"); - if (Action != null && Action.length() > 1) - { - log.warning("Length > 1 - truncated"); - Action = Action.substring(0, 1); - } - set_Value (COLUMNNAME_Action, Action); - } - - /** Get Action. - @return Indicates the Action to be performed - */ - public String getAction () - { - return (String)get_Value(COLUMNNAME_Action); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -406,12 +394,6 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -503,12 +485,6 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_Message.java b/base/src/org/compiere/model/X_AD_Message.java index 87c8102d1a..7cd007d2cb 100644 --- a/base/src/org/compiere/model/X_AD_Message.java +++ b/base/src/org/compiere/model/X_AD_Message.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Message * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Message extends PO implements I_AD_Message, I_Persistent { @@ -106,12 +106,6 @@ public class X_AD_Message extends PO implements I_AD_Message, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -131,12 +125,6 @@ public class X_AD_Message extends PO implements I_AD_Message, I_Persistent { if (MsgText == null) throw new IllegalArgumentException ("MsgText is mandatory."); - - if (MsgText.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - MsgText = MsgText.substring(0, 2000); - } set_Value (COLUMNNAME_MsgText, MsgText); } @@ -154,12 +142,6 @@ public class X_AD_Message extends PO implements I_AD_Message, I_Persistent */ public void setMsgTip (String MsgTip) { - - if (MsgTip != null && MsgTip.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - MsgTip = MsgTip.substring(0, 2000); - } set_Value (COLUMNNAME_MsgTip, MsgTip); } @@ -186,13 +168,7 @@ public class X_AD_Message extends PO implements I_AD_Message, I_Persistent public void setMsgType (String MsgType) { if (MsgType == null) throw new IllegalArgumentException ("MsgType is mandatory"); - if (MsgType.equals("E") || MsgType.equals("I") || MsgType.equals("M")); else throw new IllegalArgumentException ("MsgType Invalid value - " + MsgType + " - Reference_ID=103 - E - I - M"); - if (MsgType.length() > 1) - { - log.warning("Length > 1 - truncated"); - MsgType = MsgType.substring(0, 1); - } - set_Value (COLUMNNAME_MsgType, MsgType); + if (MsgType.equals("E") || MsgType.equals("I") || MsgType.equals("M")); else throw new IllegalArgumentException ("MsgType Invalid value - " + MsgType + " - Reference_ID=103 - E - I - M"); set_Value (COLUMNNAME_MsgType, MsgType); } /** Get Message Type. @@ -211,12 +187,6 @@ public class X_AD_Message extends PO implements I_AD_Message, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_AD_MigrationScript.java b/base/src/org/compiere/model/X_AD_MigrationScript.java index da07cffd6f..95598da0e0 100644 --- a/base/src/org/compiere/model/X_AD_MigrationScript.java +++ b/base/src/org/compiere/model/X_AD_MigrationScript.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_MigrationScript * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_Persistent { @@ -40,11 +40,11 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ { setAD_MigrationScript_ID (0); setFileName (null); + setisApply (false); setName (null); setProjectName (null); setReleaseNo (null); setStatus (null); - setisApply (false); } */ } @@ -101,12 +101,6 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Description = Description.substring(0, 2000); - } set_Value (COLUMNNAME_Description, Description); } @@ -122,12 +116,6 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ @param DeveloperName Developer Name */ public void setDeveloperName (String DeveloperName) { - - if (DeveloperName != null && DeveloperName.length() > 60) - { - log.warning("Length > 60 - truncated"); - DeveloperName = DeveloperName.substring(0, 60); - } set_Value (COLUMNNAME_DeveloperName, DeveloperName); } @@ -146,12 +134,6 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ { if (FileName == null) throw new IllegalArgumentException ("FileName is mandatory."); - - if (FileName.length() > 500) - { - log.warning("Length > 500 - truncated"); - FileName = FileName.substring(0, 500); - } set_Value (COLUMNNAME_FileName, FileName); } @@ -163,6 +145,27 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ return (String)get_Value(COLUMNNAME_FileName); } + /** Set Apply Script. + @param isApply Apply Script */ + public void setisApply (boolean isApply) + { + set_Value (COLUMNNAME_isApply, Boolean.valueOf(isApply)); + } + + /** Get Apply Script. + @return Apply Script */ + public boolean isApply () + { + Object oo = get_Value(COLUMNNAME_isApply); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -171,12 +174,6 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -204,12 +201,6 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ { if (ProjectName == null) throw new IllegalArgumentException ("ProjectName is mandatory."); - - if (ProjectName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProjectName = ProjectName.substring(0, 60); - } set_Value (COLUMNNAME_ProjectName, ProjectName); } @@ -227,12 +218,6 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ */ public void setReference (String Reference) { - - if (Reference != null && Reference.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Reference = Reference.substring(0, 2000); - } set_Value (COLUMNNAME_Reference, Reference); } @@ -252,12 +237,6 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ { if (ReleaseNo == null) throw new IllegalArgumentException ("ReleaseNo is mandatory."); - - if (ReleaseNo.length() > 4) - { - log.warning("Length > 4 - truncated"); - ReleaseNo = ReleaseNo.substring(0, 4); - } set_Value (COLUMNNAME_ReleaseNo, ReleaseNo); } @@ -290,12 +269,6 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ @param ScriptRoll Roll the Script */ public void setScriptRoll (String ScriptRoll) { - - if (ScriptRoll != null && ScriptRoll.length() > 1) - { - log.warning("Length > 1 - truncated"); - ScriptRoll = ScriptRoll.substring(0, 1); - } set_Value (COLUMNNAME_ScriptRoll, ScriptRoll); } @@ -321,13 +294,7 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ public void setStatus (String Status) { if (Status == null) throw new IllegalArgumentException ("Status is mandatory"); - if (Status.equals("IP") || Status.equals("CO") || Status.equals("ER")); else throw new IllegalArgumentException ("Status Invalid value - " + Status + " - Reference_ID=53239 - IP - CO - ER"); - if (Status.length() > 2) - { - log.warning("Length > 2 - truncated"); - Status = Status.substring(0, 2); - } - set_ValueNoCheck (COLUMNNAME_Status, Status); + if (Status.equals("IP") || Status.equals("CO") || Status.equals("ER")); else throw new IllegalArgumentException ("Status Invalid value - " + Status + " - Reference_ID=53239 - IP - CO - ER"); set_ValueNoCheck (COLUMNNAME_Status, Status); } /** Get Status. @@ -344,12 +311,6 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ */ public void setURL (String URL) { - - if (URL != null && URL.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - URL = URL.substring(0, 2000); - } set_Value (COLUMNNAME_URL, URL); } @@ -360,25 +321,4 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ { return (String)get_Value(COLUMNNAME_URL); } - - /** Set Apply Script. - @param isApply Apply Script */ - public void setisApply (boolean isApply) - { - set_Value (COLUMNNAME_isApply, Boolean.valueOf(isApply)); - } - - /** Get Apply Script. - @return Apply Script */ - public boolean isApply () - { - Object oo = get_Value(COLUMNNAME_isApply); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_AD_ModelValidator.java b/base/src/org/compiere/model/X_AD_ModelValidator.java index 249c07a86a..810e9df010 100644 --- a/base/src/org/compiere/model/X_AD_ModelValidator.java +++ b/base/src/org/compiere/model/X_AD_ModelValidator.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_ModelValidator * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Persistent { @@ -98,12 +98,6 @@ public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -123,12 +117,6 @@ public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Pe */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_EntityType, EntityType); } @@ -146,12 +134,6 @@ public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Pe */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -169,12 +151,6 @@ public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Pe { if (ModelValidationClass == null) throw new IllegalArgumentException ("ModelValidationClass is mandatory."); - - if (ModelValidationClass.length() > 255) - { - log.warning("Length > 255 - truncated"); - ModelValidationClass = ModelValidationClass.substring(0, 255); - } set_Value (COLUMNNAME_ModelValidationClass, ModelValidationClass); } @@ -193,12 +169,6 @@ public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_Modification.java b/base/src/org/compiere/model/X_AD_Modification.java index 51e6128786..c3c7d277b9 100644 --- a/base/src/org/compiere/model/X_AD_Modification.java +++ b/base/src/org/compiere/model/X_AD_Modification.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Modification * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Modification extends PO implements I_AD_Modification, I_Persistent { @@ -102,12 +102,6 @@ public class X_AD_Modification extends PO implements I_AD_Modification, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -127,12 +121,6 @@ public class X_AD_Modification extends PO implements I_AD_Modification, I_Persis */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_EntityType, EntityType); } @@ -150,12 +138,6 @@ public class X_AD_Modification extends PO implements I_AD_Modification, I_Persis */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -175,12 +157,6 @@ public class X_AD_Modification extends PO implements I_AD_Modification, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -226,12 +202,6 @@ public class X_AD_Modification extends PO implements I_AD_Modification, I_Persis */ public void setVersion (String Version) { - - if (Version != null && Version.length() > 20) - { - log.warning("Length > 20 - truncated"); - Version = Version.substring(0, 20); - } set_Value (COLUMNNAME_Version, Version); } diff --git a/base/src/org/compiere/model/X_AD_Note.java b/base/src/org/compiere/model/X_AD_Note.java index 5df116ed59..ee3f70159c 100644 --- a/base/src/org/compiere/model/X_AD_Note.java +++ b/base/src/org/compiere/model/X_AD_Note.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Note * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent { @@ -250,12 +250,6 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -341,12 +335,6 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent */ public void setReference (String Reference) { - - if (Reference != null && Reference.length() > 60) - { - log.warning("Length > 60 - truncated"); - Reference = Reference.substring(0, 60); - } set_Value (COLUMNNAME_Reference, Reference); } @@ -364,12 +352,6 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_AD_Org.java b/base/src/org/compiere/model/X_AD_Org.java index 88de7be425..9d6c010607 100644 --- a/base/src/org/compiere/model/X_AD_Org.java +++ b/base/src/org/compiere/model/X_AD_Org.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Org * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Org extends PO implements I_AD_Org, I_Persistent { @@ -78,12 +78,6 @@ public class X_AD_Org extends PO implements I_AD_Org, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -127,12 +121,6 @@ public class X_AD_Org extends PO implements I_AD_Org, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -160,12 +148,6 @@ public class X_AD_Org extends PO implements I_AD_Org, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_AD_OrgInfo.java b/base/src/org/compiere/model/X_AD_OrgInfo.java index f6f0a16f92..b04c995f2b 100644 --- a/base/src/org/compiere/model/X_AD_OrgInfo.java +++ b/base/src/org/compiere/model/X_AD_OrgInfo.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_OrgInfo * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent { @@ -142,12 +142,6 @@ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent { if (DUNS == null) throw new IllegalArgumentException ("DUNS is mandatory."); - - if (DUNS.length() > 11) - { - log.warning("Length > 11 - truncated"); - DUNS = DUNS.substring(0, 11); - } set_Value (COLUMNNAME_DUNS, DUNS); } @@ -256,12 +250,6 @@ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent { if (TaxID == null) throw new IllegalArgumentException ("TaxID is mandatory."); - - if (TaxID.length() > 20) - { - log.warning("Length > 20 - truncated"); - TaxID = TaxID.substring(0, 20); - } set_Value (COLUMNNAME_TaxID, TaxID); } diff --git a/base/src/org/compiere/model/X_AD_OrgType.java b/base/src/org/compiere/model/X_AD_OrgType.java index 48eb15fddc..e0c63e38d2 100644 --- a/base/src/org/compiere/model/X_AD_OrgType.java +++ b/base/src/org/compiere/model/X_AD_OrgType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_OrgType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_OrgType extends PO implements I_AD_OrgType, I_Persistent { @@ -140,12 +140,6 @@ public class X_AD_OrgType extends PO implements I_AD_OrgType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_AD_OrgType extends PO implements I_AD_OrgType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_PInstance.java b/base/src/org/compiere/model/X_AD_PInstance.java index fd2e31a206..06084e2404 100644 --- a/base/src/org/compiere/model/X_AD_PInstance.java +++ b/base/src/org/compiere/model/X_AD_PInstance.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PInstance * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent { @@ -186,12 +186,6 @@ public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent @param ErrorMsg Error Msg */ public void setErrorMsg (String ErrorMsg) { - - if (ErrorMsg != null && ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ErrorMsg = ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_ErrorMsg, ErrorMsg); } diff --git a/base/src/org/compiere/model/X_AD_PInstance_Log.java b/base/src/org/compiere/model/X_AD_PInstance_Log.java index 63660caae5..cc911f7d8b 100644 --- a/base/src/org/compiere/model/X_AD_PInstance_Log.java +++ b/base/src/org/compiere/model/X_AD_PInstance_Log.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for AD_PInstance_Log * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PInstance_Log extends PO implements I_AD_PInstance_Log, I_Persistent { @@ -173,12 +173,6 @@ public class X_AD_PInstance_Log extends PO implements I_AD_PInstance_Log, I_Pers @param P_Msg Process Message */ public void setP_Msg (String P_Msg) { - - if (P_Msg != null && P_Msg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - P_Msg = P_Msg.substring(0, 2000); - } set_ValueNoCheck (COLUMNNAME_P_Msg, P_Msg); } diff --git a/base/src/org/compiere/model/X_AD_PInstance_Para.java b/base/src/org/compiere/model/X_AD_PInstance_Para.java index d81a39055d..e7bdb2a341 100644 --- a/base/src/org/compiere/model/X_AD_PInstance_Para.java +++ b/base/src/org/compiere/model/X_AD_PInstance_Para.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PInstance_Para * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Persistent { @@ -120,12 +120,6 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe */ public void setInfo (String Info) { - - if (Info != null && Info.length() > 60) - { - log.warning("Length > 60 - truncated"); - Info = Info.substring(0, 60); - } set_Value (COLUMNNAME_Info, Info); } @@ -141,12 +135,6 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe @param Info_To Info To */ public void setInfo_To (String Info_To) { - - if (Info_To != null && Info_To.length() > 60) - { - log.warning("Length > 60 - truncated"); - Info_To = Info_To.substring(0, 60); - } set_Value (COLUMNNAME_Info_To, Info_To); } @@ -157,6 +145,28 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe return (String)get_Value(COLUMNNAME_Info_To); } + /** Set Parameter Name. + @param ParameterName Parameter Name */ + public void setParameterName (String ParameterName) + { + set_Value (COLUMNNAME_ParameterName, ParameterName); + } + + /** Get Parameter Name. + @return Parameter Name */ + public String getParameterName () + { + return (String)get_Value(COLUMNNAME_ParameterName); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), getParameterName()); + } + /** Set Process Date. @param P_Date Process Parameter @@ -237,12 +247,6 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe */ public void setP_String (String P_String) { - - if (P_String != null && P_String.length() > 255) - { - log.warning("Length > 255 - truncated"); - P_String = P_String.substring(0, 255); - } set_Value (COLUMNNAME_P_String, P_String); } @@ -260,12 +264,6 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe */ public void setP_String_To (String P_String_To) { - - if (P_String_To != null && P_String_To.length() > 255) - { - log.warning("Length > 255 - truncated"); - P_String_To = P_String_To.substring(0, 255); - } set_Value (COLUMNNAME_P_String_To, P_String_To); } @@ -277,34 +275,6 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe return (String)get_Value(COLUMNNAME_P_String_To); } - /** Set Parameter Name. - @param ParameterName Parameter Name */ - public void setParameterName (String ParameterName) - { - - if (ParameterName != null && ParameterName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ParameterName = ParameterName.substring(0, 60); - } - set_Value (COLUMNNAME_ParameterName, ParameterName); - } - - /** Get Parameter Name. - @return Parameter Name */ - public String getParameterName () - { - return (String)get_Value(COLUMNNAME_ParameterName); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), getParameterName()); - } - /** Set Sequence. @param SeqNo Method of ordering records; lowest number comes first diff --git a/base/src/org/compiere/model/X_AD_Package_Exp.java b/base/src/org/compiere/model/X_AD_Package_Exp.java index a413d5944e..0db76b0b0b 100644 --- a/base/src/org/compiere/model/X_AD_Package_Exp.java +++ b/base/src/org/compiere/model/X_AD_Package_Exp.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Exp * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persistent { @@ -120,13 +120,7 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste 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=50001 - L - R - X"); - if (AD_Package_Type != null && AD_Package_Type.length() > 1) - { - log.warning("Length > 1 - truncated"); - AD_Package_Type = AD_Package_Type.substring(0, 1); - } - set_Value (COLUMNNAME_AD_Package_Type, 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=50001 - L - R - X"); set_Value (COLUMNNAME_AD_Package_Type, AD_Package_Type); } /** Get AD_Package_Type. @@ -144,12 +138,6 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 1000) - { - log.warning("Length > 1000 - truncated"); - Description = Description.substring(0, 1000); - } set_Value (COLUMNNAME_Description, Description); } @@ -169,12 +157,6 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste { if (EMail == null) throw new IllegalArgumentException ("EMail is mandatory."); - - if (EMail.length() > 30) - { - log.warning("Length > 30 - truncated"); - EMail = EMail.substring(0, 30); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -192,12 +174,6 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste { if (File_Directory == null) throw new IllegalArgumentException ("File_Directory is mandatory."); - - if (File_Directory.length() > 255) - { - log.warning("Length > 255 - truncated"); - File_Directory = File_Directory.substring(0, 255); - } set_Value (COLUMNNAME_File_Directory, File_Directory); } @@ -214,12 +190,6 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste { if (Instructions == null) throw new IllegalArgumentException ("Instructions is mandatory."); - - if (Instructions.length() > 1000) - { - log.warning("Length > 1000 - truncated"); - Instructions = Instructions.substring(0, 1000); - } set_Value (COLUMNNAME_Instructions, Instructions); } @@ -238,12 +208,6 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -261,12 +225,6 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste { if (PK_Version == null) throw new IllegalArgumentException ("PK_Version is mandatory."); - - if (PK_Version.length() > 20) - { - log.warning("Length > 20 - truncated"); - PK_Version = PK_Version.substring(0, 20); - } set_Value (COLUMNNAME_PK_Version, PK_Version); } @@ -353,13 +311,7 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste 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") || ReleaseNo.equals("Release 3.1.0") || ReleaseNo.equals("Release 3.2.0") || ReleaseNo.equals("Release 3.3.0")); 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 - Release 3.1.0 - Release 3.2.0 - Release 3.3.0"); - if (ReleaseNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - ReleaseNo = ReleaseNo.substring(0, 20); - } - set_Value (COLUMNNAME_ReleaseNo, ReleaseNo); + 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") || ReleaseNo.equals("Release 3.1.0") || ReleaseNo.equals("Release 3.2.0") || ReleaseNo.equals("Release 3.3.0")); 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 - Release 3.1.0 - Release 3.2.0 - Release 3.3.0"); set_Value (COLUMNNAME_ReleaseNo, ReleaseNo); } /** Get Release No. @@ -378,12 +330,6 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste { if (UserName == null) throw new IllegalArgumentException ("UserName is mandatory."); - - if (UserName.length() > 30) - { - log.warning("Length > 30 - truncated"); - UserName = UserName.substring(0, 30); - } set_Value (COLUMNNAME_UserName, UserName); } @@ -403,12 +349,6 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste { if (Version == null) throw new IllegalArgumentException ("Version is mandatory."); - - if (Version.length() > 20) - { - log.warning("Length > 20 - truncated"); - Version = Version.substring(0, 20); - } set_Value (COLUMNNAME_Version, Version); } diff --git a/base/src/org/compiere/model/X_AD_Package_Exp_Common.java b/base/src/org/compiere/model/X_AD_Package_Exp_Common.java index 913ae21b7f..bd6ece5887 100644 --- a/base/src/org/compiere/model/X_AD_Package_Exp_Common.java +++ b/base/src/org/compiere/model/X_AD_Package_Exp_Common.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Exp_Common * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Common, I_Persistent { @@ -509,13 +509,7 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm 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=50003 - ALL - DB2 - Firebird - MySQL - Oracle - Postgres - SQL - Sybase"); - if (DBType != null && DBType.length() > 22) - { - log.warning("Length > 22 - truncated"); - DBType = DBType.substring(0, 22); - } - set_Value (COLUMNNAME_DBType, 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=50003 - ALL - DB2 - Firebird - MySQL - Oracle - Postgres - SQL - Sybase"); set_Value (COLUMNNAME_DBType, DBType); } /** Get DBType. @@ -531,12 +525,6 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 1000) - { - log.warning("Length > 1000 - truncated"); - Description = Description.substring(0, 1000); - } set_Value (COLUMNNAME_Description, Description); } @@ -552,12 +540,6 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm @param Destination_Directory Destination_Directory */ public void setDestination_Directory (String Destination_Directory) { - - if (Destination_Directory != null && Destination_Directory.length() > 255) - { - log.warning("Length > 255 - truncated"); - Destination_Directory = Destination_Directory.substring(0, 255); - } set_Value (COLUMNNAME_Destination_Directory, Destination_Directory); } @@ -568,18 +550,26 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm return (String)get_Value(COLUMNNAME_Destination_Directory); } + /** Set File_Directory. + @param File_Directory File_Directory */ + public void setFile_Directory (String File_Directory) + { + set_Value (COLUMNNAME_File_Directory, File_Directory); + } + + /** Get File_Directory. + @return File_Directory */ + public String getFile_Directory () + { + return (String)get_Value(COLUMNNAME_File_Directory); + } + /** Set File Name. @param FileName Name of the local file or URL */ public void setFileName (String FileName) { - - if (FileName != null && FileName.length() > 255) - { - log.warning("Length > 255 - truncated"); - FileName = FileName.substring(0, 255); - } set_Value (COLUMNNAME_FileName, FileName); } @@ -591,26 +581,6 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm return (String)get_Value(COLUMNNAME_FileName); } - /** Set File_Directory. - @param File_Directory File_Directory */ - public void setFile_Directory (String File_Directory) - { - - if (File_Directory != null && File_Directory.length() > 255) - { - log.warning("Length > 255 - truncated"); - File_Directory = File_Directory.substring(0, 255); - } - set_Value (COLUMNNAME_File_Directory, File_Directory); - } - - /** Get File_Directory. - @return File_Directory */ - public String getFile_Directory () - { - return (String)get_Value(COLUMNNAME_File_Directory); - } - /** Set Line No. @param Line Unique line for this document @@ -637,12 +607,6 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -660,12 +624,6 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm */ public void setName2 (String Name2) { - - if (Name2 != null && Name2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name2 = Name2.substring(0, 60); - } set_Value (COLUMNNAME_Name2, Name2); } @@ -726,12 +684,6 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm @param SQLStatement SQLStatement */ public void setSQLStatement (String SQLStatement) { - - if (SQLStatement != null && SQLStatement.length() > 255) - { - log.warning("Length > 255 - truncated"); - SQLStatement = SQLStatement.substring(0, 255); - } set_Value (COLUMNNAME_SQLStatement, SQLStatement); } @@ -746,12 +698,6 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm @param Target_Directory Target_Directory */ public void setTarget_Directory (String Target_Directory) { - - if (Target_Directory != null && Target_Directory.length() > 255) - { - log.warning("Length > 255 - truncated"); - Target_Directory = Target_Directory.substring(0, 255); - } set_Value (COLUMNNAME_Target_Directory, Target_Directory); } @@ -807,13 +753,7 @@ public class X_AD_Package_Exp_Common extends PO implements I_AD_Package_Exp_Comm 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") || Type.equals("V") || Type.equals("MSG") || Type.equals("PFT") || Type.equals("REF")); 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 - V - MSG - PFT - REF"); - if (Type != null && Type.length() > 10) - { - log.warning("Length > 10 - truncated"); - Type = Type.substring(0, 10); - } - set_Value (COLUMNNAME_Type, 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") || Type.equals("V") || Type.equals("MSG") || Type.equals("PFT") || Type.equals("REF")); 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 - V - MSG - PFT - REF"); set_Value (COLUMNNAME_Type, Type); } /** Get Type. diff --git a/base/src/org/compiere/model/X_AD_Package_Exp_Detail.java b/base/src/org/compiere/model/X_AD_Package_Exp_Detail.java index 68073c4861..320532673c 100644 --- a/base/src/org/compiere/model/X_AD_Package_Exp_Detail.java +++ b/base/src/org/compiere/model/X_AD_Package_Exp_Detail.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Exp_Detail * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Detail, I_Persistent { @@ -235,12 +235,6 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta @param AD_Package_Code_New AD_Package_Code_New */ public void setAD_Package_Code_New (String AD_Package_Code_New) { - - if (AD_Package_Code_New != null && AD_Package_Code_New.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - AD_Package_Code_New = AD_Package_Code_New.substring(0, 2000); - } set_Value (COLUMNNAME_AD_Package_Code_New, AD_Package_Code_New); } @@ -255,12 +249,6 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta @param AD_Package_Code_Old AD_Package_Code_Old */ public void setAD_Package_Code_Old (String AD_Package_Code_Old) { - - if (AD_Package_Code_Old != null && AD_Package_Code_Old.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - AD_Package_Code_Old = AD_Package_Code_Old.substring(0, 2000); - } set_Value (COLUMNNAME_AD_Package_Code_Old, AD_Package_Code_Old); } @@ -714,13 +702,7 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta 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=50003 - ALL - DB2 - Firebird - MySQL - Oracle - Postgres - SQL - Sybase"); - if (DBType != null && DBType.length() > 22) - { - log.warning("Length > 22 - truncated"); - DBType = DBType.substring(0, 22); - } - set_Value (COLUMNNAME_DBType, 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=50003 - ALL - DB2 - Firebird - MySQL - Oracle - Postgres - SQL - Sybase"); set_Value (COLUMNNAME_DBType, DBType); } /** Get DBType. @@ -738,12 +720,6 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 1000) - { - log.warning("Length > 1000 - truncated"); - Description = Description.substring(0, 1000); - } set_Value (COLUMNNAME_Description, Description); } @@ -759,12 +735,6 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta @param Destination_Directory Destination_Directory */ public void setDestination_Directory (String Destination_Directory) { - - if (Destination_Directory != null && Destination_Directory.length() > 255) - { - log.warning("Length > 255 - truncated"); - Destination_Directory = Destination_Directory.substring(0, 255); - } set_Value (COLUMNNAME_Destination_Directory, Destination_Directory); } @@ -779,12 +749,6 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta @param Destination_FileName Destination_FileName */ public void setDestination_FileName (String Destination_FileName) { - - if (Destination_FileName != null && Destination_FileName.length() > 255) - { - log.warning("Length > 255 - truncated"); - Destination_FileName = Destination_FileName.substring(0, 255); - } set_Value (COLUMNNAME_Destination_FileName, Destination_FileName); } @@ -795,18 +759,26 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta return (String)get_Value(COLUMNNAME_Destination_FileName); } + /** Set File_Directory. + @param File_Directory File_Directory */ + public void setFile_Directory (String File_Directory) + { + set_Value (COLUMNNAME_File_Directory, File_Directory); + } + + /** Get File_Directory. + @return File_Directory */ + public String getFile_Directory () + { + return (String)get_Value(COLUMNNAME_File_Directory); + } + /** Set File Name. @param FileName Name of the local file or URL */ public void setFileName (String FileName) { - - if (FileName != null && FileName.length() > 255) - { - log.warning("Length > 255 - truncated"); - FileName = FileName.substring(0, 255); - } set_Value (COLUMNNAME_FileName, FileName); } @@ -818,26 +790,6 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta return (String)get_Value(COLUMNNAME_FileName); } - /** Set File_Directory. - @param File_Directory File_Directory */ - public void setFile_Directory (String File_Directory) - { - - if (File_Directory != null && File_Directory.length() > 255) - { - log.warning("Length > 255 - truncated"); - File_Directory = File_Directory.substring(0, 255); - } - set_Value (COLUMNNAME_File_Directory, File_Directory); - } - - /** Get File_Directory. - @return File_Directory */ - public String getFile_Directory () - { - return (String)get_Value(COLUMNNAME_File_Directory); - } - /** Set Line No. @param Line Unique line for this document @@ -864,12 +816,6 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta */ public void setName2 (String Name2) { - - if (Name2 != null && Name2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name2 = Name2.substring(0, 60); - } set_Value (COLUMNNAME_Name2, Name2); } @@ -957,13 +903,7 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta 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") || ReleaseNo.equals("Release 3.1.0") || ReleaseNo.equals("Release 3.2.0") || ReleaseNo.equals("Release 3.3.0")); 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 - Release 3.1.0 - Release 3.2.0 - Release 3.3.0"); - if (ReleaseNo != null && ReleaseNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - ReleaseNo = ReleaseNo.substring(0, 20); - } - set_Value (COLUMNNAME_ReleaseNo, 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") || ReleaseNo.equals("Release 3.1.0") || ReleaseNo.equals("Release 3.2.0") || ReleaseNo.equals("Release 3.3.0")); 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 - Release 3.1.0 - Release 3.2.0 - Release 3.3.0"); set_Value (COLUMNNAME_ReleaseNo, ReleaseNo); } /** Get Release No. @@ -978,12 +918,6 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta @param SQLStatement SQLStatement */ public void setSQLStatement (String SQLStatement) { - - if (SQLStatement != null && SQLStatement.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - SQLStatement = SQLStatement.substring(0, 2000); - } set_Value (COLUMNNAME_SQLStatement, SQLStatement); } @@ -998,12 +932,6 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta @param Target_Directory Target_Directory */ public void setTarget_Directory (String Target_Directory) { - - if (Target_Directory != null && Target_Directory.length() > 255) - { - log.warning("Length > 255 - truncated"); - Target_Directory = Target_Directory.substring(0, 255); - } set_Value (COLUMNNAME_Target_Directory, Target_Directory); } @@ -1059,13 +987,7 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta 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") || Type.equals("V") || Type.equals("MSG") || Type.equals("PFT") || Type.equals("REF")); 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 - V - MSG - PFT - REF"); - if (Type.length() > 10) - { - log.warning("Length > 10 - truncated"); - Type = Type.substring(0, 10); - } - set_Value (COLUMNNAME_Type, Type); + 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") || Type.equals("V") || Type.equals("MSG") || Type.equals("PFT") || Type.equals("REF")); 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 - V - MSG - PFT - REF"); set_Value (COLUMNNAME_Type, Type); } /** Get Type. diff --git a/base/src/org/compiere/model/X_AD_Package_Imp.java b/base/src/org/compiere/model/X_AD_Package_Imp.java index f92d9cf95f..708c81ad21 100644 --- a/base/src/org/compiere/model/X_AD_Package_Imp.java +++ b/base/src/org/compiere/model/X_AD_Package_Imp.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Imp * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persistent { @@ -104,12 +104,6 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste @param Creator Creator */ public void setCreator (String Creator) { - - if (Creator != null && Creator.length() > 60) - { - log.warning("Length > 60 - truncated"); - Creator = Creator.substring(0, 60); - } set_Value (COLUMNNAME_Creator, Creator); } @@ -124,12 +118,6 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste @param CreatorContact CreatorContact */ public void setCreatorContact (String CreatorContact) { - - if (CreatorContact != null && CreatorContact.length() > 255) - { - log.warning("Length > 255 - truncated"); - CreatorContact = CreatorContact.substring(0, 255); - } set_Value (COLUMNNAME_CreatorContact, CreatorContact); } @@ -148,12 +136,6 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 1000) - { - log.warning("Length > 1000 - truncated"); - Description = Description.substring(0, 1000); - } set_Value (COLUMNNAME_Description, Description); } @@ -171,12 +153,6 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -196,12 +172,6 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -217,12 +187,6 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste @param PK_Status PK_Status */ public void setPK_Status (String PK_Status) { - - if (PK_Status != null && PK_Status.length() > 22) - { - log.warning("Length > 22 - truncated"); - PK_Status = PK_Status.substring(0, 22); - } set_Value (COLUMNNAME_PK_Status, PK_Status); } @@ -237,12 +201,6 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste @param PK_Version Package Version */ public void setPK_Version (String PK_Version) { - - if (PK_Version != null && PK_Version.length() > 20) - { - log.warning("Length > 20 - truncated"); - PK_Version = PK_Version.substring(0, 20); - } set_Value (COLUMNNAME_PK_Version, PK_Version); } @@ -304,12 +262,6 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste */ public void setReleaseNo (String ReleaseNo) { - - if (ReleaseNo != null && ReleaseNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - ReleaseNo = ReleaseNo.substring(0, 20); - } set_Value (COLUMNNAME_ReleaseNo, ReleaseNo); } @@ -348,12 +300,6 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste */ public void setVersion (String Version) { - - if (Version != null && Version.length() > 20) - { - log.warning("Length > 20 - truncated"); - Version = Version.substring(0, 20); - } set_Value (COLUMNNAME_Version, Version); } diff --git a/base/src/org/compiere/model/X_AD_Package_Imp_Backup.java b/base/src/org/compiere/model/X_AD_Package_Imp_Backup.java index 2e9fce3452..95ee83c1eb 100644 --- a/base/src/org/compiere/model/X_AD_Package_Imp_Backup.java +++ b/base/src/org/compiere/model/X_AD_Package_Imp_Backup.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Imp_Backup * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Backup, I_Persistent { @@ -128,12 +128,6 @@ public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Back @param AD_Package_Imp_Bck_Dir AD_Package_Imp_Bck_Dir */ public void setAD_Package_Imp_Bck_Dir (String AD_Package_Imp_Bck_Dir) { - - if (AD_Package_Imp_Bck_Dir != null && AD_Package_Imp_Bck_Dir.length() > 255) - { - log.warning("Length > 255 - truncated"); - AD_Package_Imp_Bck_Dir = AD_Package_Imp_Bck_Dir.substring(0, 255); - } set_Value (COLUMNNAME_AD_Package_Imp_Bck_Dir, AD_Package_Imp_Bck_Dir); } @@ -186,12 +180,6 @@ public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Back @param AD_Package_Imp_Org_Dir AD_Package_Imp_Org_Dir */ public void setAD_Package_Imp_Org_Dir (String AD_Package_Imp_Org_Dir) { - - if (AD_Package_Imp_Org_Dir != null && AD_Package_Imp_Org_Dir.length() > 255) - { - log.warning("Length > 255 - truncated"); - AD_Package_Imp_Org_Dir = AD_Package_Imp_Org_Dir.substring(0, 255); - } set_Value (COLUMNNAME_AD_Package_Imp_Org_Dir, AD_Package_Imp_Org_Dir); } @@ -254,12 +242,6 @@ public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Back @param ColValue ColValue */ public void setColValue (String ColValue) { - - if (ColValue != null && ColValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ColValue = ColValue.substring(0, 2000); - } set_Value (COLUMNNAME_ColValue, ColValue); } diff --git a/base/src/org/compiere/model/X_AD_Package_Imp_Detail.java b/base/src/org/compiere/model/X_AD_Package_Imp_Detail.java index e8f12e1687..8683ee2ea4 100644 --- a/base/src/org/compiere/model/X_AD_Package_Imp_Detail.java +++ b/base/src/org/compiere/model/X_AD_Package_Imp_Detail.java @@ -22,7 +22,7 @@ import java.util.Properties; /** Generated Model for AD_Package_Imp_Detail * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Detail, I_Persistent { @@ -71,6 +71,43 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta return sb.toString(); } + /** Set Action. + @param Action + Indicates the Action to be performed + */ + public void setAction (String Action) + { + set_Value (COLUMNNAME_Action, Action); + } + + /** Get Action. + @return Indicates the Action to be performed + */ + public String getAction () + { + return (String)get_Value(COLUMNNAME_Action); + } + + /** Set Ad_Backup_ID. + @param Ad_Backup_ID Ad_Backup_ID */ + public void setAd_Backup_ID (int Ad_Backup_ID) + { + if (Ad_Backup_ID < 1) + set_Value (COLUMNNAME_Ad_Backup_ID, null); + else + set_Value (COLUMNNAME_Ad_Backup_ID, Integer.valueOf(Ad_Backup_ID)); + } + + /** Get Ad_Backup_ID. + @return Ad_Backup_ID */ + public int getAd_Backup_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Ad_Backup_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set AD_Original_ID. @param AD_Original_ID AD_Original_ID */ public void setAD_Original_ID (int AD_Original_ID) @@ -151,61 +188,12 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta return ii.intValue(); } - /** Set Action. - @param Action - Indicates the Action to be performed - */ - public void setAction (String Action) - { - - if (Action != null && Action.length() > 20) - { - log.warning("Length > 20 - truncated"); - Action = Action.substring(0, 20); - } - set_Value (COLUMNNAME_Action, Action); - } - - /** Get Action. - @return Indicates the Action to be performed - */ - public String getAction () - { - return (String)get_Value(COLUMNNAME_Action); - } - - /** Set Ad_Backup_ID. - @param Ad_Backup_ID Ad_Backup_ID */ - public void setAd_Backup_ID (int Ad_Backup_ID) - { - if (Ad_Backup_ID < 1) - set_Value (COLUMNNAME_Ad_Backup_ID, null); - else - set_Value (COLUMNNAME_Ad_Backup_ID, Integer.valueOf(Ad_Backup_ID)); - } - - /** Get Ad_Backup_ID. - @return Ad_Backup_ID */ - public int getAd_Backup_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Ad_Backup_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Name. @param Name Alphanumeric identifier of the entity */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -221,12 +209,6 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta @param Success Success */ public void setSuccess (String Success) { - - if (Success != null && Success.length() > 20) - { - log.warning("Length > 20 - truncated"); - Success = Success.substring(0, 20); - } set_Value (COLUMNNAME_Success, Success); } @@ -243,12 +225,6 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta */ public void setTableName (String TableName) { - - if (TableName != null && TableName.length() > 60) - { - log.warning("Length > 60 - truncated"); - TableName = TableName.substring(0, 60); - } set_Value (COLUMNNAME_TableName, TableName); } @@ -266,12 +242,6 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta */ public void setType (String Type) { - - if (Type != null && Type.length() > 60) - { - log.warning("Length > 60 - truncated"); - Type = Type.substring(0, 60); - } set_Value (COLUMNNAME_Type, Type); } diff --git a/base/src/org/compiere/model/X_AD_Package_Imp_Inst.java b/base/src/org/compiere/model/X_AD_Package_Imp_Inst.java index dd406f027c..8791fa0798 100644 --- a/base/src/org/compiere/model/X_AD_Package_Imp_Inst.java +++ b/base/src/org/compiere/model/X_AD_Package_Imp_Inst.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Imp_Inst * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, I_Persistent { @@ -93,12 +93,6 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, @param Creator Creator */ public void setCreator (String Creator) { - - if (Creator != null && Creator.length() > 120) - { - log.warning("Length > 120 - truncated"); - Creator = Creator.substring(0, 120); - } set_Value (COLUMNNAME_Creator, Creator); } @@ -113,12 +107,6 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, @param CreatorContact CreatorContact */ public void setCreatorContact (String CreatorContact) { - - if (CreatorContact != null && CreatorContact.length() > 510) - { - log.warning("Length > 510 - truncated"); - CreatorContact = CreatorContact.substring(0, 510); - } set_Value (COLUMNNAME_CreatorContact, CreatorContact); } @@ -135,12 +123,6 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Description = Description.substring(0, 2000); - } set_Value (COLUMNNAME_Description, Description); } @@ -158,12 +140,6 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 120) - { - log.warning("Length > 120 - truncated"); - EMail = EMail.substring(0, 120); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -181,12 +157,6 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, */ public void setName (String Name) { - - if (Name != null && Name.length() > 240) - { - log.warning("Length > 240 - truncated"); - Name = Name.substring(0, 240); - } set_Value (COLUMNNAME_Name, Name); } @@ -210,12 +180,6 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, @param PK_Status PK_Status */ public void setPK_Status (String PK_Status) { - - if (PK_Status != null && PK_Status.length() > 44) - { - log.warning("Length > 44 - truncated"); - PK_Status = PK_Status.substring(0, 44); - } set_Value (COLUMNNAME_PK_Status, PK_Status); } @@ -230,12 +194,6 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, @param PK_Version Package Version */ public void setPK_Version (String PK_Version) { - - if (PK_Version != null && PK_Version.length() > 40) - { - log.warning("Length > 40 - truncated"); - PK_Version = PK_Version.substring(0, 40); - } set_Value (COLUMNNAME_PK_Version, PK_Version); } @@ -297,12 +255,6 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, */ public void setReleaseNo (String ReleaseNo) { - - if (ReleaseNo != null && ReleaseNo.length() > 40) - { - log.warning("Length > 40 - truncated"); - ReleaseNo = ReleaseNo.substring(0, 40); - } set_Value (COLUMNNAME_ReleaseNo, ReleaseNo); } @@ -341,12 +293,6 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, */ public void setVersion (String Version) { - - if (Version != null && Version.length() > 40) - { - log.warning("Length > 40 - truncated"); - Version = Version.substring(0, 40); - } set_Value (COLUMNNAME_Version, Version); } diff --git a/base/src/org/compiere/model/X_AD_Package_Imp_Proc.java b/base/src/org/compiere/model/X_AD_Package_Imp_Proc.java index 52bd1ceeb7..0eda143cd2 100644 --- a/base/src/org/compiere/model/X_AD_Package_Imp_Proc.java +++ b/base/src/org/compiere/model/X_AD_Package_Imp_Proc.java @@ -22,7 +22,7 @@ import java.util.Properties; /** Generated Model for AD_Package_Imp_Proc * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, I_Persistent { @@ -98,12 +98,6 @@ public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, */ public void setAD_Package_Dir (String AD_Package_Dir) { - - if (AD_Package_Dir != null && AD_Package_Dir.length() > 255) - { - log.warning("Length > 255 - truncated"); - AD_Package_Dir = AD_Package_Dir.substring(0, 255); - } set_Value (COLUMNNAME_AD_Package_Dir, AD_Package_Dir); } @@ -142,12 +136,6 @@ public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, { if (AD_Package_Source == null) throw new IllegalArgumentException ("AD_Package_Source is mandatory."); - - if (AD_Package_Source.length() > 255) - { - log.warning("Length > 255 - truncated"); - AD_Package_Source = AD_Package_Source.substring(0, 255); - } set_Value (COLUMNNAME_AD_Package_Source, AD_Package_Source); } @@ -172,13 +160,7 @@ public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, 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=50005 - File - WS"); - if (AD_Package_Source_Type.length() > 10) - { - log.warning("Length > 10 - truncated"); - AD_Package_Source_Type = AD_Package_Source_Type.substring(0, 10); - } - set_Value (COLUMNNAME_AD_Package_Source_Type, AD_Package_Source_Type); + 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=50005 - File - WS"); set_Value (COLUMNNAME_AD_Package_Source_Type, AD_Package_Source_Type); } /** Get Package Source Type. diff --git a/base/src/org/compiere/model/X_AD_Preference.java b/base/src/org/compiere/model/X_AD_Preference.java index 64b68063fa..ed08993408 100644 --- a/base/src/org/compiere/model/X_AD_Preference.java +++ b/base/src/org/compiere/model/X_AD_Preference.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Preference * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Preference extends PO implements I_AD_Preference, I_Persistent { @@ -180,12 +180,6 @@ public class X_AD_Preference extends PO implements I_AD_Preference, I_Persistent { if (Attribute == null) throw new IllegalArgumentException ("Attribute is mandatory."); - - if (Attribute.length() > 60) - { - log.warning("Length > 60 - truncated"); - Attribute = Attribute.substring(0, 60); - } set_Value (COLUMNNAME_Attribute, Attribute); } @@ -212,12 +206,6 @@ public class X_AD_Preference extends PO implements I_AD_Preference, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 60) - { - log.warning("Length > 60 - truncated"); - Value = Value.substring(0, 60); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_AD_PrintColor.java b/base/src/org/compiere/model/X_AD_PrintColor.java index f7ff5dcba5..e3c9dd68b3 100644 --- a/base/src/org/compiere/model/X_AD_PrintColor.java +++ b/base/src/org/compiere/model/X_AD_PrintColor.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintColor * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintColor extends PO implements I_AD_PrintColor, I_Persistent { @@ -103,12 +103,6 @@ public class X_AD_PrintColor extends PO implements I_AD_PrintColor, I_Persistent { if (Code == null) throw new IllegalArgumentException ("Code is mandatory."); - - if (Code.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Code = Code.substring(0, 2000); - } set_Value (COLUMNNAME_Code, Code); } @@ -152,12 +146,6 @@ public class X_AD_PrintColor extends PO implements I_AD_PrintColor, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_PrintFont.java b/base/src/org/compiere/model/X_AD_PrintFont.java index cd7a7b4147..8faa4ea05b 100644 --- a/base/src/org/compiere/model/X_AD_PrintFont.java +++ b/base/src/org/compiere/model/X_AD_PrintFont.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintFont * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintFont extends PO implements I_AD_PrintFont, I_Persistent { @@ -103,12 +103,6 @@ public class X_AD_PrintFont extends PO implements I_AD_PrintFont, I_Persistent { if (Code == null) throw new IllegalArgumentException ("Code is mandatory."); - - if (Code.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Code = Code.substring(0, 2000); - } set_Value (COLUMNNAME_Code, Code); } @@ -152,12 +146,6 @@ public class X_AD_PrintFont extends PO implements I_AD_PrintFont, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_PrintForm.java b/base/src/org/compiere/model/X_AD_PrintForm.java index aa70bf0bec..8c3bc03139 100644 --- a/base/src/org/compiere/model/X_AD_PrintForm.java +++ b/base/src/org/compiere/model/X_AD_PrintForm.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintForm * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent { @@ -99,12 +99,6 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -116,6 +110,31 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent return (String)get_Value(COLUMNNAME_Description); } + /** Distrib_Order_PrintFormat_ID AD_Reference_ID=53282 */ + public static final int DISTRIB_ORDER_PRINTFORMAT_ID_AD_Reference_ID=53282; + /** Set Distribution Order Print Format. + @param Distrib_Order_PrintFormat_ID + Print Format for printing Distribution Order + */ + public void setDistrib_Order_PrintFormat_ID (int Distrib_Order_PrintFormat_ID) + { + if (Distrib_Order_PrintFormat_ID < 1) + set_Value (COLUMNNAME_Distrib_Order_PrintFormat_ID, null); + else + set_Value (COLUMNNAME_Distrib_Order_PrintFormat_ID, Integer.valueOf(Distrib_Order_PrintFormat_ID)); + } + + /** Get Distribution Order Print Format. + @return Print Format for printing Distribution Order + */ + public int getDistrib_Order_PrintFormat_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Distrib_Order_PrintFormat_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** DistributionOrder_MailText_ID AD_Reference_ID=274 */ public static final int DISTRIBUTIONORDER_MAILTEXT_ID_AD_Reference_ID=274; /** Set Distribution Order Mail Text. @@ -141,31 +160,6 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent return ii.intValue(); } - /** Distrib_Order_PrintFormat_ID AD_Reference_ID=53282 */ - public static final int Distrib_Order_PrintFormat_ID_AD_Reference_ID=53282; - /** Set Distribution Order Print Format. - @param Distrib_Order_PrintFormat_ID - Print Format for printing Distribution Order - */ - public void setDistrib_Order_PrintFormat_ID (int Distrib_Order_PrintFormat_ID) - { - if (Distrib_Order_PrintFormat_ID < 1) - set_Value (COLUMNNAME_Distrib_Order_PrintFormat_ID, null); - else - set_Value (COLUMNNAME_Distrib_Order_PrintFormat_ID, Integer.valueOf(Distrib_Order_PrintFormat_ID)); - } - - /** Get Distribution Order Print Format. - @return Print Format for printing Distribution Order - */ - public int getDistrib_Order_PrintFormat_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Distrib_Order_PrintFormat_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Invoice_MailText_ID AD_Reference_ID=274 */ public static final int INVOICE_MAILTEXT_ID_AD_Reference_ID=274; /** Set Invoice Mail Text. @@ -216,33 +210,33 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent return ii.intValue(); } - /** ManufacturingOrder_MailText_ID AD_Reference_ID=274 */ - public static final int MANUFACTURINGORDER_MAILTEXT_ID_AD_Reference_ID=274; + /** Manuf_Order_MailText_ID AD_Reference_ID=274 */ + public static final int MANUF_ORDER_MAILTEXT_ID_AD_Reference_ID=274; /** Set Manufacturing Order Mail Text. - @param ManufacturingOrder_MailText_ID + @param Manuf_Order_MailText_ID Email text used for sending Manufacturing Order */ - public void setManufacturingOrder_MailText_ID (int ManufacturingOrder_MailText_ID) + public void setManuf_Order_MailText_ID (int Manuf_Order_MailText_ID) { - if (ManufacturingOrder_MailText_ID < 1) - set_Value (COLUMNNAME_ManufacturingOrder_MailText_ID, null); + if (Manuf_Order_MailText_ID < 1) + set_Value (COLUMNNAME_Manuf_Order_MailText_ID, null); else - set_Value (COLUMNNAME_ManufacturingOrder_MailText_ID, Integer.valueOf(ManufacturingOrder_MailText_ID)); + set_Value (COLUMNNAME_Manuf_Order_MailText_ID, Integer.valueOf(Manuf_Order_MailText_ID)); } /** Get Manufacturing Order Mail Text. @return Email text used for sending Manufacturing Order */ - public int getManufacturingOrder_MailText_ID () + public int getManuf_Order_MailText_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_ManufacturingOrder_MailText_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_Manuf_Order_MailText_ID); if (ii == null) return 0; return ii.intValue(); } /** Manuf_Order_PrintFormat_ID AD_Reference_ID=53281 */ - public static final int Manuf_Order_PrintFormat_ID_AD_Reference_ID=53281; + public static final int MANUF_ORDER_PRINTFORMAT_ID_AD_Reference_ID=53281; /** Set Manufacturing Order Print Format. @param Manuf_Order_PrintFormat_ID Print Format for printing Manufacturing Order @@ -274,12 +268,6 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_PrintFormat.java b/base/src/org/compiere/model/X_AD_PrintFormat.java index 84a5a9c9ed..02eb40e460 100644 --- a/base/src/org/compiere/model/X_AD_PrintFormat.java +++ b/base/src/org/compiere/model/X_AD_PrintFormat.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintFormat * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persistent { @@ -342,12 +342,6 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste @param Args Args */ public void setArgs (String Args) { - - if (Args != null && Args.length() > 510) - { - log.warning("Length > 510 - truncated"); - Args = Args.substring(0, 510); - } set_Value (COLUMNNAME_Args, Args); } @@ -362,12 +356,6 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste @param ClassName ClassName */ public void setClassName (String ClassName) { - - if (ClassName != null && ClassName.length() > 240) - { - log.warning("Length > 240 - truncated"); - ClassName = ClassName.substring(0, 240); - } set_Value (COLUMNNAME_ClassName, ClassName); } @@ -382,12 +370,6 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste @param CreateCopy Create Copy */ public void setCreateCopy (String CreateCopy) { - - if (CreateCopy != null && CreateCopy.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateCopy = CreateCopy.substring(0, 1); - } set_Value (COLUMNNAME_CreateCopy, CreateCopy); } @@ -404,12 +386,6 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -590,12 +566,6 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -621,12 +591,6 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste */ public void setPrinterName (String PrinterName) { - - if (PrinterName != null && PrinterName.length() > 40) - { - log.warning("Length > 40 - truncated"); - PrinterName = PrinterName.substring(0, 40); - } set_Value (COLUMNNAME_PrinterName, PrinterName); } diff --git a/base/src/org/compiere/model/X_AD_PrintFormatItem.java b/base/src/org/compiere/model/X_AD_PrintFormatItem.java index c269e7f59c..5d88eabcb2 100644 --- a/base/src/org/compiere/model/X_AD_PrintFormatItem.java +++ b/base/src/org/compiere/model/X_AD_PrintFormatItem.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintFormatItem * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_Persistent { @@ -42,8 +42,8 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ { setAD_Column_ID (0); setAD_PrintFormatChild_ID (0); - setAD_PrintFormatItem_ID (0); setAD_PrintFormat_ID (0); + setAD_PrintFormatItem_ID (0); setFieldAlignmentType (null); // D setImageIsAttached (false); @@ -261,28 +261,6 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ return ii.intValue(); } - /** Set Print Format Item. - @param AD_PrintFormatItem_ID - Item/Column in the Print format - */ - public void setAD_PrintFormatItem_ID (int AD_PrintFormatItem_ID) - { - if (AD_PrintFormatItem_ID < 1) - throw new IllegalArgumentException ("AD_PrintFormatItem_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_PrintFormatItem_ID, Integer.valueOf(AD_PrintFormatItem_ID)); - } - - /** Get Print Format Item. - @return Item/Column in the Print format - */ - public int getAD_PrintFormatItem_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_PrintFormatItem_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_PrintFormat getAD_PrintFormat() throws Exception { Class clazz = MTable.getClass(I_AD_PrintFormat.Table_Name); @@ -321,6 +299,28 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ return ii.intValue(); } + /** Set Print Format Item. + @param AD_PrintFormatItem_ID + Item/Column in the Print format + */ + public void setAD_PrintFormatItem_ID (int AD_PrintFormatItem_ID) + { + if (AD_PrintFormatItem_ID < 1) + throw new IllegalArgumentException ("AD_PrintFormatItem_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_PrintFormatItem_ID, Integer.valueOf(AD_PrintFormatItem_ID)); + } + + /** Get Print Format Item. + @return Item/Column in the Print format + */ + public int getAD_PrintFormatItem_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_PrintFormatItem_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_PrintGraph getAD_PrintGraph() throws Exception { Class clazz = MTable.getClass(I_AD_PrintGraph.Table_Name); @@ -437,13 +437,7 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public void setBarcodeType (String BarcodeType) { - if (BarcodeType == null || BarcodeType.equals("2o9") || BarcodeType.equals("3o9") || BarcodeType.equals("COD") || BarcodeType.equals("C28") || BarcodeType.equals("28A") || BarcodeType.equals("28B") || BarcodeType.equals("28C") || BarcodeType.equals("C39") || BarcodeType.equals("E28") || BarcodeType.equals("GTN") || BarcodeType.equals("MON") || BarcodeType.equals("NW7") || BarcodeType.equals("417") || BarcodeType.equals("C14") || BarcodeType.equals("SID") || BarcodeType.equals("U28") || BarcodeType.equals("US3") || BarcodeType.equals("US4") || BarcodeType.equals("USP") || BarcodeType.equals("C18") || BarcodeType.equals("us3") || BarcodeType.equals("3O9") || BarcodeType.equals("c39") || BarcodeType.equals("E13")); else throw new IllegalArgumentException ("BarcodeType Invalid value - " + BarcodeType + " - Reference_ID=377 - 2o9 - 3o9 - COD - C28 - 28A - 28B - 28C - C39 - E28 - GTN - MON - NW7 - 417 - C14 - SID - U28 - US3 - US4 - USP - C18 - us3 - 3O9 - c39 - E13"); - if (BarcodeType != null && BarcodeType.length() > 3) - { - log.warning("Length > 3 - truncated"); - BarcodeType = BarcodeType.substring(0, 3); - } - set_Value (COLUMNNAME_BarcodeType, BarcodeType); + if (BarcodeType == null || BarcodeType.equals("2o9") || BarcodeType.equals("3o9") || BarcodeType.equals("COD") || BarcodeType.equals("C28") || BarcodeType.equals("28A") || BarcodeType.equals("28B") || BarcodeType.equals("28C") || BarcodeType.equals("C39") || BarcodeType.equals("E28") || BarcodeType.equals("GTN") || BarcodeType.equals("MON") || BarcodeType.equals("NW7") || BarcodeType.equals("417") || BarcodeType.equals("C14") || BarcodeType.equals("SID") || BarcodeType.equals("U28") || BarcodeType.equals("US3") || BarcodeType.equals("US4") || BarcodeType.equals("USP") || BarcodeType.equals("C18") || BarcodeType.equals("us3") || BarcodeType.equals("3O9") || BarcodeType.equals("c39") || BarcodeType.equals("E13")); else throw new IllegalArgumentException ("BarcodeType Invalid value - " + BarcodeType + " - Reference_ID=377 - 2o9 - 3o9 - COD - C28 - 28A - 28B - 28C - C39 - E28 - GTN - MON - NW7 - 417 - C14 - SID - U28 - US3 - US4 - USP - C18 - us3 - 3O9 - c39 - E13"); set_Value (COLUMNNAME_BarcodeType, BarcodeType); } /** Get Barcode Type. @@ -493,13 +487,7 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public void setFieldAlignmentType (String FieldAlignmentType) { if (FieldAlignmentType == null) throw new IllegalArgumentException ("FieldAlignmentType is mandatory"); - if (FieldAlignmentType.equals("D") || FieldAlignmentType.equals("L") || FieldAlignmentType.equals("T") || FieldAlignmentType.equals("B") || FieldAlignmentType.equals("C")); else throw new IllegalArgumentException ("FieldAlignmentType Invalid value - " + FieldAlignmentType + " - Reference_ID=253 - D - L - T - B - C"); - if (FieldAlignmentType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FieldAlignmentType = FieldAlignmentType.substring(0, 1); - } - set_Value (COLUMNNAME_FieldAlignmentType, FieldAlignmentType); + if (FieldAlignmentType.equals("D") || FieldAlignmentType.equals("L") || FieldAlignmentType.equals("T") || FieldAlignmentType.equals("B") || FieldAlignmentType.equals("C")); else throw new IllegalArgumentException ("FieldAlignmentType Invalid value - " + FieldAlignmentType + " - Reference_ID=253 - D - L - T - B - C"); set_Value (COLUMNNAME_FieldAlignmentType, FieldAlignmentType); } /** Get Field Alignment. @@ -540,12 +528,6 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ */ public void setImageURL (String ImageURL) { - - if (ImageURL != null && ImageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - ImageURL = ImageURL.substring(0, 120); - } set_Value (COLUMNNAME_ImageURL, ImageURL); } @@ -1102,13 +1084,7 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public void setLineAlignmentType (String LineAlignmentType) { if (LineAlignmentType == null) throw new IllegalArgumentException ("LineAlignmentType is mandatory"); - if (LineAlignmentType.equals("L") || LineAlignmentType.equals("C") || LineAlignmentType.equals("T") || LineAlignmentType.equals("X")); else throw new IllegalArgumentException ("LineAlignmentType Invalid value - " + LineAlignmentType + " - Reference_ID=254 - L - C - T - X"); - if (LineAlignmentType.length() > 1) - { - log.warning("Length > 1 - truncated"); - LineAlignmentType = LineAlignmentType.substring(0, 1); - } - set_Value (COLUMNNAME_LineAlignmentType, LineAlignmentType); + if (LineAlignmentType.equals("L") || LineAlignmentType.equals("C") || LineAlignmentType.equals("T") || LineAlignmentType.equals("X")); else throw new IllegalArgumentException ("LineAlignmentType Invalid value - " + LineAlignmentType + " - Reference_ID=254 - L - C - T - X"); set_Value (COLUMNNAME_LineAlignmentType, LineAlignmentType); } /** Get Line Alignment. @@ -1187,12 +1163,6 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1227,13 +1197,7 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public void setPrintAreaType (String PrintAreaType) { if (PrintAreaType == null) throw new IllegalArgumentException ("PrintAreaType is mandatory"); - if (PrintAreaType.equals("C") || PrintAreaType.equals("H") || PrintAreaType.equals("F")); else throw new IllegalArgumentException ("PrintAreaType Invalid value - " + PrintAreaType + " - Reference_ID=256 - C - H - F"); - if (PrintAreaType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PrintAreaType = PrintAreaType.substring(0, 1); - } - set_Value (COLUMNNAME_PrintAreaType, PrintAreaType); + if (PrintAreaType.equals("C") || PrintAreaType.equals("H") || PrintAreaType.equals("F")); else throw new IllegalArgumentException ("PrintAreaType Invalid value - " + PrintAreaType + " - Reference_ID=256 - C - H - F"); set_Value (COLUMNNAME_PrintAreaType, PrintAreaType); } /** Get Area. @@ -1265,13 +1229,7 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public void setPrintFormatType (String PrintFormatType) { if (PrintFormatType == null) throw new IllegalArgumentException ("PrintFormatType is mandatory"); - if (PrintFormatType.equals("F") || PrintFormatType.equals("T") || PrintFormatType.equals("P") || PrintFormatType.equals("I") || PrintFormatType.equals("R") || PrintFormatType.equals("L")); else throw new IllegalArgumentException ("PrintFormatType Invalid value - " + PrintFormatType + " - Reference_ID=255 - F - T - P - I - R - L"); - if (PrintFormatType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PrintFormatType = PrintFormatType.substring(0, 1); - } - set_Value (COLUMNNAME_PrintFormatType, PrintFormatType); + if (PrintFormatType.equals("F") || PrintFormatType.equals("T") || PrintFormatType.equals("P") || PrintFormatType.equals("I") || PrintFormatType.equals("R") || PrintFormatType.equals("L")); else throw new IllegalArgumentException ("PrintFormatType Invalid value - " + PrintFormatType + " - Reference_ID=255 - F - T - P - I - R - L"); set_Value (COLUMNNAME_PrintFormatType, PrintFormatType); } /** Get Format Type. @@ -1288,12 +1246,6 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ */ public void setPrintName (String PrintName) { - - if (PrintName != null && PrintName.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - PrintName = PrintName.substring(0, 2000); - } set_Value (COLUMNNAME_PrintName, PrintName); } @@ -1311,12 +1263,6 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ */ public void setPrintNameSuffix (String PrintNameSuffix) { - - if (PrintNameSuffix != null && PrintNameSuffix.length() > 60) - { - log.warning("Length > 60 - truncated"); - PrintNameSuffix = PrintNameSuffix.substring(0, 60); - } set_Value (COLUMNNAME_PrintNameSuffix, PrintNameSuffix); } @@ -1385,13 +1331,7 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public void setShapeType (String ShapeType) { - if (ShapeType == null || ShapeType.equals("3") || ShapeType.equals("O") || ShapeType.equals("R") || ShapeType.equals("N")); else throw new IllegalArgumentException ("ShapeType Invalid value - " + ShapeType + " - Reference_ID=333 - 3 - O - R - N"); - if (ShapeType != null && ShapeType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ShapeType = ShapeType.substring(0, 1); - } - set_Value (COLUMNNAME_ShapeType, ShapeType); + if (ShapeType == null || ShapeType.equals("3") || ShapeType.equals("O") || ShapeType.equals("R") || ShapeType.equals("N")); else throw new IllegalArgumentException ("ShapeType Invalid value - " + ShapeType + " - Reference_ID=333 - 3 - O - R - N"); set_Value (COLUMNNAME_ShapeType, ShapeType); } /** Get Shape Type. diff --git a/base/src/org/compiere/model/X_AD_PrintGraph.java b/base/src/org/compiere/model/X_AD_PrintGraph.java index a5716fd3a8..8eb5a4c643 100644 --- a/base/src/org/compiere/model/X_AD_PrintGraph.java +++ b/base/src/org/compiere/model/X_AD_PrintGraph.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintGraph * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent { @@ -138,6 +138,30 @@ public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent return ii.intValue(); } + /** Data_PrintFormatItem_ID AD_Reference_ID=264 */ + public static final int DATA_PRINTFORMATITEM_ID_AD_Reference_ID=264; + /** Set Data Column. + @param Data_PrintFormatItem_ID + Data Column for Pie and Line Charts + */ + public void setData_PrintFormatItem_ID (int Data_PrintFormatItem_ID) + { + if (Data_PrintFormatItem_ID < 1) + throw new IllegalArgumentException ("Data_PrintFormatItem_ID is mandatory."); + set_Value (COLUMNNAME_Data_PrintFormatItem_ID, Integer.valueOf(Data_PrintFormatItem_ID)); + } + + /** Get Data Column. + @return Data Column for Pie and Line Charts + */ + public int getData_PrintFormatItem_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Data_PrintFormatItem_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Data1_PrintFormatItem_ID AD_Reference_ID=264 */ public static final int DATA1_PRINTFORMATITEM_ID_AD_Reference_ID=264; /** Set Data Column 2. @@ -238,42 +262,12 @@ public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent return ii.intValue(); } - /** Data_PrintFormatItem_ID AD_Reference_ID=264 */ - public static final int DATA_PRINTFORMATITEM_ID_AD_Reference_ID=264; - /** Set Data Column. - @param Data_PrintFormatItem_ID - Data Column for Pie and Line Charts - */ - public void setData_PrintFormatItem_ID (int Data_PrintFormatItem_ID) - { - if (Data_PrintFormatItem_ID < 1) - throw new IllegalArgumentException ("Data_PrintFormatItem_ID is mandatory."); - set_Value (COLUMNNAME_Data_PrintFormatItem_ID, Integer.valueOf(Data_PrintFormatItem_ID)); - } - - /** Get Data Column. - @return Data Column for Pie and Line Charts - */ - public int getData_PrintFormatItem_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Data_PrintFormatItem_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -324,13 +318,7 @@ public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent public void setGraphType (String GraphType) { if (GraphType == null) throw new IllegalArgumentException ("GraphType is mandatory"); - if (GraphType.equals("P") || GraphType.equals("L") || GraphType.equals("B")); else throw new IllegalArgumentException ("GraphType Invalid value - " + GraphType + " - Reference_ID=265 - P - L - B"); - if (GraphType.length() > 1) - { - log.warning("Length > 1 - truncated"); - GraphType = GraphType.substring(0, 1); - } - set_Value (COLUMNNAME_GraphType, GraphType); + if (GraphType.equals("P") || GraphType.equals("L") || GraphType.equals("B")); else throw new IllegalArgumentException ("GraphType Invalid value - " + GraphType + " - Reference_ID=265 - P - L - B"); set_Value (COLUMNNAME_GraphType, GraphType); } /** Get Graph Type. @@ -349,12 +337,6 @@ public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_PrintLabel.java b/base/src/org/compiere/model/X_AD_PrintLabel.java index db05e32feb..4f8c5a5a12 100644 --- a/base/src/org/compiere/model/X_AD_PrintLabel.java +++ b/base/src/org/compiere/model/X_AD_PrintLabel.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintLabel * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent { @@ -166,12 +166,6 @@ public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -255,12 +249,6 @@ public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -286,12 +274,6 @@ public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent */ public void setPrinterName (String PrinterName) { - - if (PrinterName != null && PrinterName.length() > 40) - { - log.warning("Length > 40 - truncated"); - PrinterName = PrinterName.substring(0, 40); - } set_Value (COLUMNNAME_PrinterName, PrinterName); } diff --git a/base/src/org/compiere/model/X_AD_PrintLabelLine.java b/base/src/org/compiere/model/X_AD_PrintLabelLine.java index fb05b933f2..906de9ece0 100644 --- a/base/src/org/compiere/model/X_AD_PrintLabelLine.java +++ b/base/src/org/compiere/model/X_AD_PrintLabelLine.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintLabelLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Persistent { @@ -41,8 +41,8 @@ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Pe /** if (AD_PrintLabelLine_ID == 0) { setAD_LabelPrinterFunction_ID (0); - setAD_PrintLabelLine_ID (0); setAD_PrintLabel_ID (0); + setAD_PrintLabelLine_ID (0); setLabelFormatType (null); // F setName (null); @@ -157,28 +157,6 @@ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Pe return ii.intValue(); } - /** Set Print Label Line. - @param AD_PrintLabelLine_ID - Print Label Line Format - */ - public void setAD_PrintLabelLine_ID (int AD_PrintLabelLine_ID) - { - if (AD_PrintLabelLine_ID < 1) - throw new IllegalArgumentException ("AD_PrintLabelLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_PrintLabelLine_ID, Integer.valueOf(AD_PrintLabelLine_ID)); - } - - /** Get Print Label Line. - @return Print Label Line Format - */ - public int getAD_PrintLabelLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_PrintLabelLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_PrintLabel getAD_PrintLabel() throws Exception { Class clazz = MTable.getClass(I_AD_PrintLabel.Table_Name); @@ -217,6 +195,28 @@ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Pe return ii.intValue(); } + /** Set Print Label Line. + @param AD_PrintLabelLine_ID + Print Label Line Format + */ + public void setAD_PrintLabelLine_ID (int AD_PrintLabelLine_ID) + { + if (AD_PrintLabelLine_ID < 1) + throw new IllegalArgumentException ("AD_PrintLabelLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_PrintLabelLine_ID, Integer.valueOf(AD_PrintLabelLine_ID)); + } + + /** Get Print Label Line. + @return Print Label Line Format + */ + public int getAD_PrintLabelLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_PrintLabelLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** LabelFormatType AD_Reference_ID=280 */ public static final int LABELFORMATTYPE_AD_Reference_ID=280; /** Field = F */ @@ -230,13 +230,7 @@ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Pe public void setLabelFormatType (String LabelFormatType) { if (LabelFormatType == null) throw new IllegalArgumentException ("LabelFormatType is mandatory"); - if (LabelFormatType.equals("F") || LabelFormatType.equals("T")); else throw new IllegalArgumentException ("LabelFormatType Invalid value - " + LabelFormatType + " - Reference_ID=280 - F - T"); - if (LabelFormatType.length() > 1) - { - log.warning("Length > 1 - truncated"); - LabelFormatType = LabelFormatType.substring(0, 1); - } - set_Value (COLUMNNAME_LabelFormatType, LabelFormatType); + if (LabelFormatType.equals("F") || LabelFormatType.equals("T")); else throw new IllegalArgumentException ("LabelFormatType Invalid value - " + LabelFormatType + " - Reference_ID=280 - F - T"); set_Value (COLUMNNAME_LabelFormatType, LabelFormatType); } /** Get Label Format Type. @@ -255,12 +249,6 @@ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -278,12 +266,6 @@ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Pe */ public void setPrintName (String PrintName) { - - if (PrintName != null && PrintName.length() > 60) - { - log.warning("Length > 60 - truncated"); - PrintName = PrintName.substring(0, 60); - } set_Value (COLUMNNAME_PrintName, PrintName); } diff --git a/base/src/org/compiere/model/X_AD_PrintPaper.java b/base/src/org/compiere/model/X_AD_PrintPaper.java index 6d0efc4558..f17906d93f 100644 --- a/base/src/org/compiere/model/X_AD_PrintPaper.java +++ b/base/src/org/compiere/model/X_AD_PrintPaper.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintPaper * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent { @@ -116,12 +116,6 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent { if (Code == null) throw new IllegalArgumentException ("Code is mandatory."); - - if (Code.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Code = Code.substring(0, 2000); - } set_Value (COLUMNNAME_Code, Code); } @@ -139,12 +133,6 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -169,13 +157,7 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent public void setDimensionUnits (String DimensionUnits) { - if (DimensionUnits == null || DimensionUnits.equals("M") || DimensionUnits.equals("I")); else throw new IllegalArgumentException ("DimensionUnits Invalid value - " + DimensionUnits + " - Reference_ID=375 - M - I"); - if (DimensionUnits != null && DimensionUnits.length() > 1) - { - log.warning("Length > 1 - truncated"); - DimensionUnits = DimensionUnits.substring(0, 1); - } - set_Value (COLUMNNAME_DimensionUnits, DimensionUnits); + if (DimensionUnits == null || DimensionUnits.equals("M") || DimensionUnits.equals("I")); else throw new IllegalArgumentException ("DimensionUnits Invalid value - " + DimensionUnits + " - Reference_ID=375 - M - I"); set_Value (COLUMNNAME_DimensionUnits, DimensionUnits); } /** Get Dimension Units. @@ -322,12 +304,6 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_PrintTableFormat.java b/base/src/org/compiere/model/X_AD_PrintTableFormat.java index 913e321a8a..b5daeabd1a 100644 --- a/base/src/org/compiere/model/X_AD_PrintTableFormat.java +++ b/base/src/org/compiere/model/X_AD_PrintTableFormat.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintTableFormat * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, I_Persistent { @@ -43,9 +43,9 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, setAD_PrintTableFormat_ID (0); setIsDefault (false); setIsPaintBoundaryLines (false); - setIsPaintHLines (false); setIsPaintHeaderLines (true); // Y + setIsPaintHLines (false); setIsPaintVLines (false); setIsPrintFunctionSymbols (false); setName (null); @@ -108,12 +108,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -131,12 +125,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, */ public void setFooterCenter (String FooterCenter) { - - if (FooterCenter != null && FooterCenter.length() > 255) - { - log.warning("Length > 255 - truncated"); - FooterCenter = FooterCenter.substring(0, 255); - } set_Value (COLUMNNAME_FooterCenter, FooterCenter); } @@ -154,12 +142,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, */ public void setFooterLeft (String FooterLeft) { - - if (FooterLeft != null && FooterLeft.length() > 255) - { - log.warning("Length > 255 - truncated"); - FooterLeft = FooterLeft.substring(0, 255); - } set_Value (COLUMNNAME_FooterLeft, FooterLeft); } @@ -177,12 +159,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, */ public void setFooterRight (String FooterRight) { - - if (FooterRight != null && FooterRight.length() > 255) - { - log.warning("Length > 255 - truncated"); - FooterRight = FooterRight.substring(0, 255); - } set_Value (COLUMNNAME_FooterRight, FooterRight); } @@ -294,6 +270,31 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, return ii.intValue(); } + /** Hdr_PrintFont_ID AD_Reference_ID=267 */ + public static final int HDR_PRINTFONT_ID_AD_Reference_ID=267; + /** Set Header Row Font. + @param Hdr_PrintFont_ID + Header row Font + */ + public void setHdr_PrintFont_ID (int Hdr_PrintFont_ID) + { + if (Hdr_PrintFont_ID < 1) + set_Value (COLUMNNAME_Hdr_PrintFont_ID, null); + else + set_Value (COLUMNNAME_Hdr_PrintFont_ID, Integer.valueOf(Hdr_PrintFont_ID)); + } + + /** Get Header Row Font. + @return Header row Font + */ + public int getHdr_PrintFont_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Hdr_PrintFont_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Header Stroke. @param HdrStroke Width of the Header Line Stroke @@ -331,13 +332,7 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public void setHdrStrokeType (String HdrStrokeType) { - if (HdrStrokeType == null || HdrStrokeType.equals("S") || HdrStrokeType.equals("D") || HdrStrokeType.equals("d") || HdrStrokeType.equals("2")); else throw new IllegalArgumentException ("HdrStrokeType Invalid value - " + HdrStrokeType + " - Reference_ID=312 - S - D - d - 2"); - if (HdrStrokeType != null && HdrStrokeType.length() > 1) - { - log.warning("Length > 1 - truncated"); - HdrStrokeType = HdrStrokeType.substring(0, 1); - } - set_Value (COLUMNNAME_HdrStrokeType, HdrStrokeType); + if (HdrStrokeType == null || HdrStrokeType.equals("S") || HdrStrokeType.equals("D") || HdrStrokeType.equals("d") || HdrStrokeType.equals("2")); else throw new IllegalArgumentException ("HdrStrokeType Invalid value - " + HdrStrokeType + " - Reference_ID=312 - S - D - d - 2"); set_Value (COLUMNNAME_HdrStrokeType, HdrStrokeType); } /** Get Header Stroke Type. @@ -398,43 +393,12 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, return ii.intValue(); } - /** Hdr_PrintFont_ID AD_Reference_ID=267 */ - public static final int HDR_PRINTFONT_ID_AD_Reference_ID=267; - /** Set Header Row Font. - @param Hdr_PrintFont_ID - Header row Font - */ - public void setHdr_PrintFont_ID (int Hdr_PrintFont_ID) - { - if (Hdr_PrintFont_ID < 1) - set_Value (COLUMNNAME_Hdr_PrintFont_ID, null); - else - set_Value (COLUMNNAME_Hdr_PrintFont_ID, Integer.valueOf(Hdr_PrintFont_ID)); - } - - /** Get Header Row Font. - @return Header row Font - */ - public int getHdr_PrintFont_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Hdr_PrintFont_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Header Center. @param HeaderCenter Content of the center portion of the header. */ public void setHeaderCenter (String HeaderCenter) { - - if (HeaderCenter != null && HeaderCenter.length() > 255) - { - log.warning("Length > 255 - truncated"); - HeaderCenter = HeaderCenter.substring(0, 255); - } set_Value (COLUMNNAME_HeaderCenter, HeaderCenter); } @@ -452,12 +416,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, */ public void setHeaderLeft (String HeaderLeft) { - - if (HeaderLeft != null && HeaderLeft.length() > 255) - { - log.warning("Length > 255 - truncated"); - HeaderLeft = HeaderLeft.substring(0, 255); - } set_Value (COLUMNNAME_HeaderLeft, HeaderLeft); } @@ -475,12 +433,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, */ public void setHeaderRight (String HeaderRight) { - - if (HeaderRight != null && HeaderRight.length() > 255) - { - log.warning("Length > 255 - truncated"); - HeaderRight = HeaderRight.substring(0, 255); - } set_Value (COLUMNNAME_HeaderRight, HeaderRight); } @@ -522,12 +474,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, */ public void setImageURL (String ImageURL) { - - if (ImageURL != null && ImageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - ImageURL = ImageURL.substring(0, 120); - } set_Value (COLUMNNAME_ImageURL, ImageURL); } @@ -587,30 +533,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, return false; } - /** Set Paint Horizontal Lines. - @param IsPaintHLines - Paint horizontal lines - */ - public void setIsPaintHLines (boolean IsPaintHLines) - { - set_Value (COLUMNNAME_IsPaintHLines, Boolean.valueOf(IsPaintHLines)); - } - - /** Get Paint Horizontal Lines. - @return Paint horizontal lines - */ - public boolean isPaintHLines () - { - Object oo = get_Value(COLUMNNAME_IsPaintHLines); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Paint Header Lines. @param IsPaintHeaderLines Paint Lines over/under the Header Line @@ -635,6 +557,30 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, return false; } + /** Set Paint Horizontal Lines. + @param IsPaintHLines + Paint horizontal lines + */ + public void setIsPaintHLines (boolean IsPaintHLines) + { + set_Value (COLUMNNAME_IsPaintHLines, Boolean.valueOf(IsPaintHLines)); + } + + /** Get Paint Horizontal Lines. + @return Paint horizontal lines + */ + public boolean isPaintHLines () + { + Object oo = get_Value(COLUMNNAME_IsPaintHLines); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Paint Vertical Lines. @param IsPaintVLines Paint vertical lines @@ -683,6 +629,31 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, return false; } + /** Line_PrintColor_ID AD_Reference_ID=266 */ + public static final int LINE_PRINTCOLOR_ID_AD_Reference_ID=266; + /** Set Line Color. + @param Line_PrintColor_ID + Table line color + */ + public void setLine_PrintColor_ID (int Line_PrintColor_ID) + { + if (Line_PrintColor_ID < 1) + set_Value (COLUMNNAME_Line_PrintColor_ID, null); + else + set_Value (COLUMNNAME_Line_PrintColor_ID, Integer.valueOf(Line_PrintColor_ID)); + } + + /** Get Line Color. + @return Table line color + */ + public int getLine_PrintColor_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Line_PrintColor_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Line Stroke. @param LineStroke Width of the Line Stroke @@ -720,13 +691,7 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public void setLineStrokeType (String LineStrokeType) { - if (LineStrokeType == null || LineStrokeType.equals("S") || LineStrokeType.equals("D") || LineStrokeType.equals("d") || LineStrokeType.equals("2")); else throw new IllegalArgumentException ("LineStrokeType Invalid value - " + LineStrokeType + " - Reference_ID=312 - S - D - d - 2"); - if (LineStrokeType != null && LineStrokeType.length() > 1) - { - log.warning("Length > 1 - truncated"); - LineStrokeType = LineStrokeType.substring(0, 1); - } - set_Value (COLUMNNAME_LineStrokeType, LineStrokeType); + if (LineStrokeType == null || LineStrokeType.equals("S") || LineStrokeType.equals("D") || LineStrokeType.equals("d") || LineStrokeType.equals("2")); else throw new IllegalArgumentException ("LineStrokeType Invalid value - " + LineStrokeType + " - Reference_ID=312 - S - D - d - 2"); set_Value (COLUMNNAME_LineStrokeType, LineStrokeType); } /** Get Line Stroke Type. @@ -737,31 +702,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, return (String)get_Value(COLUMNNAME_LineStrokeType); } - /** Line_PrintColor_ID AD_Reference_ID=266 */ - public static final int LINE_PRINTCOLOR_ID_AD_Reference_ID=266; - /** Set Line Color. - @param Line_PrintColor_ID - Table line color - */ - public void setLine_PrintColor_ID (int Line_PrintColor_ID) - { - if (Line_PrintColor_ID < 1) - set_Value (COLUMNNAME_Line_PrintColor_ID, null); - else - set_Value (COLUMNNAME_Line_PrintColor_ID, Integer.valueOf(Line_PrintColor_ID)); - } - - /** Get Line Color. - @return Table line color - */ - public int getLine_PrintColor_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Line_PrintColor_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -770,12 +710,6 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_Private_Access.java b/base/src/org/compiere/model/X_AD_Private_Access.java index 451d1cdb80..932ee143f9 100644 --- a/base/src/org/compiere/model/X_AD_Private_Access.java +++ b/base/src/org/compiere/model/X_AD_Private_Access.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Private_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Private_Access extends PO implements I_AD_Private_Access, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_Process.java b/base/src/org/compiere/model/X_AD_Process.java index ddfbf3825b..969d1c672e 100644 --- a/base/src/org/compiere/model/X_AD_Process.java +++ b/base/src/org/compiere/model/X_AD_Process.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Process * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent super (ctx, AD_Process_ID, trxName); /** if (AD_Process_ID == 0) { - setAD_Process_ID (0); setAccessLevel (null); + setAD_Process_ID (0); setEntityType (null); // U setIsBetaFunctionality (false); @@ -80,6 +80,38 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent return sb.toString(); } + /** AccessLevel AD_Reference_ID=5 */ + public static final int ACCESSLEVEL_AD_Reference_ID=5; + /** Organization = 1 */ + public static final String ACCESSLEVEL_Organization = "1"; + /** Client+Organization = 3 */ + public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; + /** System only = 4 */ + public static final String ACCESSLEVEL_SystemOnly = "4"; + /** All = 7 */ + public static final String ACCESSLEVEL_All = "7"; + /** System+Client = 6 */ + public static final String ACCESSLEVEL_SystemPlusClient = "6"; + /** Client only = 2 */ + public static final String ACCESSLEVEL_ClientOnly = "2"; + /** Set Data Access Level. + @param AccessLevel + Access Level required + */ + public void setAccessLevel (String AccessLevel) + { + if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); + if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); set_Value (COLUMNNAME_AccessLevel, AccessLevel); + } + + /** Get Data Access Level. + @return Access Level required + */ + public String getAccessLevel () + { + return (String)get_Value(COLUMNNAME_AccessLevel); + } + public I_AD_PrintFormat getAD_PrintFormat() throws Exception { Class clazz = MTable.getClass(I_AD_PrintFormat.Table_Name); @@ -219,56 +251,12 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent return ii.intValue(); } - /** AccessLevel AD_Reference_ID=5 */ - public static final int ACCESSLEVEL_AD_Reference_ID=5; - /** Organization = 1 */ - public static final String ACCESSLEVEL_Organization = "1"; - /** Client+Organization = 3 */ - public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; - /** System only = 4 */ - public static final String ACCESSLEVEL_SystemOnly = "4"; - /** All = 7 */ - public static final String ACCESSLEVEL_All = "7"; - /** System+Client = 6 */ - public static final String ACCESSLEVEL_SystemPlusClient = "6"; - /** Client only = 2 */ - public static final String ACCESSLEVEL_ClientOnly = "2"; - /** Set Data Access Level. - @param AccessLevel - Access Level required - */ - public void setAccessLevel (String AccessLevel) - { - if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); - if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); - if (AccessLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccessLevel = AccessLevel.substring(0, 1); - } - set_Value (COLUMNNAME_AccessLevel, AccessLevel); - } - - /** Get Data Access Level. - @return Access Level required - */ - public String getAccessLevel () - { - return (String)get_Value(COLUMNNAME_AccessLevel); - } - /** Set Classname. @param Classname Java Classname */ public void setClassname (String Classname) { - - if (Classname != null && Classname.length() > 60) - { - log.warning("Length > 60 - truncated"); - Classname = Classname.substring(0, 60); - } set_Value (COLUMNNAME_Classname, Classname); } @@ -286,12 +274,6 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -311,12 +293,6 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -334,12 +310,6 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -451,12 +421,6 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent @param JasperReport Jasper Report */ public void setJasperReport (String JasperReport) { - - if (JasperReport != null && JasperReport.length() > 255) - { - log.warning("Length > 255 - truncated"); - JasperReport = JasperReport.substring(0, 255); - } set_Value (COLUMNNAME_JasperReport, JasperReport); } @@ -475,12 +439,6 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -498,12 +456,6 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent */ public void setProcedureName (String ProcedureName) { - - if (ProcedureName != null && ProcedureName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProcedureName = ProcedureName.substring(0, 60); - } set_Value (COLUMNNAME_ProcedureName, ProcedureName); } @@ -530,13 +482,7 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent public void setShowHelp (String ShowHelp) { - if (ShowHelp == null || ShowHelp.equals("A") || ShowHelp.equals("N") || ShowHelp.equals("Y") || ShowHelp.equals("S")); else throw new IllegalArgumentException ("ShowHelp Invalid value - " + ShowHelp + " - Reference_ID=50007 - A - N - Y - S"); - if (ShowHelp != null && ShowHelp.length() > 1) - { - log.warning("Length > 1 - truncated"); - ShowHelp = ShowHelp.substring(0, 1); - } - set_Value (COLUMNNAME_ShowHelp, ShowHelp); + if (ShowHelp == null || ShowHelp.equals("A") || ShowHelp.equals("N") || ShowHelp.equals("Y") || ShowHelp.equals("S")); else throw new IllegalArgumentException ("ShowHelp Invalid value - " + ShowHelp + " - Reference_ID=50007 - A - N - Y - S"); set_Value (COLUMNNAME_ShowHelp, ShowHelp); } /** Get Show Help. @@ -594,12 +540,6 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -625,12 +565,6 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent */ public void setWorkflowValue (String WorkflowValue) { - - if (WorkflowValue != null && WorkflowValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - WorkflowValue = WorkflowValue.substring(0, 40); - } set_Value (COLUMNNAME_WorkflowValue, WorkflowValue); } diff --git a/base/src/org/compiere/model/X_AD_Process_Access.java b/base/src/org/compiere/model/X_AD_Process_Access.java index 03e31f7a18..24c9e40677 100644 --- a/base/src/org/compiere/model/X_AD_Process_Access.java +++ b/base/src/org/compiere/model/X_AD_Process_Access.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Process_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Process_Access extends PO implements I_AD_Process_Access, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_Process_Para.java b/base/src/org/compiere/model/X_AD_Process_Para.java index 5077eab0e6..d9b2a0e537 100644 --- a/base/src/org/compiere/model/X_AD_Process_Para.java +++ b/base/src/org/compiere/model/X_AD_Process_Para.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Process_Para * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persistent { @@ -277,12 +277,6 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis { if (ColumnName == null) throw new IllegalArgumentException ("ColumnName is mandatory."); - - if (ColumnName.length() > 40) - { - log.warning("Length > 40 - truncated"); - ColumnName = ColumnName.substring(0, 40); - } set_Value (COLUMNNAME_ColumnName, ColumnName); } @@ -300,12 +294,6 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis */ public void setDefaultValue (String DefaultValue) { - - if (DefaultValue != null && DefaultValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DefaultValue = DefaultValue.substring(0, 2000); - } set_Value (COLUMNNAME_DefaultValue, DefaultValue); } @@ -323,12 +311,6 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis */ public void setDefaultValue2 (String DefaultValue2) { - - if (DefaultValue2 != null && DefaultValue2.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DefaultValue2 = DefaultValue2.substring(0, 2000); - } set_Value (COLUMNNAME_DefaultValue2, DefaultValue2); } @@ -346,12 +328,6 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -371,12 +347,6 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -414,12 +384,6 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -511,12 +475,6 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -556,41 +514,12 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis return ii.intValue(); } - /** Set Value Format. - @param VFormat - Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public void setVFormat (String VFormat) - { - - if (VFormat != null && VFormat.length() > 20) - { - log.warning("Length > 20 - truncated"); - VFormat = VFormat.substring(0, 20); - } - set_Value (COLUMNNAME_VFormat, VFormat); - } - - /** Get Value Format. - @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public String getVFormat () - { - return (String)get_Value(COLUMNNAME_VFormat); - } - /** Set Max. Value. @param ValueMax Maximum Value for a field */ public void setValueMax (String ValueMax) { - - if (ValueMax != null && ValueMax.length() > 20) - { - log.warning("Length > 20 - truncated"); - ValueMax = ValueMax.substring(0, 20); - } set_Value (COLUMNNAME_ValueMax, ValueMax); } @@ -608,12 +537,6 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis */ public void setValueMin (String ValueMin) { - - if (ValueMin != null && ValueMin.length() > 20) - { - log.warning("Length > 20 - truncated"); - ValueMin = ValueMin.substring(0, 20); - } set_Value (COLUMNNAME_ValueMin, ValueMin); } @@ -624,4 +547,21 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis { return (String)get_Value(COLUMNNAME_ValueMin); } + + /** Set Value Format. + @param VFormat + Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public void setVFormat (String VFormat) + { + set_Value (COLUMNNAME_VFormat, VFormat); + } + + /** Get Value Format. + @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public String getVFormat () + { + return (String)get_Value(COLUMNNAME_VFormat); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_AD_Record_Access.java b/base/src/org/compiere/model/X_AD_Record_Access.java index 53ae1a9224..7574073b4d 100644 --- a/base/src/org/compiere/model/X_AD_Record_Access.java +++ b/base/src/org/compiere/model/X_AD_Record_Access.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Record_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_Ref_List.java b/base/src/org/compiere/model/X_AD_Ref_List.java index 754ee1bbbe..4d124c0bd7 100644 --- a/base/src/org/compiere/model/X_AD_Ref_List.java +++ b/base/src/org/compiere/model/X_AD_Ref_List.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Ref_List * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent { @@ -41,8 +41,8 @@ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent super (ctx, AD_Ref_List_ID, trxName); /** if (AD_Ref_List_ID == 0) { - setAD_Ref_List_ID (0); setAD_Reference_ID (0); + setAD_Ref_List_ID (0); setEntityType (null); // U setName (null); @@ -78,28 +78,6 @@ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent return sb.toString(); } - /** Set Reference List. - @param AD_Ref_List_ID - Reference List based on Table - */ - 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 (COLUMNNAME_AD_Ref_List_ID, Integer.valueOf(AD_Ref_List_ID)); - } - - /** Get Reference List. - @return Reference List based on Table - */ - public int getAD_Ref_List_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_Ref_List_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_Reference getAD_Reference() throws Exception { Class clazz = MTable.getClass(I_AD_Reference.Table_Name); @@ -138,18 +116,34 @@ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent return ii.intValue(); } + /** Set Reference List. + @param AD_Ref_List_ID + Reference List based on Table + */ + 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 (COLUMNNAME_AD_Ref_List_ID, Integer.valueOf(AD_Ref_List_ID)); + } + + /** Get Reference List. + @return Reference List based on Table + */ + public int getAD_Ref_List_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Ref_List_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -169,12 +163,6 @@ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -194,12 +182,6 @@ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -261,12 +243,6 @@ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 60) - { - log.warning("Length > 60 - truncated"); - Value = Value.substring(0, 60); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_AD_Ref_Table.java b/base/src/org/compiere/model/X_AD_Ref_Table.java index f2f5865566..a4778fe316 100644 --- a/base/src/org/compiere/model/X_AD_Ref_Table.java +++ b/base/src/org/compiere/model/X_AD_Ref_Table.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Ref_Table * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent { @@ -214,12 +214,6 @@ public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -261,12 +255,6 @@ public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent */ public void setOrderByClause (String OrderByClause) { - - if (OrderByClause != null && OrderByClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OrderByClause = OrderByClause.substring(0, 2000); - } set_Value (COLUMNNAME_OrderByClause, OrderByClause); } @@ -284,12 +272,6 @@ public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent */ public void setWhereClause (String WhereClause) { - - if (WhereClause != null && WhereClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WhereClause = WhereClause.substring(0, 2000); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/compiere/model/X_AD_Reference.java b/base/src/org/compiere/model/X_AD_Reference.java index 3255045a28..b86f681569 100644 --- a/base/src/org/compiere/model/X_AD_Reference.java +++ b/base/src/org/compiere/model/X_AD_Reference.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Reference * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent { @@ -102,12 +102,6 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -127,12 +121,6 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -150,12 +138,6 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -199,12 +181,6 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -224,29 +200,6 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent return new KeyNamePair(get_ID(), getName()); } - /** Set Value Format. - @param VFormat - Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public void setVFormat (String VFormat) - { - - if (VFormat != null && VFormat.length() > 40) - { - log.warning("Length > 40 - truncated"); - VFormat = VFormat.substring(0, 40); - } - set_Value (COLUMNNAME_VFormat, VFormat); - } - - /** Get Value Format. - @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public String getVFormat () - { - return (String)get_Value(COLUMNNAME_VFormat); - } - /** ValidationType AD_Reference_ID=2 */ public static final int VALIDATIONTYPE_AD_Reference_ID=2; /** List Validation = L */ @@ -262,13 +215,7 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent public void setValidationType (String ValidationType) { if (ValidationType == null) throw new IllegalArgumentException ("ValidationType is mandatory"); - if (ValidationType.equals("L") || ValidationType.equals("D") || ValidationType.equals("T")); else throw new IllegalArgumentException ("ValidationType Invalid value - " + ValidationType + " - Reference_ID=2 - L - D - T"); - if (ValidationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ValidationType = ValidationType.substring(0, 1); - } - set_Value (COLUMNNAME_ValidationType, ValidationType); + if (ValidationType.equals("L") || ValidationType.equals("D") || ValidationType.equals("T")); else throw new IllegalArgumentException ("ValidationType Invalid value - " + ValidationType + " - Reference_ID=2 - L - D - T"); set_Value (COLUMNNAME_ValidationType, ValidationType); } /** Get Validation type. @@ -278,4 +225,21 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent { return (String)get_Value(COLUMNNAME_ValidationType); } + + /** Set Value Format. + @param VFormat + Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public void setVFormat (String VFormat) + { + set_Value (COLUMNNAME_VFormat, VFormat); + } + + /** Get Value Format. + @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public String getVFormat () + { + return (String)get_Value(COLUMNNAME_VFormat); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_AD_Registration.java b/base/src/org/compiere/model/X_AD_Registration.java index 299b3c62e9..ef34bb3f07 100644 --- a/base/src/org/compiere/model/X_AD_Registration.java +++ b/base/src/org/compiere/model/X_AD_Registration.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for AD_Registration * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persistent { @@ -210,12 +210,6 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -233,12 +227,6 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis */ public void setIndustryInfo (String IndustryInfo) { - - if (IndustryInfo != null && IndustryInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - IndustryInfo = IndustryInfo.substring(0, 255); - } set_Value (COLUMNNAME_IndustryInfo, IndustryInfo); } @@ -372,12 +360,6 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis */ public void setPlatformInfo (String PlatformInfo) { - - if (PlatformInfo != null && PlatformInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - PlatformInfo = PlatformInfo.substring(0, 255); - } set_Value (COLUMNNAME_PlatformInfo, PlatformInfo); } @@ -439,12 +421,6 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis */ public void setRemote_Addr (String Remote_Addr) { - - if (Remote_Addr != null && Remote_Addr.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Addr = Remote_Addr.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_Remote_Addr, Remote_Addr); } @@ -462,12 +438,6 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis */ public void setRemote_Host (String Remote_Host) { - - if (Remote_Host != null && Remote_Host.length() > 120) - { - log.warning("Length > 120 - truncated"); - Remote_Host = Remote_Host.substring(0, 120); - } set_ValueNoCheck (COLUMNNAME_Remote_Host, Remote_Host); } diff --git a/base/src/org/compiere/model/X_AD_Replication.java b/base/src/org/compiere/model/X_AD_Replication.java index 2856c31f55..7d1f4c975e 100644 --- a/base/src/org/compiere/model/X_AD_Replication.java +++ b/base/src/org/compiere/model/X_AD_Replication.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Replication * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persistent { @@ -43,8 +43,8 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste super (ctx, AD_Replication_ID, trxName); /** if (AD_Replication_ID == 0) { - setAD_ReplicationStrategy_ID (0); setAD_Replication_ID (0); + setAD_ReplicationStrategy_ID (0); setHostAddress (null); setHostPort (0); // 80 @@ -84,6 +84,28 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste return sb.toString(); } + /** Set Replication. + @param AD_Replication_ID + Data Replication Target + */ + public void setAD_Replication_ID (int AD_Replication_ID) + { + if (AD_Replication_ID < 1) + throw new IllegalArgumentException ("AD_Replication_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_Replication_ID, Integer.valueOf(AD_Replication_ID)); + } + + /** Get Replication. + @return Data Replication Target + */ + public int getAD_Replication_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Replication_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_ReplicationStrategy getAD_ReplicationStrategy() throws Exception { Class clazz = MTable.getClass(I_AD_ReplicationStrategy.Table_Name); @@ -122,28 +144,6 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste return ii.intValue(); } - /** Set Replication. - @param AD_Replication_ID - Data Replication Target - */ - public void setAD_Replication_ID (int AD_Replication_ID) - { - if (AD_Replication_ID < 1) - throw new IllegalArgumentException ("AD_Replication_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_Replication_ID, Integer.valueOf(AD_Replication_ID)); - } - - /** Get Replication. - @return Data Replication Target - */ - public int getAD_Replication_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_Replication_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Date last run. @param DateLastRun Date the process was last run. @@ -167,12 +167,6 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -190,12 +184,6 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -215,12 +203,6 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste { if (HostAddress == null) throw new IllegalArgumentException ("HostAddress is mandatory."); - - if (HostAddress.length() > 60) - { - log.warning("Length > 60 - truncated"); - HostAddress = HostAddress.substring(0, 60); - } set_Value (COLUMNNAME_HostAddress, HostAddress); } @@ -324,12 +306,6 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -355,12 +331,6 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste */ public void setPrefix (String Prefix) { - - if (Prefix != null && Prefix.length() > 10) - { - log.warning("Length > 10 - truncated"); - Prefix = Prefix.substring(0, 10); - } set_Value (COLUMNNAME_Prefix, Prefix); } @@ -447,12 +417,6 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste */ public void setSuffix (String Suffix) { - - if (Suffix != null && Suffix.length() > 10) - { - log.warning("Length > 10 - truncated"); - Suffix = Suffix.substring(0, 10); - } set_Value (COLUMNNAME_Suffix, Suffix); } diff --git a/base/src/org/compiere/model/X_AD_ReplicationDocument.java b/base/src/org/compiere/model/X_AD_ReplicationDocument.java index 88fa342ebe..5e746c63cd 100644 --- a/base/src/org/compiere/model/X_AD_ReplicationDocument.java +++ b/base/src/org/compiere/model/X_AD_ReplicationDocument.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_ReplicationDocument * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ReplicationDocument extends PO implements I_AD_ReplicationDocument, I_Persistent { @@ -198,12 +198,6 @@ public class X_AD_ReplicationDocument extends PO implements I_AD_ReplicationDocu */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -230,13 +224,7 @@ public class X_AD_ReplicationDocument extends PO implements I_AD_ReplicationDocu public void setReplicationType (String ReplicationType) { if (ReplicationType == null) throw new IllegalArgumentException ("ReplicationType is mandatory"); - if (ReplicationType.equals("L") || ReplicationType.equals("M") || ReplicationType.equals("R")); else throw new IllegalArgumentException ("ReplicationType Invalid value - " + ReplicationType + " - Reference_ID=126 - L - M - R"); - if (ReplicationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ReplicationType = ReplicationType.substring(0, 1); - } - set_Value (COLUMNNAME_ReplicationType, ReplicationType); + if (ReplicationType.equals("L") || ReplicationType.equals("M") || ReplicationType.equals("R")); else throw new IllegalArgumentException ("ReplicationType Invalid value - " + ReplicationType + " - Reference_ID=126 - L - M - R"); set_Value (COLUMNNAME_ReplicationType, ReplicationType); } /** Get Replication Type. diff --git a/base/src/org/compiere/model/X_AD_ReplicationStrategy.java b/base/src/org/compiere/model/X_AD_ReplicationStrategy.java index b1e0ddadfc..f0b1fdbad2 100644 --- a/base/src/org/compiere/model/X_AD_ReplicationStrategy.java +++ b/base/src/org/compiere/model/X_AD_ReplicationStrategy.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_ReplicationStrategy * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStrategy, I_Persistent { @@ -103,12 +103,6 @@ public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStra */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -120,6 +114,25 @@ public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStra return (String)get_Value(COLUMNNAME_Description); } + /** EntityType AD_Reference_ID=389 */ + public static final int ENTITYTYPE_AD_Reference_ID=389; + /** Set Entity Type. + @param EntityType + Dictionary Entity Type; Determines ownership and synchronization + */ + public void setEntityType (String EntityType) + { + set_Value (COLUMNNAME_EntityType, EntityType); + } + + /** Get Entity Type. + @return Dictionary Entity Type; Determines ownership and synchronization + */ + public String getEntityType () + { + return (String)get_Value(COLUMNNAME_EntityType); + } + public org.eevolution.model.I_EXP_Processor getEXP_Processor() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_EXP_Processor.Table_Name); @@ -156,43 +169,12 @@ public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStra return ii.intValue(); } - /** EntityType AD_Reference_ID=389 */ - public static final int ENTITYTYPE_AD_Reference_ID=389; - /** Set Entity Type. - @param EntityType - Dictionary Entity Type; Determines ownership and synchronization - */ - public void setEntityType (String EntityType) - { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } - set_Value (COLUMNNAME_EntityType, EntityType); - } - - /** Get Entity Type. - @return Dictionary Entity Type; Determines ownership and synchronization - */ - public String getEntityType () - { - return (String)get_Value(COLUMNNAME_EntityType); - } - /** Set Comment/Help. @param Help Comment or Hint */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -212,12 +194,6 @@ public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStra { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_ReplicationTable.java b/base/src/org/compiere/model/X_AD_ReplicationTable.java index 833f7b5d90..63ab95e48e 100644 --- a/base/src/org/compiere/model/X_AD_ReplicationTable.java +++ b/base/src/org/compiere/model/X_AD_ReplicationTable.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_ReplicationTable * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ReplicationTable extends PO implements I_AD_ReplicationTable, I_Persistent { @@ -191,12 +191,6 @@ public class X_AD_ReplicationTable extends PO implements I_AD_ReplicationTable, */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -223,13 +217,7 @@ public class X_AD_ReplicationTable extends PO implements I_AD_ReplicationTable, public void setReplicationType (String ReplicationType) { if (ReplicationType == null) throw new IllegalArgumentException ("ReplicationType is mandatory"); - if (ReplicationType.equals("L") || ReplicationType.equals("M") || ReplicationType.equals("R")); else throw new IllegalArgumentException ("ReplicationType Invalid value - " + ReplicationType + " - Reference_ID=126 - L - M - R"); - if (ReplicationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ReplicationType = ReplicationType.substring(0, 1); - } - set_Value (COLUMNNAME_ReplicationType, ReplicationType); + if (ReplicationType.equals("L") || ReplicationType.equals("M") || ReplicationType.equals("R")); else throw new IllegalArgumentException ("ReplicationType Invalid value - " + ReplicationType + " - Reference_ID=126 - L - M - R"); set_Value (COLUMNNAME_ReplicationType, ReplicationType); } /** Get Replication Type. diff --git a/base/src/org/compiere/model/X_AD_Replication_Log.java b/base/src/org/compiere/model/X_AD_Replication_Log.java index 571b318271..4adf8951b9 100644 --- a/base/src/org/compiere/model/X_AD_Replication_Log.java +++ b/base/src/org/compiere/model/X_AD_Replication_Log.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Replication_Log * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_Persistent { @@ -75,45 +75,6 @@ public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_ return sb.toString(); } - public I_AD_ReplicationTable getAD_ReplicationTable() throws Exception - { - Class clazz = MTable.getClass(I_AD_ReplicationTable.Table_Name); - I_AD_ReplicationTable result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_AD_ReplicationTable)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_ReplicationTable_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Replication Table. - @param AD_ReplicationTable_ID - Data Replication Strategy Table Info - */ - public void setAD_ReplicationTable_ID (int AD_ReplicationTable_ID) - { - if (AD_ReplicationTable_ID < 1) - set_Value (COLUMNNAME_AD_ReplicationTable_ID, null); - else - set_Value (COLUMNNAME_AD_ReplicationTable_ID, Integer.valueOf(AD_ReplicationTable_ID)); - } - - /** Get Replication Table. - @return Data Replication Strategy Table Info - */ - public int getAD_ReplicationTable_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_ReplicationTable_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Replication Log. @param AD_Replication_Log_ID Data Replication Log Details @@ -182,6 +143,45 @@ public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_ return new KeyNamePair(get_ID(), String.valueOf(getAD_Replication_Run_ID())); } + public I_AD_ReplicationTable getAD_ReplicationTable() throws Exception + { + Class clazz = MTable.getClass(I_AD_ReplicationTable.Table_Name); + I_AD_ReplicationTable result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_AD_ReplicationTable)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_ReplicationTable_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Replication Table. + @param AD_ReplicationTable_ID + Data Replication Strategy Table Info + */ + public void setAD_ReplicationTable_ID (int AD_ReplicationTable_ID) + { + if (AD_ReplicationTable_ID < 1) + set_Value (COLUMNNAME_AD_ReplicationTable_ID, null); + else + set_Value (COLUMNNAME_AD_ReplicationTable_ID, Integer.valueOf(AD_ReplicationTable_ID)); + } + + /** Get Replication Table. + @return Data Replication Strategy Table Info + */ + public int getAD_ReplicationTable_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_ReplicationTable_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Replicated. @param IsReplicated The data is successfully replicated @@ -210,12 +210,6 @@ public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_ @param P_Msg Process Message */ public void setP_Msg (String P_Msg) { - - if (P_Msg != null && P_Msg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - P_Msg = P_Msg.substring(0, 2000); - } set_Value (COLUMNNAME_P_Msg, P_Msg); } diff --git a/base/src/org/compiere/model/X_AD_Replication_Run.java b/base/src/org/compiere/model/X_AD_Replication_Run.java index a4ddd526f5..a69702df3a 100644 --- a/base/src/org/compiere/model/X_AD_Replication_Run.java +++ b/base/src/org/compiere/model/X_AD_Replication_Run.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Replication_Run * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Replication_Run extends PO implements I_AD_Replication_Run, I_Persistent { @@ -142,12 +142,6 @@ public class X_AD_Replication_Run extends PO implements I_AD_Replication_Run, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -191,12 +185,6 @@ public class X_AD_Replication_Run extends PO implements I_AD_Replication_Run, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_ReportView.java b/base/src/org/compiere/model/X_AD_ReportView.java index 3c7555fc3a..370bfcfdbe 100644 --- a/base/src/org/compiere/model/X_AD_ReportView.java +++ b/base/src/org/compiere/model/X_AD_ReportView.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_ReportView * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent { @@ -142,12 +142,6 @@ public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -167,12 +161,6 @@ public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -192,12 +180,6 @@ public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -223,12 +205,6 @@ public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent */ public void setOrderByClause (String OrderByClause) { - - if (OrderByClause != null && OrderByClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OrderByClause = OrderByClause.substring(0, 2000); - } set_Value (COLUMNNAME_OrderByClause, OrderByClause); } @@ -246,12 +222,6 @@ public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent */ public void setWhereClause (String WhereClause) { - - if (WhereClause != null && WhereClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WhereClause = WhereClause.substring(0, 2000); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/compiere/model/X_AD_ReportView_Col.java b/base/src/org/compiere/model/X_AD_ReportView_Col.java index 616d742bf1..3eeae6beea 100644 --- a/base/src/org/compiere/model/X_AD_ReportView_Col.java +++ b/base/src/org/compiere/model/X_AD_ReportView_Col.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_ReportView_Col * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_ReportView_Col extends PO implements I_AD_ReportView_Col, I_Persistent { @@ -187,12 +187,6 @@ public class X_AD_ReportView_Col extends PO implements I_AD_ReportView_Col, I_Pe { if (FunctionColumn == null) throw new IllegalArgumentException ("FunctionColumn is mandatory."); - - if (FunctionColumn.length() > 60) - { - log.warning("Length > 60 - truncated"); - FunctionColumn = FunctionColumn.substring(0, 60); - } set_Value (COLUMNNAME_FunctionColumn, FunctionColumn); } diff --git a/base/src/org/compiere/model/X_AD_Role.java b/base/src/org/compiere/model/X_AD_Role.java index 374d40da0a..26871a8dd3 100644 --- a/base/src/org/compiere/model/X_AD_Role.java +++ b/base/src/org/compiere/model/X_AD_Role.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Role * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent { @@ -238,27 +238,6 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent return false; } - /** Set Allow Info CRP. - @param Allow_Info_CRP Allow Info CRP */ - public void setAllow_Info_CRP (boolean Allow_Info_CRP) - { - set_Value (COLUMNNAME_Allow_Info_CRP, Boolean.valueOf(Allow_Info_CRP)); - } - - /** Get Allow Info CRP. - @return Allow Info CRP */ - public boolean isAllow_Info_CRP () - { - Object oo = get_Value(COLUMNNAME_Allow_Info_CRP); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Allow Info CashJournal. @param Allow_Info_CashJournal Allow Info CashJournal */ public void setAllow_Info_CashJournal (boolean Allow_Info_CashJournal) @@ -280,6 +259,27 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent return false; } + /** Set Allow Info CRP. + @param Allow_Info_CRP Allow Info CRP */ + public void setAllow_Info_CRP (boolean Allow_Info_CRP) + { + set_Value (COLUMNNAME_Allow_Info_CRP, Boolean.valueOf(Allow_Info_CRP)); + } + + /** Get Allow Info CRP. + @return Allow Info CRP */ + public boolean isAllow_Info_CRP () + { + Object oo = get_Value(COLUMNNAME_Allow_Info_CRP); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Allow Info InOut. @param Allow_Info_InOut Allow Info InOut */ public void setAllow_Info_InOut (boolean Allow_Info_InOut) @@ -544,13 +544,7 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public void setConnectionProfile (String ConnectionProfile) { - if (ConnectionProfile == null || ConnectionProfile.equals("L") || ConnectionProfile.equals("T") || ConnectionProfile.equals("V") || ConnectionProfile.equals("W")); else throw new IllegalArgumentException ("ConnectionProfile Invalid value - " + ConnectionProfile + " - Reference_ID=364 - L - T - V - W"); - if (ConnectionProfile != null && ConnectionProfile.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConnectionProfile = ConnectionProfile.substring(0, 1); - } - set_Value (COLUMNNAME_ConnectionProfile, ConnectionProfile); + if (ConnectionProfile == null || ConnectionProfile.equals("L") || ConnectionProfile.equals("T") || ConnectionProfile.equals("V") || ConnectionProfile.equals("W")); else throw new IllegalArgumentException ("ConnectionProfile Invalid value - " + ConnectionProfile + " - Reference_ID=364 - L - T - V - W"); set_Value (COLUMNNAME_ConnectionProfile, ConnectionProfile); } /** Get Connection Profile. @@ -567,12 +561,6 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -852,12 +840,6 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -918,13 +900,7 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public void setPreferenceType (String PreferenceType) { if (PreferenceType == null) throw new IllegalArgumentException ("PreferenceType is mandatory"); - if (PreferenceType.equals("C") || PreferenceType.equals("O") || PreferenceType.equals("U") || PreferenceType.equals("N")); else throw new IllegalArgumentException ("PreferenceType Invalid value - " + PreferenceType + " - Reference_ID=330 - C - O - U - N"); - if (PreferenceType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PreferenceType = PreferenceType.substring(0, 1); - } - set_Value (COLUMNNAME_PreferenceType, PreferenceType); + if (PreferenceType.equals("C") || PreferenceType.equals("O") || PreferenceType.equals("U") || PreferenceType.equals("N")); else throw new IllegalArgumentException ("PreferenceType Invalid value - " + PreferenceType + " - Reference_ID=330 - C - O - U - N"); set_Value (COLUMNNAME_PreferenceType, PreferenceType); } /** Get Preference Level. @@ -994,13 +970,7 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public void setUserLevel (String UserLevel) { if (UserLevel == null) throw new IllegalArgumentException ("UserLevel is mandatory"); - if (UserLevel.equals("S ") || UserLevel.equals(" C ") || UserLevel.equals(" O") || UserLevel.equals(" CO")); else throw new IllegalArgumentException ("UserLevel Invalid value - " + UserLevel + " - Reference_ID=226 - S - C - O - CO"); - if (UserLevel.length() > 3) - { - log.warning("Length > 3 - truncated"); - UserLevel = UserLevel.substring(0, 3); - } - set_Value (COLUMNNAME_UserLevel, UserLevel); + if (UserLevel.equals("S ") || UserLevel.equals(" C ") || UserLevel.equals(" O") || UserLevel.equals(" CO")); else throw new IllegalArgumentException ("UserLevel Invalid value - " + UserLevel + " - Reference_ID=226 - S - C - O - CO"); set_Value (COLUMNNAME_UserLevel, UserLevel); } /** Get User Level. diff --git a/base/src/org/compiere/model/X_AD_Role_OrgAccess.java b/base/src/org/compiere/model/X_AD_Role_OrgAccess.java index 82d0fc3728..260a14a4e9 100644 --- a/base/src/org/compiere/model/X_AD_Role_OrgAccess.java +++ b/base/src/org/compiere/model/X_AD_Role_OrgAccess.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Role_OrgAccess * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Role_OrgAccess extends PO implements I_AD_Role_OrgAccess, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_Rule.java b/base/src/org/compiere/model/X_AD_Rule.java index 8dddf76501..0743f93b0b 100644 --- a/base/src/org/compiere/model/X_AD_Rule.java +++ b/base/src/org/compiere/model/X_AD_Rule.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Rule * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent { @@ -76,25 +76,6 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent return sb.toString(); } - /** Set Rule. - @param AD_Rule_ID Rule */ - public void setAD_Rule_ID (int AD_Rule_ID) - { - if (AD_Rule_ID < 1) - throw new IllegalArgumentException ("AD_Rule_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_Rule_ID, Integer.valueOf(AD_Rule_ID)); - } - - /** Get Rule. - @return Rule */ - public int getAD_Rule_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_Rule_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** AccessLevel AD_Reference_ID=5 */ public static final int ACCESSLEVEL_AD_Reference_ID=5; /** Organization = 1 */ @@ -116,13 +97,7 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent public void setAccessLevel (String AccessLevel) { - if (AccessLevel == null || AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); - if (AccessLevel != null && AccessLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccessLevel = AccessLevel.substring(0, 1); - } - set_Value (COLUMNNAME_AccessLevel, AccessLevel); + if (AccessLevel == null || AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); set_Value (COLUMNNAME_AccessLevel, AccessLevel); } /** Get Data Access Level. @@ -133,18 +108,31 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent return (String)get_Value(COLUMNNAME_AccessLevel); } + /** Set Rule. + @param AD_Rule_ID Rule */ + public void setAD_Rule_ID (int AD_Rule_ID) + { + if (AD_Rule_ID < 1) + throw new IllegalArgumentException ("AD_Rule_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_Rule_ID, Integer.valueOf(AD_Rule_ID)); + } + + /** Get Rule. + @return Rule */ + public int getAD_Rule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Rule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -164,12 +152,6 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -200,13 +182,7 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent public void setEventType (String EventType) { if (EventType == null) throw new IllegalArgumentException ("EventType is mandatory"); - if (EventType.equals("C") || EventType.equals("P") || EventType.equals("T") || EventType.equals("D") || EventType.equals("L")); else throw new IllegalArgumentException ("EventType Invalid value - " + EventType + " - Reference_ID=53236 - C - P - T - D - L"); - if (EventType.length() > 1) - { - log.warning("Length > 1 - truncated"); - EventType = EventType.substring(0, 1); - } - set_Value (COLUMNNAME_EventType, EventType); + if (EventType.equals("C") || EventType.equals("P") || EventType.equals("T") || EventType.equals("D") || EventType.equals("L")); else throw new IllegalArgumentException ("EventType Invalid value - " + EventType + " - Reference_ID=53236 - C - P - T - D - L"); set_Value (COLUMNNAME_EventType, EventType); } /** Get Event Type. @@ -223,12 +199,6 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -248,12 +218,6 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -288,13 +252,7 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent public void setRuleType (String RuleType) { if (RuleType == null) throw new IllegalArgumentException ("RuleType is mandatory"); - if (RuleType.equals("A") || RuleType.equals("S") || RuleType.equals("R") || RuleType.equals("Q")); else throw new IllegalArgumentException ("RuleType Invalid value - " + RuleType + " - Reference_ID=53235 - A - S - R - Q"); - if (RuleType.length() > 1) - { - log.warning("Length > 1 - truncated"); - RuleType = RuleType.substring(0, 1); - } - set_Value (COLUMNNAME_RuleType, RuleType); + if (RuleType.equals("A") || RuleType.equals("S") || RuleType.equals("R") || RuleType.equals("Q")); else throw new IllegalArgumentException ("RuleType Invalid value - " + RuleType + " - Reference_ID=53235 - A - S - R - Q"); set_Value (COLUMNNAME_RuleType, RuleType); } /** Get Rule Type. @@ -310,12 +268,6 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent */ public void setScript (String Script) { - - if (Script != null && Script.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Script = Script.substring(0, 2000); - } set_Value (COLUMNNAME_Script, Script); } @@ -335,12 +287,6 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_AD_Scheduler.java b/base/src/org/compiere/model/X_AD_Scheduler.java index 156a15f716..d7b9b00960 100644 --- a/base/src/org/compiere/model/X_AD_Scheduler.java +++ b/base/src/org/compiere/model/X_AD_Scheduler.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Scheduler * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent { @@ -182,12 +182,6 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -234,13 +228,7 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent public void setFrequencyType (String FrequencyType) { if (FrequencyType == null) throw new IllegalArgumentException ("FrequencyType is mandatory"); - if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); - if (FrequencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FrequencyType = FrequencyType.substring(0, 1); - } - set_Value (COLUMNNAME_FrequencyType, FrequencyType); + if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); set_Value (COLUMNNAME_FrequencyType, FrequencyType); } /** Get Frequency Type. @@ -299,12 +287,6 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -360,13 +342,7 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent public void setScheduleType (String ScheduleType) { if (ScheduleType == null) throw new IllegalArgumentException ("ScheduleType is mandatory"); - if (ScheduleType.equals("F") || ScheduleType.equals("W") || ScheduleType.equals("M")); else throw new IllegalArgumentException ("ScheduleType Invalid value - " + ScheduleType + " - Reference_ID=318 - F - W - M"); - if (ScheduleType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ScheduleType = ScheduleType.substring(0, 1); - } - set_Value (COLUMNNAME_ScheduleType, ScheduleType); + if (ScheduleType.equals("F") || ScheduleType.equals("W") || ScheduleType.equals("M")); else throw new IllegalArgumentException ("ScheduleType Invalid value - " + ScheduleType + " - Reference_ID=318 - F - W - M"); set_Value (COLUMNNAME_ScheduleType, ScheduleType); } /** Get Schedule Type. @@ -424,13 +400,7 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent public void setWeekDay (String WeekDay) { - if (WeekDay == null || WeekDay.equals("7") || WeekDay.equals("1") || WeekDay.equals("2") || WeekDay.equals("3") || WeekDay.equals("4") || WeekDay.equals("5") || WeekDay.equals("6")); else throw new IllegalArgumentException ("WeekDay Invalid value - " + WeekDay + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); - if (WeekDay != null && WeekDay.length() > 1) - { - log.warning("Length > 1 - truncated"); - WeekDay = WeekDay.substring(0, 1); - } - set_Value (COLUMNNAME_WeekDay, WeekDay); + if (WeekDay == null || WeekDay.equals("7") || WeekDay.equals("1") || WeekDay.equals("2") || WeekDay.equals("3") || WeekDay.equals("4") || WeekDay.equals("5") || WeekDay.equals("6")); else throw new IllegalArgumentException ("WeekDay Invalid value - " + WeekDay + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); set_Value (COLUMNNAME_WeekDay, WeekDay); } /** Get Day of the Week. diff --git a/base/src/org/compiere/model/X_AD_SchedulerLog.java b/base/src/org/compiere/model/X_AD_SchedulerLog.java index da2e1ad8fc..534197c064 100644 --- a/base/src/org/compiere/model/X_AD_SchedulerLog.java +++ b/base/src/org/compiere/model/X_AD_SchedulerLog.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_SchedulerLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persistent { @@ -39,8 +39,8 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis super (ctx, AD_SchedulerLog_ID, trxName); /** if (AD_SchedulerLog_ID == 0) { - setAD_SchedulerLog_ID (0); setAD_Scheduler_ID (0); + setAD_SchedulerLog_ID (0); setIsError (false); } */ } @@ -73,28 +73,6 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis return sb.toString(); } - /** Set Scheduler Log. - @param AD_SchedulerLog_ID - Result of the execution of the Scheduler - */ - public void setAD_SchedulerLog_ID (int AD_SchedulerLog_ID) - { - if (AD_SchedulerLog_ID < 1) - throw new IllegalArgumentException ("AD_SchedulerLog_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_SchedulerLog_ID, Integer.valueOf(AD_SchedulerLog_ID)); - } - - /** Get Scheduler Log. - @return Result of the execution of the Scheduler - */ - public int getAD_SchedulerLog_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_SchedulerLog_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_Scheduler getAD_Scheduler() throws Exception { Class clazz = MTable.getClass(I_AD_Scheduler.Table_Name); @@ -133,6 +111,28 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis return ii.intValue(); } + /** Set Scheduler Log. + @param AD_SchedulerLog_ID + Result of the execution of the Scheduler + */ + public void setAD_SchedulerLog_ID (int AD_SchedulerLog_ID) + { + if (AD_SchedulerLog_ID < 1) + throw new IllegalArgumentException ("AD_SchedulerLog_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_SchedulerLog_ID, Integer.valueOf(AD_SchedulerLog_ID)); + } + + /** Get Scheduler Log. + @return Result of the execution of the Scheduler + */ + public int getAD_SchedulerLog_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_SchedulerLog_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set BinaryData. @param BinaryData Binary Data @@ -156,12 +156,6 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -203,12 +197,6 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis */ public void setReference (String Reference) { - - if (Reference != null && Reference.length() > 60) - { - log.warning("Length > 60 - truncated"); - Reference = Reference.substring(0, 60); - } set_Value (COLUMNNAME_Reference, Reference); } @@ -226,12 +214,6 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_Value (COLUMNNAME_Summary, Summary); } @@ -249,12 +231,6 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_AD_SchedulerRecipient.java b/base/src/org/compiere/model/X_AD_SchedulerRecipient.java index 0aac1c7d71..ab7c44bd43 100644 --- a/base/src/org/compiere/model/X_AD_SchedulerRecipient.java +++ b/base/src/org/compiere/model/X_AD_SchedulerRecipient.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_SchedulerRecipient * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipient, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipie super (ctx, AD_SchedulerRecipient_ID, trxName); /** if (AD_SchedulerRecipient_ID == 0) { - setAD_SchedulerRecipient_ID (0); setAD_Scheduler_ID (0); + setAD_SchedulerRecipient_ID (0); } */ } @@ -112,28 +112,6 @@ public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipie return ii.intValue(); } - /** Set Scheduler Recipient. - @param AD_SchedulerRecipient_ID - Recipient of the Scheduler Notification - */ - public void setAD_SchedulerRecipient_ID (int AD_SchedulerRecipient_ID) - { - if (AD_SchedulerRecipient_ID < 1) - throw new IllegalArgumentException ("AD_SchedulerRecipient_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_SchedulerRecipient_ID, Integer.valueOf(AD_SchedulerRecipient_ID)); - } - - /** Get Scheduler Recipient. - @return Recipient of the Scheduler Notification - */ - public int getAD_SchedulerRecipient_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_SchedulerRecipient_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_Scheduler getAD_Scheduler() throws Exception { Class clazz = MTable.getClass(I_AD_Scheduler.Table_Name); @@ -172,6 +150,28 @@ public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipie return ii.intValue(); } + /** Set Scheduler Recipient. + @param AD_SchedulerRecipient_ID + Recipient of the Scheduler Notification + */ + public void setAD_SchedulerRecipient_ID (int AD_SchedulerRecipient_ID) + { + if (AD_SchedulerRecipient_ID < 1) + throw new IllegalArgumentException ("AD_SchedulerRecipient_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_SchedulerRecipient_ID, Integer.valueOf(AD_SchedulerRecipient_ID)); + } + + /** Get Scheduler Recipient. + @return Recipient of the Scheduler Notification + */ + public int getAD_SchedulerRecipient_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_SchedulerRecipient_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_User getAD_User() throws Exception { Class clazz = MTable.getClass(I_AD_User.Table_Name); diff --git a/base/src/org/compiere/model/X_AD_Scheduler_Para.java b/base/src/org/compiere/model/X_AD_Scheduler_Para.java index 2566e8eb83..3e538dd1f7 100644 --- a/base/src/org/compiere/model/X_AD_Scheduler_Para.java +++ b/base/src/org/compiere/model/X_AD_Scheduler_Para.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Scheduler_Para * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Scheduler_Para extends PO implements I_AD_Scheduler_Para, I_Persistent { @@ -151,12 +151,6 @@ public class X_AD_Scheduler_Para extends PO implements I_AD_Scheduler_Para, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -174,12 +168,6 @@ public class X_AD_Scheduler_Para extends PO implements I_AD_Scheduler_Para, I_Pe */ public void setParameterDefault (String ParameterDefault) { - - if (ParameterDefault != null && ParameterDefault.length() > 60) - { - log.warning("Length > 60 - truncated"); - ParameterDefault = ParameterDefault.substring(0, 60); - } set_Value (COLUMNNAME_ParameterDefault, ParameterDefault); } diff --git a/base/src/org/compiere/model/X_AD_Sequence.java b/base/src/org/compiere/model/X_AD_Sequence.java index 763eadabe3..e26b3a8b7a 100644 --- a/base/src/org/compiere/model/X_AD_Sequence.java +++ b/base/src/org/compiere/model/X_AD_Sequence.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Sequence * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent { @@ -148,12 +148,6 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent */ public void setDateColumn (String DateColumn) { - - if (DateColumn != null && DateColumn.length() > 60) - { - log.warning("Length > 60 - truncated"); - DateColumn = DateColumn.substring(0, 60); - } set_Value (COLUMNNAME_DateColumn, DateColumn); } @@ -171,12 +165,6 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent */ public void setDecimalPattern (String DecimalPattern) { - - if (DecimalPattern != null && DecimalPattern.length() > 40) - { - log.warning("Length > 40 - truncated"); - DecimalPattern = DecimalPattern.substring(0, 40); - } set_Value (COLUMNNAME_DecimalPattern, DecimalPattern); } @@ -194,12 +182,6 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -311,12 +293,6 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -342,12 +318,6 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent */ public void setPrefix (String Prefix) { - - if (Prefix != null && Prefix.length() > 255) - { - log.warning("Length > 255 - truncated"); - Prefix = Prefix.substring(0, 255); - } set_Value (COLUMNNAME_Prefix, Prefix); } @@ -409,12 +379,6 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent */ public void setSuffix (String Suffix) { - - if (Suffix != null && Suffix.length() > 255) - { - log.warning("Length > 255 - truncated"); - Suffix = Suffix.substring(0, 255); - } set_Value (COLUMNNAME_Suffix, Suffix); } @@ -432,12 +396,6 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent */ public void setVFormat (String VFormat) { - - if (VFormat != null && VFormat.length() > 40) - { - log.warning("Length > 40 - truncated"); - VFormat = VFormat.substring(0, 40); - } set_Value (COLUMNNAME_VFormat, VFormat); } diff --git a/base/src/org/compiere/model/X_AD_Sequence_Audit.java b/base/src/org/compiere/model/X_AD_Sequence_Audit.java index c3c2c33424..f27b91a0c5 100644 --- a/base/src/org/compiere/model/X_AD_Sequence_Audit.java +++ b/base/src/org/compiere/model/X_AD_Sequence_Audit.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Sequence_Audit * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Sequence_Audit extends PO implements I_AD_Sequence_Audit, I_Persistent { @@ -158,12 +158,6 @@ public class X_AD_Sequence_Audit extends PO implements I_AD_Sequence_Audit, I_Pe { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_AD_Sequence_No.java b/base/src/org/compiere/model/X_AD_Sequence_No.java index 26627d81c1..38f9838f61 100644 --- a/base/src/org/compiere/model/X_AD_Sequence_No.java +++ b/base/src/org/compiere/model/X_AD_Sequence_No.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Sequence_No * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Sequence_No extends PO implements I_AD_Sequence_No, I_Persistent { @@ -119,12 +119,6 @@ public class X_AD_Sequence_No extends PO implements I_AD_Sequence_No, I_Persiste { if (CalendarYear == null) throw new IllegalArgumentException ("CalendarYear is mandatory."); - - if (CalendarYear.length() > 4) - { - log.warning("Length > 4 - truncated"); - CalendarYear = CalendarYear.substring(0, 4); - } set_ValueNoCheck (COLUMNNAME_CalendarYear, CalendarYear); } diff --git a/base/src/org/compiere/model/X_AD_Session.java b/base/src/org/compiere/model/X_AD_Session.java index 92c304e8ee..fb66d52c66 100644 --- a/base/src/org/compiere/model/X_AD_Session.java +++ b/base/src/org/compiere/model/X_AD_Session.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Session * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Session extends PO implements I_AD_Session, I_Persistent { @@ -149,12 +149,6 @@ public class X_AD_Session extends PO implements I_AD_Session, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -210,12 +204,6 @@ public class X_AD_Session extends PO implements I_AD_Session, I_Persistent */ public void setRemote_Addr (String Remote_Addr) { - - if (Remote_Addr != null && Remote_Addr.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Addr = Remote_Addr.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_Remote_Addr, Remote_Addr); } @@ -233,12 +221,6 @@ public class X_AD_Session extends PO implements I_AD_Session, I_Persistent */ public void setRemote_Host (String Remote_Host) { - - if (Remote_Host != null && Remote_Host.length() > 120) - { - log.warning("Length > 120 - truncated"); - Remote_Host = Remote_Host.substring(0, 120); - } set_ValueNoCheck (COLUMNNAME_Remote_Host, Remote_Host); } @@ -256,12 +238,6 @@ public class X_AD_Session extends PO implements I_AD_Session, I_Persistent */ public void setWebSession (String WebSession) { - - if (WebSession != null && WebSession.length() > 40) - { - log.warning("Length > 40 - truncated"); - WebSession = WebSession.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_WebSession, WebSession); } diff --git a/base/src/org/compiere/model/X_AD_SysConfig.java b/base/src/org/compiere/model/X_AD_SysConfig.java index e5ef52bba1..835963e8ab 100644 --- a/base/src/org/compiere/model/X_AD_SysConfig.java +++ b/base/src/org/compiere/model/X_AD_SysConfig.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_SysConfig * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent { @@ -108,13 +108,7 @@ public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent public void setConfigurationLevel (String ConfigurationLevel) { - if (ConfigurationLevel == null || ConfigurationLevel.equals("S") || ConfigurationLevel.equals("C") || ConfigurationLevel.equals("O")); else throw new IllegalArgumentException ("ConfigurationLevel Invalid value - " + ConfigurationLevel + " - Reference_ID=53222 - S - C - O"); - if (ConfigurationLevel != null && ConfigurationLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConfigurationLevel = ConfigurationLevel.substring(0, 1); - } - set_Value (COLUMNNAME_ConfigurationLevel, ConfigurationLevel); + if (ConfigurationLevel == null || ConfigurationLevel.equals("S") || ConfigurationLevel.equals("C") || ConfigurationLevel.equals("O")); else throw new IllegalArgumentException ("ConfigurationLevel Invalid value - " + ConfigurationLevel + " - Reference_ID=53222 - S - C - O"); set_Value (COLUMNNAME_ConfigurationLevel, ConfigurationLevel); } /** Get Configuration Level. @@ -131,12 +125,6 @@ public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -156,12 +144,6 @@ public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -181,12 +163,6 @@ public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 100) - { - log.warning("Length > 100 - truncated"); - Name = Name.substring(0, 100); - } set_Value (COLUMNNAME_Name, Name); } @@ -214,12 +190,6 @@ public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 255) - { - log.warning("Length > 255 - truncated"); - Value = Value.substring(0, 255); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_AD_System.java b/base/src/org/compiere/model/X_AD_System.java index 5087e680d2..d6aa1150df 100644 --- a/base/src/org/compiere/model/X_AD_System.java +++ b/base/src/org/compiere/model/X_AD_System.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_System * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_System extends PO implements I_AD_System, I_Persistent { @@ -118,12 +118,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setCustomPrefix (String CustomPrefix) { - - if (CustomPrefix != null && CustomPrefix.length() > 60) - { - log.warning("Length > 60 - truncated"); - CustomPrefix = CustomPrefix.substring(0, 60); - } set_Value (COLUMNNAME_CustomPrefix, CustomPrefix); } @@ -141,12 +135,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setDBAddress (String DBAddress) { - - if (DBAddress != null && DBAddress.length() > 255) - { - log.warning("Length > 255 - truncated"); - DBAddress = DBAddress.substring(0, 255); - } set_Value (COLUMNNAME_DBAddress, DBAddress); } @@ -164,12 +152,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setDBInstance (String DBInstance) { - - if (DBInstance != null && DBInstance.length() > 60) - { - log.warning("Length > 60 - truncated"); - DBInstance = DBInstance.substring(0, 60); - } set_Value (COLUMNNAME_DBInstance, DBInstance); } @@ -187,12 +169,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -210,12 +186,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setEncryptionKey (String EncryptionKey) { - - if (EncryptionKey != null && EncryptionKey.length() > 255) - { - log.warning("Length > 255 - truncated"); - EncryptionKey = EncryptionKey.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_EncryptionKey, EncryptionKey); } @@ -275,12 +245,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent { if (Info == null) throw new IllegalArgumentException ("Info is mandatory."); - - if (Info.length() > 255) - { - log.warning("Length > 255 - truncated"); - Info = Info.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_Info, Info); } @@ -406,18 +370,26 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent return false; } + /** Set Last Build Info. + @param LastBuildInfo Last Build Info */ + public void setLastBuildInfo (String LastBuildInfo) + { + set_Value (COLUMNNAME_LastBuildInfo, LastBuildInfo); + } + + /** Get Last Build Info. + @return Last Build Info */ + public String getLastBuildInfo () + { + return (String)get_Value(COLUMNNAME_LastBuildInfo); + } + /** Set LDAP Domain. @param LDAPDomain Directory service domain name - e.g. adempiere.org */ public void setLDAPDomain (String LDAPDomain) { - - if (LDAPDomain != null && LDAPDomain.length() > 255) - { - log.warning("Length > 255 - truncated"); - LDAPDomain = LDAPDomain.substring(0, 255); - } set_Value (COLUMNNAME_LDAPDomain, LDAPDomain); } @@ -435,12 +407,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setLDAPHost (String LDAPHost) { - - if (LDAPHost != null && LDAPHost.length() > 60) - { - log.warning("Length > 60 - truncated"); - LDAPHost = LDAPHost.substring(0, 60); - } set_Value (COLUMNNAME_LDAPHost, LDAPHost); } @@ -452,26 +418,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent return (String)get_Value(COLUMNNAME_LDAPHost); } - /** Set Last Build Info. - @param LastBuildInfo Last Build Info */ - public void setLastBuildInfo (String LastBuildInfo) - { - - if (LastBuildInfo != null && LastBuildInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - LastBuildInfo = LastBuildInfo.substring(0, 255); - } - set_Value (COLUMNNAME_LastBuildInfo, LastBuildInfo); - } - - /** Get Last Build Info. - @return Last Build Info */ - public String getLastBuildInfo () - { - return (String)get_Value(COLUMNNAME_LastBuildInfo); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -480,12 +426,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -529,12 +469,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent @param OldName Old Name */ public void setOldName (String OldName) { - - if (OldName != null && OldName.length() > 60) - { - log.warning("Length > 60 - truncated"); - OldName = OldName.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_OldName, OldName); } @@ -553,12 +487,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent { if (Password == null) throw new IllegalArgumentException ("Password is mandatory."); - - if (Password.length() > 20) - { - log.warning("Length > 20 - truncated"); - Password = Password.substring(0, 20); - } set_Value (COLUMNNAME_Password, Password); } @@ -597,12 +525,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setProfileInfo (String ProfileInfo) { - - if (ProfileInfo != null && ProfileInfo.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProfileInfo = ProfileInfo.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_ProfileInfo, ProfileInfo); } @@ -643,12 +565,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setReleaseNo (String ReleaseNo) { - - if (ReleaseNo != null && ReleaseNo.length() > 4) - { - log.warning("Length > 4 - truncated"); - ReleaseNo = ReleaseNo.substring(0, 4); - } set_ValueNoCheck (COLUMNNAME_ReleaseNo, ReleaseNo); } @@ -675,13 +591,7 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent public void setReplicationType (String ReplicationType) { if (ReplicationType == null) throw new IllegalArgumentException ("ReplicationType is mandatory"); - if (ReplicationType.equals("L") || ReplicationType.equals("M") || ReplicationType.equals("R")); else throw new IllegalArgumentException ("ReplicationType Invalid value - " + ReplicationType + " - Reference_ID=126 - L - M - R"); - if (ReplicationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ReplicationType = ReplicationType.substring(0, 1); - } - set_Value (COLUMNNAME_ReplicationType, ReplicationType); + if (ReplicationType.equals("L") || ReplicationType.equals("M") || ReplicationType.equals("R")); else throw new IllegalArgumentException ("ReplicationType Invalid value - " + ReplicationType + " - Reference_ID=126 - L - M - R"); set_Value (COLUMNNAME_ReplicationType, ReplicationType); } /** Get Replication Type. @@ -698,12 +608,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setStatisticsInfo (String StatisticsInfo) { - - if (StatisticsInfo != null && StatisticsInfo.length() > 60) - { - log.warning("Length > 60 - truncated"); - StatisticsInfo = StatisticsInfo.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_StatisticsInfo, StatisticsInfo); } @@ -721,12 +625,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 255) - { - log.warning("Length > 255 - truncated"); - Summary = Summary.substring(0, 255); - } set_Value (COLUMNNAME_Summary, Summary); } @@ -744,12 +642,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent */ public void setSupportEMail (String SupportEMail) { - - if (SupportEMail != null && SupportEMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - SupportEMail = SupportEMail.substring(0, 60); - } set_Value (COLUMNNAME_SupportEMail, SupportEMail); } @@ -813,13 +705,7 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent public void setSystemStatus (String SystemStatus) { if (SystemStatus == null) throw new IllegalArgumentException ("SystemStatus is mandatory"); - if (SystemStatus.equals("E") || SystemStatus.equals("I") || SystemStatus.equals("P")); else throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P"); - if (SystemStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - SystemStatus = SystemStatus.substring(0, 1); - } - set_Value (COLUMNNAME_SystemStatus, SystemStatus); + if (SystemStatus.equals("E") || SystemStatus.equals("I") || SystemStatus.equals("P")); else throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P"); set_Value (COLUMNNAME_SystemStatus, SystemStatus); } /** Get System Status. @@ -838,12 +724,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent { if (UserName == null) throw new IllegalArgumentException ("UserName is mandatory."); - - if (UserName.length() > 60) - { - log.warning("Length > 60 - truncated"); - UserName = UserName.substring(0, 60); - } set_Value (COLUMNNAME_UserName, UserName); } @@ -863,12 +743,6 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent { if (Version == null) throw new IllegalArgumentException ("Version is mandatory."); - - if (Version.length() > 20) - { - log.warning("Length > 20 - truncated"); - Version = Version.substring(0, 20); - } set_ValueNoCheck (COLUMNNAME_Version, Version); } diff --git a/base/src/org/compiere/model/X_AD_Tab.java b/base/src/org/compiere/model/X_AD_Tab.java index 9016708820..05ac3a7f5e 100644 --- a/base/src/org/compiere/model/X_AD_Tab.java +++ b/base/src/org/compiere/model/X_AD_Tab.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Tab * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent { @@ -90,6 +90,45 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent return sb.toString(); } + public I_AD_Column getAD_Column() throws Exception + { + Class clazz = MTable.getClass(I_AD_Column.Table_Name); + I_AD_Column result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_AD_Column)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Column_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Column. + @param AD_Column_ID + Column in the table + */ + public void setAD_Column_ID (int AD_Column_ID) + { + if (AD_Column_ID < 1) + set_Value (COLUMNNAME_AD_Column_ID, null); + else + set_Value (COLUMNNAME_AD_Column_ID, Integer.valueOf(AD_Column_ID)); + } + + /** Get Column. + @return Column in the table + */ + public int getAD_Column_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Column_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** AD_ColumnSortOrder_ID AD_Reference_ID=257 */ public static final int AD_COLUMNSORTORDER_ID_AD_Reference_ID=257; /** Set Order Column. @@ -140,45 +179,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent return ii.intValue(); } - public I_AD_Column getAD_Column() throws Exception - { - Class clazz = MTable.getClass(I_AD_Column.Table_Name); - I_AD_Column result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_AD_Column)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Column_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Column. - @param AD_Column_ID - Column in the table - */ - public void setAD_Column_ID (int AD_Column_ID) - { - if (AD_Column_ID < 1) - set_Value (COLUMNNAME_AD_Column_ID, null); - else - set_Value (COLUMNNAME_AD_Column_ID, Integer.valueOf(AD_Column_ID)); - } - - /** Get Column. - @return Column in the table - */ - public int getAD_Column_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_Column_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_Image getAD_Image() throws Exception { Class clazz = MTable.getClass(I_AD_Image.Table_Name); @@ -361,12 +361,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent */ public void setCommitWarning (String CommitWarning) { - - if (CommitWarning != null && CommitWarning.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - CommitWarning = CommitWarning.substring(0, 2000); - } set_Value (COLUMNNAME_CommitWarning, CommitWarning); } @@ -384,12 +378,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -407,12 +395,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent */ public void setDisplayLogic (String DisplayLogic) { - - if (DisplayLogic != null && DisplayLogic.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DisplayLogic = DisplayLogic.substring(0, 2000); - } set_Value (COLUMNNAME_DisplayLogic, DisplayLogic); } @@ -432,12 +414,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -479,12 +455,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -502,12 +472,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent */ public void setImportFields (String ImportFields) { - - if (ImportFields != null && ImportFields.length() > 1) - { - log.warning("Length > 1 - truncated"); - ImportFields = ImportFields.substring(0, 1); - } set_Value (COLUMNNAME_ImportFields, ImportFields); } @@ -720,12 +684,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -751,12 +709,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent */ public void setOrderByClause (String OrderByClause) { - - if (OrderByClause != null && OrderByClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OrderByClause = OrderByClause.substring(0, 2000); - } set_Value (COLUMNNAME_OrderByClause, OrderByClause); } @@ -795,12 +747,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent */ public void setReadOnlyLogic (String ReadOnlyLogic) { - - if (ReadOnlyLogic != null && ReadOnlyLogic.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ReadOnlyLogic = ReadOnlyLogic.substring(0, 2000); - } set_Value (COLUMNNAME_ReadOnlyLogic, ReadOnlyLogic); } @@ -858,12 +804,6 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent */ public void setWhereClause (String WhereClause) { - - if (WhereClause != null && WhereClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WhereClause = WhereClause.substring(0, 2000); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/compiere/model/X_AD_Table.java b/base/src/org/compiere/model/X_AD_Table.java index e1e03030ae..c8981e840d 100644 --- a/base/src/org/compiere/model/X_AD_Table.java +++ b/base/src/org/compiere/model/X_AD_Table.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Table * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent { @@ -40,9 +40,9 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent super (ctx, AD_Table_ID, trxName); /** if (AD_Table_ID == 0) { - setAD_Table_ID (0); setAccessLevel (null); // 4 + setAD_Table_ID (0); setEntityType (null); // U setIsChangeLog (false); @@ -87,6 +87,38 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent return sb.toString(); } + /** AccessLevel AD_Reference_ID=5 */ + public static final int ACCESSLEVEL_AD_Reference_ID=5; + /** Organization = 1 */ + public static final String ACCESSLEVEL_Organization = "1"; + /** Client+Organization = 3 */ + public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; + /** System only = 4 */ + public static final String ACCESSLEVEL_SystemOnly = "4"; + /** All = 7 */ + public static final String ACCESSLEVEL_All = "7"; + /** System+Client = 6 */ + public static final String ACCESSLEVEL_SystemPlusClient = "6"; + /** Client only = 2 */ + public static final String ACCESSLEVEL_ClientOnly = "2"; + /** Set Data Access Level. + @param AccessLevel + Access Level required + */ + public void setAccessLevel (String AccessLevel) + { + if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); + if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); set_Value (COLUMNNAME_AccessLevel, AccessLevel); + } + + /** Get Data Access Level. + @return Access Level required + */ + public String getAccessLevel () + { + return (String)get_Value(COLUMNNAME_AccessLevel); + } + /** Set Table. @param AD_Table_ID Database Table information @@ -187,54 +219,10 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent return ii.intValue(); } - /** AccessLevel AD_Reference_ID=5 */ - public static final int ACCESSLEVEL_AD_Reference_ID=5; - /** Organization = 1 */ - public static final String ACCESSLEVEL_Organization = "1"; - /** Client+Organization = 3 */ - public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; - /** System only = 4 */ - public static final String ACCESSLEVEL_SystemOnly = "4"; - /** All = 7 */ - public static final String ACCESSLEVEL_All = "7"; - /** System+Client = 6 */ - public static final String ACCESSLEVEL_SystemPlusClient = "6"; - /** Client only = 2 */ - public static final String ACCESSLEVEL_ClientOnly = "2"; - /** Set Data Access Level. - @param AccessLevel - Access Level required - */ - public void setAccessLevel (String AccessLevel) - { - if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); - if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); - if (AccessLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccessLevel = AccessLevel.substring(0, 1); - } - set_Value (COLUMNNAME_AccessLevel, AccessLevel); - } - - /** Get Data Access Level. - @return Access Level required - */ - public String getAccessLevel () - { - return (String)get_Value(COLUMNNAME_AccessLevel); - } - /** Set Copy Columns From Table. @param CopyColumnsFromTable Copy Columns From Table */ public void setCopyColumnsFromTable (String CopyColumnsFromTable) { - - if (CopyColumnsFromTable != null && CopyColumnsFromTable.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyColumnsFromTable = CopyColumnsFromTable.substring(0, 1); - } set_Value (COLUMNNAME_CopyColumnsFromTable, CopyColumnsFromTable); } @@ -251,12 +239,6 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -276,12 +258,6 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -299,12 +275,6 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -322,12 +292,6 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent */ public void setImportTable (String ImportTable) { - - if (ImportTable != null && ImportTable.length() > 1) - { - log.warning("Length > 1 - truncated"); - ImportTable = ImportTable.substring(0, 1); - } set_Value (COLUMNNAME_ImportTable, ImportTable); } @@ -484,12 +448,6 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -541,13 +499,7 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent public void setReplicationType (String ReplicationType) { if (ReplicationType == null) throw new IllegalArgumentException ("ReplicationType is mandatory"); - if (ReplicationType.equals("L") || ReplicationType.equals("M") || ReplicationType.equals("R")); else throw new IllegalArgumentException ("ReplicationType Invalid value - " + ReplicationType + " - Reference_ID=126 - L - M - R"); - if (ReplicationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ReplicationType = ReplicationType.substring(0, 1); - } - set_Value (COLUMNNAME_ReplicationType, ReplicationType); + if (ReplicationType.equals("L") || ReplicationType.equals("M") || ReplicationType.equals("R")); else throw new IllegalArgumentException ("ReplicationType Invalid value - " + ReplicationType + " - Reference_ID=126 - L - M - R"); set_Value (COLUMNNAME_ReplicationType, ReplicationType); } /** Get Replication Type. @@ -566,12 +518,6 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent { if (TableName == null) throw new IllegalArgumentException ("TableName is mandatory."); - - if (TableName.length() > 40) - { - log.warning("Length > 40 - truncated"); - TableName = TableName.substring(0, 40); - } set_Value (COLUMNNAME_TableName, TableName); } diff --git a/base/src/org/compiere/model/X_AD_Table_Access.java b/base/src/org/compiere/model/X_AD_Table_Access.java index f1b47f41e7..f5fd9226d5 100644 --- a/base/src/org/compiere/model/X_AD_Table_Access.java +++ b/base/src/org/compiere/model/X_AD_Table_Access.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Table_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persistent { @@ -40,10 +40,10 @@ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persis super (ctx, AD_Table_Access_ID, trxName); /** if (AD_Table_Access_ID == 0) { - setAD_Role_ID (0); - setAD_Table_ID (0); setAccessTypeRule (null); // A + setAD_Role_ID (0); + setAD_Table_ID (0); setIsCanExport (false); setIsCanReport (false); setIsExclude (true); @@ -80,6 +80,32 @@ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persis return sb.toString(); } + /** AccessTypeRule AD_Reference_ID=293 */ + public static final int ACCESSTYPERULE_AD_Reference_ID=293; + /** Accessing = A */ + public static final String ACCESSTYPERULE_Accessing = "A"; + /** Reporting = R */ + public static final String ACCESSTYPERULE_Reporting = "R"; + /** Exporting = E */ + public static final String ACCESSTYPERULE_Exporting = "E"; + /** Set Access Type. + @param AccessTypeRule + The type of access for this rule + */ + public void setAccessTypeRule (String AccessTypeRule) + { + if (AccessTypeRule == null) throw new IllegalArgumentException ("AccessTypeRule is mandatory"); + if (AccessTypeRule.equals("A") || AccessTypeRule.equals("R") || AccessTypeRule.equals("E")); else throw new IllegalArgumentException ("AccessTypeRule Invalid value - " + AccessTypeRule + " - Reference_ID=293 - A - R - E"); set_ValueNoCheck (COLUMNNAME_AccessTypeRule, AccessTypeRule); + } + + /** Get Access Type. + @return The type of access for this rule + */ + public String getAccessTypeRule () + { + return (String)get_Value(COLUMNNAME_AccessTypeRule); + } + public I_AD_Role getAD_Role() throws Exception { Class clazz = MTable.getClass(I_AD_Role.Table_Name); @@ -164,38 +190,6 @@ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persis return new KeyNamePair(get_ID(), String.valueOf(getAD_Table_ID())); } - /** AccessTypeRule AD_Reference_ID=293 */ - public static final int ACCESSTYPERULE_AD_Reference_ID=293; - /** Accessing = A */ - public static final String ACCESSTYPERULE_Accessing = "A"; - /** Reporting = R */ - public static final String ACCESSTYPERULE_Reporting = "R"; - /** Exporting = E */ - public static final String ACCESSTYPERULE_Exporting = "E"; - /** Set Access Type. - @param AccessTypeRule - The type of access for this rule - */ - public void setAccessTypeRule (String AccessTypeRule) - { - if (AccessTypeRule == null) throw new IllegalArgumentException ("AccessTypeRule is mandatory"); - if (AccessTypeRule.equals("A") || AccessTypeRule.equals("R") || AccessTypeRule.equals("E")); else throw new IllegalArgumentException ("AccessTypeRule Invalid value - " + AccessTypeRule + " - Reference_ID=293 - A - R - E"); - if (AccessTypeRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccessTypeRule = AccessTypeRule.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_AccessTypeRule, AccessTypeRule); - } - - /** Get Access Type. - @return The type of access for this rule - */ - public String getAccessTypeRule () - { - return (String)get_Value(COLUMNNAME_AccessTypeRule); - } - /** Set Can Export. @param IsCanExport Users with this role can export data diff --git a/base/src/org/compiere/model/X_AD_Table_ScriptValidator.java b/base/src/org/compiere/model/X_AD_Table_ScriptValidator.java index 6837e6468b..b38d9b2c4f 100644 --- a/base/src/org/compiere/model/X_AD_Table_ScriptValidator.java +++ b/base/src/org/compiere/model/X_AD_Table_ScriptValidator.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Table_ScriptValidator * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Table_ScriptValidator extends PO implements I_AD_Table_ScriptValidator, I_Persistent { @@ -226,13 +226,7 @@ public class X_AD_Table_ScriptValidator extends PO implements I_AD_Table_ScriptV public void setEventModelValidator (String EventModelValidator) { if (EventModelValidator == null) throw new IllegalArgumentException ("EventModelValidator is mandatory"); - if (EventModelValidator.equals("TBN") || EventModelValidator.equals("TBC") || EventModelValidator.equals("TBD") || EventModelValidator.equals("TAN") || EventModelValidator.equals("TAC") || EventModelValidator.equals("TAD") || EventModelValidator.equals("DBPR") || EventModelValidator.equals("DBVO") || EventModelValidator.equals("DBCL") || EventModelValidator.equals("DBAC") || EventModelValidator.equals("DBRC") || EventModelValidator.equals("DBRA") || EventModelValidator.equals("DBCO") || EventModelValidator.equals("DBPO") || EventModelValidator.equals("DAPR") || EventModelValidator.equals("DAVO") || EventModelValidator.equals("DACL") || EventModelValidator.equals("DAAC") || EventModelValidator.equals("DARC") || EventModelValidator.equals("DARA") || EventModelValidator.equals("DACO") || EventModelValidator.equals("DAPO") || EventModelValidator.equals("TANR") || EventModelValidator.equals("TACR") || EventModelValidator.equals("TBDR")); else throw new IllegalArgumentException ("EventModelValidator Invalid value - " + EventModelValidator + " - Reference_ID=53237 - TBN - TBC - TBD - TAN - TAC - TAD - DBPR - DBVO - DBCL - DBAC - DBRC - DBRA - DBCO - DBPO - DAPR - DAVO - DACL - DAAC - DARC - DARA - DACO - DAPO - TANR - TACR - TBDR"); - if (EventModelValidator.length() > 4) - { - log.warning("Length > 4 - truncated"); - EventModelValidator = EventModelValidator.substring(0, 4); - } - set_Value (COLUMNNAME_EventModelValidator, EventModelValidator); + if (EventModelValidator.equals("TBN") || EventModelValidator.equals("TBC") || EventModelValidator.equals("TBD") || EventModelValidator.equals("TAN") || EventModelValidator.equals("TAC") || EventModelValidator.equals("TAD") || EventModelValidator.equals("DBPR") || EventModelValidator.equals("DBVO") || EventModelValidator.equals("DBCL") || EventModelValidator.equals("DBAC") || EventModelValidator.equals("DBRC") || EventModelValidator.equals("DBRA") || EventModelValidator.equals("DBCO") || EventModelValidator.equals("DBPO") || EventModelValidator.equals("DAPR") || EventModelValidator.equals("DAVO") || EventModelValidator.equals("DACL") || EventModelValidator.equals("DAAC") || EventModelValidator.equals("DARC") || EventModelValidator.equals("DARA") || EventModelValidator.equals("DACO") || EventModelValidator.equals("DAPO") || EventModelValidator.equals("TANR") || EventModelValidator.equals("TACR") || EventModelValidator.equals("TBDR")); else throw new IllegalArgumentException ("EventModelValidator Invalid value - " + EventModelValidator + " - Reference_ID=53237 - TBN - TBC - TBD - TAN - TAC - TAD - DBPR - DBVO - DBCL - DBAC - DBRC - DBRA - DBCO - DBPO - DAPR - DAVO - DACL - DAAC - DARC - DARA - DACO - DAPO - TANR - TACR - TBDR"); set_Value (COLUMNNAME_EventModelValidator, EventModelValidator); } /** Get Event Model Validator. diff --git a/base/src/org/compiere/model/X_AD_Task.java b/base/src/org/compiere/model/X_AD_Task.java index a834491d71..651b109dda 100644 --- a/base/src/org/compiere/model/X_AD_Task.java +++ b/base/src/org/compiere/model/X_AD_Task.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Task * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent { @@ -38,8 +38,8 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent super (ctx, AD_Task_ID, trxName); /** if (AD_Task_ID == 0) { - setAD_Task_ID (0); setAccessLevel (null); + setAD_Task_ID (0); setEntityType (null); // U setIsServerProcess (false); @@ -77,6 +77,38 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent return sb.toString(); } + /** AccessLevel AD_Reference_ID=5 */ + public static final int ACCESSLEVEL_AD_Reference_ID=5; + /** Organization = 1 */ + public static final String ACCESSLEVEL_Organization = "1"; + /** Client+Organization = 3 */ + public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; + /** System only = 4 */ + public static final String ACCESSLEVEL_SystemOnly = "4"; + /** All = 7 */ + public static final String ACCESSLEVEL_All = "7"; + /** System+Client = 6 */ + public static final String ACCESSLEVEL_SystemPlusClient = "6"; + /** Client only = 2 */ + public static final String ACCESSLEVEL_ClientOnly = "2"; + /** Set Data Access Level. + @param AccessLevel + Access Level required + */ + public void setAccessLevel (String AccessLevel) + { + if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); + if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); set_Value (COLUMNNAME_AccessLevel, AccessLevel); + } + + /** Get Data Access Level. + @return Access Level required + */ + public String getAccessLevel () + { + return (String)get_Value(COLUMNNAME_AccessLevel); + } + /** Set OS Task. @param AD_Task_ID Operation System Task @@ -99,56 +131,12 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent return ii.intValue(); } - /** AccessLevel AD_Reference_ID=5 */ - public static final int ACCESSLEVEL_AD_Reference_ID=5; - /** Organization = 1 */ - public static final String ACCESSLEVEL_Organization = "1"; - /** Client+Organization = 3 */ - public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; - /** System only = 4 */ - public static final String ACCESSLEVEL_SystemOnly = "4"; - /** All = 7 */ - public static final String ACCESSLEVEL_All = "7"; - /** System+Client = 6 */ - public static final String ACCESSLEVEL_SystemPlusClient = "6"; - /** Client only = 2 */ - public static final String ACCESSLEVEL_ClientOnly = "2"; - /** Set Data Access Level. - @param AccessLevel - Access Level required - */ - public void setAccessLevel (String AccessLevel) - { - if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); - if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); - if (AccessLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccessLevel = AccessLevel.substring(0, 1); - } - set_Value (COLUMNNAME_AccessLevel, AccessLevel); - } - - /** Get Data Access Level. - @return Access Level required - */ - public String getAccessLevel () - { - return (String)get_Value(COLUMNNAME_AccessLevel); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -168,12 +156,6 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -191,12 +173,6 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -240,12 +216,6 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -273,12 +243,6 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent { if (OS_Command == null) throw new IllegalArgumentException ("OS_Command is mandatory."); - - if (OS_Command.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OS_Command = OS_Command.substring(0, 2000); - } set_Value (COLUMNNAME_OS_Command, OS_Command); } diff --git a/base/src/org/compiere/model/X_AD_TaskInstance.java b/base/src/org/compiere/model/X_AD_TaskInstance.java index e8c2891c99..156059aa0f 100644 --- a/base/src/org/compiere/model/X_AD_TaskInstance.java +++ b/base/src/org/compiere/model/X_AD_TaskInstance.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_TaskInstance * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TaskInstance extends PO implements I_AD_TaskInstance, I_Persistent { @@ -38,8 +38,8 @@ public class X_AD_TaskInstance extends PO implements I_AD_TaskInstance, I_Persis super (ctx, AD_TaskInstance_ID, trxName); /** if (AD_TaskInstance_ID == 0) { - setAD_TaskInstance_ID (0); setAD_Task_ID (0); + setAD_TaskInstance_ID (0); } */ } @@ -71,6 +71,28 @@ public class X_AD_TaskInstance extends PO implements I_AD_TaskInstance, I_Persis return sb.toString(); } + /** Set OS Task. + @param AD_Task_ID + Operation System Task + */ + public void setAD_Task_ID (int AD_Task_ID) + { + if (AD_Task_ID < 1) + throw new IllegalArgumentException ("AD_Task_ID is mandatory."); + set_Value (COLUMNNAME_AD_Task_ID, Integer.valueOf(AD_Task_ID)); + } + + /** Get OS Task. + @return Operation System Task + */ + public int getAD_Task_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Task_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Task Instance. @param AD_TaskInstance_ID Task Instance */ public void setAD_TaskInstance_ID (int AD_TaskInstance_ID) @@ -97,26 +119,4 @@ public class X_AD_TaskInstance extends PO implements I_AD_TaskInstance, I_Persis { return new KeyNamePair(get_ID(), String.valueOf(getAD_TaskInstance_ID())); } - - /** Set OS Task. - @param AD_Task_ID - Operation System Task - */ - public void setAD_Task_ID (int AD_Task_ID) - { - if (AD_Task_ID < 1) - throw new IllegalArgumentException ("AD_Task_ID is mandatory."); - set_Value (COLUMNNAME_AD_Task_ID, Integer.valueOf(AD_Task_ID)); - } - - /** Get OS Task. - @return Operation System Task - */ - public int getAD_Task_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_Task_ID); - if (ii == null) - return 0; - return ii.intValue(); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_AD_Task_Access.java b/base/src/org/compiere/model/X_AD_Task_Access.java index bc35aeb23a..657be2bc08 100644 --- a/base/src/org/compiere/model/X_AD_Task_Access.java +++ b/base/src/org/compiere/model/X_AD_Task_Access.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Task_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Task_Access extends PO implements I_AD_Task_Access, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_Tree.java b/base/src/org/compiere/model/X_AD_Tree.java index bb03b741ef..dc76509e98 100644 --- a/base/src/org/compiere/model/X_AD_Tree.java +++ b/base/src/org/compiere/model/X_AD_Tree.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Tree * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent { @@ -103,12 +103,6 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -176,12 +170,6 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -269,13 +257,7 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent public void setTreeType (String TreeType) { if (TreeType == null) throw new IllegalArgumentException ("TreeType is mandatory"); - if (TreeType.equals("MM") || TreeType.equals("EV") || TreeType.equals("PR") || TreeType.equals("BP") || TreeType.equals("OO") || TreeType.equals("BB") || TreeType.equals("PJ") || TreeType.equals("SR") || TreeType.equals("PC") || TreeType.equals("MC") || TreeType.equals("AY") || TreeType.equals("U1") || TreeType.equals("U2") || TreeType.equals("U3") || TreeType.equals("U4") || TreeType.equals("CC") || TreeType.equals("CS") || TreeType.equals("CT") || TreeType.equals("CM")); else throw new IllegalArgumentException ("TreeType Invalid value - " + TreeType + " - Reference_ID=120 - MM - EV - PR - BP - OO - BB - PJ - SR - PC - MC - AY - U1 - U2 - U3 - U4 - CC - CS - CT - CM"); - if (TreeType.length() > 2) - { - log.warning("Length > 2 - truncated"); - TreeType = TreeType.substring(0, 2); - } - set_ValueNoCheck (COLUMNNAME_TreeType, TreeType); + if (TreeType.equals("MM") || TreeType.equals("EV") || TreeType.equals("PR") || TreeType.equals("BP") || TreeType.equals("OO") || TreeType.equals("BB") || TreeType.equals("PJ") || TreeType.equals("SR") || TreeType.equals("PC") || TreeType.equals("MC") || TreeType.equals("AY") || TreeType.equals("U1") || TreeType.equals("U2") || TreeType.equals("U3") || TreeType.equals("U4") || TreeType.equals("CC") || TreeType.equals("CS") || TreeType.equals("CT") || TreeType.equals("CM")); else throw new IllegalArgumentException ("TreeType Invalid value - " + TreeType + " - Reference_ID=120 - MM - EV - PR - BP - OO - BB - PJ - SR - PC - MC - AY - U1 - U2 - U3 - U4 - CC - CS - CT - CM"); set_ValueNoCheck (COLUMNNAME_TreeType, TreeType); } /** Get Type | Area. diff --git a/base/src/org/compiere/model/X_AD_TreeBar.java b/base/src/org/compiere/model/X_AD_TreeBar.java index a986ab2263..376dcab3a6 100644 --- a/base/src/org/compiere/model/X_AD_TreeBar.java +++ b/base/src/org/compiere/model/X_AD_TreeBar.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_TreeBar * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeBar extends PO implements I_AD_TreeBar, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNode.java b/base/src/org/compiere/model/X_AD_TreeNode.java index a8b665bd3f..148ba038df 100644 --- a/base/src/org/compiere/model/X_AD_TreeNode.java +++ b/base/src/org/compiere/model/X_AD_TreeNode.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNode * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNode extends PO implements I_AD_TreeNode, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeBP.java b/base/src/org/compiere/model/X_AD_TreeNodeBP.java index 4c76ae43ac..81bca762a2 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeBP.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeBP.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeBP * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeBP extends PO implements I_AD_TreeNodeBP, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeCMC.java b/base/src/org/compiere/model/X_AD_TreeNodeCMC.java index 7f2d517920..2917242192 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeCMC.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeCMC.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeCMC * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeCMC extends PO implements I_AD_TreeNodeCMC, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeCMM.java b/base/src/org/compiere/model/X_AD_TreeNodeCMM.java index 412da0e92c..e9eb5f06f2 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeCMM.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeCMM.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeCMM * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeCMM extends PO implements I_AD_TreeNodeCMM, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeCMS.java b/base/src/org/compiere/model/X_AD_TreeNodeCMS.java index 51ce1d06f3..dcad096bd2 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeCMS.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeCMS.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeCMS * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeCMS extends PO implements I_AD_TreeNodeCMS, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeCMT.java b/base/src/org/compiere/model/X_AD_TreeNodeCMT.java index bb88e48ce8..b41ec21674 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeCMT.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeCMT.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeCMT * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeCMT extends PO implements I_AD_TreeNodeCMT, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeMM.java b/base/src/org/compiere/model/X_AD_TreeNodeMM.java index 03c0b10423..44a4d78a31 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeMM.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeMM.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeMM * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeMM extends PO implements I_AD_TreeNodeMM, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodePR.java b/base/src/org/compiere/model/X_AD_TreeNodePR.java index adf81a1c11..83a409997d 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodePR.java +++ b/base/src/org/compiere/model/X_AD_TreeNodePR.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodePR * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodePR extends PO implements I_AD_TreeNodePR, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeU1.java b/base/src/org/compiere/model/X_AD_TreeNodeU1.java index 2f35ecea23..1a3068fb50 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeU1.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeU1.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeU1 * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeU1 extends PO implements I_AD_TreeNodeU1, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeU2.java b/base/src/org/compiere/model/X_AD_TreeNodeU2.java index fcb4d22946..44e5bb532e 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeU2.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeU2.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeU2 * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeU2 extends PO implements I_AD_TreeNodeU2, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeU3.java b/base/src/org/compiere/model/X_AD_TreeNodeU3.java index a3ffb27171..b4e1e1c233 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeU3.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeU3.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeU3 * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeU3 extends PO implements I_AD_TreeNodeU3, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_TreeNodeU4.java b/base/src/org/compiere/model/X_AD_TreeNodeU4.java index cd434e6ac2..13429aa0f9 100644 --- a/base/src/org/compiere/model/X_AD_TreeNodeU4.java +++ b/base/src/org/compiere/model/X_AD_TreeNodeU4.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_TreeNodeU4 * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_TreeNodeU4 extends PO implements I_AD_TreeNodeU4, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_User.java b/base/src/org/compiere/model/X_AD_User.java index 365fcfea72..71a32f398f 100644 --- a/base/src/org/compiere/model/X_AD_User.java +++ b/base/src/org/compiere/model/X_AD_User.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_User * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_User extends PO implements I_AD_User, I_Persistent { @@ -304,12 +304,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setComments (String Comments) { - - if (Comments != null && Comments.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Comments = Comments.substring(0, 2000); - } set_Value (COLUMNNAME_Comments, Comments); } @@ -338,13 +332,7 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public void setConnectionProfile (String ConnectionProfile) { - if (ConnectionProfile == null || ConnectionProfile.equals("L") || ConnectionProfile.equals("T") || ConnectionProfile.equals("V") || ConnectionProfile.equals("W")); else throw new IllegalArgumentException ("ConnectionProfile Invalid value - " + ConnectionProfile + " - Reference_ID=364 - L - T - V - W"); - if (ConnectionProfile != null && ConnectionProfile.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConnectionProfile = ConnectionProfile.substring(0, 1); - } - set_Value (COLUMNNAME_ConnectionProfile, ConnectionProfile); + if (ConnectionProfile == null || ConnectionProfile.equals("L") || ConnectionProfile.equals("T") || ConnectionProfile.equals("V") || ConnectionProfile.equals("W")); else throw new IllegalArgumentException ("ConnectionProfile Invalid value - " + ConnectionProfile + " - Reference_ID=364 - L - T - V - W"); set_Value (COLUMNNAME_ConnectionProfile, ConnectionProfile); } /** Get Connection Profile. @@ -361,12 +349,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -384,12 +366,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -407,12 +383,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setEMailUser (String EMailUser) { - - if (EMailUser != null && EMailUser.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMailUser = EMailUser.substring(0, 60); - } set_Value (COLUMNNAME_EMailUser, EMailUser); } @@ -430,12 +400,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setEMailUserPW (String EMailUserPW) { - - if (EMailUserPW != null && EMailUserPW.length() > 20) - { - log.warning("Length > 20 - truncated"); - EMailUserPW = EMailUserPW.substring(0, 20); - } set_Value (COLUMNNAME_EMailUserPW, EMailUserPW); } @@ -453,12 +417,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setEMailVerify (String EMailVerify) { - - if (EMailVerify != null && EMailVerify.length() > 40) - { - log.warning("Length > 40 - truncated"); - EMailVerify = EMailVerify.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_EMailVerify, EMailVerify); } @@ -493,12 +451,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setFax (String Fax) { - - if (Fax != null && Fax.length() > 40) - { - log.warning("Length > 40 - truncated"); - Fax = Fax.substring(0, 40); - } set_Value (COLUMNNAME_Fax, Fax); } @@ -534,27 +486,28 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent return false; } - /** Set LDAP User Name. - @param LDAPUser - User Name used for authorization via LDAP (directory) services + /** Set Is In Payroll. + @param IsInPayroll + Defined if any User Contact will be used for Calculate Payroll */ - public void setLDAPUser (String LDAPUser) + public void setIsInPayroll (boolean IsInPayroll) { - - if (LDAPUser != null && LDAPUser.length() > 60) - { - log.warning("Length > 60 - truncated"); - LDAPUser = LDAPUser.substring(0, 60); - } - set_Value (COLUMNNAME_LDAPUser, LDAPUser); + set_Value (COLUMNNAME_IsInPayroll, Boolean.valueOf(IsInPayroll)); } - /** Get LDAP User Name. - @return User Name used for authorization via LDAP (directory) services + /** Get Is In Payroll. + @return Defined if any User Contact will be used for Calculate Payroll */ - public String getLDAPUser () + public boolean isInPayroll () { - return (String)get_Value(COLUMNNAME_LDAPUser); + Object oo = get_Value(COLUMNNAME_IsInPayroll); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; } /** Set Last Contact. @@ -580,12 +533,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setLastResult (String LastResult) { - - if (LastResult != null && LastResult.length() > 255) - { - log.warning("Length > 255 - truncated"); - LastResult = LastResult.substring(0, 255); - } set_Value (COLUMNNAME_LastResult, LastResult); } @@ -597,6 +544,23 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent return (String)get_Value(COLUMNNAME_LastResult); } + /** Set LDAP User Name. + @param LDAPUser + User Name used for authorization via LDAP (directory) services + */ + public void setLDAPUser (String LDAPUser) + { + set_Value (COLUMNNAME_LDAPUser, LDAPUser); + } + + /** Get LDAP User Name. + @return User Name used for authorization via LDAP (directory) services + */ + public String getLDAPUser () + { + return (String)get_Value(COLUMNNAME_LDAPUser); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -605,12 +569,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -647,13 +605,7 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public void setNotificationType (String NotificationType) { if (NotificationType == null) throw new IllegalArgumentException ("NotificationType is mandatory"); - if (NotificationType.equals("E") || NotificationType.equals("N") || NotificationType.equals("X") || NotificationType.equals("B")); else throw new IllegalArgumentException ("NotificationType Invalid value - " + NotificationType + " - Reference_ID=344 - E - N - X - B"); - if (NotificationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - NotificationType = NotificationType.substring(0, 1); - } - set_Value (COLUMNNAME_NotificationType, NotificationType); + if (NotificationType.equals("E") || NotificationType.equals("N") || NotificationType.equals("X") || NotificationType.equals("B")); else throw new IllegalArgumentException ("NotificationType Invalid value - " + NotificationType + " - Reference_ID=344 - E - N - X - B"); set_Value (COLUMNNAME_NotificationType, NotificationType); } /** Get Notification Type. @@ -670,12 +622,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setPassword (String Password) { - - if (Password != null && Password.length() > 40) - { - log.warning("Length > 40 - truncated"); - Password = Password.substring(0, 40); - } set_Value (COLUMNNAME_Password, Password); } @@ -693,12 +639,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setPhone (String Phone) { - - if (Phone != null && Phone.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone = Phone.substring(0, 40); - } set_Value (COLUMNNAME_Phone, Phone); } @@ -716,12 +656,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setPhone2 (String Phone2) { - - if (Phone2 != null && Phone2.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone2 = Phone2.substring(0, 40); - } set_Value (COLUMNNAME_Phone2, Phone2); } @@ -785,12 +719,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setTitle (String Title) { - - if (Title != null && Title.length() > 40) - { - log.warning("Length > 40 - truncated"); - Title = Title.substring(0, 40); - } set_Value (COLUMNNAME_Title, Title); } @@ -806,12 +734,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent @param UserPIN UserPIN */ public void setUserPIN (String UserPIN) { - - if (UserPIN != null && UserPIN.length() > 20) - { - log.warning("Length > 20 - truncated"); - UserPIN = UserPIN.substring(0, 20); - } set_Value (COLUMNNAME_UserPIN, UserPIN); } @@ -828,12 +750,6 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_AD_UserBPAccess.java b/base/src/org/compiere/model/X_AD_UserBPAccess.java index 9da23d8e51..a9015dd578 100644 --- a/base/src/org/compiere/model/X_AD_UserBPAccess.java +++ b/base/src/org/compiere/model/X_AD_UserBPAccess.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_UserBPAccess * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_UserBPAccess extends PO implements I_AD_UserBPAccess, I_Persistent { @@ -148,13 +148,7 @@ public class X_AD_UserBPAccess extends PO implements I_AD_UserBPAccess, I_Persis public void setBPAccessType (String BPAccessType) { if (BPAccessType == null) throw new IllegalArgumentException ("BPAccessType is mandatory"); - if (BPAccessType.equals("B") || BPAccessType.equals("R") || BPAccessType.equals("A")); else throw new IllegalArgumentException ("BPAccessType Invalid value - " + BPAccessType + " - Reference_ID=358 - B - R - A"); - if (BPAccessType.length() > 1) - { - log.warning("Length > 1 - truncated"); - BPAccessType = BPAccessType.substring(0, 1); - } - set_Value (COLUMNNAME_BPAccessType, BPAccessType); + if (BPAccessType.equals("B") || BPAccessType.equals("R") || BPAccessType.equals("A")); else throw new IllegalArgumentException ("BPAccessType Invalid value - " + BPAccessType + " - Reference_ID=358 - B - R - A"); set_Value (COLUMNNAME_BPAccessType, BPAccessType); } /** Get Access Type. @@ -242,13 +236,7 @@ public class X_AD_UserBPAccess extends PO implements I_AD_UserBPAccess, I_Persis public void setDocBaseType (String DocBaseType) { - if (DocBaseType == null || DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOA") || DocBaseType.equals("MOF") || DocBaseType.equals("MOI") || DocBaseType.equals("MOM") || DocBaseType.equals("MOP") || DocBaseType.equals("MOR") || DocBaseType.equals("MOU") || DocBaseType.equals("MOV") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOA - MOF - MOI - MOM - MOP - MOR - MOU - MOV - MQO - HRP - DOO"); - if (DocBaseType != null && DocBaseType.length() > 10) - { - log.warning("Length > 10 - truncated"); - DocBaseType = DocBaseType.substring(0, 10); - } - set_Value (COLUMNNAME_DocBaseType, DocBaseType); + if (DocBaseType == null || DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOA") || DocBaseType.equals("MOF") || DocBaseType.equals("MOI") || DocBaseType.equals("MOM") || DocBaseType.equals("MOP") || DocBaseType.equals("MOR") || DocBaseType.equals("MOU") || DocBaseType.equals("MOV") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOA - MOF - MOI - MOM - MOP - MOR - MOU - MOV - MQO - HRP - DOO"); set_Value (COLUMNNAME_DocBaseType, DocBaseType); } /** Get Document BaseType. diff --git a/base/src/org/compiere/model/X_AD_UserDef_Field.java b/base/src/org/compiere/model/X_AD_UserDef_Field.java index f5a9961efd..a2ff5efe5a 100644 --- a/base/src/org/compiere/model/X_AD_UserDef_Field.java +++ b/base/src/org/compiere/model/X_AD_UserDef_Field.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserDef_Field * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Persistent { @@ -180,12 +180,6 @@ public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Pers { if (DefaultValue == null) throw new IllegalArgumentException ("DefaultValue is mandatory."); - - if (DefaultValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DefaultValue = DefaultValue.substring(0, 2000); - } set_Value (COLUMNNAME_DefaultValue, DefaultValue); } @@ -203,12 +197,6 @@ public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -246,12 +234,6 @@ public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Pers */ public void setDisplayLogic (String DisplayLogic) { - - if (DisplayLogic != null && DisplayLogic.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DisplayLogic = DisplayLogic.substring(0, 2000); - } set_Value (COLUMNNAME_DisplayLogic, DisplayLogic); } @@ -269,12 +251,6 @@ public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Pers */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -390,12 +366,6 @@ public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_UserDef_Tab.java b/base/src/org/compiere/model/X_AD_UserDef_Tab.java index 786befc1ce..15177c66c5 100644 --- a/base/src/org/compiere/model/X_AD_UserDef_Tab.java +++ b/base/src/org/compiere/model/X_AD_UserDef_Tab.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserDef_Tab * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persistent { @@ -176,12 +176,6 @@ public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -199,12 +193,6 @@ public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -296,12 +284,6 @@ public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_UserDef_Win.java b/base/src/org/compiere/model/X_AD_UserDef_Win.java index 4428811967..1529574df6 100644 --- a/base/src/org/compiere/model/X_AD_UserDef_Win.java +++ b/base/src/org/compiere/model/X_AD_UserDef_Win.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserDef_Win * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persistent { @@ -86,12 +86,6 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste */ public void setAD_Language (String AD_Language) { - - if (AD_Language.length() > 6) - { - log.warning("Length > 6 - truncated"); - AD_Language = AD_Language.substring(0, 6); - } set_Value (COLUMNNAME_AD_Language, AD_Language); } @@ -244,12 +238,6 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -267,12 +255,6 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -364,12 +346,6 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_UserMail.java b/base/src/org/compiere/model/X_AD_UserMail.java index 2d71074a93..fe6c1f3707 100644 --- a/base/src/org/compiere/model/X_AD_UserMail.java +++ b/base/src/org/compiere/model/X_AD_UserMail.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserMail * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent super (ctx, AD_UserMail_ID, trxName); /** if (AD_UserMail_ID == 0) { - setAD_UserMail_ID (0); setAD_User_ID (0); + setAD_UserMail_ID (0); } */ } @@ -73,28 +73,6 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent return sb.toString(); } - /** Set User Mail. - @param AD_UserMail_ID - Mail sent to the user - */ - public void setAD_UserMail_ID (int AD_UserMail_ID) - { - if (AD_UserMail_ID < 1) - throw new IllegalArgumentException ("AD_UserMail_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_UserMail_ID, Integer.valueOf(AD_UserMail_ID)); - } - - /** Get User Mail. - @return Mail sent to the user - */ - public int getAD_UserMail_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_UserMail_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_User getAD_User() throws Exception { Class clazz = MTable.getClass(I_AD_User.Table_Name); @@ -141,18 +119,34 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } + /** Set User Mail. + @param AD_UserMail_ID + Mail sent to the user + */ + public void setAD_UserMail_ID (int AD_UserMail_ID) + { + if (AD_UserMail_ID < 1) + throw new IllegalArgumentException ("AD_UserMail_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_UserMail_ID, Integer.valueOf(AD_UserMail_ID)); + } + + /** Get User Mail. + @return Mail sent to the user + */ + public int getAD_UserMail_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_UserMail_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Delivery Confirmation. @param DeliveryConfirmation EMail Delivery confirmation */ public void setDeliveryConfirmation (String DeliveryConfirmation) { - - if (DeliveryConfirmation != null && DeliveryConfirmation.length() > 120) - { - log.warning("Length > 120 - truncated"); - DeliveryConfirmation = DeliveryConfirmation.substring(0, 120); - } set_ValueNoCheck (COLUMNNAME_DeliveryConfirmation, DeliveryConfirmation); } @@ -175,13 +169,7 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent public void setIsDelivered (String IsDelivered) { - if (IsDelivered == null || IsDelivered.equals("Y") || IsDelivered.equals("N")); else throw new IllegalArgumentException ("IsDelivered Invalid value - " + IsDelivered + " - Reference_ID=319 - Y - N"); - if (IsDelivered != null && IsDelivered.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsDelivered = IsDelivered.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_IsDelivered, IsDelivered); + if (IsDelivered == null || IsDelivered.equals("Y") || IsDelivered.equals("N")); else throw new IllegalArgumentException ("IsDelivered Invalid value - " + IsDelivered + " - Reference_ID=319 - Y - N"); set_ValueNoCheck (COLUMNNAME_IsDelivered, IsDelivered); } /** Get Delivered. @@ -197,12 +185,6 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent */ public void setMailText (String MailText) { - - if (MailText != null && MailText.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - MailText = MailText.substring(0, 2000); - } set_Value (COLUMNNAME_MailText, MailText); } @@ -220,12 +202,6 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent */ public void setMessageID (String MessageID) { - - if (MessageID != null && MessageID.length() > 120) - { - log.warning("Length > 120 - truncated"); - MessageID = MessageID.substring(0, 120); - } set_ValueNoCheck (COLUMNNAME_MessageID, MessageID); } @@ -282,12 +258,6 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent */ public void setSubject (String Subject) { - - if (Subject != null && Subject.length() > 255) - { - log.warning("Length > 255 - truncated"); - Subject = Subject.substring(0, 255); - } set_Value (COLUMNNAME_Subject, Subject); } diff --git a/base/src/org/compiere/model/X_AD_UserQuery.java b/base/src/org/compiere/model/X_AD_UserQuery.java index c499d7a546..058c6590d6 100644 --- a/base/src/org/compiere/model/X_AD_UserQuery.java +++ b/base/src/org/compiere/model/X_AD_UserQuery.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserQuery * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent { @@ -151,28 +151,6 @@ public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent return ii.intValue(); } - /** Set User Query. - @param AD_UserQuery_ID - Saved User Query - */ - public void setAD_UserQuery_ID (int AD_UserQuery_ID) - { - if (AD_UserQuery_ID < 1) - throw new IllegalArgumentException ("AD_UserQuery_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_UserQuery_ID, Integer.valueOf(AD_UserQuery_ID)); - } - - /** Get User Query. - @return Saved User Query - */ - public int getAD_UserQuery_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_UserQuery_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_User getAD_User() throws Exception { Class clazz = MTable.getClass(I_AD_User.Table_Name); @@ -212,6 +190,28 @@ public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent return ii.intValue(); } + /** Set User Query. + @param AD_UserQuery_ID + Saved User Query + */ + public void setAD_UserQuery_ID (int AD_UserQuery_ID) + { + if (AD_UserQuery_ID < 1) + throw new IllegalArgumentException ("AD_UserQuery_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_UserQuery_ID, Integer.valueOf(AD_UserQuery_ID)); + } + + /** Get User Query. + @return Saved User Query + */ + public int getAD_UserQuery_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_UserQuery_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Validation code. @param Code Validation Code @@ -235,12 +235,6 @@ public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -260,12 +254,6 @@ public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_User_OrgAccess.java b/base/src/org/compiere/model/X_AD_User_OrgAccess.java index f5a3cec588..abc5d16c38 100644 --- a/base/src/org/compiere/model/X_AD_User_OrgAccess.java +++ b/base/src/org/compiere/model/X_AD_User_OrgAccess.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_User_OrgAccess * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_User_OrgAccess extends PO implements I_AD_User_OrgAccess, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_User_Roles.java b/base/src/org/compiere/model/X_AD_User_Roles.java index 9dad71ee52..5066176e5f 100644 --- a/base/src/org/compiere/model/X_AD_User_Roles.java +++ b/base/src/org/compiere/model/X_AD_User_Roles.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_User_Roles * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_User_Roles extends PO implements I_AD_User_Roles, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_User_Substitute.java b/base/src/org/compiere/model/X_AD_User_Substitute.java index a735524b80..00e1f9b9e4 100644 --- a/base/src/org/compiere/model/X_AD_User_Substitute.java +++ b/base/src/org/compiere/model/X_AD_User_Substitute.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_User_Substitute * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_User_Substitute extends PO implements I_AD_User_Substitute, I_Persistent { @@ -142,12 +142,6 @@ public class X_AD_User_Substitute extends PO implements I_AD_User_Substitute, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -167,12 +161,6 @@ public class X_AD_User_Substitute extends PO implements I_AD_User_Substitute, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_Val_Rule.java b/base/src/org/compiere/model/X_AD_Val_Rule.java index 016c4e9341..f5452bc847 100644 --- a/base/src/org/compiere/model/X_AD_Val_Rule.java +++ b/base/src/org/compiere/model/X_AD_Val_Rule.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Val_Rule * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent { @@ -102,12 +102,6 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent */ public void setCode (String Code) { - - if (Code != null && Code.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Code = Code.substring(0, 2000); - } set_Value (COLUMNNAME_Code, Code); } @@ -125,12 +119,6 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -150,12 +138,6 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -175,12 +157,6 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -215,13 +191,7 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent public void setType (String Type) { if (Type == null) throw new IllegalArgumentException ("Type is mandatory"); - if (Type.equals("S") || Type.equals("J") || Type.equals("E")); else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=101 - S - J - E"); - if (Type.length() > 1) - { - log.warning("Length > 1 - truncated"); - Type = Type.substring(0, 1); - } - set_Value (COLUMNNAME_Type, Type); + if (Type.equals("S") || Type.equals("J") || Type.equals("E")); else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=101 - S - J - E"); set_Value (COLUMNNAME_Type, Type); } /** Get Type. diff --git a/base/src/org/compiere/model/X_AD_WF_Activity.java b/base/src/org/compiere/model/X_AD_WF_Activity.java index b2a5ef7123..c39f42e8b8 100644 --- a/base/src/org/compiere/model/X_AD_WF_Activity.java +++ b/base/src/org/compiere/model/X_AD_WF_Activity.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Activity * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persistent { @@ -512,12 +512,6 @@ public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persiste */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } @@ -550,13 +544,7 @@ public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persiste public void setWFState (String WFState) { if (WFState == null) throw new IllegalArgumentException ("WFState is mandatory"); - if (WFState.equals("ON") || WFState.equals("OR") || WFState.equals("OS") || WFState.equals("CC") || WFState.equals("CA") || WFState.equals("CT")); else throw new IllegalArgumentException ("WFState Invalid value - " + WFState + " - Reference_ID=305 - ON - OR - OS - CC - CA - CT"); - if (WFState.length() > 2) - { - log.warning("Length > 2 - truncated"); - WFState = WFState.substring(0, 2); - } - set_Value (COLUMNNAME_WFState, WFState); + if (WFState.equals("ON") || WFState.equals("OR") || WFState.equals("OS") || WFState.equals("CC") || WFState.equals("CA") || WFState.equals("CT")); else throw new IllegalArgumentException ("WFState Invalid value - " + WFState + " - Reference_ID=305 - ON - OR - OS - CC - CA - CT"); set_Value (COLUMNNAME_WFState, WFState); } /** Get Workflow State. diff --git a/base/src/org/compiere/model/X_AD_WF_ActivityResult.java b/base/src/org/compiere/model/X_AD_WF_ActivityResult.java index 7d1dd6af92..20e4aa208d 100644 --- a/base/src/org/compiere/model/X_AD_WF_ActivityResult.java +++ b/base/src/org/compiere/model/X_AD_WF_ActivityResult.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_ActivityResult * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult super (ctx, AD_WF_ActivityResult_ID, trxName); /** if (AD_WF_ActivityResult_ID == 0) { - setAD_WF_ActivityResult_ID (0); setAD_WF_Activity_ID (0); + setAD_WF_ActivityResult_ID (0); setAttributeName (null); } */ } @@ -74,28 +74,6 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult return sb.toString(); } - /** Set Workflow Activity Result. - @param AD_WF_ActivityResult_ID - Result of the Workflow Process Activity - */ - 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 (COLUMNNAME_AD_WF_ActivityResult_ID, Integer.valueOf(AD_WF_ActivityResult_ID)); - } - - /** Get Workflow Activity Result. - @return Result of the Workflow Process Activity - */ - public int getAD_WF_ActivityResult_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_ActivityResult_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_WF_Activity getAD_WF_Activity() throws Exception { Class clazz = MTable.getClass(I_AD_WF_Activity.Table_Name); @@ -142,6 +120,28 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_Activity_ID())); } + /** Set Workflow Activity Result. + @param AD_WF_ActivityResult_ID + Result of the Workflow Process Activity + */ + 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 (COLUMNNAME_AD_WF_ActivityResult_ID, Integer.valueOf(AD_WF_ActivityResult_ID)); + } + + /** Get Workflow Activity Result. + @return Result of the Workflow Process Activity + */ + public int getAD_WF_ActivityResult_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_ActivityResult_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Attribute Name. @param AttributeName Name of the Attribute @@ -150,12 +150,6 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult { if (AttributeName == null) throw new IllegalArgumentException ("AttributeName is mandatory."); - - if (AttributeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeName = AttributeName.substring(0, 60); - } set_Value (COLUMNNAME_AttributeName, AttributeName); } @@ -173,12 +167,6 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult */ public void setAttributeValue (String AttributeValue) { - - if (AttributeValue != null && AttributeValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - AttributeValue = AttributeValue.substring(0, 2000); - } set_Value (COLUMNNAME_AttributeValue, AttributeValue); } @@ -196,12 +184,6 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -219,12 +201,6 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } diff --git a/base/src/org/compiere/model/X_AD_WF_Block.java b/base/src/org/compiere/model/X_AD_WF_Block.java index e35466ad43..679845331f 100644 --- a/base/src/org/compiere/model/X_AD_WF_Block.java +++ b/base/src/org/compiere/model/X_AD_WF_Block.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Block * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_Block extends PO implements I_AD_WF_Block, I_Persistent { @@ -140,12 +140,6 @@ public class X_AD_WF_Block extends PO implements I_AD_WF_Block, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_AD_WF_Block extends PO implements I_AD_WF_Block, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_WF_EventAudit.java b/base/src/org/compiere/model/X_AD_WF_EventAudit.java index e51375c76c..76123fd4ff 100644 --- a/base/src/org/compiere/model/X_AD_WF_EventAudit.java +++ b/base/src/org/compiere/model/X_AD_WF_EventAudit.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_EventAudit * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Persistent { @@ -295,12 +295,6 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers */ public void setAttributeName (String AttributeName) { - - if (AttributeName != null && AttributeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeName = AttributeName.substring(0, 60); - } set_Value (COLUMNNAME_AttributeName, AttributeName); } @@ -318,12 +312,6 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -372,13 +360,7 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers public void setEventType (String EventType) { if (EventType == null) throw new IllegalArgumentException ("EventType is mandatory"); - if (EventType.equals("PC") || EventType.equals("SC") || EventType.equals("PX")); else throw new IllegalArgumentException ("EventType Invalid value - " + EventType + " - Reference_ID=306 - PC - SC - PX"); - if (EventType.length() > 2) - { - log.warning("Length > 2 - truncated"); - EventType = EventType.substring(0, 2); - } - set_Value (COLUMNNAME_EventType, EventType); + if (EventType.equals("PC") || EventType.equals("SC") || EventType.equals("PX")); else throw new IllegalArgumentException ("EventType Invalid value - " + EventType + " - Reference_ID=306 - PC - SC - PX"); set_Value (COLUMNNAME_EventType, EventType); } /** Get Event Type. @@ -395,12 +377,6 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers */ public void setNewValue (String NewValue) { - - if (NewValue != null && NewValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - NewValue = NewValue.substring(0, 2000); - } set_Value (COLUMNNAME_NewValue, NewValue); } @@ -418,12 +394,6 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers */ public void setOldValue (String OldValue) { - - if (OldValue != null && OldValue.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OldValue = OldValue.substring(0, 2000); - } set_Value (COLUMNNAME_OldValue, OldValue); } @@ -463,12 +433,6 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } @@ -501,13 +465,7 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers public void setWFState (String WFState) { if (WFState == null) throw new IllegalArgumentException ("WFState is mandatory"); - if (WFState.equals("ON") || WFState.equals("OR") || WFState.equals("OS") || WFState.equals("CC") || WFState.equals("CA") || WFState.equals("CT")); else throw new IllegalArgumentException ("WFState Invalid value - " + WFState + " - Reference_ID=305 - ON - OR - OS - CC - CA - CT"); - if (WFState.length() > 2) - { - log.warning("Length > 2 - truncated"); - WFState = WFState.substring(0, 2); - } - set_Value (COLUMNNAME_WFState, WFState); + if (WFState.equals("ON") || WFState.equals("OR") || WFState.equals("OS") || WFState.equals("CC") || WFState.equals("CA") || WFState.equals("CT")); else throw new IllegalArgumentException ("WFState Invalid value - " + WFState + " - Reference_ID=305 - ON - OR - OS - CC - CA - CT"); set_Value (COLUMNNAME_WFState, WFState); } /** Get Workflow State. diff --git a/base/src/org/compiere/model/X_AD_WF_NextCondition.java b/base/src/org/compiere/model/X_AD_WF_NextCondition.java index bfd051f341..2974385cf0 100644 --- a/base/src/org/compiere/model/X_AD_WF_NextCondition.java +++ b/base/src/org/compiere/model/X_AD_WF_NextCondition.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_NextCondition * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, I_Persistent { @@ -193,13 +193,7 @@ public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, public void setAndOr (String AndOr) { if (AndOr == null) throw new IllegalArgumentException ("AndOr is mandatory"); - if (AndOr.equals("A") || AndOr.equals("O")); else throw new IllegalArgumentException ("AndOr Invalid value - " + AndOr + " - Reference_ID=204 - A - O"); - if (AndOr.length() > 1) - { - log.warning("Length > 1 - truncated"); - AndOr = AndOr.substring(0, 1); - } - set_Value (COLUMNNAME_AndOr, AndOr); + if (AndOr.equals("A") || AndOr.equals("O")); else throw new IllegalArgumentException ("AndOr Invalid value - " + AndOr + " - Reference_ID=204 - A - O"); set_Value (COLUMNNAME_AndOr, AndOr); } /** Get And/Or. @@ -218,12 +212,6 @@ public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -262,13 +250,7 @@ public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, public void setOperation (String Operation) { if (Operation == null) throw new IllegalArgumentException ("Operation is mandatory"); - if (Operation.equals("==") || Operation.equals(">=") || Operation.equals(">>") || Operation.equals("<<") || Operation.equals("~~") || Operation.equals("<=") || Operation.equals("AB") || Operation.equals("SQ") || Operation.equals("!=")); else throw new IllegalArgumentException ("Operation Invalid value - " + Operation + " - Reference_ID=205 - == - >= - >> - << - ~~ - <= - AB - SQ - !="); - if (Operation.length() > 2) - { - log.warning("Length > 2 - truncated"); - Operation = Operation.substring(0, 2); - } - set_Value (COLUMNNAME_Operation, Operation); + if (Operation.equals("==") || Operation.equals(">=") || Operation.equals(">>") || Operation.equals("<<") || Operation.equals("~~") || Operation.equals("<=") || Operation.equals("AB") || Operation.equals("SQ") || Operation.equals("!=")); else throw new IllegalArgumentException ("Operation Invalid value - " + Operation + " - Reference_ID=205 - == - >= - >> - << - ~~ - <= - AB - SQ - !="); set_Value (COLUMNNAME_Operation, Operation); } /** Get Operation. @@ -307,12 +289,6 @@ public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -338,12 +314,6 @@ public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, */ public void setValue2 (String Value2) { - - if (Value2 != null && Value2.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value2 = Value2.substring(0, 40); - } set_Value (COLUMNNAME_Value2, Value2); } diff --git a/base/src/org/compiere/model/X_AD_WF_Node.java b/base/src/org/compiere/model/X_AD_WF_Node.java index ab2491732c..ee4f80bbcc 100644 --- a/base/src/org/compiere/model/X_AD_WF_Node.java +++ b/base/src/org/compiere/model/X_AD_WF_Node.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Node * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent { @@ -43,10 +43,10 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent super (ctx, AD_WF_Node_ID, trxName); /** if (AD_WF_Node_ID == 0) { - setAD_WF_Node_ID (0); - setAD_Workflow_ID (0); setAction (null); // N + setAD_WF_Node_ID (0); + setAD_Workflow_ID (0); setCost (Env.ZERO); setDuration (0); setEntityType (null); @@ -94,6 +94,50 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return sb.toString(); } + /** Action AD_Reference_ID=302 */ + public static final int ACTION_AD_Reference_ID=302; + /** Wait (Sleep) = Z */ + public static final String ACTION_WaitSleep = "Z"; + /** User Choice = C */ + public static final String ACTION_UserChoice = "C"; + /** Sub Workflow = F */ + public static final String ACTION_SubWorkflow = "F"; + /** Set Variable = V */ + public static final String ACTION_SetVariable = "V"; + /** User Window = W */ + public static final String ACTION_UserWindow = "W"; + /** User Form = X */ + public static final String ACTION_UserForm = "X"; + /** Apps Task = T */ + public static final String ACTION_AppsTask = "T"; + /** Apps Report = R */ + public static final String ACTION_AppsReport = "R"; + /** Apps Process = P */ + public static final String ACTION_AppsProcess = "P"; + /** Document Action = D */ + public static final String ACTION_DocumentAction = "D"; + /** EMail = M */ + public static final String ACTION_EMail = "M"; + /** User Workbench = B */ + public static final String ACTION_UserWorkbench = "B"; + /** Set Action. + @param Action + Indicates the Action to be performed + */ + public void setAction (String Action) + { + if (Action == null) throw new IllegalArgumentException ("Action is mandatory"); + if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B"); set_Value (COLUMNNAME_Action, Action); + } + + /** Get Action. + @return Indicates the Action to be performed + */ + public String getAction () + { + return (String)get_Value(COLUMNNAME_Action); + } + public I_AD_Column getAD_Column() throws Exception { Class clazz = MTable.getClass(I_AD_Column.Table_Name); @@ -466,68 +510,12 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return ii.intValue(); } - /** Action AD_Reference_ID=302 */ - public static final int ACTION_AD_Reference_ID=302; - /** Wait (Sleep) = Z */ - public static final String ACTION_WaitSleep = "Z"; - /** User Choice = C */ - public static final String ACTION_UserChoice = "C"; - /** Sub Workflow = F */ - public static final String ACTION_SubWorkflow = "F"; - /** Set Variable = V */ - public static final String ACTION_SetVariable = "V"; - /** User Window = W */ - public static final String ACTION_UserWindow = "W"; - /** User Form = X */ - public static final String ACTION_UserForm = "X"; - /** Apps Task = T */ - public static final String ACTION_AppsTask = "T"; - /** Apps Report = R */ - public static final String ACTION_AppsReport = "R"; - /** Apps Process = P */ - public static final String ACTION_AppsProcess = "P"; - /** Document Action = D */ - public static final String ACTION_DocumentAction = "D"; - /** EMail = M */ - public static final String ACTION_EMail = "M"; - /** User Workbench = B */ - public static final String ACTION_UserWorkbench = "B"; - /** Set Action. - @param Action - Indicates the Action to be performed - */ - public void setAction (String Action) - { - if (Action == null) throw new IllegalArgumentException ("Action is mandatory"); - if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B"); - if (Action.length() > 1) - { - log.warning("Length > 1 - truncated"); - Action = Action.substring(0, 1); - } - set_Value (COLUMNNAME_Action, Action); - } - - /** Get Action. - @return Indicates the Action to be performed - */ - public String getAction () - { - return (String)get_Value(COLUMNNAME_Action); - } - /** Set Attribute Name. @param AttributeName Name of the Attribute */ public void setAttributeName (String AttributeName) { - - if (AttributeName != null && AttributeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeName = AttributeName.substring(0, 60); - } set_Value (COLUMNNAME_AttributeName, AttributeName); } @@ -545,12 +533,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent */ public void setAttributeValue (String AttributeValue) { - - if (AttributeValue != null && AttributeValue.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeValue = AttributeValue.substring(0, 60); - } set_Value (COLUMNNAME_AttributeValue, AttributeValue); } @@ -629,12 +611,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -683,13 +659,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public void setDocAction (String DocAction) { - if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction != null && DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -755,13 +725,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public void setDynPriorityUnit (String DynPriorityUnit) { - if (DynPriorityUnit == null || DynPriorityUnit.equals("M") || DynPriorityUnit.equals("H") || DynPriorityUnit.equals("D")); else throw new IllegalArgumentException ("DynPriorityUnit Invalid value - " + DynPriorityUnit + " - Reference_ID=221 - M - H - D"); - if (DynPriorityUnit != null && DynPriorityUnit.length() > 1) - { - log.warning("Length > 1 - truncated"); - DynPriorityUnit = DynPriorityUnit.substring(0, 1); - } - set_Value (COLUMNNAME_DynPriorityUnit, DynPriorityUnit); + if (DynPriorityUnit == null || DynPriorityUnit.equals("M") || DynPriorityUnit.equals("H") || DynPriorityUnit.equals("D")); else throw new IllegalArgumentException ("DynPriorityUnit Invalid value - " + DynPriorityUnit + " - Reference_ID=221 - M - H - D"); set_Value (COLUMNNAME_DynPriorityUnit, DynPriorityUnit); } /** Get Dynamic Priority Unit. @@ -778,12 +742,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -810,13 +768,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public void setEMailRecipient (String EMailRecipient) { - if (EMailRecipient == null || EMailRecipient.equals("D") || EMailRecipient.equals("B") || EMailRecipient.equals("R")); else throw new IllegalArgumentException ("EMailRecipient Invalid value - " + EMailRecipient + " - Reference_ID=363 - D - B - R"); - if (EMailRecipient != null && EMailRecipient.length() > 1) - { - log.warning("Length > 1 - truncated"); - EMailRecipient = EMailRecipient.substring(0, 1); - } - set_Value (COLUMNNAME_EMailRecipient, EMailRecipient); + if (EMailRecipient == null || EMailRecipient.equals("D") || EMailRecipient.equals("B") || EMailRecipient.equals("R")); else throw new IllegalArgumentException ("EMailRecipient Invalid value - " + EMailRecipient + " - Reference_ID=363 - D - B - R"); set_Value (COLUMNNAME_EMailRecipient, EMailRecipient); } /** Get EMail Recipient. @@ -835,12 +787,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -865,13 +811,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public void setFinishMode (String FinishMode) { - if (FinishMode == null || FinishMode.equals("A") || FinishMode.equals("M")); else throw new IllegalArgumentException ("FinishMode Invalid value - " + FinishMode + " - Reference_ID=303 - A - M"); - if (FinishMode != null && FinishMode.length() > 1) - { - log.warning("Length > 1 - truncated"); - FinishMode = FinishMode.substring(0, 1); - } - set_Value (COLUMNNAME_FinishMode, FinishMode); + if (FinishMode == null || FinishMode.equals("A") || FinishMode.equals("M")); else throw new IllegalArgumentException ("FinishMode Invalid value - " + FinishMode + " - Reference_ID=303 - A - M"); set_Value (COLUMNNAME_FinishMode, FinishMode); } /** Get Finish Mode. @@ -888,12 +828,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -984,13 +918,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public void setJoinElement (String JoinElement) { if (JoinElement == null) throw new IllegalArgumentException ("JoinElement is mandatory"); - if (JoinElement.equals("A") || JoinElement.equals("X")); else throw new IllegalArgumentException ("JoinElement Invalid value - " + JoinElement + " - Reference_ID=301 - A - X"); - if (JoinElement.length() > 1) - { - log.warning("Length > 1 - truncated"); - JoinElement = JoinElement.substring(0, 1); - } - set_Value (COLUMNNAME_JoinElement, JoinElement); + if (JoinElement.equals("A") || JoinElement.equals("X")); else throw new IllegalArgumentException ("JoinElement Invalid value - " + JoinElement + " - Reference_ID=301 - A - X"); set_Value (COLUMNNAME_JoinElement, JoinElement); } /** Get Join Element. @@ -1046,12 +974,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1164,6 +1086,50 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return ii.intValue(); } + /** Set Setup Time. + @param SetupTime + Setup time before starting Production + */ + public void setSetupTime (int SetupTime) + { + set_Value (COLUMNNAME_SetupTime, Integer.valueOf(SetupTime)); + } + + /** Get Setup Time. + @return Setup time before starting Production + */ + public int getSetupTime () + { + Integer ii = (Integer)get_Value(COLUMNNAME_SetupTime); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** SplitElement AD_Reference_ID=301 */ + public static final int SPLITELEMENT_AD_Reference_ID=301; + /** AND = A */ + public static final String SPLITELEMENT_AND = "A"; + /** XOR = X */ + public static final String SPLITELEMENT_XOR = "X"; + /** Set Split Element. + @param SplitElement + Semantics for multiple outgoing Transitions + */ + public void setSplitElement (String SplitElement) + { + if (SplitElement == null) throw new IllegalArgumentException ("SplitElement is mandatory"); + if (SplitElement.equals("A") || SplitElement.equals("X")); else throw new IllegalArgumentException ("SplitElement Invalid value - " + SplitElement + " - Reference_ID=301 - A - X"); set_Value (COLUMNNAME_SplitElement, SplitElement); + } + + /** Get Split Element. + @return Semantics for multiple outgoing Transitions + */ + public String getSplitElement () + { + return (String)get_Value(COLUMNNAME_SplitElement); + } + public I_S_Resource getS_Resource() throws Exception { Class clazz = MTable.getClass(I_S_Resource.Table_Name); @@ -1203,56 +1169,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return ii.intValue(); } - /** Set Setup Time. - @param SetupTime - Setup time before starting Production - */ - public void setSetupTime (int SetupTime) - { - set_Value (COLUMNNAME_SetupTime, Integer.valueOf(SetupTime)); - } - - /** Get Setup Time. - @return Setup time before starting Production - */ - public int getSetupTime () - { - Integer ii = (Integer)get_Value(COLUMNNAME_SetupTime); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** SplitElement AD_Reference_ID=301 */ - public static final int SPLITELEMENT_AD_Reference_ID=301; - /** AND = A */ - public static final String SPLITELEMENT_AND = "A"; - /** XOR = X */ - public static final String SPLITELEMENT_XOR = "X"; - /** Set Split Element. - @param SplitElement - Semantics for multiple outgoing Transitions - */ - public void setSplitElement (String SplitElement) - { - if (SplitElement == null) throw new IllegalArgumentException ("SplitElement is mandatory"); - if (SplitElement.equals("A") || SplitElement.equals("X")); else throw new IllegalArgumentException ("SplitElement Invalid value - " + SplitElement + " - Reference_ID=301 - A - X"); - if (SplitElement.length() > 1) - { - log.warning("Length > 1 - truncated"); - SplitElement = SplitElement.substring(0, 1); - } - set_Value (COLUMNNAME_SplitElement, SplitElement); - } - - /** Get Split Element. - @return Semantics for multiple outgoing Transitions - */ - public String getSplitElement () - { - return (String)get_Value(COLUMNNAME_SplitElement); - } - /** StartMode AD_Reference_ID=303 */ public static final int STARTMODE_AD_Reference_ID=303; /** Automatic = A */ @@ -1266,13 +1182,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public void setStartMode (String StartMode) { - if (StartMode == null || StartMode.equals("A") || StartMode.equals("M")); else throw new IllegalArgumentException ("StartMode Invalid value - " + StartMode + " - Reference_ID=303 - A - M"); - if (StartMode != null && StartMode.length() > 1) - { - log.warning("Length > 1 - truncated"); - StartMode = StartMode.substring(0, 1); - } - set_Value (COLUMNNAME_StartMode, StartMode); + if (StartMode == null || StartMode.equals("A") || StartMode.equals("M")); else throw new IllegalArgumentException ("StartMode Invalid value - " + StartMode + " - Reference_ID=303 - A - M"); set_Value (COLUMNNAME_StartMode, StartMode); } /** Get Start Mode. @@ -1296,13 +1206,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public void setSubflowExecution (String SubflowExecution) { - if (SubflowExecution == null || SubflowExecution.equals("A") || SubflowExecution.equals("S")); else throw new IllegalArgumentException ("SubflowExecution Invalid value - " + SubflowExecution + " - Reference_ID=307 - A - S"); - if (SubflowExecution != null && SubflowExecution.length() > 1) - { - log.warning("Length > 1 - truncated"); - SubflowExecution = SubflowExecution.substring(0, 1); - } - set_Value (COLUMNNAME_SubflowExecution, SubflowExecution); + if (SubflowExecution == null || SubflowExecution.equals("A") || SubflowExecution.equals("S")); else throw new IllegalArgumentException ("SubflowExecution Invalid value - " + SubflowExecution + " - Reference_ID=307 - A - S"); set_Value (COLUMNNAME_SubflowExecution, SubflowExecution); } /** Get Subflow Execution. @@ -1372,12 +1276,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -1389,26 +1287,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return (String)get_Value(COLUMNNAME_Value); } - /** Set Wait Time. - @param WaitTime - Time in minutes to wait (sleep) - */ - public void setWaitTime (int WaitTime) - { - set_Value (COLUMNNAME_WaitTime, Integer.valueOf(WaitTime)); - } - - /** Get Wait Time. - @return Time in minutes to wait (sleep) - */ - public int getWaitTime () - { - Integer ii = (Integer)get_Value(COLUMNNAME_WaitTime); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Waiting Time. @param WaitingTime Workflow Simulation Waiting time @@ -1429,6 +1307,26 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return ii.intValue(); } + /** Set Wait Time. + @param WaitTime + Time in minutes to wait (sleep) + */ + public void setWaitTime (int WaitTime) + { + set_Value (COLUMNNAME_WaitTime, Integer.valueOf(WaitTime)); + } + + /** Get Wait Time. + @return Time in minutes to wait (sleep) + */ + public int getWaitTime () + { + Integer ii = (Integer)get_Value(COLUMNNAME_WaitTime); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Workflow_ID AD_Reference_ID=174 */ public static final int WORKFLOW_ID_AD_Reference_ID=174; /** Set Workflow. diff --git a/base/src/org/compiere/model/X_AD_WF_NodeNext.java b/base/src/org/compiere/model/X_AD_WF_NodeNext.java index 23b020065c..f66c6c742d 100644 --- a/base/src/org/compiere/model/X_AD_WF_NodeNext.java +++ b/base/src/org/compiere/model/X_AD_WF_NodeNext.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_NodeNext * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persistent { @@ -41,8 +41,8 @@ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persiste /** if (AD_WF_NodeNext_ID == 0) { setAD_WF_Next_ID (0); - setAD_WF_NodeNext_ID (0); setAD_WF_Node_ID (0); + setAD_WF_NodeNext_ID (0); setEntityType (null); // U setIsStdUserWorkflow (false); @@ -103,28 +103,6 @@ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persiste return ii.intValue(); } - /** Set Node Transition. - @param AD_WF_NodeNext_ID - Workflow Node Transition - */ - 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 (COLUMNNAME_AD_WF_NodeNext_ID, Integer.valueOf(AD_WF_NodeNext_ID)); - } - - /** Get Node Transition. - @return Workflow Node Transition - */ - public int getAD_WF_NodeNext_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_NodeNext_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_WF_Node getAD_WF_Node() throws Exception { Class clazz = MTable.getClass(I_AD_WF_Node.Table_Name); @@ -171,18 +149,34 @@ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persiste return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_Node_ID())); } + /** Set Node Transition. + @param AD_WF_NodeNext_ID + Workflow Node Transition + */ + 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 (COLUMNNAME_AD_WF_NodeNext_ID, Integer.valueOf(AD_WF_NodeNext_ID)); + } + + /** Get Node Transition. + @return Workflow Node Transition + */ + public int getAD_WF_NodeNext_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_NodeNext_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -202,12 +196,6 @@ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persiste */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -269,12 +257,6 @@ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persiste */ public void setTransitionCode (String TransitionCode) { - - if (TransitionCode != null && TransitionCode.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TransitionCode = TransitionCode.substring(0, 2000); - } set_Value (COLUMNNAME_TransitionCode, TransitionCode); } diff --git a/base/src/org/compiere/model/X_AD_WF_Node_Para.java b/base/src/org/compiere/model/X_AD_WF_Node_Para.java index c5e30d2b23..c0574a18a6 100644 --- a/base/src/org/compiere/model/X_AD_WF_Node_Para.java +++ b/base/src/org/compiere/model/X_AD_WF_Node_Para.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Node_Para * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persistent { @@ -185,12 +185,6 @@ public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persis */ public void setAttributeName (String AttributeName) { - - if (AttributeName != null && AttributeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeName = AttributeName.substring(0, 60); - } set_Value (COLUMNNAME_AttributeName, AttributeName); } @@ -208,12 +202,6 @@ public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persis */ public void setAttributeValue (String AttributeValue) { - - if (AttributeValue != null && AttributeValue.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeValue = AttributeValue.substring(0, 60); - } set_Value (COLUMNNAME_AttributeValue, AttributeValue); } @@ -231,12 +219,6 @@ public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -256,12 +238,6 @@ public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persis */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } diff --git a/base/src/org/compiere/model/X_AD_WF_Process.java b/base/src/org/compiere/model/X_AD_WF_Process.java index ee3587085c..7aa97dc7e4 100644 --- a/base/src/org/compiere/model/X_AD_WF_Process.java +++ b/base/src/org/compiere/model/X_AD_WF_Process.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Process * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent { @@ -379,12 +379,6 @@ public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } @@ -417,13 +411,7 @@ public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent public void setWFState (String WFState) { if (WFState == null) throw new IllegalArgumentException ("WFState is mandatory"); - if (WFState.equals("ON") || WFState.equals("OR") || WFState.equals("OS") || WFState.equals("CC") || WFState.equals("CA") || WFState.equals("CT")); else throw new IllegalArgumentException ("WFState Invalid value - " + WFState + " - Reference_ID=305 - ON - OR - OS - CC - CA - CT"); - if (WFState.length() > 2) - { - log.warning("Length > 2 - truncated"); - WFState = WFState.substring(0, 2); - } - set_Value (COLUMNNAME_WFState, WFState); + if (WFState.equals("ON") || WFState.equals("OR") || WFState.equals("OS") || WFState.equals("CC") || WFState.equals("CA") || WFState.equals("CT")); else throw new IllegalArgumentException ("WFState Invalid value - " + WFState + " - Reference_ID=305 - ON - OR - OS - CC - CA - CT"); set_Value (COLUMNNAME_WFState, WFState); } /** Get Workflow State. diff --git a/base/src/org/compiere/model/X_AD_WF_ProcessData.java b/base/src/org/compiere/model/X_AD_WF_ProcessData.java index ae62d25ec9..618cecc151 100644 --- a/base/src/org/compiere/model/X_AD_WF_ProcessData.java +++ b/base/src/org/compiere/model/X_AD_WF_ProcessData.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_ProcessData * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_ProcessData extends PO implements I_AD_WF_ProcessData, I_Persistent { @@ -150,12 +150,6 @@ public class X_AD_WF_ProcessData extends PO implements I_AD_WF_ProcessData, I_Pe { if (AttributeName == null) throw new IllegalArgumentException ("AttributeName is mandatory."); - - if (AttributeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeName = AttributeName.substring(0, 60); - } set_Value (COLUMNNAME_AttributeName, AttributeName); } @@ -173,12 +167,6 @@ public class X_AD_WF_ProcessData extends PO implements I_AD_WF_ProcessData, I_Pe */ public void setAttributeValue (String AttributeValue) { - - if (AttributeValue != null && AttributeValue.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeValue = AttributeValue.substring(0, 60); - } set_Value (COLUMNNAME_AttributeValue, AttributeValue); } diff --git a/base/src/org/compiere/model/X_AD_WF_Responsible.java b/base/src/org/compiere/model/X_AD_WF_Responsible.java index 1b9f2b0e2d..219d9c42a3 100644 --- a/base/src/org/compiere/model/X_AD_WF_Responsible.java +++ b/base/src/org/compiere/model/X_AD_WF_Responsible.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Responsible * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Persistent { @@ -168,12 +168,6 @@ public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -193,12 +187,6 @@ public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Pe */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -218,12 +206,6 @@ public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -260,13 +242,7 @@ public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Pe public void setResponsibleType (String ResponsibleType) { if (ResponsibleType == null) throw new IllegalArgumentException ("ResponsibleType is mandatory"); - if (ResponsibleType.equals("O") || ResponsibleType.equals("H") || ResponsibleType.equals("R") || ResponsibleType.equals("S")); else throw new IllegalArgumentException ("ResponsibleType Invalid value - " + ResponsibleType + " - Reference_ID=304 - O - H - R - S"); - if (ResponsibleType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ResponsibleType = ResponsibleType.substring(0, 1); - } - set_Value (COLUMNNAME_ResponsibleType, ResponsibleType); + if (ResponsibleType.equals("O") || ResponsibleType.equals("H") || ResponsibleType.equals("R") || ResponsibleType.equals("S")); else throw new IllegalArgumentException ("ResponsibleType Invalid value - " + ResponsibleType + " - Reference_ID=304 - O - H - R - S"); set_Value (COLUMNNAME_ResponsibleType, ResponsibleType); } /** Get Responsible Type. diff --git a/base/src/org/compiere/model/X_AD_Window.java b/base/src/org/compiere/model/X_AD_Window.java index 6c31786419..f87e8426d7 100644 --- a/base/src/org/compiere/model/X_AD_Window.java +++ b/base/src/org/compiere/model/X_AD_Window.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Window * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent { @@ -187,12 +187,6 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -212,12 +206,6 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -235,12 +223,6 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -332,12 +314,6 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -378,6 +354,34 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent return false; } + /** WindowType AD_Reference_ID=108 */ + public static final int WINDOWTYPE_AD_Reference_ID=108; + /** Single Record = S */ + public static final String WINDOWTYPE_SingleRecord = "S"; + /** Maintain = M */ + public static final String WINDOWTYPE_Maintain = "M"; + /** Transaction = T */ + public static final String WINDOWTYPE_Transaction = "T"; + /** Query Only = Q */ + public static final String WINDOWTYPE_QueryOnly = "Q"; + /** Set WindowType. + @param WindowType + Type or classification of a Window + */ + public void setWindowType (String WindowType) + { + if (WindowType == null) throw new IllegalArgumentException ("WindowType is mandatory"); + if (WindowType.equals("S") || WindowType.equals("M") || WindowType.equals("T") || WindowType.equals("Q")); else throw new IllegalArgumentException ("WindowType Invalid value - " + WindowType + " - Reference_ID=108 - S - M - T - Q"); set_Value (COLUMNNAME_WindowType, WindowType); + } + + /** Get WindowType. + @return Type or classification of a Window + */ + public String getWindowType () + { + return (String)get_Value(COLUMNNAME_WindowType); + } + /** Set Window Height. @param WinHeight Window Height */ public void setWinHeight (int WinHeight) @@ -411,38 +415,4 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent return 0; return ii.intValue(); } - - /** WindowType AD_Reference_ID=108 */ - public static final int WINDOWTYPE_AD_Reference_ID=108; - /** Single Record = S */ - public static final String WINDOWTYPE_SingleRecord = "S"; - /** Maintain = M */ - public static final String WINDOWTYPE_Maintain = "M"; - /** Transaction = T */ - public static final String WINDOWTYPE_Transaction = "T"; - /** Query Only = Q */ - public static final String WINDOWTYPE_QueryOnly = "Q"; - /** Set WindowType. - @param WindowType - Type or classification of a Window - */ - public void setWindowType (String WindowType) - { - if (WindowType == null) throw new IllegalArgumentException ("WindowType is mandatory"); - if (WindowType.equals("S") || WindowType.equals("M") || WindowType.equals("T") || WindowType.equals("Q")); else throw new IllegalArgumentException ("WindowType Invalid value - " + WindowType + " - Reference_ID=108 - S - M - T - Q"); - if (WindowType.length() > 1) - { - log.warning("Length > 1 - truncated"); - WindowType = WindowType.substring(0, 1); - } - set_Value (COLUMNNAME_WindowType, WindowType); - } - - /** Get WindowType. - @return Type or classification of a Window - */ - public String getWindowType () - { - return (String)get_Value(COLUMNNAME_WindowType); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_AD_Window_Access.java b/base/src/org/compiere/model/X_AD_Window_Access.java index 39b2394a19..09cc0822c0 100644 --- a/base/src/org/compiere/model/X_AD_Window_Access.java +++ b/base/src/org/compiere/model/X_AD_Window_Access.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Window_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Window_Access extends PO implements I_AD_Window_Access, I_Persistent { diff --git a/base/src/org/compiere/model/X_AD_Workbench.java b/base/src/org/compiere/model/X_AD_Workbench.java index 5ed4b6037f..56ca6cb03b 100644 --- a/base/src/org/compiere/model/X_AD_Workbench.java +++ b/base/src/org/compiere/model/X_AD_Workbench.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Workbench * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Workbench extends PO implements I_AD_Workbench, I_Persistent { @@ -172,12 +172,6 @@ public class X_AD_Workbench extends PO implements I_AD_Workbench, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -197,12 +191,6 @@ public class X_AD_Workbench extends PO implements I_AD_Workbench, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -220,12 +208,6 @@ public class X_AD_Workbench extends PO implements I_AD_Workbench, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -245,12 +227,6 @@ public class X_AD_Workbench extends PO implements I_AD_Workbench, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_WorkbenchWindow.java b/base/src/org/compiere/model/X_AD_WorkbenchWindow.java index d82fa7043f..5a94580811 100644 --- a/base/src/org/compiere/model/X_AD_WorkbenchWindow.java +++ b/base/src/org/compiere/model/X_AD_WorkbenchWindow.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WorkbenchWindow * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WorkbenchWindow extends PO implements I_AD_WorkbenchWindow, I_Persistent { @@ -40,8 +40,8 @@ public class X_AD_WorkbenchWindow extends PO implements I_AD_WorkbenchWindow, I_ super (ctx, AD_WorkbenchWindow_ID, trxName); /** if (AD_WorkbenchWindow_ID == 0) { - setAD_WorkbenchWindow_ID (0); setAD_Workbench_ID (0); + setAD_WorkbenchWindow_ID (0); setEntityType (null); // U setIsPrimary (false); @@ -233,33 +233,6 @@ public class X_AD_WorkbenchWindow extends PO implements I_AD_WorkbenchWindow, I_ return ii.intValue(); } - /** Set Workbench Window. - @param AD_WorkbenchWindow_ID Workbench Window */ - public void setAD_WorkbenchWindow_ID (int AD_WorkbenchWindow_ID) - { - if (AD_WorkbenchWindow_ID < 1) - throw new IllegalArgumentException ("AD_WorkbenchWindow_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_WorkbenchWindow_ID, Integer.valueOf(AD_WorkbenchWindow_ID)); - } - - /** Get Workbench Window. - @return Workbench Window */ - public int getAD_WorkbenchWindow_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_WorkbenchWindow_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getAD_WorkbenchWindow_ID())); - } - public I_AD_Workbench getAD_Workbench() throws Exception { Class clazz = MTable.getClass(I_AD_Workbench.Table_Name); @@ -298,6 +271,33 @@ public class X_AD_WorkbenchWindow extends PO implements I_AD_WorkbenchWindow, I_ return ii.intValue(); } + /** Set Workbench Window. + @param AD_WorkbenchWindow_ID Workbench Window */ + public void setAD_WorkbenchWindow_ID (int AD_WorkbenchWindow_ID) + { + if (AD_WorkbenchWindow_ID < 1) + throw new IllegalArgumentException ("AD_WorkbenchWindow_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_WorkbenchWindow_ID, Integer.valueOf(AD_WorkbenchWindow_ID)); + } + + /** Get Workbench Window. + @return Workbench Window */ + public int getAD_WorkbenchWindow_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_WorkbenchWindow_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getAD_WorkbenchWindow_ID())); + } + /** EntityType AD_Reference_ID=389 */ public static final int ENTITYTYPE_AD_Reference_ID=389; /** Set Entity Type. @@ -306,12 +306,6 @@ public class X_AD_WorkbenchWindow extends PO implements I_AD_WorkbenchWindow, I_ */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } diff --git a/base/src/org/compiere/model/X_AD_Workflow.java b/base/src/org/compiere/model/X_AD_Workflow.java index 974494c418..16bb4320b1 100644 --- a/base/src/org/compiere/model/X_AD_Workflow.java +++ b/base/src/org/compiere/model/X_AD_Workflow.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_Workflow * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent { @@ -43,8 +43,8 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent super (ctx, AD_Workflow_ID, trxName); /** if (AD_Workflow_ID == 0) { - setAD_Workflow_ID (0); setAccessLevel (null); + setAD_Workflow_ID (0); setAuthor (null); setCost (0); setDuration (0); @@ -92,6 +92,38 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return sb.toString(); } + /** AccessLevel AD_Reference_ID=5 */ + public static final int ACCESSLEVEL_AD_Reference_ID=5; + /** Organization = 1 */ + public static final String ACCESSLEVEL_Organization = "1"; + /** Client+Organization = 3 */ + public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; + /** System only = 4 */ + public static final String ACCESSLEVEL_SystemOnly = "4"; + /** All = 7 */ + public static final String ACCESSLEVEL_All = "7"; + /** System+Client = 6 */ + public static final String ACCESSLEVEL_SystemPlusClient = "6"; + /** Client only = 2 */ + public static final String ACCESSLEVEL_ClientOnly = "2"; + /** Set Data Access Level. + @param AccessLevel + Access Level required + */ + public void setAccessLevel (String AccessLevel) + { + if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); + if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); set_Value (COLUMNNAME_AccessLevel, AccessLevel); + } + + /** Get Data Access Level. + @return Access Level required + */ + public String getAccessLevel () + { + return (String)get_Value(COLUMNNAME_AccessLevel); + } + public I_AD_Table getAD_Table() throws Exception { Class clazz = MTable.getClass(I_AD_Table.Table_Name); @@ -209,6 +241,28 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return ii.intValue(); } + /** Set Workflow. + @param AD_Workflow_ID + Workflow or combination of tasks + */ + public void setAD_Workflow_ID (int AD_Workflow_ID) + { + if (AD_Workflow_ID < 1) + throw new IllegalArgumentException ("AD_Workflow_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_Workflow_ID, Integer.valueOf(AD_Workflow_ID)); + } + + /** Get Workflow. + @return Workflow or combination of tasks + */ + public int getAD_Workflow_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Workflow_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception { Class clazz = MTable.getClass(I_AD_WorkflowProcessor.Table_Name); @@ -248,66 +302,6 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return ii.intValue(); } - /** Set Workflow. - @param AD_Workflow_ID - Workflow or combination of tasks - */ - public void setAD_Workflow_ID (int AD_Workflow_ID) - { - if (AD_Workflow_ID < 1) - throw new IllegalArgumentException ("AD_Workflow_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_Workflow_ID, Integer.valueOf(AD_Workflow_ID)); - } - - /** Get Workflow. - @return Workflow or combination of tasks - */ - public int getAD_Workflow_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_Workflow_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** AccessLevel AD_Reference_ID=5 */ - public static final int ACCESSLEVEL_AD_Reference_ID=5; - /** Organization = 1 */ - public static final String ACCESSLEVEL_Organization = "1"; - /** Client+Organization = 3 */ - public static final String ACCESSLEVEL_ClientPlusOrganization = "3"; - /** System only = 4 */ - public static final String ACCESSLEVEL_SystemOnly = "4"; - /** All = 7 */ - public static final String ACCESSLEVEL_All = "7"; - /** System+Client = 6 */ - public static final String ACCESSLEVEL_SystemPlusClient = "6"; - /** Client only = 2 */ - public static final String ACCESSLEVEL_ClientOnly = "2"; - /** Set Data Access Level. - @param AccessLevel - Access Level required - */ - public void setAccessLevel (String AccessLevel) - { - if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); - if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); - if (AccessLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccessLevel = AccessLevel.substring(0, 1); - } - set_Value (COLUMNNAME_AccessLevel, AccessLevel); - } - - /** Get Data Access Level. - @return Access Level required - */ - public String getAccessLevel () - { - return (String)get_Value(COLUMNNAME_AccessLevel); - } - /** Set Author. @param Author Author/Creator of the Entity @@ -316,12 +310,6 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent { if (Author == null) throw new IllegalArgumentException ("Author is mandatory."); - - if (Author.length() > 20) - { - log.warning("Length > 20 - truncated"); - Author = Author.substring(0, 20); - } set_Value (COLUMNNAME_Author, Author); } @@ -359,12 +347,6 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -376,41 +358,12 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return (String)get_Value(COLUMNNAME_Description); } - /** Set Document Value Logic. - @param DocValueLogic - Logic to determine Workflow Start - If true, a workflow process is started for the document - */ - public void setDocValueLogic (String DocValueLogic) - { - - if (DocValueLogic != null && DocValueLogic.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DocValueLogic = DocValueLogic.substring(0, 2000); - } - set_Value (COLUMNNAME_DocValueLogic, DocValueLogic); - } - - /** Get Document Value Logic. - @return Logic to determine Workflow Start - If true, a workflow process is started for the document - */ - public String getDocValueLogic () - { - return (String)get_Value(COLUMNNAME_DocValueLogic); - } - /** Set Document No. @param DocumentNo Document sequence number of the document */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -422,6 +375,23 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return (String)get_Value(COLUMNNAME_DocumentNo); } + /** Set Document Value Logic. + @param DocValueLogic + Logic to determine Workflow Start - If true, a workflow process is started for the document + */ + public void setDocValueLogic (String DocValueLogic) + { + set_Value (COLUMNNAME_DocValueLogic, DocValueLogic); + } + + /** Get Document Value Logic. + @return Logic to determine Workflow Start - If true, a workflow process is started for the document + */ + public String getDocValueLogic () + { + return (String)get_Value(COLUMNNAME_DocValueLogic); + } + /** Set Duration. @param Duration Normal Duration in Duration Unit @@ -463,13 +433,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public void setDurationUnit (String DurationUnit) { - if (DurationUnit == null || DurationUnit.equals("Y") || DurationUnit.equals("M") || DurationUnit.equals("D") || DurationUnit.equals("h") || DurationUnit.equals("m") || DurationUnit.equals("s")); else throw new IllegalArgumentException ("DurationUnit Invalid value - " + DurationUnit + " - Reference_ID=299 - Y - M - D - h - m - s"); - if (DurationUnit != null && DurationUnit.length() > 1) - { - log.warning("Length > 1 - truncated"); - DurationUnit = DurationUnit.substring(0, 1); - } - set_Value (COLUMNNAME_DurationUnit, DurationUnit); + if (DurationUnit == null || DurationUnit.equals("Y") || DurationUnit.equals("M") || DurationUnit.equals("D") || DurationUnit.equals("h") || DurationUnit.equals("m") || DurationUnit.equals("s")); else throw new IllegalArgumentException ("DurationUnit Invalid value - " + DurationUnit + " - Reference_ID=299 - Y - M - D - h - m - s"); set_Value (COLUMNNAME_DurationUnit, DurationUnit); } /** Get Duration Unit. @@ -488,12 +452,6 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -511,12 +469,6 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -621,12 +573,6 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -685,13 +631,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public void setProcessType (String ProcessType) { - if (ProcessType == null || ProcessType.equals("BF") || ProcessType.equals("CF") || ProcessType.equals("DR") || ProcessType.equals("JS") || ProcessType.equals("MR") || ProcessType.equals("PL")); else throw new IllegalArgumentException ("ProcessType Invalid value - " + ProcessType + " - Reference_ID=53224 - BF - CF - DR - JS - MR - PL"); - if (ProcessType != null && ProcessType.length() > 2) - { - log.warning("Length > 2 - truncated"); - ProcessType = ProcessType.substring(0, 2); - } - set_Value (COLUMNNAME_ProcessType, ProcessType); + if (ProcessType == null || ProcessType.equals("BF") || ProcessType.equals("CF") || ProcessType.equals("DR") || ProcessType.equals("JS") || ProcessType.equals("MR") || ProcessType.equals("PL")); else throw new IllegalArgumentException ("ProcessType Invalid value - " + ProcessType + " - Reference_ID=53224 - BF - CF - DR - JS - MR - PL"); set_Value (COLUMNNAME_ProcessType, ProcessType); } /** Get ProcessType. @@ -718,13 +658,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public void setPublishStatus (String PublishStatus) { if (PublishStatus == null) throw new IllegalArgumentException ("PublishStatus is mandatory"); - if (PublishStatus.equals("R") || PublishStatus.equals("T") || PublishStatus.equals("U") || PublishStatus.equals("V")); else throw new IllegalArgumentException ("PublishStatus Invalid value - " + PublishStatus + " - Reference_ID=310 - R - T - U - V"); - if (PublishStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - PublishStatus = PublishStatus.substring(0, 1); - } - set_Value (COLUMNNAME_PublishStatus, PublishStatus); + if (PublishStatus.equals("R") || PublishStatus.equals("T") || PublishStatus.equals("U") || PublishStatus.equals("V")); else throw new IllegalArgumentException ("PublishStatus Invalid value - " + PublishStatus + " - Reference_ID=310 - R - T - U - V"); set_Value (COLUMNNAME_PublishStatus, PublishStatus); } /** Get Publication Status. @@ -769,6 +703,26 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return ii.intValue(); } + /** Set Setup Time. + @param SetupTime + Setup time before starting Production + */ + public void setSetupTime (int SetupTime) + { + set_Value (COLUMNNAME_SetupTime, Integer.valueOf(SetupTime)); + } + + /** Get Setup Time. + @return Setup time before starting Production + */ + public int getSetupTime () + { + Integer ii = (Integer)get_Value(COLUMNNAME_SetupTime); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_S_Resource getS_Resource() throws Exception { Class clazz = MTable.getClass(I_S_Resource.Table_Name); @@ -808,24 +762,18 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return ii.intValue(); } - /** Set Setup Time. - @param SetupTime - Setup time before starting Production - */ - public void setSetupTime (int SetupTime) + /** Set Validate Workflow. + @param ValidateWorkflow Validate Workflow */ + public void setValidateWorkflow (String ValidateWorkflow) { - set_Value (COLUMNNAME_SetupTime, Integer.valueOf(SetupTime)); + set_Value (COLUMNNAME_ValidateWorkflow, ValidateWorkflow); } - /** Get Setup Time. - @return Setup time before starting Production - */ - public int getSetupTime () + /** Get Validate Workflow. + @return Validate Workflow */ + public String getValidateWorkflow () { - Integer ii = (Integer)get_Value(COLUMNNAME_SetupTime); - if (ii == null) - return 0; - return ii.intValue(); + return (String)get_Value(COLUMNNAME_ValidateWorkflow); } /** Set Valid from. @@ -862,26 +810,6 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return (Timestamp)get_Value(COLUMNNAME_ValidTo); } - /** Set Validate Workflow. - @param ValidateWorkflow Validate Workflow */ - public void setValidateWorkflow (String ValidateWorkflow) - { - - if (ValidateWorkflow != null && ValidateWorkflow.length() > 1) - { - log.warning("Length > 1 - truncated"); - ValidateWorkflow = ValidateWorkflow.substring(0, 1); - } - set_Value (COLUMNNAME_ValidateWorkflow, ValidateWorkflow); - } - - /** Get Validate Workflow. - @return Validate Workflow */ - public String getValidateWorkflow () - { - return (String)get_Value(COLUMNNAME_ValidateWorkflow); - } - /** Set Search Key. @param Value Search key for the record in the format required - must be unique @@ -890,12 +818,6 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -966,13 +888,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public void setWorkflowType (String WorkflowType) { if (WorkflowType == null) throw new IllegalArgumentException ("WorkflowType is mandatory"); - if (WorkflowType.equals("G") || WorkflowType.equals("P") || WorkflowType.equals("V") || WorkflowType.equals("M") || WorkflowType.equals("Q")); else throw new IllegalArgumentException ("WorkflowType Invalid value - " + WorkflowType + " - Reference_ID=328 - G - P - V - M - Q"); - if (WorkflowType.length() > 1) - { - log.warning("Length > 1 - truncated"); - WorkflowType = WorkflowType.substring(0, 1); - } - set_Value (COLUMNNAME_WorkflowType, WorkflowType); + if (WorkflowType.equals("G") || WorkflowType.equals("P") || WorkflowType.equals("V") || WorkflowType.equals("M") || WorkflowType.equals("Q")); else throw new IllegalArgumentException ("WorkflowType Invalid value - " + WorkflowType + " - Reference_ID=328 - G - P - V - M - Q"); set_Value (COLUMNNAME_WorkflowType, WorkflowType); } /** Get Workflow Type. diff --git a/base/src/org/compiere/model/X_AD_WorkflowProcessor.java b/base/src/org/compiere/model/X_AD_WorkflowProcessor.java index b698d10f05..b5ebe034cb 100644 --- a/base/src/org/compiere/model/X_AD_WorkflowProcessor.java +++ b/base/src/org/compiere/model/X_AD_WorkflowProcessor.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for AD_WorkflowProcessor * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor, I_Persistent { @@ -159,12 +159,6 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -211,13 +205,7 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor public void setFrequencyType (String FrequencyType) { if (FrequencyType == null) throw new IllegalArgumentException ("FrequencyType is mandatory"); - if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); - if (FrequencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FrequencyType = FrequencyType.substring(0, 1); - } - set_Value (COLUMNNAME_FrequencyType, FrequencyType); + if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); set_Value (COLUMNNAME_FrequencyType, FrequencyType); } /** Get Frequency Type. @@ -276,12 +264,6 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_AD_WorkflowProcessorLog.java b/base/src/org/compiere/model/X_AD_WorkflowProcessorLog.java index c896054e58..021ed4631f 100644 --- a/base/src/org/compiere/model/X_AD_WorkflowProcessorLog.java +++ b/base/src/org/compiere/model/X_AD_WorkflowProcessorLog.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_WorkflowProcessorLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProcessorLog, I_Persistent { @@ -39,8 +39,8 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces super (ctx, AD_WorkflowProcessorLog_ID, trxName); /** if (AD_WorkflowProcessorLog_ID == 0) { - setAD_WorkflowProcessorLog_ID (0); setAD_WorkflowProcessor_ID (0); + setAD_WorkflowProcessorLog_ID (0); setIsError (false); } */ } @@ -73,28 +73,6 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces return sb.toString(); } - /** Set Workflow Processorl Log. - @param AD_WorkflowProcessorLog_ID - Result of the execution of the Workflow Processor - */ - public void setAD_WorkflowProcessorLog_ID (int AD_WorkflowProcessorLog_ID) - { - if (AD_WorkflowProcessorLog_ID < 1) - throw new IllegalArgumentException ("AD_WorkflowProcessorLog_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_AD_WorkflowProcessorLog_ID, Integer.valueOf(AD_WorkflowProcessorLog_ID)); - } - - /** Get Workflow Processorl Log. - @return Result of the execution of the Workflow Processor - */ - public int getAD_WorkflowProcessorLog_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_WorkflowProcessorLog_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception { Class clazz = MTable.getClass(I_AD_WorkflowProcessor.Table_Name); @@ -133,6 +111,28 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces return ii.intValue(); } + /** Set Workflow Processorl Log. + @param AD_WorkflowProcessorLog_ID + Result of the execution of the Workflow Processor + */ + public void setAD_WorkflowProcessorLog_ID (int AD_WorkflowProcessorLog_ID) + { + if (AD_WorkflowProcessorLog_ID < 1) + throw new IllegalArgumentException ("AD_WorkflowProcessorLog_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_AD_WorkflowProcessorLog_ID, Integer.valueOf(AD_WorkflowProcessorLog_ID)); + } + + /** Get Workflow Processorl Log. + @return Result of the execution of the Workflow Processor + */ + public int getAD_WorkflowProcessorLog_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_WorkflowProcessorLog_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set BinaryData. @param BinaryData Binary Data @@ -156,12 +156,6 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -203,12 +197,6 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces */ public void setReference (String Reference) { - - if (Reference != null && Reference.length() > 60) - { - log.warning("Length > 60 - truncated"); - Reference = Reference.substring(0, 60); - } set_Value (COLUMNNAME_Reference, Reference); } @@ -226,12 +214,6 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_Value (COLUMNNAME_Summary, Summary); } @@ -249,12 +231,6 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_AD_Workflow_Access.java b/base/src/org/compiere/model/X_AD_Workflow_Access.java index 39fe528791..ff73492773 100644 --- a/base/src/org/compiere/model/X_AD_Workflow_Access.java +++ b/base/src/org/compiere/model/X_AD_Workflow_Access.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for AD_Workflow_Access * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_AD_Workflow_Access extends PO implements I_AD_Workflow_Access, I_Persistent { diff --git a/base/src/org/compiere/model/X_ASP_ClientException.java b/base/src/org/compiere/model/X_ASP_ClientException.java index 28e6ea63a1..c291d95989 100644 --- a/base/src/org/compiere/model/X_ASP_ClientException.java +++ b/base/src/org/compiere/model/X_ASP_ClientException.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_ClientException * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_ClientException extends PO implements I_ASP_ClientException, I_Persistent { @@ -453,13 +453,7 @@ public class X_ASP_ClientException extends PO implements I_ASP_ClientException, public void setASP_Status (String ASP_Status) { if (ASP_Status == null) throw new IllegalArgumentException ("ASP_Status is mandatory"); - if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); - if (ASP_Status.length() > 1) - { - log.warning("Length > 1 - truncated"); - ASP_Status = ASP_Status.substring(0, 1); - } - set_Value (COLUMNNAME_ASP_Status, ASP_Status); + if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); set_Value (COLUMNNAME_ASP_Status, ASP_Status); } /** Get ASP Status. diff --git a/base/src/org/compiere/model/X_ASP_ClientLevel.java b/base/src/org/compiere/model/X_ASP_ClientLevel.java index 3d4f1011bd..ffb95355a8 100644 --- a/base/src/org/compiere/model/X_ASP_ClientLevel.java +++ b/base/src/org/compiere/model/X_ASP_ClientLevel.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_ClientLevel * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_ClientLevel extends PO implements I_ASP_ClientLevel, I_Persistent { @@ -168,12 +168,6 @@ public class X_ASP_ClientLevel extends PO implements I_ASP_ClientLevel, I_Persis */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } diff --git a/base/src/org/compiere/model/X_ASP_Field.java b/base/src/org/compiere/model/X_ASP_Field.java index e29c5d62fa..90a27c36ff 100644 --- a/base/src/org/compiere/model/X_ASP_Field.java +++ b/base/src/org/compiere/model/X_ASP_Field.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_Field * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Field extends PO implements I_ASP_Field, I_Persistent { @@ -199,13 +199,7 @@ public class X_ASP_Field extends PO implements I_ASP_Field, I_Persistent public void setASP_Status (String ASP_Status) { if (ASP_Status == null) throw new IllegalArgumentException ("ASP_Status is mandatory"); - if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); - if (ASP_Status.length() > 1) - { - log.warning("Length > 1 - truncated"); - ASP_Status = ASP_Status.substring(0, 1); - } - set_Value (COLUMNNAME_ASP_Status, ASP_Status); + if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); set_Value (COLUMNNAME_ASP_Status, ASP_Status); } /** Get ASP Status. diff --git a/base/src/org/compiere/model/X_ASP_Form.java b/base/src/org/compiere/model/X_ASP_Form.java index 425b517170..2755f320c0 100644 --- a/base/src/org/compiere/model/X_ASP_Form.java +++ b/base/src/org/compiere/model/X_ASP_Form.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_Form * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Form extends PO implements I_ASP_Form, I_Persistent { @@ -160,13 +160,7 @@ public class X_ASP_Form extends PO implements I_ASP_Form, I_Persistent public void setASP_Status (String ASP_Status) { if (ASP_Status == null) throw new IllegalArgumentException ("ASP_Status is mandatory"); - if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); - if (ASP_Status.length() > 1) - { - log.warning("Length > 1 - truncated"); - ASP_Status = ASP_Status.substring(0, 1); - } - set_Value (COLUMNNAME_ASP_Status, ASP_Status); + if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); set_Value (COLUMNNAME_ASP_Status, ASP_Status); } /** Get ASP Status. diff --git a/base/src/org/compiere/model/X_ASP_Level.java b/base/src/org/compiere/model/X_ASP_Level.java index 71e0b1764c..2ab31228ff 100644 --- a/base/src/org/compiere/model/X_ASP_Level.java +++ b/base/src/org/compiere/model/X_ASP_Level.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for ASP_Level * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent { @@ -135,12 +135,6 @@ public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -158,12 +152,6 @@ public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -183,12 +171,6 @@ public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -237,12 +219,6 @@ public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_ASP_Module.java b/base/src/org/compiere/model/X_ASP_Module.java index f329ad0e40..ec3a925929 100644 --- a/base/src/org/compiere/model/X_ASP_Module.java +++ b/base/src/org/compiere/model/X_ASP_Module.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for ASP_Module * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent { @@ -97,12 +97,6 @@ public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -120,12 +114,6 @@ public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -145,12 +133,6 @@ public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -178,12 +160,6 @@ public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_ASP_Process.java b/base/src/org/compiere/model/X_ASP_Process.java index 90eb96a775..0a2142c883 100644 --- a/base/src/org/compiere/model/X_ASP_Process.java +++ b/base/src/org/compiere/model/X_ASP_Process.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_Process * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Process extends PO implements I_ASP_Process, I_Persistent { @@ -160,13 +160,7 @@ public class X_ASP_Process extends PO implements I_ASP_Process, I_Persistent public void setASP_Status (String ASP_Status) { if (ASP_Status == null) throw new IllegalArgumentException ("ASP_Status is mandatory"); - if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); - if (ASP_Status.length() > 1) - { - log.warning("Length > 1 - truncated"); - ASP_Status = ASP_Status.substring(0, 1); - } - set_Value (COLUMNNAME_ASP_Status, ASP_Status); + if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); set_Value (COLUMNNAME_ASP_Status, ASP_Status); } /** Get ASP Status. diff --git a/base/src/org/compiere/model/X_ASP_Process_Para.java b/base/src/org/compiere/model/X_ASP_Process_Para.java index fc5a5612ab..06afa68709 100644 --- a/base/src/org/compiere/model/X_ASP_Process_Para.java +++ b/base/src/org/compiere/model/X_ASP_Process_Para.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_Process_Para * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Persistent { @@ -196,13 +196,7 @@ public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Pers public void setASP_Status (String ASP_Status) { if (ASP_Status == null) throw new IllegalArgumentException ("ASP_Status is mandatory"); - if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); - if (ASP_Status.length() > 1) - { - log.warning("Length > 1 - truncated"); - ASP_Status = ASP_Status.substring(0, 1); - } - set_Value (COLUMNNAME_ASP_Status, ASP_Status); + if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); set_Value (COLUMNNAME_ASP_Status, ASP_Status); } /** Get ASP Status. diff --git a/base/src/org/compiere/model/X_ASP_Tab.java b/base/src/org/compiere/model/X_ASP_Tab.java index 4812a431ac..0b834a9acd 100644 --- a/base/src/org/compiere/model/X_ASP_Tab.java +++ b/base/src/org/compiere/model/X_ASP_Tab.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_Tab * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent { @@ -151,6 +151,27 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent return ii.intValue(); } + /** Set AllFields. + @param AllFields AllFields */ + public void setAllFields (boolean AllFields) + { + set_Value (COLUMNNAME_AllFields, Boolean.valueOf(AllFields)); + } + + /** Get AllFields. + @return AllFields */ + public boolean isAllFields () + { + Object oo = get_Value(COLUMNNAME_AllFields); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + public I_ASP_Level getASP_Level() throws Exception { Class clazz = MTable.getClass(I_ASP_Level.Table_Name); @@ -199,13 +220,7 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent public void setASP_Status (String ASP_Status) { if (ASP_Status == null) throw new IllegalArgumentException ("ASP_Status is mandatory"); - if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); - if (ASP_Status.length() > 1) - { - log.warning("Length > 1 - truncated"); - ASP_Status = ASP_Status.substring(0, 1); - } - set_Value (COLUMNNAME_ASP_Status, ASP_Status); + if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); set_Value (COLUMNNAME_ASP_Status, ASP_Status); } /** Get ASP Status. @@ -215,27 +230,6 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent return (String)get_Value(COLUMNNAME_ASP_Status); } - /** Set AllFields. - @param AllFields AllFields */ - public void setAllFields (boolean AllFields) - { - set_Value (COLUMNNAME_AllFields, Boolean.valueOf(AllFields)); - } - - /** Get AllFields. - @return AllFields */ - public boolean isAllFields () - { - Object oo = get_Value(COLUMNNAME_AllFields); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Process Now. @param Processing Process Now */ public void setProcessing (boolean Processing) diff --git a/base/src/org/compiere/model/X_ASP_Task.java b/base/src/org/compiere/model/X_ASP_Task.java index 81c14ec92a..fc6df294af 100644 --- a/base/src/org/compiere/model/X_ASP_Task.java +++ b/base/src/org/compiere/model/X_ASP_Task.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_Task * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Task extends PO implements I_ASP_Task, I_Persistent { @@ -160,13 +160,7 @@ public class X_ASP_Task extends PO implements I_ASP_Task, I_Persistent public void setASP_Status (String ASP_Status) { if (ASP_Status == null) throw new IllegalArgumentException ("ASP_Status is mandatory"); - if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); - if (ASP_Status.length() > 1) - { - log.warning("Length > 1 - truncated"); - ASP_Status = ASP_Status.substring(0, 1); - } - set_Value (COLUMNNAME_ASP_Status, ASP_Status); + if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); set_Value (COLUMNNAME_ASP_Status, ASP_Status); } /** Get ASP Status. diff --git a/base/src/org/compiere/model/X_ASP_Window.java b/base/src/org/compiere/model/X_ASP_Window.java index 13e5a1db3c..315110e823 100644 --- a/base/src/org/compiere/model/X_ASP_Window.java +++ b/base/src/org/compiere/model/X_ASP_Window.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_Window * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Window extends PO implements I_ASP_Window, I_Persistent { @@ -160,13 +160,7 @@ public class X_ASP_Window extends PO implements I_ASP_Window, I_Persistent public void setASP_Status (String ASP_Status) { if (ASP_Status == null) throw new IllegalArgumentException ("ASP_Status is mandatory"); - if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); - if (ASP_Status.length() > 1) - { - log.warning("Length > 1 - truncated"); - ASP_Status = ASP_Status.substring(0, 1); - } - set_Value (COLUMNNAME_ASP_Status, ASP_Status); + if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); set_Value (COLUMNNAME_ASP_Status, ASP_Status); } /** Get ASP Status. diff --git a/base/src/org/compiere/model/X_ASP_Workflow.java b/base/src/org/compiere/model/X_ASP_Workflow.java index 86134a9093..b289eaf0c0 100644 --- a/base/src/org/compiere/model/X_ASP_Workflow.java +++ b/base/src/org/compiere/model/X_ASP_Workflow.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for ASP_Workflow * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_ASP_Workflow extends PO implements I_ASP_Workflow, I_Persistent { @@ -160,13 +160,7 @@ public class X_ASP_Workflow extends PO implements I_ASP_Workflow, I_Persistent public void setASP_Status (String ASP_Status) { if (ASP_Status == null) throw new IllegalArgumentException ("ASP_Status is mandatory"); - if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); - if (ASP_Status.length() > 1) - { - log.warning("Length > 1 - truncated"); - ASP_Status = ASP_Status.substring(0, 1); - } - set_Value (COLUMNNAME_ASP_Status, ASP_Status); + if (ASP_Status.equals("H") || ASP_Status.equals("S") || ASP_Status.equals("U")); else throw new IllegalArgumentException ("ASP_Status Invalid value - " + ASP_Status + " - Reference_ID=53234 - H - S - U"); set_Value (COLUMNNAME_ASP_Status, ASP_Status); } /** Get ASP Status. diff --git a/base/src/org/compiere/model/X_A_Asset.java b/base/src/org/compiere/model/X_A_Asset.java index e071347447..c328207761 100644 --- a/base/src/org/compiere/model/X_A_Asset.java +++ b/base/src/org/compiere/model/X_A_Asset.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent { @@ -85,45 +85,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return sb.toString(); } - public I_AD_User getAD_User() throws Exception - { - Class clazz = MTable.getClass(I_AD_User.Table_Name); - I_AD_User result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_AD_User)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_User_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set User/Contact. - @param AD_User_ID - User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID) - { - if (AD_User_ID < 1) - set_Value (COLUMNNAME_AD_User_ID, null); - else - set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); - } - - /** Get User/Contact. - @return User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set A_Asset_CreateDate. @param A_Asset_CreateDate A_Asset_CreateDate */ public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate) @@ -212,6 +173,45 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return (Timestamp)get_Value(COLUMNNAME_A_Asset_RevalDate); } + public I_AD_User getAD_User() throws Exception + { + Class clazz = MTable.getClass(I_AD_User.Table_Name); + I_AD_User result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_AD_User)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_User_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set User/Contact. + @param AD_User_ID + User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID) + { + if (AD_User_ID < 1) + set_Value (COLUMNNAME_AD_User_ID, null); + else + set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); + } + + /** Get User/Contact. + @return User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** A_Parent_Asset_ID AD_Reference_ID=53258 */ public static final int A_PARENT_ASSET_ID_AD_Reference_ID=53258; /** Set A_Parent_Asset_ID. @@ -319,31 +319,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate); } - /** C_BPartnerSR_ID AD_Reference_ID=232 */ - public static final int C_BPARTNERSR_ID_AD_Reference_ID=232; - /** Set BPartner (Agent). - @param C_BPartnerSR_ID - Business Partner (Agent or Sales Rep) - */ - public void setC_BPartnerSR_ID (int C_BPartnerSR_ID) - { - if (C_BPartnerSR_ID < 1) - set_Value (COLUMNNAME_C_BPartnerSR_ID, null); - else - set_Value (COLUMNNAME_C_BPartnerSR_ID, Integer.valueOf(C_BPartnerSR_ID)); - } - - /** Get BPartner (Agent). - @return Business Partner (Agent or Sales Rep) - */ - public int getC_BPartnerSR_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerSR_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -422,6 +397,31 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } + /** C_BPartnerSR_ID AD_Reference_ID=232 */ + public static final int C_BPARTNERSR_ID_AD_Reference_ID=232; + /** Set BPartner (Agent). + @param C_BPartnerSR_ID + Business Partner (Agent or Sales Rep) + */ + public void setC_BPartnerSR_ID (int C_BPartnerSR_ID) + { + if (C_BPartnerSR_ID < 1) + set_Value (COLUMNNAME_C_BPartnerSR_ID, null); + else + set_Value (COLUMNNAME_C_BPartnerSR_ID, Integer.valueOf(C_BPartnerSR_ID)); + } + + /** Get BPartner (Agent). + @return Business Partner (Agent or Sales Rep) + */ + public int getC_BPartnerSR_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerSR_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Location getC_Location() throws Exception { Class clazz = MTable.getClass(I_C_Location.Table_Name); @@ -506,12 +506,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -546,12 +540,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -706,12 +694,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent */ public void setLastMaintenanceNote (String LastMaintenanceNote) { - - if (LastMaintenanceNote != null && LastMaintenanceNote.length() > 60) - { - log.warning("Length > 60 - truncated"); - LastMaintenanceNote = LastMaintenanceNote.substring(0, 60); - } set_Value (COLUMNNAME_LastMaintenanceNote, LastMaintenanceNote); } @@ -743,23 +725,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } - /** Set Lease Termination. - @param LeaseTerminationDate - Lease Termination Date - */ - public void setLeaseTerminationDate (Timestamp LeaseTerminationDate) - { - set_Value (COLUMNNAME_LeaseTerminationDate, LeaseTerminationDate); - } - - /** Get Lease Termination. - @return Lease Termination Date - */ - public Timestamp getLeaseTerminationDate () - { - return (Timestamp)get_Value(COLUMNNAME_LeaseTerminationDate); - } - /** Lease_BPartner_ID AD_Reference_ID=192 */ public static final int LEASE_BPARTNER_ID_AD_Reference_ID=192; /** Set Lessor. @@ -785,6 +750,23 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent return ii.intValue(); } + /** Set Lease Termination. + @param LeaseTerminationDate + Lease Termination Date + */ + public void setLeaseTerminationDate (Timestamp LeaseTerminationDate) + { + set_Value (COLUMNNAME_LeaseTerminationDate, LeaseTerminationDate); + } + + /** Get Lease Termination. + @return Lease Termination Date + */ + public Timestamp getLeaseTerminationDate () + { + return (Timestamp)get_Value(COLUMNNAME_LeaseTerminationDate); + } + /** Set Life use. @param LifeUseUnits Units of use until the asset is not usable anymore @@ -811,12 +793,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent */ public void setLocationComment (String LocationComment) { - - if (LocationComment != null && LocationComment.length() > 255) - { - log.warning("Length > 255 - truncated"); - LocationComment = LocationComment.substring(0, 255); - } set_Value (COLUMNNAME_LocationComment, LocationComment); } @@ -834,12 +810,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent */ public void setLot (String Lot) { - - if (Lot != null && Lot.length() > 255) - { - log.warning("Length > 255 - truncated"); - Lot = Lot.substring(0, 255); - } set_Value (COLUMNNAME_Lot, Lot); } @@ -998,12 +968,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1107,12 +1071,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent */ public void setSerNo (String SerNo) { - - if (SerNo != null && SerNo.length() > 255) - { - log.warning("Length > 255 - truncated"); - SerNo = SerNo.substring(0, 255); - } set_Value (COLUMNNAME_SerNo, SerNo); } @@ -1192,12 +1150,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -1215,12 +1167,6 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent */ public void setVersionNo (String VersionNo) { - - if (VersionNo != null && VersionNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - VersionNo = VersionNo.substring(0, 20); - } set_Value (COLUMNNAME_VersionNo, VersionNo); } diff --git a/base/src/org/compiere/model/X_A_Asset_Acct.java b/base/src/org/compiere/model/X_A_Asset_Acct.java index 015381766f..20be442b53 100644 --- a/base/src/org/compiere/model/X_A_Asset_Acct.java +++ b/base/src/org/compiere/model/X_A_Asset_Acct.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent { @@ -276,13 +276,7 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) { - if (A_Depreciation_Manual_Period == null || A_Depreciation_Manual_Period.equals("PR") || A_Depreciation_Manual_Period.equals("YR")); else throw new IllegalArgumentException ("A_Depreciation_Manual_Period Invalid value - " + A_Depreciation_Manual_Period + " - Reference_ID=53256 - PR - YR"); - if (A_Depreciation_Manual_Period != null && A_Depreciation_Manual_Period.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Depreciation_Manual_Period = A_Depreciation_Manual_Period.substring(0, 2); - } - set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); + if (A_Depreciation_Manual_Period == null || A_Depreciation_Manual_Period.equals("PR") || A_Depreciation_Manual_Period.equals("YR")); else throw new IllegalArgumentException ("A_Depreciation_Manual_Period Invalid value - " + A_Depreciation_Manual_Period + " - Reference_ID=53256 - PR - YR"); set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); } /** Get A_Depreciation_Manual_Period. @@ -484,13 +478,7 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { - if (A_Reval_Cal_Method == null || A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); - if (A_Reval_Cal_Method != null && A_Reval_Cal_Method.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Reval_Cal_Method = A_Reval_Cal_Method.substring(0, 3); - } - set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); + if (A_Reval_Cal_Method == null || A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } /** Get A_Reval_Cal_Method. @@ -646,13 +634,7 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Asset_Addition.java b/base/src/org/compiere/model/X_A_Asset_Addition.java index ed9dac1868..d5ac113478 100644 --- a/base/src/org/compiere/model/X_A_Asset_Addition.java +++ b/base/src/org/compiere/model/X_A_Asset_Addition.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Addition * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Persistent { @@ -136,13 +136,7 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public void setA_CapvsExp (String A_CapvsExp) { - if (A_CapvsExp == null || A_CapvsExp.equals("Cap") || A_CapvsExp.equals("Exp")); else throw new IllegalArgumentException ("A_CapvsExp Invalid value - " + A_CapvsExp + " - Reference_ID=53277 - Cap - Exp"); - if (A_CapvsExp != null && A_CapvsExp.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_CapvsExp = A_CapvsExp.substring(0, 3); - } - set_Value (COLUMNNAME_A_CapvsExp, A_CapvsExp); + if (A_CapvsExp == null || A_CapvsExp.equals("Cap") || A_CapvsExp.equals("Exp")); else throw new IllegalArgumentException ("A_CapvsExp Invalid value - " + A_CapvsExp + " - Reference_ID=53277 - Cap - Exp"); set_Value (COLUMNNAME_A_CapvsExp, A_CapvsExp); } /** Get A_CapvsExp. @@ -184,13 +178,7 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public void setA_SourceType (String A_SourceType) { - if (A_SourceType == null || A_SourceType.equals("IMP") || A_SourceType.equals("INV") || A_SourceType.equals("JRN") || A_SourceType.equals("MAN")); else throw new IllegalArgumentException ("A_SourceType Invalid value - " + A_SourceType + " - Reference_ID=53276 - IMP - INV - JRN - MAN"); - if (A_SourceType != null && A_SourceType.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_SourceType = A_SourceType.substring(0, 3); - } - set_Value (COLUMNNAME_A_SourceType, A_SourceType); + if (A_SourceType == null || A_SourceType.equals("IMP") || A_SourceType.equals("INV") || A_SourceType.equals("JRN") || A_SourceType.equals("MAN")); else throw new IllegalArgumentException ("A_SourceType Invalid value - " + A_SourceType + " - Reference_ID=53276 - IMP - INV - JRN - MAN"); set_Value (COLUMNNAME_A_SourceType, A_SourceType); } /** Get A_SourceType. @@ -269,12 +257,6 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } @@ -294,12 +276,6 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -412,13 +388,7 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Asset_Change.java b/base/src/org/compiere/model/X_A_Asset_Change.java index 56dbb58808..754cefba07 100644 --- a/base/src/org/compiere/model/X_A_Asset_Change.java +++ b/base/src/org/compiere/model/X_A_Asset_Change.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Change * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persistent { @@ -337,13 +337,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) { - if (A_Depreciation_Manual_Period == null || A_Depreciation_Manual_Period.equals("PR") || A_Depreciation_Manual_Period.equals("YR")); else throw new IllegalArgumentException ("A_Depreciation_Manual_Period Invalid value - " + A_Depreciation_Manual_Period + " - Reference_ID=53256 - PR - YR"); - if (A_Depreciation_Manual_Period != null && A_Depreciation_Manual_Period.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Depreciation_Manual_Period = A_Depreciation_Manual_Period.substring(0, 2); - } - set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); + if (A_Depreciation_Manual_Period == null || A_Depreciation_Manual_Period.equals("PR") || A_Depreciation_Manual_Period.equals("YR")); else throw new IllegalArgumentException ("A_Depreciation_Manual_Period Invalid value - " + A_Depreciation_Manual_Period + " - Reference_ID=53256 - PR - YR"); set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); } /** Get A_Depreciation_Manual_Period. @@ -426,6 +420,28 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } + /** Ad_User_ID AD_Reference_ID=286 */ + public static final int AD_USER_ID_AD_Reference_ID=286; + /** Set Ad_User_ID. + @param Ad_User_ID Ad_User_ID */ + public void setAd_User_ID (int Ad_User_ID) + { + if (Ad_User_ID < 1) + set_Value (COLUMNNAME_Ad_User_ID, null); + else + set_Value (COLUMNNAME_Ad_User_ID, Integer.valueOf(Ad_User_ID)); + } + + /** Get Ad_User_ID. + @return Ad_User_ID */ + public int getAd_User_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Ad_User_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** A_Parent_Asset_ID AD_Reference_ID=53258 */ public static final int A_PARENT_ASSET_ID_AD_Reference_ID=53258; /** Set A_Parent_Asset_ID. @@ -563,13 +579,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { - if (A_Reval_Cal_Method == null || A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); - if (A_Reval_Cal_Method != null && A_Reval_Cal_Method.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Reval_Cal_Method = A_Reval_Cal_Method.substring(0, 3); - } - set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); + if (A_Reval_Cal_Method == null || A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } /** Get A_Reval_Cal_Method. @@ -664,28 +674,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return bd; } - /** Ad_User_ID AD_Reference_ID=286 */ - public static final int AD_USER_ID_AD_Reference_ID=286; - /** Set Ad_User_ID. - @param Ad_User_ID Ad_User_ID */ - public void setAd_User_ID (int Ad_User_ID) - { - if (Ad_User_ID < 1) - set_Value (COLUMNNAME_Ad_User_ID, null); - else - set_Value (COLUMNNAME_Ad_User_ID, Integer.valueOf(Ad_User_ID)); - } - - /** Get Ad_User_ID. - @return Ad_User_ID */ - public int getAd_User_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Ad_User_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set AssetAccumDepreciationAmt. @param AssetAccumDepreciationAmt AssetAccumDepreciationAmt */ public void setAssetAccumDepreciationAmt (BigDecimal AssetAccumDepreciationAmt) @@ -898,54 +886,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } - /** C_Location_ID AD_Reference_ID=133 */ - public static final int C_LOCATION_ID_AD_Reference_ID=133; - /** Set Address. - @param C_Location_ID - Location or Address - */ - public void setC_Location_ID (int C_Location_ID) - { - if (C_Location_ID < 1) - set_Value (COLUMNNAME_C_Location_ID, null); - else - set_Value (COLUMNNAME_C_Location_ID, Integer.valueOf(C_Location_ID)); - } - - /** Get Address. - @return Location or Address - */ - public int getC_Location_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Location_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Combination. - @param C_ValidCombination_ID - Valid Account Combination - */ - public void setC_ValidCombination_ID (int C_ValidCombination_ID) - { - if (C_ValidCombination_ID < 1) - set_Value (COLUMNNAME_C_ValidCombination_ID, null); - else - set_Value (COLUMNNAME_C_ValidCombination_ID, Integer.valueOf(C_ValidCombination_ID)); - } - - /** Get Combination. - @return Valid Account Combination - */ - public int getC_ValidCombination_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ValidCombination_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set ChangeAmt. @param ChangeAmt ChangeAmt */ public void setChangeAmt (BigDecimal ChangeAmt) @@ -1012,13 +952,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public void setChangeType (String ChangeType) { if (ChangeType == null) throw new IllegalArgumentException ("ChangeType is mandatory"); - if (ChangeType.equals("ADD") || ChangeType.equals("BAL") || ChangeType.equals("CRT") || ChangeType.equals("DEP") || ChangeType.equals("DIS") || ChangeType.equals("EXP") || ChangeType.equals("FOR") || ChangeType.equals("IMP") || ChangeType.equals("RVL") || ChangeType.equals("SET") || ChangeType.equals("SPL") || ChangeType.equals("TRN") || ChangeType.equals("UPD") || ChangeType.equals("USE")); else throw new IllegalArgumentException ("ChangeType Invalid value - " + ChangeType + " - Reference_ID=53273 - ADD - BAL - CRT - DEP - DIS - EXP - FOR - IMP - RVL - SET - SPL - TRN - UPD - USE"); - if (ChangeType.length() > 3) - { - log.warning("Length > 3 - truncated"); - ChangeType = ChangeType.substring(0, 3); - } - set_ValueNoCheck (COLUMNNAME_ChangeType, ChangeType); + if (ChangeType.equals("ADD") || ChangeType.equals("BAL") || ChangeType.equals("CRT") || ChangeType.equals("DEP") || ChangeType.equals("DIS") || ChangeType.equals("EXP") || ChangeType.equals("FOR") || ChangeType.equals("IMP") || ChangeType.equals("RVL") || ChangeType.equals("SET") || ChangeType.equals("SPL") || ChangeType.equals("TRN") || ChangeType.equals("UPD") || ChangeType.equals("USE")); else throw new IllegalArgumentException ("ChangeType Invalid value - " + ChangeType + " - Reference_ID=53273 - ADD - BAL - CRT - DEP - DIS - EXP - FOR - IMP - RVL - SET - SPL - TRN - UPD - USE"); set_ValueNoCheck (COLUMNNAME_ChangeType, ChangeType); } /** Get ChangeType. @@ -1028,6 +962,31 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return (String)get_Value(COLUMNNAME_ChangeType); } + /** C_Location_ID AD_Reference_ID=133 */ + public static final int C_LOCATION_ID_AD_Reference_ID=133; + /** Set Address. + @param C_Location_ID + Location or Address + */ + public void setC_Location_ID (int C_Location_ID) + { + if (C_Location_ID < 1) + set_Value (COLUMNNAME_C_Location_ID, null); + else + set_Value (COLUMNNAME_C_Location_ID, Integer.valueOf(C_Location_ID)); + } + + /** Get Address. + @return Location or Address + */ + public int getC_Location_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Location_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** ConventionType AD_Reference_ID=53267 */ public static final int CONVENTIONTYPE_AD_Reference_ID=53267; /** Set ConventionType. @@ -1047,6 +1006,29 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste return ii.intValue(); } + /** Set Combination. + @param C_ValidCombination_ID + Valid Account Combination + */ + public void setC_ValidCombination_ID (int C_ValidCombination_ID) + { + if (C_ValidCombination_ID < 1) + set_Value (COLUMNNAME_C_ValidCombination_ID, null); + else + set_Value (COLUMNNAME_C_ValidCombination_ID, Integer.valueOf(C_ValidCombination_ID)); + } + + /** Get Combination. + @return Valid Account Combination + */ + public int getC_ValidCombination_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ValidCombination_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Account Date. @param DateAcct Accounting Date @@ -1229,12 +1211,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste */ public void setLot (String Lot) { - - if (Lot != null && Lot.length() > 40) - { - log.warning("Length > 40 - truncated"); - Lot = Lot.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_Lot, Lot); } @@ -1265,13 +1241,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 10) - { - log.warning("Length > 10 - truncated"); - PostingType = PostingType.substring(0, 10); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. @@ -1286,12 +1256,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste @param Serno Serno */ public void setSerno (String Serno) { - - if (Serno != null && Serno.length() > 40) - { - log.warning("Length > 40 - truncated"); - Serno = Serno.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_Serno, Serno); } @@ -1308,12 +1272,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste { if (TextDetails == null) throw new IllegalArgumentException ("TextDetails is mandatory."); - - if (TextDetails.length() > 60) - { - log.warning("Length > 60 - truncated"); - TextDetails = TextDetails.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_TextDetails, TextDetails); } @@ -1388,12 +1346,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste @param Versionno Versionno */ public void setVersionno (String Versionno) { - - if (Versionno != null && Versionno.length() > 40) - { - log.warning("Length > 40 - truncated"); - Versionno = Versionno.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_Versionno, Versionno); } diff --git a/base/src/org/compiere/model/X_A_Asset_Delivery.java b/base/src/org/compiere/model/X_A_Asset_Delivery.java index ece3ecdc25..f1531efd5d 100644 --- a/base/src/org/compiere/model/X_A_Asset_Delivery.java +++ b/base/src/org/compiere/model/X_A_Asset_Delivery.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Delivery * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Persistent { @@ -43,7 +43,7 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers { setA_Asset_Delivery_ID (0); setA_Asset_ID (0); - setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementDate (new Timestamp( System.currentTimeMillis() )); } */ } @@ -75,45 +75,6 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers return sb.toString(); } - public I_AD_User getAD_User() throws Exception - { - Class clazz = MTable.getClass(I_AD_User.Table_Name); - I_AD_User result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_AD_User)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_User_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set User/Contact. - @param AD_User_ID - User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID) - { - if (AD_User_ID < 1) - set_ValueNoCheck (COLUMNNAME_AD_User_ID, null); - else - set_ValueNoCheck (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); - } - - /** Get User/Contact. - @return User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Asset Delivery. @param A_Asset_Delivery_ID Delivery of Asset @@ -174,18 +135,51 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers return ii.intValue(); } + public I_AD_User getAD_User() throws Exception + { + Class clazz = MTable.getClass(I_AD_User.Table_Name); + I_AD_User result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_AD_User)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_User_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set User/Contact. + @param AD_User_ID + User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID) + { + if (AD_User_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_User_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); + } + + /** Get User/Contact. + @return User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Delivery Confirmation. @param DeliveryConfirmation EMail Delivery confirmation */ public void setDeliveryConfirmation (String DeliveryConfirmation) { - - if (DeliveryConfirmation != null && DeliveryConfirmation.length() > 120) - { - log.warning("Length > 120 - truncated"); - DeliveryConfirmation = DeliveryConfirmation.substring(0, 120); - } set_Value (COLUMNNAME_DeliveryConfirmation, DeliveryConfirmation); } @@ -203,12 +197,6 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -226,12 +214,6 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_EMail, EMail); } @@ -249,12 +231,6 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers */ public void setLot (String Lot) { - - if (Lot != null && Lot.length() > 40) - { - log.warning("Length > 40 - truncated"); - Lot = Lot.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_Lot, Lot); } @@ -266,6 +242,23 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers return (String)get_Value(COLUMNNAME_Lot); } + /** Set Message ID. + @param MessageID + EMail Message ID + */ + public void setMessageID (String MessageID) + { + set_ValueNoCheck (COLUMNNAME_MessageID, MessageID); + } + + /** Get Message ID. + @return EMail Message ID + */ + public String getMessageID () + { + return (String)get_Value(COLUMNNAME_MessageID); + } + public I_M_InOutLine getM_InOutLine() throws Exception { Class clazz = MTable.getClass(I_M_InOutLine.Table_Name); @@ -305,6 +298,33 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers return ii.intValue(); } + /** Set Movement Date. + @param MovementDate + Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate) + { + if (MovementDate == null) + throw new IllegalArgumentException ("MovementDate is mandatory."); + set_ValueNoCheck (COLUMNNAME_MovementDate, MovementDate); + } + + /** Get Movement Date. + @return Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate () + { + return (Timestamp)get_Value(COLUMNNAME_MovementDate); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getMovementDate())); + } + public I_M_ProductDownload getM_ProductDownload() throws Exception { Class clazz = MTable.getClass(I_M_ProductDownload.Table_Name); @@ -344,68 +364,12 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers return ii.intValue(); } - /** Set Message ID. - @param MessageID - EMail Message ID - */ - public void setMessageID (String MessageID) - { - - if (MessageID != null && MessageID.length() > 120) - { - log.warning("Length > 120 - truncated"); - MessageID = MessageID.substring(0, 120); - } - set_ValueNoCheck (COLUMNNAME_MessageID, MessageID); - } - - /** Get Message ID. - @return EMail Message ID - */ - public String getMessageID () - { - return (String)get_Value(COLUMNNAME_MessageID); - } - - /** Set Movement Date. - @param MovementDate - Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate) - { - if (MovementDate == null) - throw new IllegalArgumentException ("MovementDate is mandatory."); - set_ValueNoCheck (COLUMNNAME_MovementDate, MovementDate); - } - - /** Get Movement Date. - @return Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate () - { - return (Timestamp)get_Value(COLUMNNAME_MovementDate); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getMovementDate())); - } - /** Set Referrer. @param Referrer Referring web address */ public void setReferrer (String Referrer) { - - if (Referrer != null && Referrer.length() > 255) - { - log.warning("Length > 255 - truncated"); - Referrer = Referrer.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_Referrer, Referrer); } @@ -423,12 +387,6 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers */ public void setRemote_Addr (String Remote_Addr) { - - if (Remote_Addr != null && Remote_Addr.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Addr = Remote_Addr.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_Remote_Addr, Remote_Addr); } @@ -446,12 +404,6 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers */ public void setRemote_Host (String Remote_Host) { - - if (Remote_Host != null && Remote_Host.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Host = Remote_Host.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_Remote_Host, Remote_Host); } @@ -469,12 +421,6 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers */ public void setSerNo (String SerNo) { - - if (SerNo != null && SerNo.length() > 40) - { - log.warning("Length > 40 - truncated"); - SerNo = SerNo.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_SerNo, SerNo); } @@ -492,12 +438,6 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers */ public void setURL (String URL) { - - if (URL != null && URL.length() > 120) - { - log.warning("Length > 120 - truncated"); - URL = URL.substring(0, 120); - } set_ValueNoCheck (COLUMNNAME_URL, URL); } @@ -515,12 +455,6 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers */ public void setVersionNo (String VersionNo) { - - if (VersionNo != null && VersionNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - VersionNo = VersionNo.substring(0, 20); - } set_ValueNoCheck (COLUMNNAME_VersionNo, VersionNo); } diff --git a/base/src/org/compiere/model/X_A_Asset_Disposed.java b/base/src/org/compiere/model/X_A_Asset_Disposed.java index 6d2866dc28..74cc5453a0 100644 --- a/base/src/org/compiere/model/X_A_Asset_Disposed.java +++ b/base/src/org/compiere/model/X_A_Asset_Disposed.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Disposed * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Persistent { @@ -43,13 +43,13 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers { setA_Asset_Disposed_ID (0); setA_Asset_ID (0); - setA_Disposed_Date (new Timestamp(System.currentTimeMillis())); + setA_Disposed_Date (new Timestamp( System.currentTimeMillis() )); setA_Disposed_Method (null); setA_Disposed_Reason (null); setC_Period_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @Date@ - setDateDoc (new Timestamp(System.currentTimeMillis())); + setDateDoc (new Timestamp( System.currentTimeMillis() )); // @Date@ setProcessed (false); setProcessing (false); @@ -186,13 +186,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public void setA_Disposed_Method (String A_Disposed_Method) { if (A_Disposed_Method == null) throw new IllegalArgumentException ("A_Disposed_Method is mandatory"); - if (A_Disposed_Method.equals("C") || A_Disposed_Method.equals("S") || A_Disposed_Method.equals("T1") || A_Disposed_Method.equals("T2")); else throw new IllegalArgumentException ("A_Disposed_Method Invalid value - " + A_Disposed_Method + " - Reference_ID=53270 - C - S - T1 - T2"); - if (A_Disposed_Method.length() > 10) - { - log.warning("Length > 10 - truncated"); - A_Disposed_Method = A_Disposed_Method.substring(0, 10); - } - set_Value (COLUMNNAME_A_Disposed_Method, A_Disposed_Method); + if (A_Disposed_Method.equals("C") || A_Disposed_Method.equals("S") || A_Disposed_Method.equals("T1") || A_Disposed_Method.equals("T2")); else throw new IllegalArgumentException ("A_Disposed_Method Invalid value - " + A_Disposed_Method + " - Reference_ID=53270 - C - S - T1 - T2"); set_Value (COLUMNNAME_A_Disposed_Method, A_Disposed_Method); } /** Get A_Disposed_Method. @@ -221,13 +215,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public void setA_Disposed_Reason (String A_Disposed_Reason) { if (A_Disposed_Reason == null) throw new IllegalArgumentException ("A_Disposed_Reason is mandatory"); - if (A_Disposed_Reason.equals("C") || A_Disposed_Reason.equals("D") || A_Disposed_Reason.equals("S") || A_Disposed_Reason.equals("S1") || A_Disposed_Reason.equals("S2") || A_Disposed_Reason.equals("T")); else throw new IllegalArgumentException ("A_Disposed_Reason Invalid value - " + A_Disposed_Reason + " - Reference_ID=53269 - C - D - S - S1 - S2 - T"); - if (A_Disposed_Reason.length() > 10) - { - log.warning("Length > 10 - truncated"); - A_Disposed_Reason = A_Disposed_Reason.substring(0, 10); - } - set_Value (COLUMNNAME_A_Disposed_Reason, A_Disposed_Reason); + if (A_Disposed_Reason.equals("C") || A_Disposed_Reason.equals("D") || A_Disposed_Reason.equals("S") || A_Disposed_Reason.equals("S1") || A_Disposed_Reason.equals("S2") || A_Disposed_Reason.equals("T")); else throw new IllegalArgumentException ("A_Disposed_Reason Invalid value - " + A_Disposed_Reason + " - Reference_ID=53269 - C - D - S - S1 - S2 - T"); set_Value (COLUMNNAME_A_Disposed_Reason, A_Disposed_Reason); } /** Get A_Disposed_Reason. diff --git a/base/src/org/compiere/model/X_A_Asset_Group.java b/base/src/org/compiere/model/X_A_Asset_Group.java index d5bdb17b15..dbaffc4be5 100644 --- a/base/src/org/compiere/model/X_A_Asset_Group.java +++ b/base/src/org/compiere/model/X_A_Asset_Group.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Group * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent { @@ -112,12 +112,6 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -135,12 +129,6 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -280,12 +268,6 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_A_Asset_Group_Acct.java b/base/src/org/compiere/model/X_A_Asset_Group_Acct.java index 39b829b7e1..81b70e1abc 100644 --- a/base/src/org/compiere/model/X_A_Asset_Group_Acct.java +++ b/base/src/org/compiere/model/X_A_Asset_Group_Acct.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Group_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_Persistent { @@ -283,13 +283,7 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) { - if (A_Depreciation_Manual_Period == null || A_Depreciation_Manual_Period.equals("PR") || A_Depreciation_Manual_Period.equals("YR")); else throw new IllegalArgumentException ("A_Depreciation_Manual_Period Invalid value - " + A_Depreciation_Manual_Period + " - Reference_ID=53256 - PR - YR"); - if (A_Depreciation_Manual_Period != null && A_Depreciation_Manual_Period.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Depreciation_Manual_Period = A_Depreciation_Manual_Period.substring(0, 2); - } - set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); + if (A_Depreciation_Manual_Period == null || A_Depreciation_Manual_Period.equals("PR") || A_Depreciation_Manual_Period.equals("YR")); else throw new IllegalArgumentException ("A_Depreciation_Manual_Period Invalid value - " + A_Depreciation_Manual_Period + " - Reference_ID=53256 - PR - YR"); set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); } /** Get A_Depreciation_Manual_Period. @@ -436,13 +430,7 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { - if (A_Reval_Cal_Method == null || A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); - if (A_Reval_Cal_Method != null && A_Reval_Cal_Method.length() > 22) - { - log.warning("Length > 22 - truncated"); - A_Reval_Cal_Method = A_Reval_Cal_Method.substring(0, 22); - } - set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); + if (A_Reval_Cal_Method == null || A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } /** Get A_Reval_Cal_Method. @@ -617,13 +605,7 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Asset_Info_Fin.java b/base/src/org/compiere/model/X_A_Asset_Info_Fin.java index 9350e964b9..d37c42c0d0 100644 --- a/base/src/org/compiere/model/X_A_Asset_Info_Fin.java +++ b/base/src/org/compiere/model/X_A_Asset_Info_Fin.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Info_Fin * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Persistent { @@ -152,13 +152,7 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers public void setA_Due_On (String A_Due_On) { - if (A_Due_On == null || A_Due_On.equals("15T") || A_Due_On.equals("1st") || A_Due_On.equals("BEG") || A_Due_On.equals("YER")); else throw new IllegalArgumentException ("A_Due_On Invalid value - " + A_Due_On + " - Reference_ID=53272 - 15T - 1st - BEG - YER"); - if (A_Due_On != null && A_Due_On.length() > 22) - { - log.warning("Length > 22 - truncated"); - A_Due_On = A_Due_On.substring(0, 22); - } - set_Value (COLUMNNAME_A_Due_On, A_Due_On); + if (A_Due_On == null || A_Due_On.equals("15T") || A_Due_On.equals("1st") || A_Due_On.equals("BEG") || A_Due_On.equals("YER")); else throw new IllegalArgumentException ("A_Due_On Invalid value - " + A_Due_On + " - Reference_ID=53272 - 15T - 1st - BEG - YER"); set_Value (COLUMNNAME_A_Due_On, A_Due_On); } /** Get A_Due_On. @@ -197,13 +191,7 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers public void setA_Finance_Meth (String A_Finance_Meth) { - if (A_Finance_Meth == null || A_Finance_Meth.equals("CL") || A_Finance_Meth.equals("NL") || A_Finance_Meth.equals("OW") || A_Finance_Meth.equals("RE")); else throw new IllegalArgumentException ("A_Finance_Meth Invalid value - " + A_Finance_Meth + " - Reference_ID=53271 - CL - NL - OW - RE"); - if (A_Finance_Meth != null && A_Finance_Meth.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Finance_Meth = A_Finance_Meth.substring(0, 2); - } - set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth); + if (A_Finance_Meth == null || A_Finance_Meth.equals("CL") || A_Finance_Meth.equals("NL") || A_Finance_Meth.equals("OW") || A_Finance_Meth.equals("RE")); else throw new IllegalArgumentException ("A_Finance_Meth Invalid value - " + A_Finance_Meth + " - Reference_ID=53271 - CL - NL - OW - RE"); set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth); } /** Get A_Finance_Meth. @@ -331,12 +319,6 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 510) - { - log.warning("Length > 510 - truncated"); - TextMsg = TextMsg.substring(0, 510); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_A_Asset_Info_Ins.java b/base/src/org/compiere/model/X_A_Asset_Info_Ins.java index ec6538f57e..2a10406c26 100644 --- a/base/src/org/compiere/model/X_A_Asset_Info_Ins.java +++ b/base/src/org/compiere/model/X_A_Asset_Info_Ins.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Info_Ins * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Persistent { @@ -140,6 +140,20 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers return bd; } + /** Set A_Insurance_Co. + @param A_Insurance_Co A_Insurance_Co */ + public void setA_Insurance_Co (String A_Insurance_Co) + { + set_Value (COLUMNNAME_A_Insurance_Co, A_Insurance_Co); + } + + /** Get A_Insurance_Co. + @return A_Insurance_Co */ + public String getA_Insurance_Co () + { + return (String)get_Value(COLUMNNAME_A_Insurance_Co); + } + /** Set A_Ins_Value. @param A_Ins_Value A_Ins_Value */ public void setA_Ins_Value (BigDecimal A_Ins_Value) @@ -157,36 +171,10 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers return bd; } - /** Set A_Insurance_Co. - @param A_Insurance_Co A_Insurance_Co */ - public void setA_Insurance_Co (String A_Insurance_Co) - { - - if (A_Insurance_Co != null && A_Insurance_Co.length() > 22) - { - log.warning("Length > 22 - truncated"); - A_Insurance_Co = A_Insurance_Co.substring(0, 22); - } - set_Value (COLUMNNAME_A_Insurance_Co, A_Insurance_Co); - } - - /** Get A_Insurance_Co. - @return A_Insurance_Co */ - public String getA_Insurance_Co () - { - return (String)get_Value(COLUMNNAME_A_Insurance_Co); - } - /** Set A_Policy_No. @param A_Policy_No A_Policy_No */ public void setA_Policy_No (String A_Policy_No) { - - if (A_Policy_No != null && A_Policy_No.length() > 100) - { - log.warning("Length > 100 - truncated"); - A_Policy_No = A_Policy_No.substring(0, 100); - } set_Value (COLUMNNAME_A_Policy_No, A_Policy_No); } @@ -232,12 +220,6 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers @param Text Text */ public void setText (String Text) { - - if (Text != null && Text.length() > 510) - { - log.warning("Length > 510 - truncated"); - Text = Text.substring(0, 510); - } set_Value (COLUMNNAME_Text, Text); } diff --git a/base/src/org/compiere/model/X_A_Asset_Info_Lic.java b/base/src/org/compiere/model/X_A_Asset_Info_Lic.java index 003a16e0bc..54c0bc1611 100644 --- a/base/src/org/compiere/model/X_A_Asset_Info_Lic.java +++ b/base/src/org/compiere/model/X_A_Asset_Info_Lic.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Info_Lic * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Persistent { @@ -127,12 +127,6 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers @param A_Issuing_Agency A_Issuing_Agency */ public void setA_Issuing_Agency (String A_Issuing_Agency) { - - if (A_Issuing_Agency != null && A_Issuing_Agency.length() > 22) - { - log.warning("Length > 22 - truncated"); - A_Issuing_Agency = A_Issuing_Agency.substring(0, 22); - } set_Value (COLUMNNAME_A_Issuing_Agency, A_Issuing_Agency); } @@ -164,12 +158,6 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers @param A_License_No A_License_No */ public void setA_License_No (String A_License_No) { - - if (A_License_No != null && A_License_No.length() > 120) - { - log.warning("Length > 120 - truncated"); - A_License_No = A_License_No.substring(0, 120); - } set_Value (COLUMNNAME_A_License_No, A_License_No); } @@ -200,12 +188,6 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers */ public void setA_State (String A_State) { - - if (A_State != null && A_State.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_State = A_State.substring(0, 60); - } set_Value (COLUMNNAME_A_State, A_State); } @@ -221,12 +203,6 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers @param Text Text */ public void setText (String Text) { - - if (Text != null && Text.length() > 510) - { - log.warning("Length > 510 - truncated"); - Text = Text.substring(0, 510); - } set_Value (COLUMNNAME_Text, Text); } diff --git a/base/src/org/compiere/model/X_A_Asset_Info_Oth.java b/base/src/org/compiere/model/X_A_Asset_Info_Oth.java index 2c87b338dd..d68c562a6f 100644 --- a/base/src/org/compiere/model/X_A_Asset_Info_Oth.java +++ b/base/src/org/compiere/model/X_A_Asset_Info_Oth.java @@ -22,7 +22,7 @@ import java.util.Properties; /** Generated Model for A_Asset_Info_Oth * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Persistent { @@ -115,12 +115,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User1 A_User1 */ public void setA_User1 (String A_User1) { - - if (A_User1 != null && A_User1.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User1 = A_User1.substring(0, 3); - } set_Value (COLUMNNAME_A_User1, A_User1); } @@ -135,12 +129,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User10 A_User10 */ public void setA_User10 (String A_User10) { - - if (A_User10 != null && A_User10.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User10 = A_User10.substring(0, 3); - } set_Value (COLUMNNAME_A_User10, A_User10); } @@ -155,12 +143,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User11 A_User11 */ public void setA_User11 (String A_User11) { - - if (A_User11 != null && A_User11.length() > 10) - { - log.warning("Length > 10 - truncated"); - A_User11 = A_User11.substring(0, 10); - } set_Value (COLUMNNAME_A_User11, A_User11); } @@ -175,12 +157,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User12 A_User12 */ public void setA_User12 (String A_User12) { - - if (A_User12 != null && A_User12.length() > 10) - { - log.warning("Length > 10 - truncated"); - A_User12 = A_User12.substring(0, 10); - } set_Value (COLUMNNAME_A_User12, A_User12); } @@ -195,12 +171,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User13 A_User13 */ public void setA_User13 (String A_User13) { - - if (A_User13 != null && A_User13.length() > 10) - { - log.warning("Length > 10 - truncated"); - A_User13 = A_User13.substring(0, 10); - } set_Value (COLUMNNAME_A_User13, A_User13); } @@ -215,12 +185,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User14 A_User14 */ public void setA_User14 (String A_User14) { - - if (A_User14 != null && A_User14.length() > 10) - { - log.warning("Length > 10 - truncated"); - A_User14 = A_User14.substring(0, 10); - } set_Value (COLUMNNAME_A_User14, A_User14); } @@ -235,12 +199,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User15 A_User15 */ public void setA_User15 (String A_User15) { - - if (A_User15 != null && A_User15.length() > 10) - { - log.warning("Length > 10 - truncated"); - A_User15 = A_User15.substring(0, 10); - } set_Value (COLUMNNAME_A_User15, A_User15); } @@ -255,12 +213,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User2 A_User2 */ public void setA_User2 (String A_User2) { - - if (A_User2 != null && A_User2.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User2 = A_User2.substring(0, 3); - } set_Value (COLUMNNAME_A_User2, A_User2); } @@ -275,12 +227,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User3 A_User3 */ public void setA_User3 (String A_User3) { - - if (A_User3 != null && A_User3.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User3 = A_User3.substring(0, 3); - } set_Value (COLUMNNAME_A_User3, A_User3); } @@ -295,12 +241,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User4 A_User4 */ public void setA_User4 (String A_User4) { - - if (A_User4 != null && A_User4.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User4 = A_User4.substring(0, 3); - } set_Value (COLUMNNAME_A_User4, A_User4); } @@ -315,12 +255,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User5 A_User5 */ public void setA_User5 (String A_User5) { - - if (A_User5 != null && A_User5.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User5 = A_User5.substring(0, 3); - } set_Value (COLUMNNAME_A_User5, A_User5); } @@ -335,12 +269,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User6 A_User6 */ public void setA_User6 (String A_User6) { - - if (A_User6 != null && A_User6.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User6 = A_User6.substring(0, 3); - } set_Value (COLUMNNAME_A_User6, A_User6); } @@ -355,12 +283,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User7 A_User7 */ public void setA_User7 (String A_User7) { - - if (A_User7 != null && A_User7.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User7 = A_User7.substring(0, 3); - } set_Value (COLUMNNAME_A_User7, A_User7); } @@ -375,12 +297,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User8 A_User8 */ public void setA_User8 (String A_User8) { - - if (A_User8 != null && A_User8.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User8 = A_User8.substring(0, 3); - } set_Value (COLUMNNAME_A_User8, A_User8); } @@ -395,12 +311,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param A_User9 A_User9 */ public void setA_User9 (String A_User9) { - - if (A_User9 != null && A_User9.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_User9 = A_User9.substring(0, 3); - } set_Value (COLUMNNAME_A_User9, A_User9); } @@ -415,12 +325,6 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers @param Text Text */ public void setText (String Text) { - - if (Text != null && Text.length() > 510) - { - log.warning("Length > 510 - truncated"); - Text = Text.substring(0, 510); - } set_Value (COLUMNNAME_Text, Text); } diff --git a/base/src/org/compiere/model/X_A_Asset_Info_Tax.java b/base/src/org/compiere/model/X_A_Asset_Info_Tax.java index 978ec0ea39..95e4770678 100644 --- a/base/src/org/compiere/model/X_A_Asset_Info_Tax.java +++ b/base/src/org/compiere/model/X_A_Asset_Info_Tax.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Info_Tax * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Persistent { @@ -135,13 +135,7 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers public void setA_Finance_Meth (String A_Finance_Meth) { - if (A_Finance_Meth == null || A_Finance_Meth.equals("CL") || A_Finance_Meth.equals("NL") || A_Finance_Meth.equals("OW") || A_Finance_Meth.equals("RE")); else throw new IllegalArgumentException ("A_Finance_Meth Invalid value - " + A_Finance_Meth + " - Reference_ID=53271 - CL - NL - OW - RE"); - if (A_Finance_Meth != null && A_Finance_Meth.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Finance_Meth = A_Finance_Meth.substring(0, 2); - } - set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth); + if (A_Finance_Meth == null || A_Finance_Meth.equals("CL") || A_Finance_Meth.equals("NL") || A_Finance_Meth.equals("OW") || A_Finance_Meth.equals("RE")); else throw new IllegalArgumentException ("A_Finance_Meth Invalid value - " + A_Finance_Meth + " - Reference_ID=53271 - CL - NL - OW - RE"); set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth); } /** Get A_Finance_Meth. @@ -195,12 +189,6 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers */ public void setA_State (String A_State) { - - if (A_State != null && A_State.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_State = A_State.substring(0, 60); - } set_Value (COLUMNNAME_A_State, A_State); } @@ -216,12 +204,6 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers @param A_Tax_Entity A_Tax_Entity */ public void setA_Tax_Entity (String A_Tax_Entity) { - - if (A_Tax_Entity != null && A_Tax_Entity.length() > 22) - { - log.warning("Length > 22 - truncated"); - A_Tax_Entity = A_Tax_Entity.substring(0, 22); - } set_Value (COLUMNNAME_A_Tax_Entity, A_Tax_Entity); } @@ -238,12 +220,6 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 510) - { - log.warning("Length > 510 - truncated"); - TextMsg = TextMsg.substring(0, 510); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_A_Asset_Retirement.java b/base/src/org/compiere/model/X_A_Asset_Retirement.java index 1a8a4dba5c..580dc10672 100644 --- a/base/src/org/compiere/model/X_A_Asset_Retirement.java +++ b/base/src/org/compiere/model/X_A_Asset_Retirement.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Retirement * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_Persistent { diff --git a/base/src/org/compiere/model/X_A_Asset_Reval_Entry.java b/base/src/org/compiere/model/X_A_Asset_Reval_Entry.java index 8977d6656d..c08a6565d9 100644 --- a/base/src/org/compiere/model/X_A_Asset_Reval_Entry.java +++ b/base/src/org/compiere/model/X_A_Asset_Reval_Entry.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Reval_Entry * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, I_Persistent { @@ -42,11 +42,11 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, /** if (A_Asset_Reval_Entry_ID == 0) { setA_Asset_Reval_Entry_ID (0); - setA_Effective_Date (new Timestamp(System.currentTimeMillis())); - setA_Rev_Code (null); + setA_Effective_Date (new Timestamp( System.currentTimeMillis() )); setA_Reval_Cal_Method (null); setA_Reval_Effective_Date (null); setA_Reval_Multiplier (null); + setA_Rev_Code (null); setC_Currency_ID (0); setDescription (null); setDocumentNo (null); @@ -127,35 +127,6 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, return (Timestamp)get_Value(COLUMNNAME_A_Effective_Date); } - /** A_Rev_Code AD_Reference_ID=53262 */ - public static final int A_REV_CODE_AD_Reference_ID=53262; - /** Revaluation Code #1 = R01 */ - public static final String A_REV_CODE_RevaluationCode1 = "R01"; - /** Revaluation Code #2 = R02 */ - public static final String A_REV_CODE_RevaluationCode2 = "R02"; - /** Revaluation Code #3 = R03 */ - public static final String A_REV_CODE_RevaluationCode3 = "R03"; - /** Set A_Rev_Code. - @param A_Rev_Code A_Rev_Code */ - public void setA_Rev_Code (String A_Rev_Code) - { - if (A_Rev_Code == null) throw new IllegalArgumentException ("A_Rev_Code is mandatory"); - if (A_Rev_Code.equals("R01") || A_Rev_Code.equals("R02") || A_Rev_Code.equals("R03")); else throw new IllegalArgumentException ("A_Rev_Code Invalid value - " + A_Rev_Code + " - Reference_ID=53262 - R01 - R02 - R03"); - if (A_Rev_Code.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Rev_Code = A_Rev_Code.substring(0, 3); - } - set_Value (COLUMNNAME_A_Rev_Code, A_Rev_Code); - } - - /** Get A_Rev_Code. - @return A_Rev_Code */ - public String getA_Rev_Code () - { - return (String)get_Value(COLUMNNAME_A_Rev_Code); - } - /** A_Reval_Cal_Method AD_Reference_ID=53259 */ public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259; /** Default = DFT */ @@ -169,13 +140,7 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { if (A_Reval_Cal_Method == null) throw new IllegalArgumentException ("A_Reval_Cal_Method is mandatory"); - if (A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); - if (A_Reval_Cal_Method.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Reval_Cal_Method = A_Reval_Cal_Method.substring(0, 3); - } - set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); + if (A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } /** Get A_Reval_Cal_Method. @@ -198,13 +163,7 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, public void setA_Reval_Effective_Date (String A_Reval_Effective_Date) { if (A_Reval_Effective_Date == null) throw new IllegalArgumentException ("A_Reval_Effective_Date is mandatory"); - if (A_Reval_Effective_Date.equals("DA") || A_Reval_Effective_Date.equals("RD") || A_Reval_Effective_Date.equals("SD")); else throw new IllegalArgumentException ("A_Reval_Effective_Date Invalid value - " + A_Reval_Effective_Date + " - Reference_ID=53261 - DA - RD - SD"); - if (A_Reval_Effective_Date.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Reval_Effective_Date = A_Reval_Effective_Date.substring(0, 2); - } - set_Value (COLUMNNAME_A_Reval_Effective_Date, A_Reval_Effective_Date); + if (A_Reval_Effective_Date.equals("DA") || A_Reval_Effective_Date.equals("RD") || A_Reval_Effective_Date.equals("SD")); else throw new IllegalArgumentException ("A_Reval_Effective_Date Invalid value - " + A_Reval_Effective_Date + " - Reference_ID=53261 - DA - RD - SD"); set_Value (COLUMNNAME_A_Reval_Effective_Date, A_Reval_Effective_Date); } /** Get A_Reval_Effective_Date. @@ -225,13 +184,7 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, public void setA_Reval_Multiplier (String A_Reval_Multiplier) { if (A_Reval_Multiplier == null) throw new IllegalArgumentException ("A_Reval_Multiplier is mandatory"); - if (A_Reval_Multiplier.equals("FAC") || A_Reval_Multiplier.equals("IND")); else throw new IllegalArgumentException ("A_Reval_Multiplier Invalid value - " + A_Reval_Multiplier + " - Reference_ID=53260 - FAC - IND"); - if (A_Reval_Multiplier.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Reval_Multiplier = A_Reval_Multiplier.substring(0, 3); - } - set_Value (COLUMNNAME_A_Reval_Multiplier, A_Reval_Multiplier); + if (A_Reval_Multiplier.equals("FAC") || A_Reval_Multiplier.equals("IND")); else throw new IllegalArgumentException ("A_Reval_Multiplier Invalid value - " + A_Reval_Multiplier + " - Reference_ID=53260 - FAC - IND"); set_Value (COLUMNNAME_A_Reval_Multiplier, A_Reval_Multiplier); } /** Get A_Reval_Multiplier. @@ -241,6 +194,29 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, return (String)get_Value(COLUMNNAME_A_Reval_Multiplier); } + /** A_Rev_Code AD_Reference_ID=53262 */ + public static final int A_REV_CODE_AD_Reference_ID=53262; + /** Revaluation Code #1 = R01 */ + public static final String A_REV_CODE_RevaluationCode1 = "R01"; + /** Revaluation Code #2 = R02 */ + public static final String A_REV_CODE_RevaluationCode2 = "R02"; + /** Revaluation Code #3 = R03 */ + public static final String A_REV_CODE_RevaluationCode3 = "R03"; + /** Set A_Rev_Code. + @param A_Rev_Code A_Rev_Code */ + public void setA_Rev_Code (String A_Rev_Code) + { + if (A_Rev_Code == null) throw new IllegalArgumentException ("A_Rev_Code is mandatory"); + if (A_Rev_Code.equals("R01") || A_Rev_Code.equals("R02") || A_Rev_Code.equals("R03")); else throw new IllegalArgumentException ("A_Rev_Code Invalid value - " + A_Rev_Code + " - Reference_ID=53262 - R01 - R02 - R03"); set_Value (COLUMNNAME_A_Rev_Code, A_Rev_Code); + } + + /** Get A_Rev_Code. + @return A_Rev_Code */ + public String getA_Rev_Code () + { + return (String)get_Value(COLUMNNAME_A_Rev_Code); + } + public I_C_AcctSchema getC_AcctSchema() throws Exception { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); @@ -424,12 +400,6 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } @@ -449,12 +419,6 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 60) - { - log.warning("Length > 60 - truncated"); - DocumentNo = DocumentNo.substring(0, 60); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -524,13 +488,7 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Asset_Reval_Index.java b/base/src/org/compiere/model/X_A_Asset_Reval_Index.java index 88ba4bfe42..491bf891cd 100644 --- a/base/src/org/compiere/model/X_A_Asset_Reval_Index.java +++ b/base/src/org/compiere/model/X_A_Asset_Reval_Index.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Reval_Index * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, I_Persistent { @@ -42,7 +42,7 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, /** if (A_Asset_Reval_Index_ID == 0) { setA_Asset_Reval_Index_ID (0); - setA_Effective_Date (new Timestamp(System.currentTimeMillis())); + setA_Effective_Date (new Timestamp( System.currentTimeMillis() )); setA_Reval_Code (null); setA_Reval_Multiplier (null); setA_Reval_Rate (Env.ZERO); @@ -133,13 +133,7 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, public void setA_Reval_Code (String A_Reval_Code) { if (A_Reval_Code == null) throw new IllegalArgumentException ("A_Reval_Code is mandatory"); - if (A_Reval_Code.equals("R01") || A_Reval_Code.equals("R02") || A_Reval_Code.equals("R03")); else throw new IllegalArgumentException ("A_Reval_Code Invalid value - " + A_Reval_Code + " - Reference_ID=53262 - R01 - R02 - R03"); - if (A_Reval_Code.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Reval_Code = A_Reval_Code.substring(0, 3); - } - set_Value (COLUMNNAME_A_Reval_Code, A_Reval_Code); + if (A_Reval_Code.equals("R01") || A_Reval_Code.equals("R02") || A_Reval_Code.equals("R03")); else throw new IllegalArgumentException ("A_Reval_Code Invalid value - " + A_Reval_Code + " - Reference_ID=53262 - R01 - R02 - R03"); set_Value (COLUMNNAME_A_Reval_Code, A_Reval_Code); } /** Get A_Reval_Code. @@ -160,13 +154,7 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, public void setA_Reval_Multiplier (String A_Reval_Multiplier) { if (A_Reval_Multiplier == null) throw new IllegalArgumentException ("A_Reval_Multiplier is mandatory"); - if (A_Reval_Multiplier.equals("FAC") || A_Reval_Multiplier.equals("IND")); else throw new IllegalArgumentException ("A_Reval_Multiplier Invalid value - " + A_Reval_Multiplier + " - Reference_ID=53260 - FAC - IND"); - if (A_Reval_Multiplier.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Reval_Multiplier = A_Reval_Multiplier.substring(0, 3); - } - set_Value (COLUMNNAME_A_Reval_Multiplier, A_Reval_Multiplier); + if (A_Reval_Multiplier.equals("FAC") || A_Reval_Multiplier.equals("IND")); else throw new IllegalArgumentException ("A_Reval_Multiplier Invalid value - " + A_Reval_Multiplier + " - Reference_ID=53260 - FAC - IND"); set_Value (COLUMNNAME_A_Reval_Multiplier, A_Reval_Multiplier); } /** Get A_Reval_Multiplier. diff --git a/base/src/org/compiere/model/X_A_Asset_Split.java b/base/src/org/compiere/model/X_A_Asset_Split.java index 609340d03c..1708b05ff7 100644 --- a/base/src/org/compiere/model/X_A_Asset_Split.java +++ b/base/src/org/compiere/model/X_A_Asset_Split.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Split * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent { @@ -54,7 +54,7 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent setA_Transfer_Balance_IS (false); setC_Period_ID (0); // @Date@ - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @Date@ setPostingType (null); // @SQL=SELECT PostingType FROM A_Depreciation_Workfile WHERE A_Depreciation_Workfile.A_Depreciation_Workfile_ID=@A_Depreciation_Workfile_ID@ @@ -314,13 +314,7 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent public void setA_Split_Type (String A_Split_Type) { if (A_Split_Type == null) throw new IllegalArgumentException ("A_Split_Type is mandatory"); - if (A_Split_Type.equals("AMT") || A_Split_Type.equals("PER") || A_Split_Type.equals("QTY")); else throw new IllegalArgumentException ("A_Split_Type Invalid value - " + A_Split_Type + " - Reference_ID=53263 - AMT - PER - QTY"); - if (A_Split_Type.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Split_Type = A_Split_Type.substring(0, 3); - } - set_Value (COLUMNNAME_A_Split_Type, A_Split_Type); + if (A_Split_Type.equals("AMT") || A_Split_Type.equals("PER") || A_Split_Type.equals("QTY")); else throw new IllegalArgumentException ("A_Split_Type Invalid value - " + A_Split_Type + " - Reference_ID=53263 - AMT - PER - QTY"); set_Value (COLUMNNAME_A_Split_Type, A_Split_Type); } /** Get A_Split_Type. @@ -413,13 +407,7 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_ValueNoCheck (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Asset_Spread.java b/base/src/org/compiere/model/X_A_Asset_Spread.java index 8186625c53..168736e9fb 100644 --- a/base/src/org/compiere/model/X_A_Asset_Spread.java +++ b/base/src/org/compiere/model/X_A_Asset_Spread.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Spread * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persistent { @@ -117,12 +117,6 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste @param A_Asset_Spread_Type A_Asset_Spread_Type */ public void setA_Asset_Spread_Type (String A_Asset_Spread_Type) { - - if (A_Asset_Spread_Type != null && A_Asset_Spread_Type.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Asset_Spread_Type = A_Asset_Spread_Type.substring(0, 20); - } set_Value (COLUMNNAME_A_Asset_Spread_Type, A_Asset_Spread_Type); } @@ -405,12 +399,6 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_A_Asset_Transfer.java b/base/src/org/compiere/model/X_A_Asset_Transfer.java index e919dc4cb2..19b6924a55 100644 --- a/base/src/org/compiere/model/X_A_Asset_Transfer.java +++ b/base/src/org/compiere/model/X_A_Asset_Transfer.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Transfer * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Persistent { @@ -56,7 +56,7 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers setA_Transfer_Balance (true); // Y setA_Transfer_Balance_IS (false); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @Date@ setProcessed (false); setProcessing (false); @@ -129,12 +129,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers @param A_Accumdepreciation_Acct_Str A_Accumdepreciation_Acct_Str */ public void setA_Accumdepreciation_Acct_Str (String A_Accumdepreciation_Acct_Str) { - - if (A_Accumdepreciation_Acct_Str != null && A_Accumdepreciation_Acct_Str.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_Accumdepreciation_Acct_Str = A_Accumdepreciation_Acct_Str.substring(0, 40); - } set_Value (COLUMNNAME_A_Accumdepreciation_Acct_Str, A_Accumdepreciation_Acct_Str); } @@ -203,12 +197,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers @param A_Asset_Acct_Str A_Asset_Acct_Str */ public void setA_Asset_Acct_Str (String A_Asset_Acct_Str) { - - if (A_Asset_Acct_Str != null && A_Asset_Acct_Str.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_Asset_Acct_Str = A_Asset_Acct_Str.substring(0, 40); - } set_Value (COLUMNNAME_A_Asset_Acct_Str, A_Asset_Acct_Str); } @@ -307,12 +295,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers @param A_Depreciation_Acct_Str A_Depreciation_Acct_Str */ public void setA_Depreciation_Acct_Str (String A_Depreciation_Acct_Str) { - - if (A_Depreciation_Acct_Str != null && A_Depreciation_Acct_Str.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_Depreciation_Acct_Str = A_Depreciation_Acct_Str.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_A_Depreciation_Acct_Str, A_Depreciation_Acct_Str); } @@ -361,12 +343,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers @param A_Disposal_Loss_Str A_Disposal_Loss_Str */ public void setA_Disposal_Loss_Str (String A_Disposal_Loss_Str) { - - if (A_Disposal_Loss_Str != null && A_Disposal_Loss_Str.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_Disposal_Loss_Str = A_Disposal_Loss_Str.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_A_Disposal_Loss_Str, A_Disposal_Loss_Str); } @@ -415,12 +391,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers @param A_Disposal_Revenue_Str A_Disposal_Revenue_Str */ public void setA_Disposal_Revenue_Str (String A_Disposal_Revenue_Str) { - - if (A_Disposal_Revenue_Str != null && A_Disposal_Revenue_Str.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_Disposal_Revenue_Str = A_Disposal_Revenue_Str.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_A_Disposal_Revenue_Str, A_Disposal_Revenue_Str); } @@ -614,13 +584,7 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Asset_Use.java b/base/src/org/compiere/model/X_A_Asset_Use.java index c443cf1de2..c798581737 100644 --- a/base/src/org/compiere/model/X_A_Asset_Use.java +++ b/base/src/org/compiere/model/X_A_Asset_Use.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Use * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent { @@ -41,7 +41,7 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent { setA_Asset_ID (0); setA_Asset_Use_ID (0); - setUseDate (new Timestamp(System.currentTimeMillis())); + setUseDate (new Timestamp( System.currentTimeMillis() )); setUseUnits (0); } */ } @@ -129,12 +129,6 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_A_Depreciation.java b/base/src/org/compiere/model/X_A_Depreciation.java index 7e0c14ad7c..a95340dd6b 100644 --- a/base/src/org/compiere/model/X_A_Depreciation.java +++ b/base/src/org/compiere/model/X_A_Depreciation.java @@ -22,7 +22,7 @@ import java.util.Properties; /** Generated Model for A_Depreciation * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persistent { @@ -98,12 +98,6 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste { if (DepreciationType == null) throw new IllegalArgumentException ("DepreciationType is mandatory."); - - if (DepreciationType.length() > 10) - { - log.warning("Length > 10 - truncated"); - DepreciationType = DepreciationType.substring(0, 10); - } set_Value (COLUMNNAME_DepreciationType, DepreciationType); } @@ -120,12 +114,6 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } @@ -145,12 +133,6 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -190,12 +172,6 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste @param Text Text */ public void setText (String Text) { - - if (Text != null && Text.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Text = Text.substring(0, 2000); - } set_Value (COLUMNNAME_Text, Text); } diff --git a/base/src/org/compiere/model/X_A_Depreciation_Build.java b/base/src/org/compiere/model/X_A_Depreciation_Build.java index 9e6e0270b2..f0f1a070be 100644 --- a/base/src/org/compiere/model/X_A_Depreciation_Build.java +++ b/base/src/org/compiere/model/X_A_Depreciation_Build.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Build * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build, I_Persistent { @@ -240,13 +240,7 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Depreciation_Convention.java b/base/src/org/compiere/model/X_A_Depreciation_Convention.java index 1d4cae376c..70231123b4 100644 --- a/base/src/org/compiere/model/X_A_Depreciation_Convention.java +++ b/base/src/org/compiere/model/X_A_Depreciation_Convention.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Convention * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_Convention, I_Persistent { @@ -102,12 +102,6 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ @param ConventionType ConventionType */ public void setConventionType (String ConventionType) { - - if (ConventionType != null && ConventionType.length() > 10) - { - log.warning("Length > 10 - truncated"); - ConventionType = ConventionType.substring(0, 10); - } set_Value (COLUMNNAME_ConventionType, ConventionType); } @@ -124,12 +118,6 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } @@ -147,12 +135,6 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ */ public void setName (String Name) { - - if (Name != null && Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -192,12 +174,6 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ @param Textmsg Textmsg */ public void setTextmsg (String Textmsg) { - - if (Textmsg != null && Textmsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Textmsg = Textmsg.substring(0, 2000); - } set_Value (COLUMNNAME_Textmsg, Textmsg); } diff --git a/base/src/org/compiere/model/X_A_Depreciation_Entry.java b/base/src/org/compiere/model/X_A_Depreciation_Entry.java index ba3086fea1..6bbfcec380 100644 --- a/base/src/org/compiere/model/X_A_Depreciation_Entry.java +++ b/base/src/org/compiere/model/X_A_Depreciation_Entry.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Entry * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry, I_Persistent { @@ -48,9 +48,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry // @$C_CURRENCY_ID@ setC_DocType_ID (0); setC_Period_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @Date@ - setDateDoc (new Timestamp(System.currentTimeMillis())); + setDateDoc (new Timestamp( System.currentTimeMillis() )); // @Date@ setDescription (null); setDocumentNo (null); @@ -136,13 +136,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry public void setA_Entry_Type (String A_Entry_Type) { if (A_Entry_Type == null) throw new IllegalArgumentException ("A_Entry_Type is mandatory"); - if (A_Entry_Type.equals("DEP") || A_Entry_Type.equals("DIS") || A_Entry_Type.equals("FOR") || A_Entry_Type.equals("NEW") || A_Entry_Type.equals("SPL") || A_Entry_Type.equals("TRN")); else throw new IllegalArgumentException ("A_Entry_Type Invalid value - " + A_Entry_Type + " - Reference_ID=53257 - DEP - DIS - FOR - NEW - SPL - TRN"); - if (A_Entry_Type.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Entry_Type = A_Entry_Type.substring(0, 3); - } - set_Value (COLUMNNAME_A_Entry_Type, A_Entry_Type); + if (A_Entry_Type.equals("DEP") || A_Entry_Type.equals("DIS") || A_Entry_Type.equals("FOR") || A_Entry_Type.equals("NEW") || A_Entry_Type.equals("SPL") || A_Entry_Type.equals("TRN")); else throw new IllegalArgumentException ("A_Entry_Type Invalid value - " + A_Entry_Type + " - Reference_ID=53257 - DEP - DIS - FOR - NEW - SPL - TRN"); set_Value (COLUMNNAME_A_Entry_Type, A_Entry_Type); } /** Get A_Entry_Type. @@ -336,12 +330,6 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } @@ -361,12 +349,6 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 60) - { - log.warning("Length > 60 - truncated"); - DocumentNo = DocumentNo.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -435,13 +417,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Depreciation_Exp.java b/base/src/org/compiere/model/X_A_Depreciation_Exp.java index 41f240d562..b89fe45c9f 100644 --- a/base/src/org/compiere/model/X_A_Depreciation_Exp.java +++ b/base/src/org/compiere/model/X_A_Depreciation_Exp.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Exp * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_Persistent { @@ -166,13 +166,7 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ public void setA_Entry_Type (String A_Entry_Type) { if (A_Entry_Type == null) throw new IllegalArgumentException ("A_Entry_Type is mandatory"); - if (A_Entry_Type.equals("DEP") || A_Entry_Type.equals("DIS") || A_Entry_Type.equals("FOR") || A_Entry_Type.equals("NEW") || A_Entry_Type.equals("SPL") || A_Entry_Type.equals("TRN")); else throw new IllegalArgumentException ("A_Entry_Type Invalid value - " + A_Entry_Type + " - Reference_ID=53257 - DEP - DIS - FOR - NEW - SPL - TRN"); - if (A_Entry_Type.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Entry_Type = A_Entry_Type.substring(0, 3); - } - set_Value (COLUMNNAME_A_Entry_Type, A_Entry_Type); + if (A_Entry_Type.equals("DEP") || A_Entry_Type.equals("DIS") || A_Entry_Type.equals("FOR") || A_Entry_Type.equals("NEW") || A_Entry_Type.equals("SPL") || A_Entry_Type.equals("TRN")); else throw new IllegalArgumentException ("A_Entry_Type Invalid value - " + A_Entry_Type + " - Reference_ID=53257 - DEP - DIS - FOR - NEW - SPL - TRN"); set_Value (COLUMNNAME_A_Entry_Type, A_Entry_Type); } /** Get A_Entry_Type. @@ -224,12 +218,6 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -290,12 +278,6 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ */ public void setPostingType (String PostingType) { - - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } set_Value (COLUMNNAME_PostingType, PostingType); } diff --git a/base/src/org/compiere/model/X_A_Depreciation_Forecast.java b/base/src/org/compiere/model/X_A_Depreciation_Forecast.java index ddb94c306a..e17b1648b8 100644 --- a/base/src/org/compiere/model/X_A_Depreciation_Forecast.java +++ b/base/src/org/compiere/model/X_A_Depreciation_Forecast.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Forecast * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Forecast, I_Persistent { @@ -42,7 +42,7 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo setA_Depreciation_Forecast_ID (0); setA_End_Asset_ID (0); setA_Start_Asset_ID (0); - setDateDoc (new Timestamp(System.currentTimeMillis())); + setDateDoc (new Timestamp( System.currentTimeMillis() )); setPostingType (null); } */ } @@ -182,13 +182,7 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Depreciation_Method.java b/base/src/org/compiere/model/X_A_Depreciation_Method.java index 6287edef49..1db887e5ae 100644 --- a/base/src/org/compiere/model/X_A_Depreciation_Method.java +++ b/base/src/org/compiere/model/X_A_Depreciation_Method.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Method * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Method, I_Persistent { @@ -103,12 +103,6 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth @param DepreciationType DepreciationType */ public void setDepreciationType (String DepreciationType) { - - if (DepreciationType != null && DepreciationType.length() > 10) - { - log.warning("Length > 10 - truncated"); - DepreciationType = DepreciationType.substring(0, 10); - } set_Value (COLUMNNAME_DepreciationType, DepreciationType); } @@ -125,12 +119,6 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } @@ -148,12 +136,6 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth */ public void setName (String Name) { - - if (Name != null && Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -193,12 +175,6 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth @param Text Text */ public void setText (String Text) { - - if (Text != null && Text.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Text = Text.substring(0, 2000); - } set_Value (COLUMNNAME_Text, Text); } diff --git a/base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java b/base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java index bf41426cb9..24bc1be225 100644 --- a/base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java +++ b/base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Table_Detail * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciation_Table_Detail, I_Persistent { @@ -101,12 +101,6 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio { if (A_Depreciation_Table_Code == null) throw new IllegalArgumentException ("A_Depreciation_Table_Code is mandatory."); - - if (A_Depreciation_Table_Code.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Depreciation_Table_Code = A_Depreciation_Table_Code.substring(0, 20); - } set_ValueNoCheck (COLUMNNAME_A_Depreciation_Table_Code, A_Depreciation_Table_Code); } @@ -172,13 +166,7 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio public void setA_Table_Rate_Type (String A_Table_Rate_Type) { - if (A_Table_Rate_Type == null || A_Table_Rate_Type.equals("AM") || A_Table_Rate_Type.equals("RT")); else throw new IllegalArgumentException ("A_Table_Rate_Type Invalid value - " + A_Table_Rate_Type + " - Reference_ID=53255 - AM - RT"); - if (A_Table_Rate_Type != null && A_Table_Rate_Type.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Table_Rate_Type = A_Table_Rate_Type.substring(0, 2); - } - set_ValueNoCheck (COLUMNNAME_A_Table_Rate_Type, A_Table_Rate_Type); + if (A_Table_Rate_Type == null || A_Table_Rate_Type.equals("AM") || A_Table_Rate_Type.equals("RT")); else throw new IllegalArgumentException ("A_Table_Rate_Type Invalid value - " + A_Table_Rate_Type + " - Reference_ID=53255 - AM - RT"); set_ValueNoCheck (COLUMNNAME_A_Table_Rate_Type, A_Table_Rate_Type); } /** Get A_Table_Rate_Type. diff --git a/base/src/org/compiere/model/X_A_Depreciation_Table_Header.java b/base/src/org/compiere/model/X_A_Depreciation_Table_Header.java index 305e14174a..a3c8c7deea 100644 --- a/base/src/org/compiere/model/X_A_Depreciation_Table_Header.java +++ b/base/src/org/compiere/model/X_A_Depreciation_Table_Header.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Table_Header * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciation_Table_Header, I_Persistent { @@ -81,12 +81,6 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio { if (A_Depreciation_Table_Code == null) throw new IllegalArgumentException ("A_Depreciation_Table_Code is mandatory."); - - if (A_Depreciation_Table_Code.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Depreciation_Table_Code = A_Depreciation_Table_Code.substring(0, 20); - } set_Value (COLUMNNAME_A_Depreciation_Table_Code, A_Depreciation_Table_Code); } @@ -135,13 +129,7 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio public void setA_Table_Rate_Type (String A_Table_Rate_Type) { if (A_Table_Rate_Type == null) throw new IllegalArgumentException ("A_Table_Rate_Type is mandatory"); - if (A_Table_Rate_Type.equals("AM") || A_Table_Rate_Type.equals("RT")); else throw new IllegalArgumentException ("A_Table_Rate_Type Invalid value - " + A_Table_Rate_Type + " - Reference_ID=53255 - AM - RT"); - if (A_Table_Rate_Type.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Table_Rate_Type = A_Table_Rate_Type.substring(0, 2); - } - set_Value (COLUMNNAME_A_Table_Rate_Type, A_Table_Rate_Type); + if (A_Table_Rate_Type.equals("AM") || A_Table_Rate_Type.equals("RT")); else throw new IllegalArgumentException ("A_Table_Rate_Type Invalid value - " + A_Table_Rate_Type + " - Reference_ID=53255 - AM - RT"); set_Value (COLUMNNAME_A_Table_Rate_Type, A_Table_Rate_Type); } /** Get A_Table_Rate_Type. @@ -162,13 +150,7 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio public void setA_Term (String A_Term) { if (A_Term == null) throw new IllegalArgumentException ("A_Term is mandatory"); - if (A_Term.equals("PR") || A_Term.equals("YR")); else throw new IllegalArgumentException ("A_Term Invalid value - " + A_Term + " - Reference_ID=53256 - PR - YR"); - if (A_Term.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Term = A_Term.substring(0, 2); - } - set_Value (COLUMNNAME_A_Term, A_Term); + if (A_Term.equals("PR") || A_Term.equals("YR")); else throw new IllegalArgumentException ("A_Term Invalid value - " + A_Term + " - Reference_ID=53256 - PR - YR"); set_Value (COLUMNNAME_A_Term, A_Term); } /** Get A_Term. @@ -186,12 +168,6 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_A_Depreciation_Workfile.java b/base/src/org/compiere/model/X_A_Depreciation_Workfile.java index 927eeb21ad..8dd83b66dd 100644 --- a/base/src/org/compiere/model/X_A_Depreciation_Workfile.java +++ b/base/src/org/compiere/model/X_A_Depreciation_Workfile.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Workfile * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Workfile, I_Persistent { @@ -442,13 +442,7 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_A_Registration.java b/base/src/org/compiere/model/X_A_Registration.java index 302d373735..7e494f32a1 100644 --- a/base/src/org/compiere/model/X_A_Registration.java +++ b/base/src/org/compiere/model/X_A_Registration.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_Registration * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_Registration extends PO implements I_A_Registration, I_Persistent { @@ -42,7 +42,7 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste /** if (A_Registration_ID == 0) { setA_Registration_ID (0); - setAssetServiceDate (new Timestamp(System.currentTimeMillis())); + setAssetServiceDate (new Timestamp( System.currentTimeMillis() )); setIsAllowPublish (false); setIsInProduction (false); setIsRegistered (false); @@ -78,45 +78,6 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste return sb.toString(); } - public I_AD_User getAD_User() throws Exception - { - Class clazz = MTable.getClass(I_AD_User.Table_Name); - I_AD_User result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_AD_User)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_User_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set User/Contact. - @param AD_User_ID - User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID) - { - if (AD_User_ID < 1) - set_Value (COLUMNNAME_AD_User_ID, null); - else - set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); - } - - /** Get User/Contact. - @return User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_A_Asset getA_Asset() throws Exception { Class clazz = MTable.getClass(I_A_Asset.Table_Name); @@ -156,6 +117,45 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste return ii.intValue(); } + public I_AD_User getAD_User() throws Exception + { + Class clazz = MTable.getClass(I_AD_User.Table_Name); + I_AD_User result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_AD_User)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_User_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set User/Contact. + @param AD_User_ID + User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID) + { + if (AD_User_ID < 1) + set_Value (COLUMNNAME_AD_User_ID, null); + else + set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); + } + + /** Get User/Contact. + @return User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Registration. @param A_Registration_ID User Asset Registration @@ -242,12 +242,6 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -265,12 +259,6 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -401,12 +389,6 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -432,12 +414,6 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste */ public void setNote (String Note) { - - if (Note != null && Note.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Note = Note.substring(0, 2000); - } set_Value (COLUMNNAME_Note, Note); } @@ -476,12 +452,6 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste */ public void setRemote_Addr (String Remote_Addr) { - - if (Remote_Addr != null && Remote_Addr.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Addr = Remote_Addr.substring(0, 60); - } set_Value (COLUMNNAME_Remote_Addr, Remote_Addr); } @@ -499,12 +469,6 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste */ public void setRemote_Host (String Remote_Host) { - - if (Remote_Host != null && Remote_Host.length() > 120) - { - log.warning("Length > 120 - truncated"); - Remote_Host = Remote_Host.substring(0, 120); - } set_Value (COLUMNNAME_Remote_Host, Remote_Host); } diff --git a/base/src/org/compiere/model/X_A_RegistrationAttribute.java b/base/src/org/compiere/model/X_A_RegistrationAttribute.java index 17584f6dac..1a9b873dac 100644 --- a/base/src/org/compiere/model/X_A_RegistrationAttribute.java +++ b/base/src/org/compiere/model/X_A_RegistrationAttribute.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_RegistrationAttribute * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAttribute, I_Persistent { @@ -152,12 +152,6 @@ public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAtt */ public void setColumnName (String ColumnName) { - - if (ColumnName != null && ColumnName.length() > 40) - { - log.warning("Length > 40 - truncated"); - ColumnName = ColumnName.substring(0, 40); - } set_Value (COLUMNNAME_ColumnName, ColumnName); } @@ -175,12 +169,6 @@ public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAtt */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -224,12 +212,6 @@ public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAtt { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_A_RegistrationProduct.java b/base/src/org/compiere/model/X_A_RegistrationProduct.java index 052ef59005..387a4889e1 100644 --- a/base/src/org/compiere/model/X_A_RegistrationProduct.java +++ b/base/src/org/compiere/model/X_A_RegistrationProduct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for A_RegistrationProduct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_RegistrationProduct extends PO implements I_A_RegistrationProduct, I_Persistent { @@ -116,12 +116,6 @@ public class X_A_RegistrationProduct extends PO implements I_A_RegistrationProdu */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_A_RegistrationValue.java b/base/src/org/compiere/model/X_A_RegistrationValue.java index 7d0c60ea8d..f4bcef0da4 100644 --- a/base/src/org/compiere/model/X_A_RegistrationValue.java +++ b/base/src/org/compiere/model/X_A_RegistrationValue.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for A_RegistrationValue * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_A_RegistrationValue extends PO implements I_A_RegistrationValue, I_Persistent { @@ -164,12 +164,6 @@ public class X_A_RegistrationValue extends PO implements I_A_RegistrationValue, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -189,12 +183,6 @@ public class X_A_RegistrationValue extends PO implements I_A_RegistrationValue, { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_B_Bid.java b/base/src/org/compiere/model/X_B_Bid.java index 23ecb95a08..a0ba5c60d0 100644 --- a/base/src/org/compiere/model/X_B_Bid.java +++ b/base/src/org/compiere/model/X_B_Bid.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_Bid * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_Bid extends PO implements I_B_Bid, I_Persistent { @@ -242,12 +242,6 @@ public class X_B_Bid extends PO implements I_B_Bid, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -273,12 +267,6 @@ public class X_B_Bid extends PO implements I_B_Bid, I_Persistent */ public void setPrivateNote (String PrivateNote) { - - if (PrivateNote != null && PrivateNote.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - PrivateNote = PrivateNote.substring(0, 2000); - } set_Value (COLUMNNAME_PrivateNote, PrivateNote); } @@ -296,12 +284,6 @@ public class X_B_Bid extends PO implements I_B_Bid, I_Persistent */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_B_BidComment.java b/base/src/org/compiere/model/X_B_BidComment.java index 1ef0c665bd..e96225a5a0 100644 --- a/base/src/org/compiere/model/X_B_BidComment.java +++ b/base/src/org/compiere/model/X_B_BidComment.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for B_BidComment * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_BidComment extends PO implements I_B_BidComment, I_Persistent { @@ -180,12 +180,6 @@ public class X_B_BidComment extends PO implements I_B_BidComment, I_Persistent { if (TextMsg == null) throw new IllegalArgumentException ("TextMsg is mandatory."); - - if (TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_B_Buyer.java b/base/src/org/compiere/model/X_B_Buyer.java index f9afc640e8..394ce155e5 100644 --- a/base/src/org/compiere/model/X_B_Buyer.java +++ b/base/src/org/compiere/model/X_B_Buyer.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_Buyer * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent { @@ -43,7 +43,7 @@ public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent { setAD_User_ID (0); setName (null); - setValidTo (new Timestamp(System.currentTimeMillis())); + setValidTo (new Timestamp( System.currentTimeMillis() )); } */ } @@ -119,12 +119,6 @@ public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -144,12 +138,6 @@ public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_B_BuyerFunds.java b/base/src/org/compiere/model/X_B_BuyerFunds.java index 820a4c3df4..9e40f9c48b 100644 --- a/base/src/org/compiere/model/X_B_BuyerFunds.java +++ b/base/src/org/compiere/model/X_B_BuyerFunds.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_BuyerFunds * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_BuyerFunds extends PO implements I_B_BuyerFunds, I_Persistent { @@ -145,6 +145,28 @@ public class X_B_BuyerFunds extends PO implements I_B_BuyerFunds, I_Persistent return ii.intValue(); } + /** Set Committed Amount. + @param CommittedAmt + The (legal) commitment amount + */ + public void setCommittedAmt (BigDecimal CommittedAmt) + { + if (CommittedAmt == null) + throw new IllegalArgumentException ("CommittedAmt is mandatory."); + set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); + } + + /** Get Committed Amount. + @return The (legal) commitment amount + */ + public BigDecimal getCommittedAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_Order getC_Order() throws Exception { Class clazz = MTable.getClass(I_C_Order.Table_Name); @@ -223,28 +245,6 @@ public class X_B_BuyerFunds extends PO implements I_B_BuyerFunds, I_Persistent return ii.intValue(); } - /** Set Committed Amount. - @param CommittedAmt - The (legal) commitment amount - */ - public void setCommittedAmt (BigDecimal CommittedAmt) - { - if (CommittedAmt == null) - throw new IllegalArgumentException ("CommittedAmt is mandatory."); - set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); - } - - /** Get Committed Amount. - @return The (legal) commitment amount - */ - public BigDecimal getCommittedAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Not Committed Aount. @param NonCommittedAmt Amount not committed yet diff --git a/base/src/org/compiere/model/X_B_Offer.java b/base/src/org/compiere/model/X_B_Offer.java index 83d54aed52..fb2725d482 100644 --- a/base/src/org/compiere/model/X_B_Offer.java +++ b/base/src/org/compiere/model/X_B_Offer.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_Offer * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent { @@ -242,12 +242,6 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -273,12 +267,6 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent */ public void setPrivateNote (String PrivateNote) { - - if (PrivateNote != null && PrivateNote.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - PrivateNote = PrivateNote.substring(0, 2000); - } set_Value (COLUMNNAME_PrivateNote, PrivateNote); } @@ -296,12 +284,6 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_B_Seller.java b/base/src/org/compiere/model/X_B_Seller.java index 6391517f76..38a5c9b5b3 100644 --- a/base/src/org/compiere/model/X_B_Seller.java +++ b/base/src/org/compiere/model/X_B_Seller.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_Seller * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent { @@ -44,7 +44,7 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent setAD_User_ID (0); setIsInternal (false); setName (null); - setValidTo (new Timestamp(System.currentTimeMillis())); + setValidTo (new Timestamp( System.currentTimeMillis() )); } */ } @@ -120,12 +120,6 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -169,12 +163,6 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_B_SellerFunds.java b/base/src/org/compiere/model/X_B_SellerFunds.java index d5b40b3631..c6c039ab46 100644 --- a/base/src/org/compiere/model/X_B_SellerFunds.java +++ b/base/src/org/compiere/model/X_B_SellerFunds.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_SellerFunds * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent { @@ -145,6 +145,28 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent return ii.intValue(); } + /** Set Committed Amount. + @param CommittedAmt + The (legal) commitment amount + */ + public void setCommittedAmt (BigDecimal CommittedAmt) + { + if (CommittedAmt == null) + throw new IllegalArgumentException ("CommittedAmt is mandatory."); + set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); + } + + /** Get Committed Amount. + @return The (legal) commitment amount + */ + public BigDecimal getCommittedAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_Order getC_Order() throws Exception { Class clazz = MTable.getClass(I_C_Order.Table_Name); @@ -223,28 +245,6 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent return ii.intValue(); } - /** Set Committed Amount. - @param CommittedAmt - The (legal) commitment amount - */ - public void setCommittedAmt (BigDecimal CommittedAmt) - { - if (CommittedAmt == null) - throw new IllegalArgumentException ("CommittedAmt is mandatory."); - set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); - } - - /** Get Committed Amount. - @return The (legal) commitment amount - */ - public BigDecimal getCommittedAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Not Committed Aount. @param NonCommittedAmt Amount not committed yet diff --git a/base/src/org/compiere/model/X_B_Topic.java b/base/src/org/compiere/model/X_B_Topic.java index de51bb3017..34d2e5a4ae 100644 --- a/base/src/org/compiere/model/X_B_Topic.java +++ b/base/src/org/compiere/model/X_B_Topic.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_Topic * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent { @@ -42,9 +42,9 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent /** if (B_Topic_ID == 0) { setB_TopicCategory_ID (0); - setB_TopicType_ID (0); setB_Topic_ID (0); - setDecisionDate (new Timestamp(System.currentTimeMillis())); + setB_TopicType_ID (0); + setDecisionDate (new Timestamp( System.currentTimeMillis() )); setDocumentNo (null); setIsPublished (false); setName (null); @@ -120,6 +120,28 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent return ii.intValue(); } + /** Set Topic. + @param B_Topic_ID + Auction Topic + */ + public void setB_Topic_ID (int B_Topic_ID) + { + if (B_Topic_ID < 1) + throw new IllegalArgumentException ("B_Topic_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_B_Topic_ID, Integer.valueOf(B_Topic_ID)); + } + + /** Get Topic. + @return Auction Topic + */ + public int getB_Topic_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_B_Topic_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_B_TopicType getB_TopicType() throws Exception { Class clazz = MTable.getClass(I_B_TopicType.Table_Name); @@ -158,28 +180,6 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent return ii.intValue(); } - /** Set Topic. - @param B_Topic_ID - Auction Topic - */ - public void setB_Topic_ID (int B_Topic_ID) - { - if (B_Topic_ID < 1) - throw new IllegalArgumentException ("B_Topic_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_B_Topic_ID, Integer.valueOf(B_Topic_ID)); - } - - /** Get Topic. - @return Auction Topic - */ - public int getB_Topic_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_B_Topic_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Decision date. @param DecisionDate Decision date */ public void setDecisionDate (Timestamp DecisionDate) @@ -202,12 +202,6 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -227,12 +221,6 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -276,12 +264,6 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -350,12 +332,6 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent @param TextDetails Details */ public void setTextDetails (String TextDetails) { - - if (TextDetails != null && TextDetails.length() > 4000) - { - log.warning("Length > 4000 - truncated"); - TextDetails = TextDetails.substring(0, 4000); - } set_Value (COLUMNNAME_TextDetails, TextDetails); } @@ -372,12 +348,6 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } @@ -395,12 +365,6 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent { if (TopicAction == null) throw new IllegalArgumentException ("TopicAction is mandatory."); - - if (TopicAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - TopicAction = TopicAction.substring(0, 2); - } set_Value (COLUMNNAME_TopicAction, TopicAction); } @@ -417,12 +381,6 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent { if (TopicStatus == null) throw new IllegalArgumentException ("TopicStatus is mandatory."); - - if (TopicStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - TopicStatus = TopicStatus.substring(0, 2); - } set_Value (COLUMNNAME_TopicStatus, TopicStatus); } diff --git a/base/src/org/compiere/model/X_B_TopicCategory.java b/base/src/org/compiere/model/X_B_TopicCategory.java index 3ecbe8c9c6..a49b16fe23 100644 --- a/base/src/org/compiere/model/X_B_TopicCategory.java +++ b/base/src/org/compiere/model/X_B_TopicCategory.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_TopicCategory * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persistent { @@ -140,12 +140,6 @@ public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_B_TopicType.java b/base/src/org/compiere/model/X_B_TopicType.java index 3594c9f579..254115bd5b 100644 --- a/base/src/org/compiere/model/X_B_TopicType.java +++ b/base/src/org/compiere/model/X_B_TopicType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_TopicType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent { @@ -43,8 +43,8 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent setAuctionType (null); setB_TopicType_ID (0); setM_PriceList_ID (0); - setM_ProductMember_ID (0); setM_Product_ID (0); + setM_ProductMember_ID (0); setName (null); } */ } @@ -83,12 +83,6 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent { if (AuctionType == null) throw new IllegalArgumentException ("AuctionType is mandatory."); - - if (AuctionType.length() > 1) - { - log.warning("Length > 1 - truncated"); - AuctionType = AuctionType.substring(0, 1); - } set_Value (COLUMNNAME_AuctionType, AuctionType); } @@ -127,12 +121,6 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -150,12 +138,6 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -205,30 +187,6 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent return ii.intValue(); } - /** M_ProductMember_ID AD_Reference_ID=162 */ - public static final int M_PRODUCTMEMBER_ID_AD_Reference_ID=162; - /** Set Membership. - @param M_ProductMember_ID - Product used to deternine the price of the membership for the topic type - */ - public void setM_ProductMember_ID (int M_ProductMember_ID) - { - if (M_ProductMember_ID < 1) - throw new IllegalArgumentException ("M_ProductMember_ID is mandatory."); - set_Value (COLUMNNAME_M_ProductMember_ID, Integer.valueOf(M_ProductMember_ID)); - } - - /** Get Membership. - @return Product used to deternine the price of the membership for the topic type - */ - public int getM_ProductMember_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductMember_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -267,6 +225,30 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent return ii.intValue(); } + /** M_ProductMember_ID AD_Reference_ID=162 */ + public static final int M_PRODUCTMEMBER_ID_AD_Reference_ID=162; + /** Set Membership. + @param M_ProductMember_ID + Product used to deternine the price of the membership for the topic type + */ + public void setM_ProductMember_ID (int M_ProductMember_ID) + { + if (M_ProductMember_ID < 1) + throw new IllegalArgumentException ("M_ProductMember_ID is mandatory."); + set_Value (COLUMNNAME_M_ProductMember_ID, Integer.valueOf(M_ProductMember_ID)); + } + + /** Get Membership. + @return Product used to deternine the price of the membership for the topic type + */ + public int getM_ProductMember_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductMember_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -275,12 +257,6 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_AccessContainer.java b/base/src/org/compiere/model/X_CM_AccessContainer.java index ef29e2dd79..1e749fd705 100644 --- a/base/src/org/compiere/model/X_CM_AccessContainer.java +++ b/base/src/org/compiere/model/X_CM_AccessContainer.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessContainer * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_AccessContainer extends PO implements I_CM_AccessContainer, I_Persistent { diff --git a/base/src/org/compiere/model/X_CM_AccessListBPGroup.java b/base/src/org/compiere/model/X_CM_AccessListBPGroup.java index 2c6b684592..3f8a8b4b64 100644 --- a/base/src/org/compiere/model/X_CM_AccessListBPGroup.java +++ b/base/src/org/compiere/model/X_CM_AccessListBPGroup.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessListBPGroup * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_AccessListBPGroup extends PO implements I_CM_AccessListBPGroup, I_Persistent { @@ -39,8 +39,8 @@ public class X_CM_AccessListBPGroup extends PO implements I_CM_AccessListBPGroup super (ctx, CM_AccessListBPGroup_ID, trxName); /** if (CM_AccessListBPGroup_ID == 0) { - setCM_AccessProfile_ID (0); setC_BP_Group_ID (0); + setCM_AccessProfile_ID (0); } */ } @@ -72,44 +72,6 @@ public class X_CM_AccessListBPGroup extends PO implements I_CM_AccessListBPGroup return sb.toString(); } - public I_CM_AccessProfile getCM_AccessProfile() throws Exception - { - Class clazz = MTable.getClass(I_CM_AccessProfile.Table_Name); - I_CM_AccessProfile result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_CM_AccessProfile)constructor.newInstance(new Object[] {getCtx(), new Integer(getCM_AccessProfile_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Web Access Profile. - @param CM_AccessProfile_ID - Web Access Profile - */ - public void setCM_AccessProfile_ID (int CM_AccessProfile_ID) - { - if (CM_AccessProfile_ID < 1) - throw new IllegalArgumentException ("CM_AccessProfile_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_CM_AccessProfile_ID, Integer.valueOf(CM_AccessProfile_ID)); - } - - /** Get Web Access Profile. - @return Web Access Profile - */ - public int getCM_AccessProfile_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_AccessProfile_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_BP_Group getC_BP_Group() throws Exception { Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); @@ -147,4 +109,42 @@ public class X_CM_AccessListBPGroup extends PO implements I_CM_AccessListBPGroup return 0; return ii.intValue(); } + + public I_CM_AccessProfile getCM_AccessProfile() throws Exception + { + Class clazz = MTable.getClass(I_CM_AccessProfile.Table_Name); + I_CM_AccessProfile result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_CM_AccessProfile)constructor.newInstance(new Object[] {getCtx(), new Integer(getCM_AccessProfile_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Web Access Profile. + @param CM_AccessProfile_ID + Web Access Profile + */ + public void setCM_AccessProfile_ID (int CM_AccessProfile_ID) + { + if (CM_AccessProfile_ID < 1) + throw new IllegalArgumentException ("CM_AccessProfile_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_CM_AccessProfile_ID, Integer.valueOf(CM_AccessProfile_ID)); + } + + /** Get Web Access Profile. + @return Web Access Profile + */ + public int getCM_AccessProfile_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_AccessProfile_ID); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_CM_AccessListRole.java b/base/src/org/compiere/model/X_CM_AccessListRole.java index 28c5a235ca..908a2d019b 100644 --- a/base/src/org/compiere/model/X_CM_AccessListRole.java +++ b/base/src/org/compiere/model/X_CM_AccessListRole.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessListRole * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_AccessListRole extends PO implements I_CM_AccessListRole, I_Persistent { diff --git a/base/src/org/compiere/model/X_CM_AccessMedia.java b/base/src/org/compiere/model/X_CM_AccessMedia.java index 36fe7131e7..46007f4bdf 100644 --- a/base/src/org/compiere/model/X_CM_AccessMedia.java +++ b/base/src/org/compiere/model/X_CM_AccessMedia.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessMedia * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_AccessMedia extends PO implements I_CM_AccessMedia, I_Persistent { diff --git a/base/src/org/compiere/model/X_CM_AccessNewsChannel.java b/base/src/org/compiere/model/X_CM_AccessNewsChannel.java index b3de765135..9e7ed02e4c 100644 --- a/base/src/org/compiere/model/X_CM_AccessNewsChannel.java +++ b/base/src/org/compiere/model/X_CM_AccessNewsChannel.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessNewsChannel * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_AccessNewsChannel extends PO implements I_CM_AccessNewsChannel, I_Persistent { diff --git a/base/src/org/compiere/model/X_CM_AccessProfile.java b/base/src/org/compiere/model/X_CM_AccessProfile.java index 089306eb7b..859fc5e805 100644 --- a/base/src/org/compiere/model/X_CM_AccessProfile.java +++ b/base/src/org/compiere/model/X_CM_AccessProfile.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_AccessProfile * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_AccessProfile extends PO implements I_CM_AccessProfile, I_Persistent { @@ -101,12 +101,6 @@ public class X_CM_AccessProfile extends PO implements I_CM_AccessProfile, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -124,12 +118,6 @@ public class X_CM_AccessProfile extends PO implements I_CM_AccessProfile, I_Pers */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -173,12 +161,6 @@ public class X_CM_AccessProfile extends PO implements I_CM_AccessProfile, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_AccessStage.java b/base/src/org/compiere/model/X_CM_AccessStage.java index f389cd9c25..ed9f2519cd 100644 --- a/base/src/org/compiere/model/X_CM_AccessStage.java +++ b/base/src/org/compiere/model/X_CM_AccessStage.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessStage * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_AccessStage extends PO implements I_CM_AccessStage, I_Persistent { diff --git a/base/src/org/compiere/model/X_CM_Ad.java b/base/src/org/compiere/model/X_CM_Ad.java index 324163fa1f..0569200381 100644 --- a/base/src/org/compiere/model/X_CM_Ad.java +++ b/base/src/org/compiere/model/X_CM_Ad.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Ad * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent { @@ -51,7 +51,7 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent setMaxClick (0); setMaxImpression (0); setName (null); - setStartDate (new Timestamp(System.currentTimeMillis())); + setStartDate (new Timestamp( System.currentTimeMillis() )); setStartImpression (0); setTarget_Frame (null); } */ @@ -229,12 +229,6 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent */ public void setContentHTML (String ContentHTML) { - - if (ContentHTML != null && ContentHTML.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ContentHTML = ContentHTML.substring(0, 2000); - } set_Value (COLUMNNAME_ContentHTML, ContentHTML); } @@ -252,12 +246,6 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -292,12 +280,6 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -405,12 +387,6 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -469,29 +445,6 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent return ii.intValue(); } - /** Set Target URL. - @param TargetURL - URL for the Target - */ - public void setTargetURL (String TargetURL) - { - - if (TargetURL != null && TargetURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - TargetURL = TargetURL.substring(0, 120); - } - set_Value (COLUMNNAME_TargetURL, TargetURL); - } - - /** Get Target URL. - @return URL for the Target - */ - public String getTargetURL () - { - return (String)get_Value(COLUMNNAME_TargetURL); - } - /** Set Target Frame. @param Target_Frame Which target should be used if user clicks? @@ -500,12 +453,6 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent { if (Target_Frame == null) throw new IllegalArgumentException ("Target_Frame is mandatory."); - - if (Target_Frame.length() > 20) - { - log.warning("Length > 20 - truncated"); - Target_Frame = Target_Frame.substring(0, 20); - } set_Value (COLUMNNAME_Target_Frame, Target_Frame); } @@ -516,4 +463,21 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent { return (String)get_Value(COLUMNNAME_Target_Frame); } + + /** Set Target URL. + @param TargetURL + URL for the Target + */ + public void setTargetURL (String TargetURL) + { + set_Value (COLUMNNAME_TargetURL, TargetURL); + } + + /** Get Target URL. + @return URL for the Target + */ + public String getTargetURL () + { + return (String)get_Value(COLUMNNAME_TargetURL); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_CM_Ad_Cat.java b/base/src/org/compiere/model/X_CM_Ad_Cat.java index 727b701a77..725735195f 100644 --- a/base/src/org/compiere/model/X_CM_Ad_Cat.java +++ b/base/src/org/compiere/model/X_CM_Ad_Cat.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Ad_Cat * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Ad_Cat extends PO implements I_CM_Ad_Cat, I_Persistent { @@ -140,12 +140,6 @@ public class X_CM_Ad_Cat extends PO implements I_CM_Ad_Cat, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -163,12 +157,6 @@ public class X_CM_Ad_Cat extends PO implements I_CM_Ad_Cat, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -188,12 +176,6 @@ public class X_CM_Ad_Cat extends PO implements I_CM_Ad_Cat, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_BroadcastServer.java b/base/src/org/compiere/model/X_CM_BroadcastServer.java index 11d8f1088a..3cfd33ccef 100644 --- a/base/src/org/compiere/model/X_CM_BroadcastServer.java +++ b/base/src/org/compiere/model/X_CM_BroadcastServer.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_BroadcastServer * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_BroadcastServer extends PO implements I_CM_BroadcastServer, I_Persistent { @@ -142,12 +142,6 @@ public class X_CM_BroadcastServer extends PO implements I_CM_BroadcastServer, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_CM_BroadcastServer extends PO implements I_CM_BroadcastServer, I_ */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -190,12 +178,6 @@ public class X_CM_BroadcastServer extends PO implements I_CM_BroadcastServer, I_ { if (IP_Address == null) throw new IllegalArgumentException ("IP_Address is mandatory."); - - if (IP_Address.length() > 20) - { - log.warning("Length > 20 - truncated"); - IP_Address = IP_Address.substring(0, 20); - } set_Value (COLUMNNAME_IP_Address, IP_Address); } @@ -232,12 +214,6 @@ public class X_CM_BroadcastServer extends PO implements I_CM_BroadcastServer, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_CStage.java b/base/src/org/compiere/model/X_CM_CStage.java index 64bc7b2cb9..ecc53e2a0e 100644 --- a/base/src/org/compiere/model/X_CM_CStage.java +++ b/base/src/org/compiere/model/X_CM_CStage.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_CStage * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent { @@ -86,6 +86,28 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent return sb.toString(); } + /** Set Web Container Stage. + @param CM_CStage_ID + Web Container Stage contains the staging content like images, text etc. + */ + public void setCM_CStage_ID (int CM_CStage_ID) + { + if (CM_CStage_ID < 1) + throw new IllegalArgumentException ("CM_CStage_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_CM_CStage_ID, Integer.valueOf(CM_CStage_ID)); + } + + /** Get Web Container Stage. + @return Web Container Stage contains the staging content like images, text etc. + */ + public int getCM_CStage_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_CStage_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** CM_CStageLink_ID AD_Reference_ID=387 */ public static final int CM_CSTAGELINK_ID_AD_Reference_ID=387; /** Set Container Link. @@ -111,28 +133,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent return ii.intValue(); } - /** Set Web Container Stage. - @param CM_CStage_ID - Web Container Stage contains the staging content like images, text etc. - */ - public void setCM_CStage_ID (int CM_CStage_ID) - { - if (CM_CStage_ID < 1) - throw new IllegalArgumentException ("CM_CStage_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_CM_CStage_ID, Integer.valueOf(CM_CStage_ID)); - } - - /** Get Web Container Stage. - @return Web Container Stage contains the staging content like images, text etc. - */ - public int getCM_CStage_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_CStage_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_CM_Template getCM_Template() throws Exception { Class clazz = MTable.getClass(I_CM_Template.Table_Name); @@ -216,12 +216,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setContainerLinkURL (String ContainerLinkURL) { - - if (ContainerLinkURL != null && ContainerLinkURL.length() > 60) - { - log.warning("Length > 60 - truncated"); - ContainerLinkURL = ContainerLinkURL.substring(0, 60); - } set_Value (COLUMNNAME_ContainerLinkURL, ContainerLinkURL); } @@ -248,13 +242,7 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent public void setContainerType (String ContainerType) { if (ContainerType == null) throw new IllegalArgumentException ("ContainerType is mandatory"); - if (ContainerType.equals("D") || ContainerType.equals("L") || ContainerType.equals("U")); else throw new IllegalArgumentException ("ContainerType Invalid value - " + ContainerType + " - Reference_ID=385 - D - L - U"); - if (ContainerType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ContainerType = ContainerType.substring(0, 1); - } - set_Value (COLUMNNAME_ContainerType, ContainerType); + if (ContainerType.equals("D") || ContainerType.equals("L") || ContainerType.equals("U")); else throw new IllegalArgumentException ("ContainerType Invalid value - " + ContainerType + " - Reference_ID=385 - D - L - U"); set_Value (COLUMNNAME_ContainerType, ContainerType); } /** Get Web Container Type. @@ -271,12 +259,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setContainerXML (String ContainerXML) { - - if (ContainerXML != null && ContainerXML.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ContainerXML = ContainerXML.substring(0, 2000); - } set_ValueNoCheck (COLUMNNAME_ContainerXML, ContainerXML); } @@ -294,12 +276,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Description = Description.substring(0, 2000); - } set_Value (COLUMNNAME_Description, Description); } @@ -317,12 +293,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -460,12 +430,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setMeta_Author (String Meta_Author) { - - if (Meta_Author != null && Meta_Author.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Author = Meta_Author.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Author, Meta_Author); } @@ -483,12 +447,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setMeta_Content (String Meta_Content) { - - if (Meta_Content != null && Meta_Content.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Content = Meta_Content.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Content, Meta_Content); } @@ -506,12 +464,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setMeta_Copyright (String Meta_Copyright) { - - if (Meta_Copyright != null && Meta_Copyright.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Copyright = Meta_Copyright.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Copyright, Meta_Copyright); } @@ -531,12 +483,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent { if (Meta_Description == null) throw new IllegalArgumentException ("Meta_Description is mandatory."); - - if (Meta_Description.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Description = Meta_Description.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Description, Meta_Description); } @@ -556,12 +502,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent { if (Meta_Keywords == null) throw new IllegalArgumentException ("Meta_Keywords is mandatory."); - - if (Meta_Keywords.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Keywords = Meta_Keywords.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Keywords, Meta_Keywords); } @@ -579,12 +519,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setMeta_Language (String Meta_Language) { - - if (Meta_Language != null && Meta_Language.length() > 2) - { - log.warning("Length > 2 - truncated"); - Meta_Language = Meta_Language.substring(0, 2); - } set_Value (COLUMNNAME_Meta_Language, Meta_Language); } @@ -602,12 +536,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setMeta_Publisher (String Meta_Publisher) { - - if (Meta_Publisher != null && Meta_Publisher.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Publisher = Meta_Publisher.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Publisher, Meta_Publisher); } @@ -625,12 +553,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setMeta_RobotsTag (String Meta_RobotsTag) { - - if (Meta_RobotsTag != null && Meta_RobotsTag.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_RobotsTag = Meta_RobotsTag.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_RobotsTag, Meta_RobotsTag); } @@ -650,12 +572,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -683,12 +599,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent { if (Notice == null) throw new IllegalArgumentException ("Notice is mandatory."); - - if (Notice.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Notice = Notice.substring(0, 2000); - } set_Value (COLUMNNAME_Notice, Notice); } @@ -749,12 +659,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent { if (RelativeURL == null) throw new IllegalArgumentException ("RelativeURL is mandatory."); - - if (RelativeURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - RelativeURL = RelativeURL.substring(0, 120); - } set_Value (COLUMNNAME_RelativeURL, RelativeURL); } @@ -772,12 +676,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setStructureXML (String StructureXML) { - - if (StructureXML != null && StructureXML.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - StructureXML = StructureXML.substring(0, 2000); - } set_Value (COLUMNNAME_StructureXML, StructureXML); } @@ -795,12 +693,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent */ public void setTitle (String Title) { - - if (Title != null && Title.length() > 60) - { - log.warning("Length > 60 - truncated"); - Title = Title.substring(0, 60); - } set_Value (COLUMNNAME_Title, Title); } diff --git a/base/src/org/compiere/model/X_CM_CStageTTable.java b/base/src/org/compiere/model/X_CM_CStageTTable.java index 631342f899..2e499f8dd4 100644 --- a/base/src/org/compiere/model/X_CM_CStageTTable.java +++ b/base/src/org/compiere/model/X_CM_CStageTTable.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_CStageTTable * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persistent { @@ -40,8 +40,8 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis super (ctx, CM_CStageTTable_ID, trxName); /** if (CM_CStageTTable_ID == 0) { - setCM_CStageTTable_ID (0); setCM_CStage_ID (0); + setCM_CStageTTable_ID (0); setCM_TemplateTable_ID (0); setName (null); } */ @@ -75,28 +75,6 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis return sb.toString(); } - /** Set Stage T.Table. - @param CM_CStageTTable_ID - Containet Stage Template Table - */ - public void setCM_CStageTTable_ID (int CM_CStageTTable_ID) - { - if (CM_CStageTTable_ID < 1) - throw new IllegalArgumentException ("CM_CStageTTable_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_CM_CStageTTable_ID, Integer.valueOf(CM_CStageTTable_ID)); - } - - /** Get Stage T.Table. - @return Containet Stage Template Table - */ - public int getCM_CStageTTable_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_CStageTTable_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_CM_CStage getCM_CStage() throws Exception { Class clazz = MTable.getClass(I_CM_CStage.Table_Name); @@ -135,6 +113,28 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis return ii.intValue(); } + /** Set Stage T.Table. + @param CM_CStageTTable_ID + Containet Stage Template Table + */ + public void setCM_CStageTTable_ID (int CM_CStageTTable_ID) + { + if (CM_CStageTTable_ID < 1) + throw new IllegalArgumentException ("CM_CStageTTable_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_CM_CStageTTable_ID, Integer.valueOf(CM_CStageTTable_ID)); + } + + /** Get Stage T.Table. + @return Containet Stage Template Table + */ + public int getCM_CStageTTable_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_CStageTTable_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_CM_TemplateTable getCM_TemplateTable() throws Exception { Class clazz = MTable.getClass(I_CM_TemplateTable.Table_Name); @@ -179,12 +179,6 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -204,12 +198,6 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -235,12 +223,6 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis */ public void setOtherClause (String OtherClause) { - - if (OtherClause != null && OtherClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OtherClause = OtherClause.substring(0, 2000); - } set_Value (COLUMNNAME_OtherClause, OtherClause); } @@ -281,12 +263,6 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis */ public void setWhereClause (String WhereClause) { - - if (WhereClause != null && WhereClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WhereClause = WhereClause.substring(0, 2000); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/compiere/model/X_CM_CStage_Element.java b/base/src/org/compiere/model/X_CM_CStage_Element.java index eb2f79a2ee..407b325130 100644 --- a/base/src/org/compiere/model/X_CM_CStage_Element.java +++ b/base/src/org/compiere/model/X_CM_CStage_Element.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_CStage_Element * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_CStage_Element extends PO implements I_CM_CStage_Element, I_Persistent { @@ -157,12 +157,6 @@ public class X_CM_CStage_Element extends PO implements I_CM_CStage_Element, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -180,12 +174,6 @@ public class X_CM_CStage_Element extends PO implements I_CM_CStage_Element, I_Pe */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -229,12 +217,6 @@ public class X_CM_CStage_Element extends PO implements I_CM_CStage_Element, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_Chat.java b/base/src/org/compiere/model/X_CM_Chat.java index c441d3f496..3ca7158dba 100644 --- a/base/src/org/compiere/model/X_CM_Chat.java +++ b/base/src/org/compiere/model/X_CM_Chat.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Chat * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent { @@ -114,6 +114,28 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent return ii.intValue(); } + /** Set Chat. + @param CM_Chat_ID + Chat or discussion thread + */ + public void setCM_Chat_ID (int CM_Chat_ID) + { + if (CM_Chat_ID < 1) + throw new IllegalArgumentException ("CM_Chat_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_CM_Chat_ID, Integer.valueOf(CM_Chat_ID)); + } + + /** Get Chat. + @return Chat or discussion thread + */ + public int getCM_Chat_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_Chat_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_CM_ChatType getCM_ChatType() throws Exception { Class clazz = MTable.getClass(I_CM_ChatType.Table_Name); @@ -153,28 +175,6 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent return ii.intValue(); } - /** Set Chat. - @param CM_Chat_ID - Chat or discussion thread - */ - public void setCM_Chat_ID (int CM_Chat_ID) - { - if (CM_Chat_ID < 1) - throw new IllegalArgumentException ("CM_Chat_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_CM_Chat_ID, Integer.valueOf(CM_Chat_ID)); - } - - /** Get Chat. - @return Chat or discussion thread - */ - public int getCM_Chat_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_Chat_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** ConfidentialType AD_Reference_ID=340 */ public static final int CONFIDENTIALTYPE_AD_Reference_ID=340; /** Public Information = A */ @@ -192,13 +192,7 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent public void setConfidentialType (String ConfidentialType) { if (ConfidentialType == null) throw new IllegalArgumentException ("ConfidentialType is mandatory"); - if (ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); - if (ConfidentialType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConfidentialType = ConfidentialType.substring(0, 1); - } - set_Value (COLUMNNAME_ConfidentialType, ConfidentialType); + if (ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); set_Value (COLUMNNAME_ConfidentialType, ConfidentialType); } /** Get Confidentiality. @@ -217,12 +211,6 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -257,13 +245,7 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent public void setModerationType (String ModerationType) { - if (ModerationType == null || ModerationType.equals("N") || ModerationType.equals("B") || ModerationType.equals("A")); else throw new IllegalArgumentException ("ModerationType Invalid value - " + ModerationType + " - Reference_ID=395 - N - B - A"); - if (ModerationType != null && ModerationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ModerationType = ModerationType.substring(0, 1); - } - set_Value (COLUMNNAME_ModerationType, ModerationType); + if (ModerationType == null || ModerationType.equals("N") || ModerationType.equals("B") || ModerationType.equals("A")); else throw new IllegalArgumentException ("ModerationType Invalid value - " + ModerationType + " - Reference_ID=395 - N - B - A"); set_Value (COLUMNNAME_ModerationType, ModerationType); } /** Get Moderation Type. diff --git a/base/src/org/compiere/model/X_CM_ChatEntry.java b/base/src/org/compiere/model/X_CM_ChatEntry.java index 2999a9f244..1d1708eff6 100644 --- a/base/src/org/compiere/model/X_CM_ChatEntry.java +++ b/base/src/org/compiere/model/X_CM_ChatEntry.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_ChatEntry * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent { @@ -40,11 +40,11 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent super (ctx, CM_ChatEntry_ID, trxName); /** if (CM_ChatEntry_ID == 0) { - setCM_ChatEntry_ID (0); - setCM_Chat_ID (0); setCharacterData (null); setChatEntryType (null); // N + setCM_ChatEntry_ID (0); + setCM_Chat_ID (0); setConfidentialType (null); } */ } @@ -116,6 +116,51 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent return ii.intValue(); } + /** Set Character Data. + @param CharacterData + Long Character Field + */ + public void setCharacterData (String CharacterData) + { + if (CharacterData == null) + throw new IllegalArgumentException ("CharacterData is mandatory."); + set_ValueNoCheck (COLUMNNAME_CharacterData, CharacterData); + } + + /** Get Character Data. + @return Long Character Field + */ + public String getCharacterData () + { + return (String)get_Value(COLUMNNAME_CharacterData); + } + + /** ChatEntryType AD_Reference_ID=398 */ + public static final int CHATENTRYTYPE_AD_Reference_ID=398; + /** Wiki = W */ + public static final String CHATENTRYTYPE_Wiki = "W"; + /** Note (flat) = N */ + public static final String CHATENTRYTYPE_NoteFlat = "N"; + /** Forum (threaded) = F */ + public static final String CHATENTRYTYPE_ForumThreaded = "F"; + /** Set Chat Entry Type. + @param ChatEntryType + Type of Chat/Forum Entry + */ + public void setChatEntryType (String ChatEntryType) + { + if (ChatEntryType == null) throw new IllegalArgumentException ("ChatEntryType is mandatory"); + if (ChatEntryType.equals("W") || ChatEntryType.equals("N") || ChatEntryType.equals("F")); else throw new IllegalArgumentException ("ChatEntryType Invalid value - " + ChatEntryType + " - Reference_ID=398 - W - N - F"); set_Value (COLUMNNAME_ChatEntryType, ChatEntryType); + } + + /** Get Chat Entry Type. + @return Type of Chat/Forum Entry + */ + public String getChatEntryType () + { + return (String)get_Value(COLUMNNAME_ChatEntryType); + } + /** CM_ChatEntryGrandParent_ID AD_Reference_ID=399 */ public static final int CM_CHATENTRYGRANDPARENT_ID_AD_Reference_ID=399; /** Set Chat Entry Grandparent. @@ -141,31 +186,6 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent return ii.intValue(); } - /** CM_ChatEntryParent_ID AD_Reference_ID=399 */ - public static final int CM_CHATENTRYPARENT_ID_AD_Reference_ID=399; - /** Set Chat Entry Parent. - @param CM_ChatEntryParent_ID - Link to direct Parent - */ - public void setCM_ChatEntryParent_ID (int CM_ChatEntryParent_ID) - { - if (CM_ChatEntryParent_ID < 1) - set_Value (COLUMNNAME_CM_ChatEntryParent_ID, null); - else - set_Value (COLUMNNAME_CM_ChatEntryParent_ID, Integer.valueOf(CM_ChatEntryParent_ID)); - } - - /** Get Chat Entry Parent. - @return Link to direct Parent - */ - public int getCM_ChatEntryParent_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_ChatEntryParent_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Chat Entry. @param CM_ChatEntry_ID Individual Chat / Discussion Entry @@ -196,6 +216,31 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getCM_ChatEntry_ID())); } + /** CM_ChatEntryParent_ID AD_Reference_ID=399 */ + public static final int CM_CHATENTRYPARENT_ID_AD_Reference_ID=399; + /** Set Chat Entry Parent. + @param CM_ChatEntryParent_ID + Link to direct Parent + */ + public void setCM_ChatEntryParent_ID (int CM_ChatEntryParent_ID) + { + if (CM_ChatEntryParent_ID < 1) + set_Value (COLUMNNAME_CM_ChatEntryParent_ID, null); + else + set_Value (COLUMNNAME_CM_ChatEntryParent_ID, Integer.valueOf(CM_ChatEntryParent_ID)); + } + + /** Get Chat Entry Parent. + @return Link to direct Parent + */ + public int getCM_ChatEntryParent_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_ChatEntryParent_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_CM_Chat getCM_Chat() throws Exception { Class clazz = MTable.getClass(I_CM_Chat.Table_Name); @@ -234,57 +279,6 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent return ii.intValue(); } - /** Set Character Data. - @param CharacterData - Long Character Field - */ - public void setCharacterData (String CharacterData) - { - if (CharacterData == null) - throw new IllegalArgumentException ("CharacterData is mandatory."); - set_ValueNoCheck (COLUMNNAME_CharacterData, CharacterData); - } - - /** Get Character Data. - @return Long Character Field - */ - public String getCharacterData () - { - return (String)get_Value(COLUMNNAME_CharacterData); - } - - /** ChatEntryType AD_Reference_ID=398 */ - public static final int CHATENTRYTYPE_AD_Reference_ID=398; - /** Wiki = W */ - public static final String CHATENTRYTYPE_Wiki = "W"; - /** Note (flat) = N */ - public static final String CHATENTRYTYPE_NoteFlat = "N"; - /** Forum (threaded) = F */ - public static final String CHATENTRYTYPE_ForumThreaded = "F"; - /** Set Chat Entry Type. - @param ChatEntryType - Type of Chat/Forum Entry - */ - public void setChatEntryType (String ChatEntryType) - { - if (ChatEntryType == null) throw new IllegalArgumentException ("ChatEntryType is mandatory"); - if (ChatEntryType.equals("W") || ChatEntryType.equals("N") || ChatEntryType.equals("F")); else throw new IllegalArgumentException ("ChatEntryType Invalid value - " + ChatEntryType + " - Reference_ID=398 - W - N - F"); - if (ChatEntryType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ChatEntryType = ChatEntryType.substring(0, 1); - } - set_Value (COLUMNNAME_ChatEntryType, ChatEntryType); - } - - /** Get Chat Entry Type. - @return Type of Chat/Forum Entry - */ - public String getChatEntryType () - { - return (String)get_Value(COLUMNNAME_ChatEntryType); - } - /** ConfidentialType AD_Reference_ID=340 */ public static final int CONFIDENTIALTYPE_AD_Reference_ID=340; /** Public Information = A */ @@ -302,13 +296,7 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent public void setConfidentialType (String ConfidentialType) { if (ConfidentialType == null) throw new IllegalArgumentException ("ConfidentialType is mandatory"); - if (ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); - if (ConfidentialType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConfidentialType = ConfidentialType.substring(0, 1); - } - set_Value (COLUMNNAME_ConfidentialType, ConfidentialType); + if (ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); set_Value (COLUMNNAME_ConfidentialType, ConfidentialType); } /** Get Confidentiality. @@ -336,13 +324,7 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent public void setModeratorStatus (String ModeratorStatus) { - if (ModeratorStatus == null || ModeratorStatus.equals("N") || ModeratorStatus.equals("P") || ModeratorStatus.equals("R") || ModeratorStatus.equals("S")); else throw new IllegalArgumentException ("ModeratorStatus Invalid value - " + ModeratorStatus + " - Reference_ID=396 - N - P - R - S"); - if (ModeratorStatus != null && ModeratorStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - ModeratorStatus = ModeratorStatus.substring(0, 1); - } - set_Value (COLUMNNAME_ModeratorStatus, ModeratorStatus); + if (ModeratorStatus == null || ModeratorStatus.equals("N") || ModeratorStatus.equals("P") || ModeratorStatus.equals("R") || ModeratorStatus.equals("S")); else throw new IllegalArgumentException ("ModeratorStatus Invalid value - " + ModeratorStatus + " - Reference_ID=396 - N - P - R - S"); set_Value (COLUMNNAME_ModeratorStatus, ModeratorStatus); } /** Get Moderation Status. @@ -359,12 +341,6 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent */ public void setSubject (String Subject) { - - if (Subject != null && Subject.length() > 255) - { - log.warning("Length > 255 - truncated"); - Subject = Subject.substring(0, 255); - } set_Value (COLUMNNAME_Subject, Subject); } diff --git a/base/src/org/compiere/model/X_CM_ChatType.java b/base/src/org/compiere/model/X_CM_ChatType.java index e22eeef18d..216e357d49 100644 --- a/base/src/org/compiere/model/X_CM_ChatType.java +++ b/base/src/org/compiere/model/X_CM_ChatType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_ChatType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent { @@ -140,12 +140,6 @@ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -172,13 +166,7 @@ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent public void setModerationType (String ModerationType) { - if (ModerationType == null || ModerationType.equals("N") || ModerationType.equals("B") || ModerationType.equals("A")); else throw new IllegalArgumentException ("ModerationType Invalid value - " + ModerationType + " - Reference_ID=395 - N - B - A"); - if (ModerationType != null && ModerationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ModerationType = ModerationType.substring(0, 1); - } - set_Value (COLUMNNAME_ModerationType, ModerationType); + if (ModerationType == null || ModerationType.equals("N") || ModerationType.equals("B") || ModerationType.equals("A")); else throw new IllegalArgumentException ("ModerationType Invalid value - " + ModerationType + " - Reference_ID=395 - N - B - A"); set_Value (COLUMNNAME_ModerationType, ModerationType); } /** Get Moderation Type. @@ -197,12 +185,6 @@ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_ChatTypeUpdate.java b/base/src/org/compiere/model/X_CM_ChatTypeUpdate.java index 41bd961f24..b6805263d4 100644 --- a/base/src/org/compiere/model/X_CM_ChatTypeUpdate.java +++ b/base/src/org/compiere/model/X_CM_ChatTypeUpdate.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_ChatTypeUpdate * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Persistent { diff --git a/base/src/org/compiere/model/X_CM_ChatUpdate.java b/base/src/org/compiere/model/X_CM_ChatUpdate.java index 1970fe523a..83575f26bf 100644 --- a/base/src/org/compiere/model/X_CM_ChatUpdate.java +++ b/base/src/org/compiere/model/X_CM_ChatUpdate.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_ChatUpdate * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent { diff --git a/base/src/org/compiere/model/X_CM_Container.java b/base/src/org/compiere/model/X_CM_Container.java index a439def462..0056856aee 100644 --- a/base/src/org/compiere/model/X_CM_Container.java +++ b/base/src/org/compiere/model/X_CM_Container.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Container * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent { @@ -84,6 +84,28 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent return sb.toString(); } + /** Set Web Container. + @param CM_Container_ID + Web Container contains content like images, text etc. + */ + public void setCM_Container_ID (int CM_Container_ID) + { + if (CM_Container_ID < 1) + throw new IllegalArgumentException ("CM_Container_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_CM_Container_ID, Integer.valueOf(CM_Container_ID)); + } + + /** Get Web Container. + @return Web Container contains content like images, text etc. + */ + public int getCM_Container_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_Container_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** CM_ContainerLink_ID AD_Reference_ID=386 */ public static final int CM_CONTAINERLINK_ID_AD_Reference_ID=386; /** Set Container Link. @@ -109,28 +131,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent return ii.intValue(); } - /** Set Web Container. - @param CM_Container_ID - Web Container contains content like images, text etc. - */ - public void setCM_Container_ID (int CM_Container_ID) - { - if (CM_Container_ID < 1) - throw new IllegalArgumentException ("CM_Container_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_CM_Container_ID, Integer.valueOf(CM_Container_ID)); - } - - /** Get Web Container. - @return Web Container contains content like images, text etc. - */ - public int getCM_Container_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_Container_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_CM_Template getCM_Template() throws Exception { Class clazz = MTable.getClass(I_CM_Template.Table_Name); @@ -213,12 +213,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setContainerLinkURL (String ContainerLinkURL) { - - if (ContainerLinkURL != null && ContainerLinkURL.length() > 60) - { - log.warning("Length > 60 - truncated"); - ContainerLinkURL = ContainerLinkURL.substring(0, 60); - } set_Value (COLUMNNAME_ContainerLinkURL, ContainerLinkURL); } @@ -245,13 +239,7 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent public void setContainerType (String ContainerType) { if (ContainerType == null) throw new IllegalArgumentException ("ContainerType is mandatory"); - if (ContainerType.equals("D") || ContainerType.equals("L") || ContainerType.equals("U")); else throw new IllegalArgumentException ("ContainerType Invalid value - " + ContainerType + " - Reference_ID=385 - D - L - U"); - if (ContainerType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ContainerType = ContainerType.substring(0, 1); - } - set_Value (COLUMNNAME_ContainerType, ContainerType); + if (ContainerType.equals("D") || ContainerType.equals("L") || ContainerType.equals("U")); else throw new IllegalArgumentException ("ContainerType Invalid value - " + ContainerType + " - Reference_ID=385 - D - L - U"); set_Value (COLUMNNAME_ContainerType, ContainerType); } /** Get Web Container Type. @@ -268,12 +256,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setContainerXML (String ContainerXML) { - - if (ContainerXML != null && ContainerXML.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ContainerXML = ContainerXML.substring(0, 2000); - } set_ValueNoCheck (COLUMNNAME_ContainerXML, ContainerXML); } @@ -291,12 +273,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Description = Description.substring(0, 2000); - } set_Value (COLUMNNAME_Description, Description); } @@ -314,12 +290,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -433,12 +403,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setMeta_Author (String Meta_Author) { - - if (Meta_Author != null && Meta_Author.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Author = Meta_Author.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Author, Meta_Author); } @@ -456,12 +420,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setMeta_Content (String Meta_Content) { - - if (Meta_Content != null && Meta_Content.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Content = Meta_Content.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Content, Meta_Content); } @@ -479,12 +437,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setMeta_Copyright (String Meta_Copyright) { - - if (Meta_Copyright != null && Meta_Copyright.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Copyright = Meta_Copyright.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Copyright, Meta_Copyright); } @@ -504,12 +456,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent { if (Meta_Description == null) throw new IllegalArgumentException ("Meta_Description is mandatory."); - - if (Meta_Description.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Description = Meta_Description.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Description, Meta_Description); } @@ -529,12 +475,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent { if (Meta_Keywords == null) throw new IllegalArgumentException ("Meta_Keywords is mandatory."); - - if (Meta_Keywords.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Keywords = Meta_Keywords.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Keywords, Meta_Keywords); } @@ -552,12 +492,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setMeta_Language (String Meta_Language) { - - if (Meta_Language != null && Meta_Language.length() > 2) - { - log.warning("Length > 2 - truncated"); - Meta_Language = Meta_Language.substring(0, 2); - } set_Value (COLUMNNAME_Meta_Language, Meta_Language); } @@ -575,12 +509,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setMeta_Publisher (String Meta_Publisher) { - - if (Meta_Publisher != null && Meta_Publisher.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Publisher = Meta_Publisher.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Publisher, Meta_Publisher); } @@ -598,12 +526,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setMeta_RobotsTag (String Meta_RobotsTag) { - - if (Meta_RobotsTag != null && Meta_RobotsTag.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_RobotsTag = Meta_RobotsTag.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_RobotsTag, Meta_RobotsTag); } @@ -623,12 +545,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -656,12 +572,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent { if (Notice == null) throw new IllegalArgumentException ("Notice is mandatory."); - - if (Notice.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Notice = Notice.substring(0, 2000); - } set_Value (COLUMNNAME_Notice, Notice); } @@ -699,12 +609,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setRelativeURL (String RelativeURL) { - - if (RelativeURL != null && RelativeURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - RelativeURL = RelativeURL.substring(0, 120); - } set_Value (COLUMNNAME_RelativeURL, RelativeURL); } @@ -722,12 +626,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setStructureXML (String StructureXML) { - - if (StructureXML != null && StructureXML.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - StructureXML = StructureXML.substring(0, 2000); - } set_Value (COLUMNNAME_StructureXML, StructureXML); } @@ -745,12 +643,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent */ public void setTitle (String Title) { - - if (Title != null && Title.length() > 60) - { - log.warning("Length > 60 - truncated"); - Title = Title.substring(0, 60); - } set_Value (COLUMNNAME_Title, Title); } diff --git a/base/src/org/compiere/model/X_CM_ContainerTTable.java b/base/src/org/compiere/model/X_CM_ContainerTTable.java index b2ad7c96a5..f06ca7be61 100644 --- a/base/src/org/compiere/model/X_CM_ContainerTTable.java +++ b/base/src/org/compiere/model/X_CM_ContainerTTable.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_ContainerTTable * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_Persistent { @@ -40,8 +40,8 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ super (ctx, CM_ContainerTTable_ID, trxName); /** if (CM_ContainerTTable_ID == 0) { - setCM_ContainerTTable_ID (0); setCM_Container_ID (0); + setCM_ContainerTTable_ID (0); setCM_TemplateTable_ID (0); setName (null); } */ @@ -75,28 +75,6 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ return sb.toString(); } - /** Set Container T.Table. - @param CM_ContainerTTable_ID - Container Template Table - */ - public void setCM_ContainerTTable_ID (int CM_ContainerTTable_ID) - { - if (CM_ContainerTTable_ID < 1) - throw new IllegalArgumentException ("CM_ContainerTTable_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_CM_ContainerTTable_ID, Integer.valueOf(CM_ContainerTTable_ID)); - } - - /** Get Container T.Table. - @return Container Template Table - */ - public int getCM_ContainerTTable_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_ContainerTTable_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_CM_Container getCM_Container() throws Exception { Class clazz = MTable.getClass(I_CM_Container.Table_Name); @@ -135,6 +113,28 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ return ii.intValue(); } + /** Set Container T.Table. + @param CM_ContainerTTable_ID + Container Template Table + */ + public void setCM_ContainerTTable_ID (int CM_ContainerTTable_ID) + { + if (CM_ContainerTTable_ID < 1) + throw new IllegalArgumentException ("CM_ContainerTTable_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_CM_ContainerTTable_ID, Integer.valueOf(CM_ContainerTTable_ID)); + } + + /** Get Container T.Table. + @return Container Template Table + */ + public int getCM_ContainerTTable_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_ContainerTTable_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_CM_TemplateTable getCM_TemplateTable() throws Exception { Class clazz = MTable.getClass(I_CM_TemplateTable.Table_Name); @@ -179,12 +179,6 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -204,12 +198,6 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -235,12 +223,6 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ */ public void setOtherClause (String OtherClause) { - - if (OtherClause != null && OtherClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OtherClause = OtherClause.substring(0, 2000); - } set_Value (COLUMNNAME_OtherClause, OtherClause); } @@ -281,12 +263,6 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ */ public void setWhereClause (String WhereClause) { - - if (WhereClause != null && WhereClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WhereClause = WhereClause.substring(0, 2000); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/compiere/model/X_CM_Container_Element.java b/base/src/org/compiere/model/X_CM_Container_Element.java index 4e583d7d48..c240b600f7 100644 --- a/base/src/org/compiere/model/X_CM_Container_Element.java +++ b/base/src/org/compiere/model/X_CM_Container_Element.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Container_Element * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Container_Element extends PO implements I_CM_Container_Element, I_Persistent { @@ -157,12 +157,6 @@ public class X_CM_Container_Element extends PO implements I_CM_Container_Element */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -180,12 +174,6 @@ public class X_CM_Container_Element extends PO implements I_CM_Container_Element */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -229,12 +217,6 @@ public class X_CM_Container_Element extends PO implements I_CM_Container_Element { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_Container_URL.java b/base/src/org/compiere/model/X_CM_Container_URL.java index 93ca6628de..21f5a09eab 100644 --- a/base/src/org/compiere/model/X_CM_Container_URL.java +++ b/base/src/org/compiere/model/X_CM_Container_URL.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for CM_Container_URL * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Container_URL extends PO implements I_CM_Container_URL, I_Persistent { @@ -40,9 +40,9 @@ public class X_CM_Container_URL extends PO implements I_CM_Container_URL, I_Pers super (ctx, CM_Container_URL_ID, trxName); /** if (CM_Container_URL_ID == 0) { + setChecked (new Timestamp( System.currentTimeMillis() )); setCM_Container_ID (0); setCM_Container_URL_ID (0); - setChecked (new Timestamp(System.currentTimeMillis())); setLast_Result (null); setStatus (null); } */ @@ -76,6 +76,25 @@ public class X_CM_Container_URL extends PO implements I_CM_Container_URL, I_Pers return sb.toString(); } + /** Set Last Checked. + @param Checked + Info when we did the last check + */ + public void setChecked (Timestamp Checked) + { + if (Checked == null) + throw new IllegalArgumentException ("Checked is mandatory."); + set_Value (COLUMNNAME_Checked, Checked); + } + + /** Get Last Checked. + @return Info when we did the last check + */ + public Timestamp getChecked () + { + return (Timestamp)get_Value(COLUMNNAME_Checked); + } + public I_CM_Container getCM_Container() throws Exception { Class clazz = MTable.getClass(I_CM_Container.Table_Name); @@ -136,25 +155,6 @@ public class X_CM_Container_URL extends PO implements I_CM_Container_URL, I_Pers return ii.intValue(); } - /** Set Last Checked. - @param Checked - Info when we did the last check - */ - public void setChecked (Timestamp Checked) - { - if (Checked == null) - throw new IllegalArgumentException ("Checked is mandatory."); - set_Value (COLUMNNAME_Checked, Checked); - } - - /** Get Last Checked. - @return Info when we did the last check - */ - public Timestamp getChecked () - { - return (Timestamp)get_Value(COLUMNNAME_Checked); - } - /** Set Last Result. @param Last_Result Contains data on the last check result @@ -163,12 +163,6 @@ public class X_CM_Container_URL extends PO implements I_CM_Container_URL, I_Pers { if (Last_Result == null) throw new IllegalArgumentException ("Last_Result is mandatory."); - - if (Last_Result.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Last_Result = Last_Result.substring(0, 2000); - } set_Value (COLUMNNAME_Last_Result, Last_Result); } @@ -188,12 +182,6 @@ public class X_CM_Container_URL extends PO implements I_CM_Container_URL, I_Pers { if (Status == null) throw new IllegalArgumentException ("Status is mandatory."); - - if (Status.length() > 2) - { - log.warning("Length > 2 - truncated"); - Status = Status.substring(0, 2); - } set_Value (COLUMNNAME_Status, Status); } diff --git a/base/src/org/compiere/model/X_CM_Media.java b/base/src/org/compiere/model/X_CM_Media.java index ea4a82e540..1b3e3693af 100644 --- a/base/src/org/compiere/model/X_CM_Media.java +++ b/base/src/org/compiere/model/X_CM_Media.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Media * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Media extends PO implements I_CM_Media, I_Persistent { @@ -178,12 +178,6 @@ public class X_CM_Media extends PO implements I_CM_Media, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -199,12 +193,6 @@ public class X_CM_Media extends PO implements I_CM_Media, I_Persistent @param DirectDeploy Direct Deploy */ public void setDirectDeploy (String DirectDeploy) { - - if (DirectDeploy != null && DirectDeploy.length() > 1) - { - log.warning("Length > 1 - truncated"); - DirectDeploy = DirectDeploy.substring(0, 1); - } set_Value (COLUMNNAME_DirectDeploy, DirectDeploy); } @@ -221,12 +209,6 @@ public class X_CM_Media extends PO implements I_CM_Media, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -283,13 +265,7 @@ public class X_CM_Media extends PO implements I_CM_Media, I_Persistent public void setMediaType (String MediaType) { - if (MediaType == null || MediaType.equals("GIF") || MediaType.equals("JPG") || MediaType.equals("PNG") || MediaType.equals("PDF") || MediaType.equals("CSS") || MediaType.equals("JS")); else throw new IllegalArgumentException ("MediaType Invalid value - " + MediaType + " - Reference_ID=388 - GIF - JPG - PNG - PDF - CSS - JS"); - if (MediaType != null && MediaType.length() > 3) - { - log.warning("Length > 3 - truncated"); - MediaType = MediaType.substring(0, 3); - } - set_Value (COLUMNNAME_MediaType, MediaType); + if (MediaType == null || MediaType.equals("GIF") || MediaType.equals("JPG") || MediaType.equals("PNG") || MediaType.equals("PDF") || MediaType.equals("CSS") || MediaType.equals("JS")); else throw new IllegalArgumentException ("MediaType Invalid value - " + MediaType + " - Reference_ID=388 - GIF - JPG - PNG - PDF - CSS - JS"); set_Value (COLUMNNAME_MediaType, MediaType); } /** Get Media Type. @@ -308,12 +284,6 @@ public class X_CM_Media extends PO implements I_CM_Media, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_MediaDeploy.java b/base/src/org/compiere/model/X_CM_MediaDeploy.java index 0f86154075..67a3dfb8b0 100644 --- a/base/src/org/compiere/model/X_CM_MediaDeploy.java +++ b/base/src/org/compiere/model/X_CM_MediaDeploy.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for CM_MediaDeploy * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_MediaDeploy extends PO implements I_CM_MediaDeploy, I_Persistent { @@ -179,12 +179,6 @@ public class X_CM_MediaDeploy extends PO implements I_CM_MediaDeploy, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_CM_Media_Server.java b/base/src/org/compiere/model/X_CM_Media_Server.java index 000191eccb..6d50b62a40 100644 --- a/base/src/org/compiere/model/X_CM_Media_Server.java +++ b/base/src/org/compiere/model/X_CM_Media_Server.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Media_Server * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persistent { @@ -141,12 +141,6 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -164,12 +158,6 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis */ public void setFolder (String Folder) { - - if (Folder != null && Folder.length() > 60) - { - log.warning("Length > 60 - truncated"); - Folder = Folder.substring(0, 60); - } set_Value (COLUMNNAME_Folder, Folder); } @@ -187,12 +175,6 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -210,12 +192,6 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis */ public void setIP_Address (String IP_Address) { - - if (IP_Address != null && IP_Address.length() > 20) - { - log.warning("Length > 20 - truncated"); - IP_Address = IP_Address.substring(0, 20); - } set_Value (COLUMNNAME_IP_Address, IP_Address); } @@ -259,12 +235,6 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -290,12 +260,6 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis */ public void setPassword (String Password) { - - if (Password != null && Password.length() > 40) - { - log.warning("Length > 40 - truncated"); - Password = Password.substring(0, 40); - } set_Value (COLUMNNAME_Password, Password); } @@ -313,12 +277,6 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis */ public void setURL (String URL) { - - if (URL != null && URL.length() > 120) - { - log.warning("Length > 120 - truncated"); - URL = URL.substring(0, 120); - } set_Value (COLUMNNAME_URL, URL); } @@ -336,12 +294,6 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis */ public void setUserName (String UserName) { - - if (UserName != null && UserName.length() > 40) - { - log.warning("Length > 40 - truncated"); - UserName = UserName.substring(0, 40); - } set_Value (COLUMNNAME_UserName, UserName); } diff --git a/base/src/org/compiere/model/X_CM_NewsChannel.java b/base/src/org/compiere/model/X_CM_NewsChannel.java index 7b00be1c75..8ae4e3114e 100644 --- a/base/src/org/compiere/model/X_CM_NewsChannel.java +++ b/base/src/org/compiere/model/X_CM_NewsChannel.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_NewsChannel * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_NewsChannel extends PO implements I_CM_NewsChannel, I_Persistent { @@ -83,12 +83,6 @@ public class X_CM_NewsChannel extends PO implements I_CM_NewsChannel, I_Persiste */ public void setAD_Language (String AD_Language) { - - if (AD_Language != null && AD_Language.length() > 6) - { - log.warning("Length > 6 - truncated"); - AD_Language = AD_Language.substring(0, 6); - } set_Value (COLUMNNAME_AD_Language, AD_Language); } @@ -168,12 +162,6 @@ public class X_CM_NewsChannel extends PO implements I_CM_NewsChannel, I_Persiste { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Description = Description.substring(0, 2000); - } set_Value (COLUMNNAME_Description, Description); } @@ -191,12 +179,6 @@ public class X_CM_NewsChannel extends PO implements I_CM_NewsChannel, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -214,12 +196,6 @@ public class X_CM_NewsChannel extends PO implements I_CM_NewsChannel, I_Persiste */ public void setLink (String Link) { - - if (Link != null && Link.length() > 255) - { - log.warning("Length > 255 - truncated"); - Link = Link.substring(0, 255); - } set_Value (COLUMNNAME_Link, Link); } @@ -239,12 +215,6 @@ public class X_CM_NewsChannel extends PO implements I_CM_NewsChannel, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_NewsItem.java b/base/src/org/compiere/model/X_CM_NewsItem.java index b7f8f1fb17..113a867116 100644 --- a/base/src/org/compiere/model/X_CM_NewsItem.java +++ b/base/src/org/compiere/model/X_CM_NewsItem.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for CM_NewsItem * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_NewsItem extends PO implements I_CM_NewsItem, I_Persistent { @@ -79,12 +79,6 @@ public class X_CM_NewsItem extends PO implements I_CM_NewsItem, I_Persistent */ public void setAuthor (String Author) { - - if (Author != null && Author.length() > 255) - { - log.warning("Length > 255 - truncated"); - Author = Author.substring(0, 255); - } set_Value (COLUMNNAME_Author, Author); } @@ -179,12 +173,6 @@ public class X_CM_NewsItem extends PO implements I_CM_NewsItem, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -202,12 +190,6 @@ public class X_CM_NewsItem extends PO implements I_CM_NewsItem, I_Persistent */ public void setLinkURL (String LinkURL) { - - if (LinkURL != null && LinkURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - LinkURL = LinkURL.substring(0, 120); - } set_Value (COLUMNNAME_LinkURL, LinkURL); } @@ -242,12 +224,6 @@ public class X_CM_NewsItem extends PO implements I_CM_NewsItem, I_Persistent */ public void setTitle (String Title) { - - if (Title != null && Title.length() > 255) - { - log.warning("Length > 255 - truncated"); - Title = Title.substring(0, 255); - } set_Value (COLUMNNAME_Title, Title); } diff --git a/base/src/org/compiere/model/X_CM_Template.java b/base/src/org/compiere/model/X_CM_Template.java index fc361544d6..b37fdef4e4 100644 --- a/base/src/org/compiere/model/X_CM_Template.java +++ b/base/src/org/compiere/model/X_CM_Template.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Template * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Template extends PO implements I_CM_Template, I_Persistent { @@ -146,12 +146,6 @@ public class X_CM_Template extends PO implements I_CM_Template, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -169,12 +163,6 @@ public class X_CM_Template extends PO implements I_CM_Template, I_Persistent */ public void setElements (String Elements) { - - if (Elements != null && Elements.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Elements = Elements.substring(0, 2000); - } set_Value (COLUMNNAME_Elements, Elements); } @@ -192,12 +180,6 @@ public class X_CM_Template extends PO implements I_CM_Template, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -337,12 +319,6 @@ public class X_CM_Template extends PO implements I_CM_Template, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -408,12 +384,6 @@ public class X_CM_Template extends PO implements I_CM_Template, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_CM_TemplateTable.java b/base/src/org/compiere/model/X_CM_TemplateTable.java index 13b1a8bfbb..15c60122a4 100644 --- a/base/src/org/compiere/model/X_CM_TemplateTable.java +++ b/base/src/org/compiere/model/X_CM_TemplateTable.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_TemplateTable * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Persistent { @@ -41,8 +41,8 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers /** if (CM_TemplateTable_ID == 0) { setAD_Table_ID (0); - setCM_TemplateTable_ID (0); setCM_Template_ID (0); + setCM_TemplateTable_ID (0); setName (null); } */ } @@ -113,28 +113,6 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers return ii.intValue(); } - /** Set Template Table. - @param CM_TemplateTable_ID - CM Template Table Link - */ - public void setCM_TemplateTable_ID (int CM_TemplateTable_ID) - { - if (CM_TemplateTable_ID < 1) - throw new IllegalArgumentException ("CM_TemplateTable_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_CM_TemplateTable_ID, Integer.valueOf(CM_TemplateTable_ID)); - } - - /** Get Template Table. - @return CM Template Table Link - */ - public int getCM_TemplateTable_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_TemplateTable_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_CM_Template getCM_Template() throws Exception { Class clazz = MTable.getClass(I_CM_Template.Table_Name); @@ -173,18 +151,34 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers return ii.intValue(); } + /** Set Template Table. + @param CM_TemplateTable_ID + CM Template Table Link + */ + public void setCM_TemplateTable_ID (int CM_TemplateTable_ID) + { + if (CM_TemplateTable_ID < 1) + throw new IllegalArgumentException ("CM_TemplateTable_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_CM_TemplateTable_ID, Integer.valueOf(CM_TemplateTable_ID)); + } + + /** Get Template Table. + @return CM Template Table Link + */ + public int getCM_TemplateTable_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_TemplateTable_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -204,12 +198,6 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -235,12 +223,6 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers */ public void setOtherClause (String OtherClause) { - - if (OtherClause != null && OtherClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - OtherClause = OtherClause.substring(0, 2000); - } set_Value (COLUMNNAME_OtherClause, OtherClause); } @@ -258,12 +240,6 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers */ public void setWhereClause (String WhereClause) { - - if (WhereClause != null && WhereClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WhereClause = WhereClause.substring(0, 2000); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/compiere/model/X_CM_Template_Ad_Cat.java b/base/src/org/compiere/model/X_CM_Template_Ad_Cat.java index 15743d19a2..52b24fcc17 100644 --- a/base/src/org/compiere/model/X_CM_Template_Ad_Cat.java +++ b/base/src/org/compiere/model/X_CM_Template_Ad_Cat.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Template_Ad_Cat * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_Template_Ad_Cat extends PO implements I_CM_Template_Ad_Cat, I_Persistent { @@ -156,12 +156,6 @@ public class X_CM_Template_Ad_Cat extends PO implements I_CM_Template_Ad_Cat, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -181,12 +175,6 @@ public class X_CM_Template_Ad_Cat extends PO implements I_CM_Template_Ad_Cat, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_WebAccessLog.java b/base/src/org/compiere/model/X_CM_WebAccessLog.java index 4d2919ac17..aff0b3dec7 100644 --- a/base/src/org/compiere/model/X_CM_WebAccessLog.java +++ b/base/src/org/compiere/model/X_CM_WebAccessLog.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for CM_WebAccessLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persistent { @@ -77,6 +77,23 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis return sb.toString(); } + /** Set Accept Language. + @param AcceptLanguage + Language accepted based on browser information + */ + public void setAcceptLanguage (String AcceptLanguage) + { + set_Value (COLUMNNAME_AcceptLanguage, AcceptLanguage); + } + + /** Get Accept Language. + @return Language accepted based on browser information + */ + public String getAcceptLanguage () + { + return (String)get_Value(COLUMNNAME_AcceptLanguage); + } + public I_AD_User getAD_User() throws Exception { Class clazz = MTable.getClass(I_AD_User.Table_Name); @@ -116,29 +133,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis return ii.intValue(); } - /** Set Accept Language. - @param AcceptLanguage - Language accepted based on browser information - */ - public void setAcceptLanguage (String AcceptLanguage) - { - - if (AcceptLanguage != null && AcceptLanguage.length() > 60) - { - log.warning("Length > 60 - truncated"); - AcceptLanguage = AcceptLanguage.substring(0, 60); - } - set_Value (COLUMNNAME_AcceptLanguage, AcceptLanguage); - } - - /** Get Accept Language. - @return Language accepted based on browser information - */ - public String getAcceptLanguage () - { - return (String)get_Value(COLUMNNAME_AcceptLanguage); - } - public I_CM_BroadcastServer getCM_BroadcastServer() throws Exception { Class clazz = MTable.getClass(I_CM_BroadcastServer.Table_Name); @@ -302,12 +296,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis @param Hyphen Hyphen */ public void setHyphen (String Hyphen) { - - if (Hyphen != null && Hyphen.length() > 20) - { - log.warning("Length > 20 - truncated"); - Hyphen = Hyphen.substring(0, 20); - } set_Value (COLUMNNAME_Hyphen, Hyphen); } @@ -326,12 +314,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis { if (IP_Address == null) throw new IllegalArgumentException ("IP_Address is mandatory."); - - if (IP_Address.length() > 20) - { - log.warning("Length > 20 - truncated"); - IP_Address = IP_Address.substring(0, 20); - } set_Value (COLUMNNAME_IP_Address, IP_Address); } @@ -358,13 +340,7 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis public void setLogType (String LogType) { if (LogType == null) throw new IllegalArgumentException ("LogType is mandatory"); - if (LogType.equals("W") || LogType.equals("A") || LogType.equals("R")); else throw new IllegalArgumentException ("LogType Invalid value - " + LogType + " - Reference_ID=390 - W - A - R"); - if (LogType.length() > 1) - { - log.warning("Length > 1 - truncated"); - LogType = LogType.substring(0, 1); - } - set_Value (COLUMNNAME_LogType, LogType); + if (LogType.equals("W") || LogType.equals("A") || LogType.equals("R")); else throw new IllegalArgumentException ("LogType Invalid value - " + LogType + " - Reference_ID=390 - W - A - R"); set_Value (COLUMNNAME_LogType, LogType); } /** Get Log Type. @@ -379,12 +355,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis @param PageURL Page URL */ public void setPageURL (String PageURL) { - - if (PageURL != null && PageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - PageURL = PageURL.substring(0, 120); - } set_Value (COLUMNNAME_PageURL, PageURL); } @@ -403,12 +373,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis { if (Protocol == null) throw new IllegalArgumentException ("Protocol is mandatory."); - - if (Protocol.length() > 20) - { - log.warning("Length > 20 - truncated"); - Protocol = Protocol.substring(0, 20); - } set_Value (COLUMNNAME_Protocol, Protocol); } @@ -426,12 +390,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis */ public void setReferrer (String Referrer) { - - if (Referrer != null && Referrer.length() > 120) - { - log.warning("Length > 120 - truncated"); - Referrer = Referrer.substring(0, 120); - } set_Value (COLUMNNAME_Referrer, Referrer); } @@ -449,12 +407,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis */ public void setRemote_Addr (String Remote_Addr) { - - if (Remote_Addr != null && Remote_Addr.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Addr = Remote_Addr.substring(0, 60); - } set_Value (COLUMNNAME_Remote_Addr, Remote_Addr); } @@ -472,12 +424,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis */ public void setRemote_Host (String Remote_Host) { - - if (Remote_Host != null && Remote_Host.length() > 120) - { - log.warning("Length > 120 - truncated"); - Remote_Host = Remote_Host.substring(0, 120); - } set_Value (COLUMNNAME_Remote_Host, Remote_Host); } @@ -495,12 +441,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis { if (RequestType == null) throw new IllegalArgumentException ("RequestType is mandatory."); - - if (RequestType.length() > 4) - { - log.warning("Length > 4 - truncated"); - RequestType = RequestType.substring(0, 4); - } set_Value (COLUMNNAME_RequestType, RequestType); } @@ -534,12 +474,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis */ public void setUserAgent (String UserAgent) { - - if (UserAgent != null && UserAgent.length() > 255) - { - log.warning("Length > 255 - truncated"); - UserAgent = UserAgent.substring(0, 255); - } set_Value (COLUMNNAME_UserAgent, UserAgent); } @@ -557,12 +491,6 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis */ public void setWebSession (String WebSession) { - - if (WebSession != null && WebSession.length() > 40) - { - log.warning("Length > 40 - truncated"); - WebSession = WebSession.substring(0, 40); - } set_Value (COLUMNNAME_WebSession, WebSession); } diff --git a/base/src/org/compiere/model/X_CM_WebProject.java b/base/src/org/compiere/model/X_CM_WebProject.java index 09431d15f5..ab3b57195a 100644 --- a/base/src/org/compiere/model/X_CM_WebProject.java +++ b/base/src/org/compiere/model/X_CM_WebProject.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_WebProject * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent { @@ -209,12 +209,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -232,12 +226,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -257,12 +245,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent { if (Meta_Author == null) throw new IllegalArgumentException ("Meta_Author is mandatory."); - - if (Meta_Author.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Author = Meta_Author.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Author, Meta_Author); } @@ -282,12 +264,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent { if (Meta_Content == null) throw new IllegalArgumentException ("Meta_Content is mandatory."); - - if (Meta_Content.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Content = Meta_Content.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Content, Meta_Content); } @@ -307,12 +283,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent { if (Meta_Copyright == null) throw new IllegalArgumentException ("Meta_Copyright is mandatory."); - - if (Meta_Copyright.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Copyright = Meta_Copyright.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Copyright, Meta_Copyright); } @@ -332,12 +302,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent { if (Meta_Publisher == null) throw new IllegalArgumentException ("Meta_Publisher is mandatory."); - - if (Meta_Publisher.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_Publisher = Meta_Publisher.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_Publisher, Meta_Publisher); } @@ -357,12 +321,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent { if (Meta_RobotsTag == null) throw new IllegalArgumentException ("Meta_RobotsTag is mandatory."); - - if (Meta_RobotsTag.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Meta_RobotsTag = Meta_RobotsTag.substring(0, 2000); - } set_Value (COLUMNNAME_Meta_RobotsTag, Meta_RobotsTag); } @@ -382,12 +340,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_WebProject_Domain.java b/base/src/org/compiere/model/X_CM_WebProject_Domain.java index c21a80581f..759b5e07e5 100644 --- a/base/src/org/compiere/model/X_CM_WebProject_Domain.java +++ b/base/src/org/compiere/model/X_CM_WebProject_Domain.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_WebProject_Domain * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain, I_Persistent { @@ -180,12 +180,6 @@ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -205,12 +199,6 @@ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain { if (FQDN == null) throw new IllegalArgumentException ("FQDN is mandatory."); - - if (FQDN.length() > 120) - { - log.warning("Length > 120 - truncated"); - FQDN = FQDN.substring(0, 120); - } set_Value (COLUMNNAME_FQDN, FQDN); } @@ -228,12 +216,6 @@ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -253,12 +235,6 @@ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_CM_WikiToken.java b/base/src/org/compiere/model/X_CM_WikiToken.java index a5a1666841..e7d647ddb0 100755 --- a/base/src/org/compiere/model/X_CM_WikiToken.java +++ b/base/src/org/compiere/model/X_CM_WikiToken.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_WikiToken * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent { @@ -142,12 +142,6 @@ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent */ public void setMacro (String Macro) { - - if (Macro != null && Macro.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Macro = Macro.substring(0, 2000); - } set_Value (COLUMNNAME_Macro, Macro); } @@ -190,12 +178,6 @@ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -221,12 +203,6 @@ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent */ public void setSelectClause (String SelectClause) { - - if (SelectClause != null && SelectClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - SelectClause = SelectClause.substring(0, 2000); - } set_Value (COLUMNNAME_SelectClause, SelectClause); } @@ -255,13 +231,7 @@ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent public void setTokenType (String TokenType) { if (TokenType == null) throw new IllegalArgumentException ("TokenType is mandatory"); - if (TokenType.equals("Q") || TokenType.equals("I") || TokenType.equals("E") || TokenType.equals("S")); else throw new IllegalArgumentException ("TokenType Invalid value - " + TokenType + " - Reference_ID=397 - Q - I - E - S"); - if (TokenType.length() > 1) - { - log.warning("Length > 1 - truncated"); - TokenType = TokenType.substring(0, 1); - } - set_Value (COLUMNNAME_TokenType, TokenType); + if (TokenType.equals("Q") || TokenType.equals("I") || TokenType.equals("E") || TokenType.equals("S")); else throw new IllegalArgumentException ("TokenType Invalid value - " + TokenType + " - Reference_ID=397 - Q - I - E - S"); set_Value (COLUMNNAME_TokenType, TokenType); } /** Get TokenType. @@ -278,12 +248,6 @@ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent */ public void setWhereClause (String WhereClause) { - - if (WhereClause != null && WhereClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WhereClause = WhereClause.substring(0, 2000); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/compiere/model/X_C_AcctProcessor.java b/base/src/org/compiere/model/X_C_AcctProcessor.java index 3cc9bf6c30..7ed612cc6d 100644 --- a/base/src/org/compiere/model/X_C_AcctProcessor.java +++ b/base/src/org/compiere/model/X_C_AcctProcessor.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctProcessor * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persistent { @@ -219,12 +219,6 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -271,13 +265,7 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis public void setFrequencyType (String FrequencyType) { if (FrequencyType == null) throw new IllegalArgumentException ("FrequencyType is mandatory"); - if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); - if (FrequencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FrequencyType = FrequencyType.substring(0, 1); - } - set_Value (COLUMNNAME_FrequencyType, FrequencyType); + if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); set_Value (COLUMNNAME_FrequencyType, FrequencyType); } /** Get Frequency Type. @@ -316,12 +304,6 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_AcctProcessorLog.java b/base/src/org/compiere/model/X_C_AcctProcessorLog.java index e0990e3d53..69e5fb1f47 100644 --- a/base/src/org/compiere/model/X_C_AcctProcessorLog.java +++ b/base/src/org/compiere/model/X_C_AcctProcessorLog.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_AcctProcessorLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_Persistent { @@ -39,8 +39,8 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ super (ctx, C_AcctProcessorLog_ID, trxName); /** if (C_AcctProcessorLog_ID == 0) { - setC_AcctProcessorLog_ID (0); setC_AcctProcessor_ID (0); + setC_AcctProcessorLog_ID (0); setIsError (false); } */ } @@ -90,28 +90,6 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ return (byte[])get_Value(COLUMNNAME_BinaryData); } - /** Set Accounting Processor Log. - @param C_AcctProcessorLog_ID - Result of the execution of the Accounting Processor - */ - public void setC_AcctProcessorLog_ID (int C_AcctProcessorLog_ID) - { - if (C_AcctProcessorLog_ID < 1) - throw new IllegalArgumentException ("C_AcctProcessorLog_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_AcctProcessorLog_ID, Integer.valueOf(C_AcctProcessorLog_ID)); - } - - /** Get Accounting Processor Log. - @return Result of the execution of the Accounting Processor - */ - public int getC_AcctProcessorLog_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_AcctProcessorLog_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_AcctProcessor getC_AcctProcessor() throws Exception { Class clazz = MTable.getClass(I_C_AcctProcessor.Table_Name); @@ -150,18 +128,34 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ return ii.intValue(); } + /** Set Accounting Processor Log. + @param C_AcctProcessorLog_ID + Result of the execution of the Accounting Processor + */ + public void setC_AcctProcessorLog_ID (int C_AcctProcessorLog_ID) + { + if (C_AcctProcessorLog_ID < 1) + throw new IllegalArgumentException ("C_AcctProcessorLog_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_AcctProcessorLog_ID, Integer.valueOf(C_AcctProcessorLog_ID)); + } + + /** Get Accounting Processor Log. + @return Result of the execution of the Accounting Processor + */ + public int getC_AcctProcessorLog_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_AcctProcessorLog_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -203,12 +197,6 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ */ public void setReference (String Reference) { - - if (Reference != null && Reference.length() > 60) - { - log.warning("Length > 60 - truncated"); - Reference = Reference.substring(0, 60); - } set_Value (COLUMNNAME_Reference, Reference); } @@ -226,12 +214,6 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_Value (COLUMNNAME_Summary, Summary); } @@ -249,12 +231,6 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_C_AcctSchema.java b/base/src/org/compiere/model/X_C_AcctSchema.java index e7b3d6371c..70d9a1723b 100644 --- a/base/src/org/compiere/model/X_C_AcctSchema.java +++ b/base/src/org/compiere/model/X_C_AcctSchema.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent { @@ -206,6 +206,102 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent return ii.intValue(); } + /** CommitmentType AD_Reference_ID=359 */ + public static final int COMMITMENTTYPE_AD_Reference_ID=359; + /** PO Commitment only = C */ + public static final String COMMITMENTTYPE_POCommitmentOnly = "C"; + /** PO Commitment & Reservation = B */ + public static final String COMMITMENTTYPE_POCommitmentReservation = "B"; + /** None = N */ + public static final String COMMITMENTTYPE_None = "N"; + /** PO/SO Commitment & Reservation = A */ + public static final String COMMITMENTTYPE_POSOCommitmentReservation = "A"; + /** SO Commitment only = S */ + public static final String COMMITMENTTYPE_SOCommitmentOnly = "S"; + /** PO/SO Commitment = O */ + public static final String COMMITMENTTYPE_POSOCommitment = "O"; + /** Set Commitment Type. + @param CommitmentType + Create Commitment and/or Reservations for Budget Control + */ + public void setCommitmentType (String CommitmentType) + { + if (CommitmentType == null) throw new IllegalArgumentException ("CommitmentType is mandatory"); + if (CommitmentType.equals("C") || CommitmentType.equals("B") || CommitmentType.equals("N") || CommitmentType.equals("A") || CommitmentType.equals("S") || CommitmentType.equals("O")); else throw new IllegalArgumentException ("CommitmentType Invalid value - " + CommitmentType + " - Reference_ID=359 - C - B - N - A - S - O"); set_Value (COLUMNNAME_CommitmentType, CommitmentType); + } + + /** Get Commitment Type. + @return Create Commitment and/or Reservations for Budget Control + */ + public String getCommitmentType () + { + return (String)get_Value(COLUMNNAME_CommitmentType); + } + + /** CostingLevel AD_Reference_ID=355 */ + public static final int COSTINGLEVEL_AD_Reference_ID=355; + /** Client = C */ + public static final String COSTINGLEVEL_Client = "C"; + /** Organization = O */ + public static final String COSTINGLEVEL_Organization = "O"; + /** Batch/Lot = B */ + public static final String COSTINGLEVEL_BatchLot = "B"; + /** Set Costing Level. + @param CostingLevel + The lowest level to accumulate Costing Information + */ + public void setCostingLevel (String CostingLevel) + { + if (CostingLevel == null) throw new IllegalArgumentException ("CostingLevel is mandatory"); + if (CostingLevel.equals("C") || CostingLevel.equals("O") || CostingLevel.equals("B")); else throw new IllegalArgumentException ("CostingLevel Invalid value - " + CostingLevel + " - Reference_ID=355 - C - O - B"); set_Value (COLUMNNAME_CostingLevel, CostingLevel); + } + + /** Get Costing Level. + @return The lowest level to accumulate Costing Information + */ + public String getCostingLevel () + { + return (String)get_Value(COLUMNNAME_CostingLevel); + } + + /** CostingMethod AD_Reference_ID=122 */ + public static final int COSTINGMETHOD_AD_Reference_ID=122; + /** Standard Costing = S */ + public static final String COSTINGMETHOD_StandardCosting = "S"; + /** Average PO = A */ + public static final String COSTINGMETHOD_AveragePO = "A"; + /** Lifo = L */ + public static final String COSTINGMETHOD_Lifo = "L"; + /** Fifo = F */ + public static final String COSTINGMETHOD_Fifo = "F"; + /** Last PO Price = p */ + public static final String COSTINGMETHOD_LastPOPrice = "p"; + /** Average Invoice = I */ + public static final String COSTINGMETHOD_AverageInvoice = "I"; + /** Last Invoice = i */ + public static final String COSTINGMETHOD_LastInvoice = "i"; + /** User Defined = U */ + public static final String COSTINGMETHOD_UserDefined = "U"; + /** _ = x */ + public static final String COSTINGMETHOD__ = "x"; + /** Set Costing Method. + @param CostingMethod + Indicates how Costs will be calculated + */ + public void setCostingMethod (String CostingMethod) + { + if (CostingMethod == null) throw new IllegalArgumentException ("CostingMethod is mandatory"); + if (CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x")); else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x"); set_Value (COLUMNNAME_CostingMethod, CostingMethod); + } + + /** Get Costing Method. + @return Indicates how Costs will be calculated + */ + public String getCostingMethod () + { + return (String)get_Value(COLUMNNAME_CostingMethod); + } + public I_C_Period getC_Period() throws Exception { Class clazz = MTable.getClass(I_C_Period.Table_Name); @@ -245,132 +341,12 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent return ii.intValue(); } - /** CommitmentType AD_Reference_ID=359 */ - public static final int COMMITMENTTYPE_AD_Reference_ID=359; - /** PO Commitment only = C */ - public static final String COMMITMENTTYPE_POCommitmentOnly = "C"; - /** PO Commitment & Reservation = B */ - public static final String COMMITMENTTYPE_POCommitmentReservation = "B"; - /** None = N */ - public static final String COMMITMENTTYPE_None = "N"; - /** PO/SO Commitment & Reservation = A */ - public static final String COMMITMENTTYPE_POSOCommitmentReservation = "A"; - /** SO Commitment only = S */ - public static final String COMMITMENTTYPE_SOCommitmentOnly = "S"; - /** PO/SO Commitment = O */ - public static final String COMMITMENTTYPE_POSOCommitment = "O"; - /** Set Commitment Type. - @param CommitmentType - Create Commitment and/or Reservations for Budget Control - */ - public void setCommitmentType (String CommitmentType) - { - if (CommitmentType == null) throw new IllegalArgumentException ("CommitmentType is mandatory"); - if (CommitmentType.equals("C") || CommitmentType.equals("B") || CommitmentType.equals("N") || CommitmentType.equals("A") || CommitmentType.equals("S") || CommitmentType.equals("O")); else throw new IllegalArgumentException ("CommitmentType Invalid value - " + CommitmentType + " - Reference_ID=359 - C - B - N - A - S - O"); - if (CommitmentType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CommitmentType = CommitmentType.substring(0, 1); - } - set_Value (COLUMNNAME_CommitmentType, CommitmentType); - } - - /** Get Commitment Type. - @return Create Commitment and/or Reservations for Budget Control - */ - public String getCommitmentType () - { - return (String)get_Value(COLUMNNAME_CommitmentType); - } - - /** CostingLevel AD_Reference_ID=355 */ - public static final int COSTINGLEVEL_AD_Reference_ID=355; - /** Client = C */ - public static final String COSTINGLEVEL_Client = "C"; - /** Organization = O */ - public static final String COSTINGLEVEL_Organization = "O"; - /** Batch/Lot = B */ - public static final String COSTINGLEVEL_BatchLot = "B"; - /** Set Costing Level. - @param CostingLevel - The lowest level to accumulate Costing Information - */ - public void setCostingLevel (String CostingLevel) - { - if (CostingLevel == null) throw new IllegalArgumentException ("CostingLevel is mandatory"); - if (CostingLevel.equals("C") || CostingLevel.equals("O") || CostingLevel.equals("B")); else throw new IllegalArgumentException ("CostingLevel Invalid value - " + CostingLevel + " - Reference_ID=355 - C - O - B"); - if (CostingLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - CostingLevel = CostingLevel.substring(0, 1); - } - set_Value (COLUMNNAME_CostingLevel, CostingLevel); - } - - /** Get Costing Level. - @return The lowest level to accumulate Costing Information - */ - public String getCostingLevel () - { - return (String)get_Value(COLUMNNAME_CostingLevel); - } - - /** CostingMethod AD_Reference_ID=122 */ - public static final int COSTINGMETHOD_AD_Reference_ID=122; - /** Standard Costing = S */ - public static final String COSTINGMETHOD_StandardCosting = "S"; - /** Average PO = A */ - public static final String COSTINGMETHOD_AveragePO = "A"; - /** Lifo = L */ - public static final String COSTINGMETHOD_Lifo = "L"; - /** Fifo = F */ - public static final String COSTINGMETHOD_Fifo = "F"; - /** Last PO Price = p */ - public static final String COSTINGMETHOD_LastPOPrice = "p"; - /** Average Invoice = I */ - public static final String COSTINGMETHOD_AverageInvoice = "I"; - /** Last Invoice = i */ - public static final String COSTINGMETHOD_LastInvoice = "i"; - /** User Defined = U */ - public static final String COSTINGMETHOD_UserDefined = "U"; - /** _ = x */ - public static final String COSTINGMETHOD__ = "x"; - /** Set Costing Method. - @param CostingMethod - Indicates how Costs will be calculated - */ - public void setCostingMethod (String CostingMethod) - { - if (CostingMethod == null) throw new IllegalArgumentException ("CostingMethod is mandatory"); - if (CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x")); else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x"); - if (CostingMethod.length() > 1) - { - log.warning("Length > 1 - truncated"); - CostingMethod = CostingMethod.substring(0, 1); - } - set_Value (COLUMNNAME_CostingMethod, CostingMethod); - } - - /** Get Costing Method. - @return Indicates how Costs will be calculated - */ - public String getCostingMethod () - { - return (String)get_Value(COLUMNNAME_CostingMethod); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -401,13 +377,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public void setGAAP (String GAAP) { if (GAAP == null) throw new IllegalArgumentException ("GAAP is mandatory"); - if (GAAP.equals("UN") || GAAP.equals("US") || GAAP.equals("DE") || GAAP.equals("FR") || GAAP.equals("XX")); else throw new IllegalArgumentException ("GAAP Invalid value - " + GAAP + " - Reference_ID=123 - UN - US - DE - FR - XX"); - if (GAAP.length() > 2) - { - log.warning("Length > 2 - truncated"); - GAAP = GAAP.substring(0, 2); - } - set_Value (COLUMNNAME_GAAP, GAAP); + if (GAAP.equals("UN") || GAAP.equals("US") || GAAP.equals("DE") || GAAP.equals("FR") || GAAP.equals("XX")); else throw new IllegalArgumentException ("GAAP Invalid value - " + GAAP + " - Reference_ID=123 - UN - US - DE - FR - XX"); set_Value (COLUMNNAME_GAAP, GAAP); } /** Get GAAP. @@ -704,12 +674,6 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -798,12 +762,6 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent { if (Separator == null) throw new IllegalArgumentException ("Separator is mandatory."); - - if (Separator.length() > 1) - { - log.warning("Length > 1 - truncated"); - Separator = Separator.substring(0, 1); - } set_Value (COLUMNNAME_Separator, Separator); } @@ -832,13 +790,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public void setTaxCorrectionType (String TaxCorrectionType) { if (TaxCorrectionType == null) throw new IllegalArgumentException ("TaxCorrectionType is mandatory"); - if (TaxCorrectionType.equals("N") || TaxCorrectionType.equals("W") || TaxCorrectionType.equals("D") || TaxCorrectionType.equals("B")); else throw new IllegalArgumentException ("TaxCorrectionType Invalid value - " + TaxCorrectionType + " - Reference_ID=392 - N - W - D - B"); - if (TaxCorrectionType.length() > 1) - { - log.warning("Length > 1 - truncated"); - TaxCorrectionType = TaxCorrectionType.substring(0, 1); - } - set_Value (COLUMNNAME_TaxCorrectionType, TaxCorrectionType); + if (TaxCorrectionType.equals("N") || TaxCorrectionType.equals("W") || TaxCorrectionType.equals("D") || TaxCorrectionType.equals("B")); else throw new IllegalArgumentException ("TaxCorrectionType Invalid value - " + TaxCorrectionType + " - Reference_ID=392 - N - W - D - B"); set_Value (COLUMNNAME_TaxCorrectionType, TaxCorrectionType); } /** Get Tax Correction. diff --git a/base/src/org/compiere/model/X_C_AcctSchema_Default.java b/base/src/org/compiere/model/X_C_AcctSchema_Default.java index b312c87328..aabad3bf8b 100644 --- a/base/src/org/compiere/model/X_C_AcctSchema_Default.java +++ b/base/src/org/compiere/model/X_C_AcctSchema_Default.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema_Default * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default, I_Persistent { @@ -42,9 +42,9 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default { setB_Asset_Acct (0); setB_Expense_Acct (0); - setB_InTransit_Acct (0); setB_InterestExp_Acct (0); setB_InterestRev_Acct (0); + setB_InTransit_Acct (0); setB_PaymentSelect_Acct (0); setB_RevaluationGain_Acct (0); setB_RevaluationLoss_Acct (0); @@ -52,36 +52,36 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default setB_SettlementLoss_Acct (0); setB_UnallocatedCash_Acct (0); setB_Unidentified_Acct (0); + setC_AcctSchema_ID (0); setCB_Asset_Acct (0); setCB_CashTransfer_Acct (0); setCB_Differences_Acct (0); setCB_Expense_Acct (0); setCB_Receipt_Acct (0); - setC_AcctSchema_ID (0); + setCh_Expense_Acct (0); + setCh_Revenue_Acct (0); setC_Prepayment_Acct (0); setC_Receivable_Acct (0); setC_Receivable_Services_Acct (0); - setCh_Expense_Acct (0); - setCh_Revenue_Acct (0); setE_Expense_Acct (0); setE_Prepayment_Acct (0); setNotInvoicedReceipts_Acct (0); setNotInvoicedReceivables_Acct (0); setNotInvoicedRevenue_Acct (0); - setPJ_Asset_Acct (0); - setPJ_WIP_Acct (0); setP_Asset_Acct (0); + setPayDiscount_Exp_Acct (0); + setPayDiscount_Rev_Acct (0); setP_COGS_Acct (0); setP_CostAdjustment_Acct (0); setP_Expense_Acct (0); setP_InventoryClearing_Acct (0); setP_InvoicePriceVariance_Acct (0); + setPJ_Asset_Acct (0); + setPJ_WIP_Acct (0); setP_PurchasePriceVariance_Acct (0); setP_Revenue_Acct (0); setP_TradeDiscountGrant_Acct (0); setP_TradeDiscountRec_Acct (0); - setPayDiscount_Exp_Acct (0); - setPayDiscount_Rev_Acct (0); setRealizedGain_Acct (0); setRealizedLoss_Acct (0); setT_Credit_Acct (0); @@ -98,8 +98,8 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default setW_Differences_Acct (0); setW_InvActualAdjust_Acct (0); setW_Inventory_Acct (0); - setW_Revaluation_Acct (0); setWithholding_Acct (0); + setW_Revaluation_Acct (0); setWriteOff_Acct (0); } */ } @@ -172,26 +172,6 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } - /** Set Bank In Transit. - @param B_InTransit_Acct - Bank In Transit Account - */ - public void setB_InTransit_Acct (int B_InTransit_Acct) - { - set_Value (COLUMNNAME_B_InTransit_Acct, Integer.valueOf(B_InTransit_Acct)); - } - - /** Get Bank In Transit. - @return Bank In Transit Account - */ - public int getB_InTransit_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_B_InTransit_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Bank Interest Expense. @param B_InterestExp_Acct Bank Interest Expense Account @@ -232,6 +212,26 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } + /** Set Bank In Transit. + @param B_InTransit_Acct + Bank In Transit Account + */ + public void setB_InTransit_Acct (int B_InTransit_Acct) + { + set_Value (COLUMNNAME_B_InTransit_Acct, Integer.valueOf(B_InTransit_Acct)); + } + + /** Get Bank In Transit. + @return Bank In Transit Account + */ + public int getB_InTransit_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_B_InTransit_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Payment Selection. @param B_PaymentSelect_Acct AP Payment Selection Clearing Account @@ -372,6 +372,52 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } + public I_C_AcctSchema getC_AcctSchema() throws Exception + { + Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); + I_C_AcctSchema result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_AcctSchema)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_AcctSchema_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Accounting Schema. + @param C_AcctSchema_ID + Rules for accounting + */ + public void setC_AcctSchema_ID (int C_AcctSchema_ID) + { + if (C_AcctSchema_ID < 1) + throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID)); + } + + /** Get Accounting Schema. + @return Rules for accounting + */ + public int getC_AcctSchema_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_AcctSchema_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getC_AcctSchema_ID())); + } + /** Set Cash Book Asset. @param CB_Asset_Acct Cash Book Asset Account @@ -472,51 +518,45 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception - { - Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); - I_C_AcctSchema result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_AcctSchema)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_AcctSchema_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Accounting Schema. - @param C_AcctSchema_ID - Rules for accounting + /** Set Charge Expense. + @param Ch_Expense_Acct + Charge Expense Account */ - public void setC_AcctSchema_ID (int C_AcctSchema_ID) + public void setCh_Expense_Acct (int Ch_Expense_Acct) { - if (C_AcctSchema_ID < 1) - throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID)); + set_Value (COLUMNNAME_Ch_Expense_Acct, Integer.valueOf(Ch_Expense_Acct)); } - /** Get Accounting Schema. - @return Rules for accounting + /** Get Charge Expense. + @return Charge Expense Account */ - public int getC_AcctSchema_ID () + public int getCh_Expense_Acct () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_AcctSchema_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_Ch_Expense_Acct); if (ii == null) return 0; return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getC_AcctSchema_ID())); - } + /** Set Charge Revenue. + @param Ch_Revenue_Acct + Charge Revenue Account + */ + public void setCh_Revenue_Acct (int Ch_Revenue_Acct) + { + set_Value (COLUMNNAME_Ch_Revenue_Acct, Integer.valueOf(Ch_Revenue_Acct)); + } + + /** Get Charge Revenue. + @return Charge Revenue Account + */ + public int getCh_Revenue_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Ch_Revenue_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } /** Set Customer Prepayment. @param C_Prepayment_Acct @@ -578,46 +618,6 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } - /** Set Charge Expense. - @param Ch_Expense_Acct - Charge Expense Account - */ - public void setCh_Expense_Acct (int Ch_Expense_Acct) - { - set_Value (COLUMNNAME_Ch_Expense_Acct, Integer.valueOf(Ch_Expense_Acct)); - } - - /** Get Charge Expense. - @return Charge Expense Account - */ - public int getCh_Expense_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Ch_Expense_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Charge Revenue. - @param Ch_Revenue_Acct - Charge Revenue Account - */ - public void setCh_Revenue_Acct (int Ch_Revenue_Acct) - { - set_Value (COLUMNNAME_Ch_Revenue_Acct, Integer.valueOf(Ch_Revenue_Acct)); - } - - /** Get Charge Revenue. - @return Charge Revenue Account - */ - public int getCh_Revenue_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Ch_Revenue_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Employee Expense. @param E_Expense_Acct Account for Employee Expenses @@ -718,46 +718,6 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } - /** Set Project Asset. - @param PJ_Asset_Acct - Project Asset Account - */ - public void setPJ_Asset_Acct (int PJ_Asset_Acct) - { - set_Value (COLUMNNAME_PJ_Asset_Acct, Integer.valueOf(PJ_Asset_Acct)); - } - - /** Get Project Asset. - @return Project Asset Account - */ - public int getPJ_Asset_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PJ_Asset_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Work In Progress. - @param PJ_WIP_Acct - Account for Work in Progress - */ - public void setPJ_WIP_Acct (int PJ_WIP_Acct) - { - set_Value (COLUMNNAME_PJ_WIP_Acct, Integer.valueOf(PJ_WIP_Acct)); - } - - /** Get Work In Progress. - @return Account for Work in Progress - */ - public int getPJ_WIP_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PJ_WIP_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Product Asset. @param P_Asset_Acct Account for Product Asset (Inventory) @@ -778,6 +738,46 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } + /** Set Payment Discount Expense. + @param PayDiscount_Exp_Acct + Payment Discount Expense Account + */ + public void setPayDiscount_Exp_Acct (int PayDiscount_Exp_Acct) + { + set_Value (COLUMNNAME_PayDiscount_Exp_Acct, Integer.valueOf(PayDiscount_Exp_Acct)); + } + + /** Get Payment Discount Expense. + @return Payment Discount Expense Account + */ + public int getPayDiscount_Exp_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PayDiscount_Exp_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Payment Discount Revenue. + @param PayDiscount_Rev_Acct + Payment Discount Revenue Account + */ + public void setPayDiscount_Rev_Acct (int PayDiscount_Rev_Acct) + { + set_Value (COLUMNNAME_PayDiscount_Rev_Acct, Integer.valueOf(PayDiscount_Rev_Acct)); + } + + /** Get Payment Discount Revenue. + @return Payment Discount Revenue Account + */ + public int getPayDiscount_Rev_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PayDiscount_Rev_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Product COGS. @param P_COGS_Acct Account for Cost of Goods Sold @@ -878,6 +878,46 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } + /** Set Project Asset. + @param PJ_Asset_Acct + Project Asset Account + */ + public void setPJ_Asset_Acct (int PJ_Asset_Acct) + { + set_Value (COLUMNNAME_PJ_Asset_Acct, Integer.valueOf(PJ_Asset_Acct)); + } + + /** Get Project Asset. + @return Project Asset Account + */ + public int getPJ_Asset_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PJ_Asset_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Work In Progress. + @param PJ_WIP_Acct + Account for Work in Progress + */ + public void setPJ_WIP_Acct (int PJ_WIP_Acct) + { + set_Value (COLUMNNAME_PJ_WIP_Acct, Integer.valueOf(PJ_WIP_Acct)); + } + + /** Get Work In Progress. + @return Account for Work in Progress + */ + public int getPJ_WIP_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PJ_WIP_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Purchase Price Variance. @param P_PurchasePriceVariance_Acct Difference between Standard Cost and Purchase Price (PPV) @@ -918,6 +958,27 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } + /** Set Process Now. + @param Processing Process Now */ + public void setProcessing (boolean Processing) + { + set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); + } + + /** Get Process Now. + @return Process Now */ + public boolean isProcessing () + { + Object oo = get_Value(COLUMNNAME_Processing); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Trade Discount Granted. @param P_TradeDiscountGrant_Acct Trade Discount Granted Account @@ -958,67 +1019,6 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } - /** Set Payment Discount Expense. - @param PayDiscount_Exp_Acct - Payment Discount Expense Account - */ - public void setPayDiscount_Exp_Acct (int PayDiscount_Exp_Acct) - { - set_Value (COLUMNNAME_PayDiscount_Exp_Acct, Integer.valueOf(PayDiscount_Exp_Acct)); - } - - /** Get Payment Discount Expense. - @return Payment Discount Expense Account - */ - public int getPayDiscount_Exp_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PayDiscount_Exp_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Payment Discount Revenue. - @param PayDiscount_Rev_Acct - Payment Discount Revenue Account - */ - public void setPayDiscount_Rev_Acct (int PayDiscount_Rev_Acct) - { - set_Value (COLUMNNAME_PayDiscount_Rev_Acct, Integer.valueOf(PayDiscount_Rev_Acct)); - } - - /** Get Payment Discount Revenue. - @return Payment Discount Revenue Account - */ - public int getPayDiscount_Rev_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PayDiscount_Rev_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Process Now. - @param Processing Process Now */ - public void setProcessing (boolean Processing) - { - set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); - } - - /** Get Process Now. - @return Process Now */ - public boolean isProcessing () - { - Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Realized Gain Acct. @param RealizedGain_Acct Realized Gain Account @@ -1339,26 +1339,6 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } - /** Set Inventory Revaluation. - @param W_Revaluation_Acct - Account for Inventory Revaluation - */ - public void setW_Revaluation_Acct (int W_Revaluation_Acct) - { - set_Value (COLUMNNAME_W_Revaluation_Acct, Integer.valueOf(W_Revaluation_Acct)); - } - - /** Get Inventory Revaluation. - @return Account for Inventory Revaluation - */ - public int getW_Revaluation_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_W_Revaluation_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Withholding. @param Withholding_Acct Account for Withholdings @@ -1379,6 +1359,26 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } + /** Set Inventory Revaluation. + @param W_Revaluation_Acct + Account for Inventory Revaluation + */ + public void setW_Revaluation_Acct (int W_Revaluation_Acct) + { + set_Value (COLUMNNAME_W_Revaluation_Acct, Integer.valueOf(W_Revaluation_Acct)); + } + + /** Get Inventory Revaluation. + @return Account for Inventory Revaluation + */ + public int getW_Revaluation_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_W_Revaluation_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Write-off. @param WriteOff_Acct Account for Receivables write-off diff --git a/base/src/org/compiere/model/X_C_AcctSchema_Element.java b/base/src/org/compiere/model/X_C_AcctSchema_Element.java index 5ecb14b1ba..f382ef7500 100644 --- a/base/src/org/compiere/model/X_C_AcctSchema_Element.java +++ b/base/src/org/compiere/model/X_C_AcctSchema_Element.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema_Element * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element, I_Persistent { @@ -294,6 +294,44 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } + public I_C_Element getC_Element() throws Exception + { + Class clazz = MTable.getClass(I_C_Element.Table_Name); + I_C_Element result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Element)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Element_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Element. + @param C_Element_ID + Accounting Element + */ + public void setC_Element_ID (int C_Element_ID) + { + if (C_Element_ID < 1) + throw new IllegalArgumentException ("C_Element_ID is mandatory."); + set_Value (COLUMNNAME_C_Element_ID, Integer.valueOf(C_Element_ID)); + } + + /** Get Element. + @return Accounting Element + */ + public int getC_Element_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Element_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ElementValue getC_ElementValue() throws Exception { Class clazz = MTable.getClass(I_C_ElementValue.Table_Name); @@ -333,44 +371,6 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } - public I_C_Element getC_Element() throws Exception - { - Class clazz = MTable.getClass(I_C_Element.Table_Name); - I_C_Element result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Element)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Element_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Element. - @param C_Element_ID - Accounting Element - */ - public void setC_Element_ID (int C_Element_ID) - { - if (C_Element_ID < 1) - throw new IllegalArgumentException ("C_Element_ID is mandatory."); - set_Value (COLUMNNAME_C_Element_ID, Integer.valueOf(C_Element_ID)); - } - - /** Get Element. - @return Accounting Element - */ - public int getC_Element_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Element_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Address. @param C_Location_ID Location or Address @@ -513,13 +513,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element public void setElementType (String ElementType) { if (ElementType == null) throw new IllegalArgumentException ("ElementType is mandatory"); - if (ElementType.equals("OO") || ElementType.equals("AC") || ElementType.equals("PR") || ElementType.equals("BP") || ElementType.equals("OT") || ElementType.equals("LF") || ElementType.equals("LT") || ElementType.equals("SR") || ElementType.equals("PJ") || ElementType.equals("MC") || ElementType.equals("U1") || ElementType.equals("U2") || ElementType.equals("AY") || ElementType.equals("SA") || ElementType.equals("X1") || ElementType.equals("X2")); else throw new IllegalArgumentException ("ElementType Invalid value - " + ElementType + " - Reference_ID=181 - OO - AC - PR - BP - OT - LF - LT - SR - PJ - MC - U1 - U2 - AY - SA - X1 - X2"); - if (ElementType.length() > 2) - { - log.warning("Length > 2 - truncated"); - ElementType = ElementType.substring(0, 2); - } - set_Value (COLUMNNAME_ElementType, ElementType); + if (ElementType.equals("OO") || ElementType.equals("AC") || ElementType.equals("PR") || ElementType.equals("BP") || ElementType.equals("OT") || ElementType.equals("LF") || ElementType.equals("LT") || ElementType.equals("SR") || ElementType.equals("PJ") || ElementType.equals("MC") || ElementType.equals("U1") || ElementType.equals("U2") || ElementType.equals("AY") || ElementType.equals("SA") || ElementType.equals("X1") || ElementType.equals("X2")); else throw new IllegalArgumentException ("ElementType Invalid value - " + ElementType + " - Reference_ID=181 - OO - AC - PR - BP - OT - LF - LT - SR - PJ - MC - U1 - U2 - AY - SA - X1 - X2"); set_Value (COLUMNNAME_ElementType, ElementType); } /** Get Type. @@ -622,12 +616,6 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_AcctSchema_GL.java b/base/src/org/compiere/model/X_C_AcctSchema_GL.java index 1407734cf1..3817eda589 100644 --- a/base/src/org/compiere/model/X_C_AcctSchema_GL.java +++ b/base/src/org/compiere/model/X_C_AcctSchema_GL.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema_GL * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persistent { @@ -41,8 +41,8 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis /** if (C_AcctSchema_GL_ID == 0) { setC_AcctSchema_ID (0); - setCommitmentOffsetSales_Acct (0); setCommitmentOffset_Acct (0); + setCommitmentOffsetSales_Acct (0); setIncomeSummary_Acct (0); setIntercompanyDueFrom_Acct (0); setIntercompanyDueTo_Acct (0); @@ -128,26 +128,6 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis return new KeyNamePair(get_ID(), String.valueOf(getC_AcctSchema_ID())); } - /** Set Commitment Offset Sales. - @param CommitmentOffsetSales_Acct - Budgetary Commitment Offset Account for Sales - */ - public void setCommitmentOffsetSales_Acct (int CommitmentOffsetSales_Acct) - { - set_Value (COLUMNNAME_CommitmentOffsetSales_Acct, Integer.valueOf(CommitmentOffsetSales_Acct)); - } - - /** Get Commitment Offset Sales. - @return Budgetary Commitment Offset Account for Sales - */ - public int getCommitmentOffsetSales_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CommitmentOffsetSales_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Commitment Offset. @param CommitmentOffset_Acct Budgetary Commitment Offset Account @@ -168,6 +148,26 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis return ii.intValue(); } + /** Set Commitment Offset Sales. + @param CommitmentOffsetSales_Acct + Budgetary Commitment Offset Account for Sales + */ + public void setCommitmentOffsetSales_Acct (int CommitmentOffsetSales_Acct) + { + set_Value (COLUMNNAME_CommitmentOffsetSales_Acct, Integer.valueOf(CommitmentOffsetSales_Acct)); + } + + /** Get Commitment Offset Sales. + @return Budgetary Commitment Offset Account for Sales + */ + public int getCommitmentOffsetSales_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CommitmentOffsetSales_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Currency Balancing Acct. @param CurrencyBalancing_Acct Account used when a currency is out of balance diff --git a/base/src/org/compiere/model/X_C_Activity.java b/base/src/org/compiere/model/X_C_Activity.java index 4ef2317ac8..af417f32e5 100644 --- a/base/src/org/compiere/model/X_C_Activity.java +++ b/base/src/org/compiere/model/X_C_Activity.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Activity * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent { @@ -101,12 +101,6 @@ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -124,12 +118,6 @@ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -173,12 +161,6 @@ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -206,12 +188,6 @@ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_AllocationHdr.java b/base/src/org/compiere/model/X_C_AllocationHdr.java index da1ff7e924..1bbd882f9d 100644 --- a/base/src/org/compiere/model/X_C_AllocationHdr.java +++ b/base/src/org/compiere/model/X_C_AllocationHdr.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AllocationHdr * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persistent { @@ -46,8 +46,8 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis setApprovalAmt (Env.ZERO); setC_AllocationHdr_ID (0); setC_Currency_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); - setDateTrx (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); setDocAction (null); // CO setDocStatus (null); @@ -214,12 +214,6 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -268,13 +262,7 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -318,13 +306,7 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -343,12 +325,6 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_C_AllocationLine.java b/base/src/org/compiere/model/X_C_AllocationLine.java index a52dd9fc56..8a73716569 100644 --- a/base/src/org/compiere/model/X_C_AllocationLine.java +++ b/base/src/org/compiere/model/X_C_AllocationLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AllocationLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_BP_BankAccount.java b/base/src/org/compiere/model/X_C_BP_BankAccount.java index adf4605a8d..6a4dd27168 100644 --- a/base/src/org/compiere/model/X_C_BP_BankAccount.java +++ b/base/src/org/compiere/model/X_C_BP_BankAccount.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_BankAccount * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Persistent { @@ -41,8 +41,8 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers /** if (C_BP_BankAccount_ID == 0) { setA_Name (null); - setC_BP_BankAccount_ID (0); setC_BPartner_ID (0); + setC_BP_BankAccount_ID (0); setIsACH (false); } */ } @@ -75,6 +75,57 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers return sb.toString(); } + /** Set Account No. + @param AccountNo + Account Number + */ + public void setAccountNo (String AccountNo) + { + set_Value (COLUMNNAME_AccountNo, AccountNo); + } + + /** Get Account No. + @return Account Number + */ + public String getAccountNo () + { + return (String)get_Value(COLUMNNAME_AccountNo); + } + + /** Set Account City. + @param A_City + City or the Credit Card or Account Holder + */ + public void setA_City (String A_City) + { + set_Value (COLUMNNAME_A_City, A_City); + } + + /** Get Account City. + @return City or the Credit Card or Account Holder + */ + public String getA_City () + { + return (String)get_Value(COLUMNNAME_A_City); + } + + /** Set Account Country. + @param A_Country + Country + */ + public void setA_Country (String A_Country) + { + set_Value (COLUMNNAME_A_Country, A_Country); + } + + /** Get Account Country. + @return Country + */ + public String getA_Country () + { + return (String)get_Value(COLUMNNAME_A_Country); + } + public I_AD_User getAD_User() throws Exception { Class clazz = MTable.getClass(I_AD_User.Table_Name); @@ -114,64 +165,12 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers return ii.intValue(); } - /** Set Account City. - @param A_City - City or the Credit Card or Account Holder - */ - public void setA_City (String A_City) - { - - if (A_City != null && A_City.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_City = A_City.substring(0, 60); - } - set_Value (COLUMNNAME_A_City, A_City); - } - - /** Get Account City. - @return City or the Credit Card or Account Holder - */ - public String getA_City () - { - return (String)get_Value(COLUMNNAME_A_City); - } - - /** Set Account Country. - @param A_Country - Country - */ - public void setA_Country (String A_Country) - { - - if (A_Country != null && A_Country.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_Country = A_Country.substring(0, 40); - } - set_Value (COLUMNNAME_A_Country, A_Country); - } - - /** Get Account Country. - @return Country - */ - public String getA_Country () - { - return (String)get_Value(COLUMNNAME_A_Country); - } - /** Set Account EMail. @param A_EMail Email Address */ public void setA_EMail (String A_EMail) { - - if (A_EMail != null && A_EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_EMail = A_EMail.substring(0, 60); - } set_Value (COLUMNNAME_A_EMail, A_EMail); } @@ -189,12 +188,6 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers */ public void setA_Ident_DL (String A_Ident_DL) { - - if (A_Ident_DL != null && A_Ident_DL.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Ident_DL = A_Ident_DL.substring(0, 20); - } set_Value (COLUMNNAME_A_Ident_DL, A_Ident_DL); } @@ -212,12 +205,6 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers */ public void setA_Ident_SSN (String A_Ident_SSN) { - - if (A_Ident_SSN != null && A_Ident_SSN.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Ident_SSN = A_Ident_SSN.substring(0, 20); - } set_Value (COLUMNNAME_A_Ident_SSN, A_Ident_SSN); } @@ -237,12 +224,6 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers { if (A_Name == null) throw new IllegalArgumentException ("A_Name is mandatory."); - - if (A_Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_Name = A_Name.substring(0, 60); - } set_Value (COLUMNNAME_A_Name, A_Name); } @@ -268,12 +249,6 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers */ public void setA_State (String A_State) { - - if (A_State != null && A_State.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_State = A_State.substring(0, 40); - } set_Value (COLUMNNAME_A_State, A_State); } @@ -291,12 +266,6 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers */ public void setA_Street (String A_Street) { - - if (A_Street != null && A_Street.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_Street = A_Street.substring(0, 60); - } set_Value (COLUMNNAME_A_Street, A_Street); } @@ -314,12 +283,6 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers */ public void setA_Zip (String A_Zip) { - - if (A_Zip != null && A_Zip.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Zip = A_Zip.substring(0, 20); - } set_Value (COLUMNNAME_A_Zip, A_Zip); } @@ -331,27 +294,28 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers return (String)get_Value(COLUMNNAME_A_Zip); } - /** Set Account No. - @param AccountNo - Account Number + /** BankAccountType AD_Reference_ID=216 */ + public static final int BANKACCOUNTTYPE_AD_Reference_ID=216; + /** Checking = C */ + public static final String BANKACCOUNTTYPE_Checking = "C"; + /** Savings = S */ + public static final String BANKACCOUNTTYPE_Savings = "S"; + /** Set Bank Account Type. + @param BankAccountType + Bank Account Type */ - public void setAccountNo (String AccountNo) + public void setBankAccountType (String BankAccountType) { - if (AccountNo != null && AccountNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - AccountNo = AccountNo.substring(0, 20); - } - set_Value (COLUMNNAME_AccountNo, AccountNo); + if (BankAccountType == null || BankAccountType.equals("C") || BankAccountType.equals("S")); else throw new IllegalArgumentException ("BankAccountType Invalid value - " + BankAccountType + " - Reference_ID=216 - C - S"); set_Value (COLUMNNAME_BankAccountType, BankAccountType); } - /** Get Account No. - @return Account Number + /** Get Bank Account Type. + @return Bank Account Type */ - public String getAccountNo () + public String getBankAccountType () { - return (String)get_Value(COLUMNNAME_AccountNo); + return (String)get_Value(COLUMNNAME_BankAccountType); } /** BPBankAcctUse AD_Reference_ID=393 */ @@ -371,13 +335,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers public void setBPBankAcctUse (String BPBankAcctUse) { - if (BPBankAcctUse == null || BPBankAcctUse.equals("N") || BPBankAcctUse.equals("B") || BPBankAcctUse.equals("D") || BPBankAcctUse.equals("T")); else throw new IllegalArgumentException ("BPBankAcctUse Invalid value - " + BPBankAcctUse + " - Reference_ID=393 - N - B - D - T"); - if (BPBankAcctUse != null && BPBankAcctUse.length() > 1) - { - log.warning("Length > 1 - truncated"); - BPBankAcctUse = BPBankAcctUse.substring(0, 1); - } - set_Value (COLUMNNAME_BPBankAcctUse, BPBankAcctUse); + if (BPBankAcctUse == null || BPBankAcctUse.equals("N") || BPBankAcctUse.equals("B") || BPBankAcctUse.equals("D") || BPBankAcctUse.equals("T")); else throw new IllegalArgumentException ("BPBankAcctUse Invalid value - " + BPBankAcctUse + " - Reference_ID=393 - N - B - D - T"); set_Value (COLUMNNAME_BPBankAcctUse, BPBankAcctUse); } /** Get Account Usage. @@ -388,53 +346,40 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers return (String)get_Value(COLUMNNAME_BPBankAcctUse); } - /** BankAccountType AD_Reference_ID=216 */ - public static final int BANKACCOUNTTYPE_AD_Reference_ID=216; - /** Checking = C */ - public static final String BANKACCOUNTTYPE_Checking = "C"; - /** Savings = S */ - public static final String BANKACCOUNTTYPE_Savings = "S"; - /** Set Bank Account Type. - @param BankAccountType - Bank Account Type - */ - public void setBankAccountType (String BankAccountType) - { + public I_C_Bank getC_Bank() throws Exception + { + Class clazz = MTable.getClass(I_C_Bank.Table_Name); + I_C_Bank result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Bank)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Bank_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } - if (BankAccountType == null || BankAccountType.equals("C") || BankAccountType.equals("S")); else throw new IllegalArgumentException ("BankAccountType Invalid value - " + BankAccountType + " - Reference_ID=216 - C - S"); - if (BankAccountType != null && BankAccountType.length() > 1) - { - log.warning("Length > 1 - truncated"); - BankAccountType = BankAccountType.substring(0, 1); - } - set_Value (COLUMNNAME_BankAccountType, BankAccountType); + /** Set Bank. + @param C_Bank_ID + Bank + */ + public void setC_Bank_ID (int C_Bank_ID) + { + if (C_Bank_ID < 1) + set_Value (COLUMNNAME_C_Bank_ID, null); + else + set_Value (COLUMNNAME_C_Bank_ID, Integer.valueOf(C_Bank_ID)); } - /** Get Bank Account Type. - @return Bank Account Type + /** Get Bank. + @return Bank */ - public String getBankAccountType () + public int getC_Bank_ID () { - return (String)get_Value(COLUMNNAME_BankAccountType); - } - - /** Set Partner Bank Account. - @param C_BP_BankAccount_ID - Bank Account of the Business Partner - */ - 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 (COLUMNNAME_C_BP_BankAccount_ID, Integer.valueOf(C_BP_BankAccount_ID)); - } - - /** Get Partner Bank Account. - @return Bank Account of the Business Partner - */ - public int getC_BP_BankAccount_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_BankAccount_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_Bank_ID); if (ii == null) return 0; return ii.intValue(); @@ -478,40 +423,23 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers return ii.intValue(); } - public I_C_Bank getC_Bank() throws Exception - { - Class clazz = MTable.getClass(I_C_Bank.Table_Name); - I_C_Bank result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Bank)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Bank_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Bank. - @param C_Bank_ID - Bank + /** Set Partner Bank Account. + @param C_BP_BankAccount_ID + Bank Account of the Business Partner */ - public void setC_Bank_ID (int C_Bank_ID) + public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID) { - if (C_Bank_ID < 1) - set_Value (COLUMNNAME_C_Bank_ID, null); - else - set_Value (COLUMNNAME_C_Bank_ID, Integer.valueOf(C_Bank_ID)); + if (C_BP_BankAccount_ID < 1) + throw new IllegalArgumentException ("C_BP_BankAccount_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_BP_BankAccount_ID, Integer.valueOf(C_BP_BankAccount_ID)); } - /** Get Bank. - @return Bank + /** Get Partner Bank Account. + @return Bank Account of the Business Partner */ - public int getC_Bank_ID () + public int getC_BP_BankAccount_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Bank_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_BankAccount_ID); if (ii == null) return 0; return ii.intValue(); @@ -563,12 +491,6 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers */ public void setCreditCardNumber (String CreditCardNumber) { - - if (CreditCardNumber != null && CreditCardNumber.length() > 20) - { - log.warning("Length > 20 - truncated"); - CreditCardNumber = CreditCardNumber.substring(0, 20); - } set_Value (COLUMNNAME_CreditCardNumber, CreditCardNumber); } @@ -603,13 +525,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers public void setCreditCardType (String CreditCardType) { - if (CreditCardType == null || CreditCardType.equals("A") || CreditCardType.equals("M") || CreditCardType.equals("V") || CreditCardType.equals("C") || CreditCardType.equals("D") || CreditCardType.equals("N") || CreditCardType.equals("P")); else throw new IllegalArgumentException ("CreditCardType Invalid value - " + CreditCardType + " - Reference_ID=149 - A - M - V - C - D - N - P"); - if (CreditCardType != null && CreditCardType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreditCardType = CreditCardType.substring(0, 1); - } - set_Value (COLUMNNAME_CreditCardType, CreditCardType); + if (CreditCardType == null || CreditCardType.equals("A") || CreditCardType.equals("M") || CreditCardType.equals("V") || CreditCardType.equals("C") || CreditCardType.equals("D") || CreditCardType.equals("N") || CreditCardType.equals("P")); else throw new IllegalArgumentException ("CreditCardType Invalid value - " + CreditCardType + " - Reference_ID=149 - A - M - V - C - D - N - P"); set_Value (COLUMNNAME_CreditCardType, CreditCardType); } /** Get Credit Card. @@ -626,12 +542,6 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers */ public void setCreditCardVV (String CreditCardVV) { - - if (CreditCardVV != null && CreditCardVV.length() > 4) - { - log.warning("Length > 4 - truncated"); - CreditCardVV = CreditCardVV.substring(0, 4); - } set_Value (COLUMNNAME_CreditCardVV, CreditCardVV); } @@ -682,13 +592,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers public void setR_AvsAddr (String R_AvsAddr) { - if (R_AvsAddr == null || R_AvsAddr.equals("Y") || R_AvsAddr.equals("N") || R_AvsAddr.equals("X")); else throw new IllegalArgumentException ("R_AvsAddr Invalid value - " + R_AvsAddr + " - Reference_ID=213 - Y - N - X"); - if (R_AvsAddr != null && R_AvsAddr.length() > 1) - { - log.warning("Length > 1 - truncated"); - R_AvsAddr = R_AvsAddr.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_R_AvsAddr, R_AvsAddr); + if (R_AvsAddr == null || R_AvsAddr.equals("Y") || R_AvsAddr.equals("N") || R_AvsAddr.equals("X")); else throw new IllegalArgumentException ("R_AvsAddr Invalid value - " + R_AvsAddr + " - Reference_ID=213 - Y - N - X"); set_ValueNoCheck (COLUMNNAME_R_AvsAddr, R_AvsAddr); } /** Get Address verified. @@ -714,13 +618,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers public void setR_AvsZip (String R_AvsZip) { - if (R_AvsZip == null || R_AvsZip.equals("Y") || R_AvsZip.equals("N") || R_AvsZip.equals("X")); else throw new IllegalArgumentException ("R_AvsZip Invalid value - " + R_AvsZip + " - Reference_ID=213 - Y - N - X"); - if (R_AvsZip != null && R_AvsZip.length() > 1) - { - log.warning("Length > 1 - truncated"); - R_AvsZip = R_AvsZip.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_R_AvsZip, R_AvsZip); + if (R_AvsZip == null || R_AvsZip.equals("Y") || R_AvsZip.equals("N") || R_AvsZip.equals("X")); else throw new IllegalArgumentException ("R_AvsZip Invalid value - " + R_AvsZip + " - Reference_ID=213 - Y - N - X"); set_ValueNoCheck (COLUMNNAME_R_AvsZip, R_AvsZip); } /** Get Zip verified. @@ -737,12 +635,6 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers */ public void setRoutingNo (String RoutingNo) { - - if (RoutingNo != null && RoutingNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - RoutingNo = RoutingNo.substring(0, 20); - } set_Value (COLUMNNAME_RoutingNo, RoutingNo); } diff --git a/base/src/org/compiere/model/X_C_BP_Customer_Acct.java b/base/src/org/compiere/model/X_C_BP_Customer_Acct.java index e2a265ce97..fba18e1eea 100644 --- a/base/src/org/compiere/model/X_C_BP_Customer_Acct.java +++ b/base/src/org/compiere/model/X_C_BP_Customer_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BP_Customer_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_BP_EDI.java b/base/src/org/compiere/model/X_C_BP_EDI.java index 1cf06a9d91..444297ca23 100644 --- a/base/src/org/compiere/model/X_C_BP_EDI.java +++ b/base/src/org/compiere/model/X_C_BP_EDI.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_EDI * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent { @@ -41,8 +41,8 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent /** if (C_BP_EDI_ID == 0) { setAD_Sequence_ID (0); - setC_BP_EDI_ID (0); setC_BPartner_ID (0); + setC_BP_EDI_ID (0); setCustomerNo (null); setEDIType (null); setEMail_Error_To (null); @@ -110,28 +110,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent return ii.intValue(); } - /** Set EDI Definition. - @param C_BP_EDI_ID - Electronic Data Interchange - */ - 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 (COLUMNNAME_C_BP_EDI_ID, Integer.valueOf(C_BP_EDI_ID)); - } - - /** Get EDI Definition. - @return Electronic Data Interchange - */ - public int getC_BP_EDI_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_EDI_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -170,6 +148,28 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent return ii.intValue(); } + /** Set EDI Definition. + @param C_BP_EDI_ID + Electronic Data Interchange + */ + 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 (COLUMNNAME_C_BP_EDI_ID, Integer.valueOf(C_BP_EDI_ID)); + } + + /** Get EDI Definition. + @return Electronic Data Interchange + */ + public int getC_BP_EDI_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_EDI_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Customer No. @param CustomerNo EDI Identification Number @@ -178,12 +178,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent { if (CustomerNo == null) throw new IllegalArgumentException ("CustomerNo is mandatory."); - - if (CustomerNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - CustomerNo = CustomerNo.substring(0, 20); - } set_Value (COLUMNNAME_CustomerNo, CustomerNo); } @@ -201,12 +195,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -231,13 +219,7 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent public void setEDIType (String EDIType) { if (EDIType == null) throw new IllegalArgumentException ("EDIType is mandatory"); - if (EDIType.equals("X") || EDIType.equals("E") || EDIType.equals("M")); else throw new IllegalArgumentException ("EDIType Invalid value - " + EDIType + " - Reference_ID=201 - X - E - M"); - if (EDIType.length() > 1) - { - log.warning("Length > 1 - truncated"); - EDIType = EDIType.substring(0, 1); - } - set_Value (COLUMNNAME_EDIType, EDIType); + if (EDIType.equals("X") || EDIType.equals("E") || EDIType.equals("M")); else throw new IllegalArgumentException ("EDIType Invalid value - " + EDIType + " - Reference_ID=201 - X - E - M"); set_Value (COLUMNNAME_EDIType, EDIType); } /** Get EDI Type. @@ -255,12 +237,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent { if (EMail_Error_To == null) throw new IllegalArgumentException ("EMail_Error_To is mandatory."); - - if (EMail_Error_To.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail_Error_To = EMail_Error_To.substring(0, 60); - } set_Value (COLUMNNAME_EMail_Error_To, EMail_Error_To); } @@ -278,12 +254,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent */ public void setEMail_From (String EMail_From) { - - if (EMail_From != null && EMail_From.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail_From = EMail_From.substring(0, 60); - } set_Value (COLUMNNAME_EMail_From, EMail_From); } @@ -301,12 +271,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent */ public void setEMail_From_Pwd (String EMail_From_Pwd) { - - if (EMail_From_Pwd != null && EMail_From_Pwd.length() > 20) - { - log.warning("Length > 20 - truncated"); - EMail_From_Pwd = EMail_From_Pwd.substring(0, 20); - } set_Value (COLUMNNAME_EMail_From_Pwd, EMail_From_Pwd); } @@ -324,12 +288,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent */ public void setEMail_From_Uid (String EMail_From_Uid) { - - if (EMail_From_Uid != null && EMail_From_Uid.length() > 20) - { - log.warning("Length > 20 - truncated"); - EMail_From_Uid = EMail_From_Uid.substring(0, 20); - } set_Value (COLUMNNAME_EMail_From_Uid, EMail_From_Uid); } @@ -349,12 +307,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent { if (EMail_Info_To == null) throw new IllegalArgumentException ("EMail_Info_To is mandatory."); - - if (EMail_Info_To.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail_Info_To = EMail_Info_To.substring(0, 60); - } set_Value (COLUMNNAME_EMail_Info_To, EMail_Info_To); } @@ -372,12 +324,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent */ public void setEMail_To (String EMail_To) { - - if (EMail_To != null && EMail_To.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail_To = EMail_To.substring(0, 60); - } set_Value (COLUMNNAME_EMail_To, EMail_To); } @@ -483,12 +429,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_BP_Employee_Acct.java b/base/src/org/compiere/model/X_C_BP_Employee_Acct.java index 303223dc01..64ad7b8977 100644 --- a/base/src/org/compiere/model/X_C_BP_Employee_Acct.java +++ b/base/src/org/compiere/model/X_C_BP_Employee_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BP_Employee_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_BP_Group.java b/base/src/org/compiere/model/X_C_BP_Group.java index f7affd0d73..58f345e2d6 100644 --- a/base/src/org/compiere/model/X_C_BP_Group.java +++ b/base/src/org/compiere/model/X_C_BP_Group.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_Group * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent { @@ -205,12 +205,6 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -342,12 +336,6 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -452,13 +440,7 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent public void setPriorityBase (String PriorityBase) { - if (PriorityBase == null || PriorityBase.equals("S") || PriorityBase.equals("L") || PriorityBase.equals("H")); else throw new IllegalArgumentException ("PriorityBase Invalid value - " + PriorityBase + " - Reference_ID=350 - S - L - H"); - if (PriorityBase != null && PriorityBase.length() > 1) - { - log.warning("Length > 1 - truncated"); - PriorityBase = PriorityBase.substring(0, 1); - } - set_Value (COLUMNNAME_PriorityBase, PriorityBase); + if (PriorityBase == null || PriorityBase.equals("S") || PriorityBase.equals("L") || PriorityBase.equals("H")); else throw new IllegalArgumentException ("PriorityBase Invalid value - " + PriorityBase + " - Reference_ID=350 - S - L - H"); set_Value (COLUMNNAME_PriorityBase, PriorityBase); } /** Get Priority Base. @@ -477,12 +459,6 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_BP_Group_Acct.java b/base/src/org/compiere/model/X_C_BP_Group_Acct.java index 9a4abd608e..9c073a6c78 100644 --- a/base/src/org/compiere/model/X_C_BP_Group_Acct.java +++ b/base/src/org/compiere/model/X_C_BP_Group_Acct.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_Group_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_BP_Relation.java b/base/src/org/compiere/model/X_C_BP_Relation.java index 2acdfae1d6..b0d603bbbc 100644 --- a/base/src/org/compiere/model/X_C_BP_Relation.java +++ b/base/src/org/compiere/model/X_C_BP_Relation.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_Relation * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent { @@ -40,10 +40,10 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent super (ctx, C_BP_Relation_ID, trxName); /** if (C_BP_Relation_ID == 0) { - setC_BP_Relation_ID (0); + setC_BPartner_ID (0); setC_BPartnerRelation_ID (0); setC_BPartnerRelation_Location_ID (0); - setC_BPartner_ID (0); + setC_BP_Relation_ID (0); setIsBillTo (false); setIsPayFrom (false); setIsRemitTo (false); @@ -81,76 +81,6 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent return sb.toString(); } - /** Set Partner Relation. - @param C_BP_Relation_ID - Business Partner Relation - */ - 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 (COLUMNNAME_C_BP_Relation_ID, Integer.valueOf(C_BP_Relation_ID)); - } - - /** Get Partner Relation. - @return Business Partner Relation - */ - public int getC_BP_Relation_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Relation_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** C_BPartnerRelation_ID AD_Reference_ID=138 */ - public static final int C_BPARTNERRELATION_ID_AD_Reference_ID=138; - /** Set Related Partner. - @param C_BPartnerRelation_ID - Related Business Partner - */ - public void setC_BPartnerRelation_ID (int C_BPartnerRelation_ID) - { - if (C_BPartnerRelation_ID < 1) - throw new IllegalArgumentException ("C_BPartnerRelation_ID is mandatory."); - set_Value (COLUMNNAME_C_BPartnerRelation_ID, Integer.valueOf(C_BPartnerRelation_ID)); - } - - /** Get Related Partner. - @return Related Business Partner - */ - public int getC_BPartnerRelation_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerRelation_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** C_BPartnerRelation_Location_ID AD_Reference_ID=159 */ - public static final int C_BPARTNERRELATION_LOCATION_ID_AD_Reference_ID=159; - /** Set Related Partner Location. - @param C_BPartnerRelation_Location_ID - Location of the related Business Partner - */ - 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 (COLUMNNAME_C_BPartnerRelation_Location_ID, Integer.valueOf(C_BPartnerRelation_Location_ID)); - } - - /** Get Related Partner Location. - @return Location of the related Business Partner - */ - public int getC_BPartnerRelation_Location_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerRelation_Location_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -228,18 +158,82 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent return ii.intValue(); } + /** C_BPartnerRelation_ID AD_Reference_ID=138 */ + public static final int C_BPARTNERRELATION_ID_AD_Reference_ID=138; + /** Set Related Partner. + @param C_BPartnerRelation_ID + Related Business Partner + */ + public void setC_BPartnerRelation_ID (int C_BPartnerRelation_ID) + { + if (C_BPartnerRelation_ID < 1) + throw new IllegalArgumentException ("C_BPartnerRelation_ID is mandatory."); + set_Value (COLUMNNAME_C_BPartnerRelation_ID, Integer.valueOf(C_BPartnerRelation_ID)); + } + + /** Get Related Partner. + @return Related Business Partner + */ + public int getC_BPartnerRelation_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerRelation_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** C_BPartnerRelation_Location_ID AD_Reference_ID=159 */ + public static final int C_BPARTNERRELATION_LOCATION_ID_AD_Reference_ID=159; + /** Set Related Partner Location. + @param C_BPartnerRelation_Location_ID + Location of the related Business Partner + */ + 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 (COLUMNNAME_C_BPartnerRelation_Location_ID, Integer.valueOf(C_BPartnerRelation_Location_ID)); + } + + /** Get Related Partner Location. + @return Location of the related Business Partner + */ + public int getC_BPartnerRelation_Location_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerRelation_Location_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Partner Relation. + @param C_BP_Relation_ID + Business Partner Relation + */ + 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 (COLUMNNAME_C_BP_Relation_ID, Integer.valueOf(C_BP_Relation_ID)); + } + + /** Get Partner Relation. + @return Business Partner Relation + */ + public int getC_BP_Relation_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Relation_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -355,12 +349,6 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_BP_Vendor_Acct.java b/base/src/org/compiere/model/X_C_BP_Vendor_Acct.java index f1b0d1c8fc..a3c520d012 100644 --- a/base/src/org/compiere/model/X_C_BP_Vendor_Acct.java +++ b/base/src/org/compiere/model/X_C_BP_Vendor_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BP_Vendor_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_BP_Withholding.java b/base/src/org/compiere/model/X_C_BP_Withholding.java index adca816622..6d2aa9c78b 100644 --- a/base/src/org/compiere/model/X_C_BP_Withholding.java +++ b/base/src/org/compiere/model/X_C_BP_Withholding.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BP_Withholding * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Persistent { @@ -156,12 +156,6 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers */ public void setExemptReason (String ExemptReason) { - - if (ExemptReason != null && ExemptReason.length() > 20) - { - log.warning("Length > 20 - truncated"); - ExemptReason = ExemptReason.substring(0, 20); - } set_Value (COLUMNNAME_ExemptReason, ExemptReason); } diff --git a/base/src/org/compiere/model/X_C_BPartner.java b/base/src/org/compiere/model/X_C_BPartner.java index 4492860f52..a795b20a02 100644 --- a/base/src/org/compiere/model/X_C_BPartner.java +++ b/base/src/org/compiere/model/X_C_BPartner.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BPartner * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent { @@ -43,8 +43,8 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent super (ctx, C_BPartner_ID, trxName); /** if (C_BPartner_ID == 0) { - setC_BP_Group_ID (0); setC_BPartner_ID (0); + setC_BP_Group_ID (0); setIsCustomer (false); setIsEmployee (false); setIsOneTime (false); @@ -53,9 +53,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent setIsSummary (false); setIsVendor (false); setName (null); + setSendEMail (false); setSO_CreditLimit (Env.ZERO); setSO_CreditUsed (Env.ZERO); - setSendEMail (false); setValue (null); } */ } @@ -88,54 +88,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return sb.toString(); } - /** AD_Language AD_Reference_ID=327 */ - public static final int AD_LANGUAGE_AD_Reference_ID=327; - /** Set Language. - @param AD_Language - Language for this entity - */ - public void setAD_Language (String AD_Language) - { - - if (AD_Language != null && AD_Language.length() > 6) - { - log.warning("Length > 6 - truncated"); - AD_Language = AD_Language.substring(0, 6); - } - set_Value (COLUMNNAME_AD_Language, AD_Language); - } - - /** Get Language. - @return Language for this entity - */ - public String getAD_Language () - { - return (String)get_Value(COLUMNNAME_AD_Language); - } - - /** Set Linked Organization. - @param AD_OrgBP_ID - The Business Partner is another Organization for explicit Inter-Org transactions - */ - public void setAD_OrgBP_ID (String AD_OrgBP_ID) - { - - if (AD_OrgBP_ID != null && AD_OrgBP_ID.length() > 22) - { - log.warning("Length > 22 - truncated"); - AD_OrgBP_ID = AD_OrgBP_ID.substring(0, 22); - } - set_Value (COLUMNNAME_AD_OrgBP_ID, AD_OrgBP_ID); - } - - /** Get Linked Organization. - @return The Business Partner is another Organization for explicit Inter-Org transactions - */ - public String getAD_OrgBP_ID () - { - return (String)get_Value(COLUMNNAME_AD_OrgBP_ID); - } - /** Set Acquisition Cost. @param AcqusitionCost The cost of gaining the prospect as a customer @@ -176,6 +128,42 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return bd; } + /** AD_Language AD_Reference_ID=327 */ + public static final int AD_LANGUAGE_AD_Reference_ID=327; + /** Set Language. + @param AD_Language + Language for this entity + */ + public void setAD_Language (String AD_Language) + { + set_Value (COLUMNNAME_AD_Language, AD_Language); + } + + /** Get Language. + @return Language for this entity + */ + public String getAD_Language () + { + return (String)get_Value(COLUMNNAME_AD_Language); + } + + /** Set Linked Organization. + @param AD_OrgBP_ID + The Business Partner is another Organization for explicit Inter-Org transactions + */ + public void setAD_OrgBP_ID (String AD_OrgBP_ID) + { + set_Value (COLUMNNAME_AD_OrgBP_ID, AD_OrgBP_ID); + } + + /** Get Linked Organization. + @return The Business Partner is another Organization for explicit Inter-Org transactions + */ + public String getAD_OrgBP_ID () + { + return (String)get_Value(COLUMNNAME_AD_OrgBP_ID); + } + /** Set Partner Parent. @param BPartner_Parent_ID Business Partner Parent @@ -199,6 +187,28 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } + /** Set Business Partner . + @param C_BPartner_ID + Identifies a Business Partner + */ + public void setC_BPartner_ID (int C_BPartner_ID) + { + if (C_BPartner_ID < 1) + throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID)); + } + + /** Get Business Partner . + @return Identifies a Business Partner + */ + public int getC_BPartner_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_BP_Group getC_BP_Group() throws Exception { Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); @@ -237,28 +247,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - /** Set Business Partner . - @param C_BPartner_ID - Identifies a Business Partner - */ - public void setC_BPartner_ID (int C_BPartner_ID) - { - if (C_BPartner_ID < 1) - throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID)); - } - - /** Get Business Partner . - @return Identifies a Business Partner - */ - public int getC_BPartner_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Dunning getC_Dunning() throws Exception { Class clazz = MTable.getClass(I_C_Dunning.Table_Name); @@ -451,29 +439,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - /** Set D-U-N-S. - @param DUNS - Dun & Bradstreet Number - */ - public void setDUNS (String DUNS) - { - - if (DUNS != null && DUNS.length() > 11) - { - log.warning("Length > 11 - truncated"); - DUNS = DUNS.substring(0, 11); - } - set_Value (COLUMNNAME_DUNS, DUNS); - } - - /** Get D-U-N-S. - @return Dun & Bradstreet Number - */ - public String getDUNS () - { - return (String)get_Value(COLUMNNAME_DUNS); - } - /** DeliveryRule AD_Reference_ID=151 */ public static final int DELIVERYRULE_AD_Reference_ID=151; /** After Receipt = R */ @@ -495,13 +460,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public void setDeliveryRule (String DeliveryRule) { - if (DeliveryRule == null || DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); - if (DeliveryRule != null && DeliveryRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryRule = DeliveryRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); + if (DeliveryRule == null || DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); } /** Get Delivery Rule. @@ -527,13 +486,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public void setDeliveryViaRule (String DeliveryViaRule) { - if (DeliveryViaRule == null || DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); - if (DeliveryViaRule != null && DeliveryViaRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryViaRule = DeliveryViaRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); + if (DeliveryViaRule == null || DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); } /** Get Delivery Via. @@ -550,12 +503,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -601,6 +548,23 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return (Timestamp)get_Value(COLUMNNAME_DunningGrace); } + /** Set D-U-N-S. + @param DUNS + Dun & Bradstreet Number + */ + public void setDUNS (String DUNS) + { + set_Value (COLUMNNAME_DUNS, DUNS); + } + + /** Get D-U-N-S. + @return Dun & Bradstreet Number + */ + public String getDUNS () + { + return (String)get_Value(COLUMNNAME_DUNS); + } + /** Set First Sale. @param FirstSale Date of First Sale @@ -655,13 +619,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public void setFreightCostRule (String FreightCostRule) { - if (FreightCostRule == null || FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); - if (FreightCostRule != null && FreightCostRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - FreightCostRule = FreightCostRule.substring(0, 1); - } - set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); + if (FreightCostRule == null || FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); } /** Get Freight Cost Rule. @@ -672,40 +630,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_FreightCostRule); } - /** InvoiceRule AD_Reference_ID=150 */ - public static final int INVOICERULE_AD_Reference_ID=150; - /** After Order delivered = O */ - public static final String INVOICERULE_AfterOrderDelivered = "O"; - /** After Delivery = D */ - public static final String INVOICERULE_AfterDelivery = "D"; - /** Customer Schedule after Delivery = S */ - public static final String INVOICERULE_CustomerScheduleAfterDelivery = "S"; - /** Immediate = I */ - public static final String INVOICERULE_Immediate = "I"; - /** Set Invoice Rule. - @param InvoiceRule - Frequency and method of invoicing - */ - public void setInvoiceRule (String InvoiceRule) - { - - if (InvoiceRule == null || InvoiceRule.equals("O") || InvoiceRule.equals("D") || InvoiceRule.equals("S") || InvoiceRule.equals("I")); else throw new IllegalArgumentException ("InvoiceRule Invalid value - " + InvoiceRule + " - Reference_ID=150 - O - D - S - I"); - if (InvoiceRule != null && InvoiceRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - InvoiceRule = InvoiceRule.substring(0, 1); - } - set_Value (COLUMNNAME_InvoiceRule, InvoiceRule); - } - - /** Get Invoice Rule. - @return Frequency and method of invoicing - */ - public String getInvoiceRule () - { - return (String)get_Value(COLUMNNAME_InvoiceRule); - } - /** Invoice_PrintFormat_ID AD_Reference_ID=261 */ public static final int INVOICE_PRINTFORMAT_ID_AD_Reference_ID=261; /** Set Invoice Print Format. @@ -731,6 +655,34 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } + /** InvoiceRule AD_Reference_ID=150 */ + public static final int INVOICERULE_AD_Reference_ID=150; + /** After Order delivered = O */ + public static final String INVOICERULE_AfterOrderDelivered = "O"; + /** After Delivery = D */ + public static final String INVOICERULE_AfterDelivery = "D"; + /** Customer Schedule after Delivery = S */ + public static final String INVOICERULE_CustomerScheduleAfterDelivery = "S"; + /** Immediate = I */ + public static final String INVOICERULE_Immediate = "I"; + /** Set Invoice Rule. + @param InvoiceRule + Frequency and method of invoicing + */ + public void setInvoiceRule (String InvoiceRule) + { + + if (InvoiceRule == null || InvoiceRule.equals("O") || InvoiceRule.equals("D") || InvoiceRule.equals("S") || InvoiceRule.equals("I")); else throw new IllegalArgumentException ("InvoiceRule Invalid value - " + InvoiceRule + " - Reference_ID=150 - O - D - S - I"); set_Value (COLUMNNAME_InvoiceRule, InvoiceRule); + } + + /** Get Invoice Rule. + @return Frequency and method of invoicing + */ + public String getInvoiceRule () + { + return (String)get_Value(COLUMNNAME_InvoiceRule); + } + /** Set Customer. @param IsCustomer Indicates if this Business Partner is a Customer @@ -1014,12 +966,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent */ public void setNAICS (String NAICS) { - - if (NAICS != null && NAICS.length() > 6) - { - log.warning("Length > 6 - truncated"); - NAICS = NAICS.substring(0, 6); - } set_Value (COLUMNNAME_NAICS, NAICS); } @@ -1039,12 +985,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1070,12 +1010,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent */ public void setName2 (String Name2) { - - if (Name2 != null && Name2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name2 = Name2.substring(0, 60); - } set_Value (COLUMNNAME_Name2, Name2); } @@ -1107,27 +1041,68 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - /** Set Order Reference. - @param POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + /** PaymentRule AD_Reference_ID=195 */ + public static final int PAYMENTRULE_AD_Reference_ID=195; + /** Cash = B */ + public static final String PAYMENTRULE_Cash = "B"; + /** Credit Card = K */ + public static final String PAYMENTRULE_CreditCard = "K"; + /** Direct Deposit = T */ + public static final String PAYMENTRULE_DirectDeposit = "T"; + /** Check = S */ + public static final String PAYMENTRULE_Check = "S"; + /** On Credit = P */ + public static final String PAYMENTRULE_OnCredit = "P"; + /** Direct Debit = D */ + public static final String PAYMENTRULE_DirectDebit = "D"; + /** Set Payment Rule. + @param PaymentRule + How you pay the invoice */ - public void setPOReference (String POReference) + public void setPaymentRule (String PaymentRule) { - if (POReference != null && POReference.length() > 20) - { - log.warning("Length > 20 - truncated"); - POReference = POReference.substring(0, 20); - } - set_Value (COLUMNNAME_POReference, POReference); + if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } - /** Get Order Reference. - @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + /** Get Payment Rule. + @return How you pay the invoice */ - public String getPOReference () + public String getPaymentRule () { - return (String)get_Value(COLUMNNAME_POReference); + return (String)get_Value(COLUMNNAME_PaymentRule); + } + + /** PaymentRulePO AD_Reference_ID=195 */ + public static final int PAYMENTRULEPO_AD_Reference_ID=195; + /** Cash = B */ + public static final String PAYMENTRULEPO_Cash = "B"; + /** Credit Card = K */ + public static final String PAYMENTRULEPO_CreditCard = "K"; + /** Direct Deposit = T */ + public static final String PAYMENTRULEPO_DirectDeposit = "T"; + /** Check = S */ + public static final String PAYMENTRULEPO_Check = "S"; + /** On Credit = P */ + public static final String PAYMENTRULEPO_OnCredit = "P"; + /** Direct Debit = D */ + public static final String PAYMENTRULEPO_DirectDebit = "D"; + /** Set Payment Rule. + @param PaymentRulePO + Purchase payment option + */ + public void setPaymentRulePO (String PaymentRulePO) + { + + if (PaymentRulePO == null || PaymentRulePO.equals("B") || PaymentRulePO.equals("K") || PaymentRulePO.equals("T") || PaymentRulePO.equals("S") || PaymentRulePO.equals("P") || PaymentRulePO.equals("D")); else throw new IllegalArgumentException ("PaymentRulePO Invalid value - " + PaymentRulePO + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRulePO, PaymentRulePO); + } + + /** Get Payment Rule. + @return Purchase payment option + */ + public String getPaymentRulePO () + { + return (String)get_Value(COLUMNNAME_PaymentRulePO); } /** PO_DiscountSchema_ID AD_Reference_ID=325 */ @@ -1205,80 +1180,21 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - /** PaymentRule AD_Reference_ID=195 */ - public static final int PAYMENTRULE_AD_Reference_ID=195; - /** Cash = B */ - public static final String PAYMENTRULE_Cash = "B"; - /** Credit Card = K */ - public static final String PAYMENTRULE_CreditCard = "K"; - /** Direct Deposit = T */ - public static final String PAYMENTRULE_DirectDeposit = "T"; - /** Check = S */ - public static final String PAYMENTRULE_Check = "S"; - /** On Credit = P */ - public static final String PAYMENTRULE_OnCredit = "P"; - /** Direct Debit = D */ - public static final String PAYMENTRULE_DirectDebit = "D"; - /** Set Payment Rule. - @param PaymentRule - How you pay the invoice + /** Set Order Reference. + @param POReference + Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public void setPaymentRule (String PaymentRule) + public void setPOReference (String POReference) { - - if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRule != null && PaymentRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRule = PaymentRule.substring(0, 1); - } - set_Value (COLUMNNAME_PaymentRule, PaymentRule); + set_Value (COLUMNNAME_POReference, POReference); } - /** Get Payment Rule. - @return How you pay the invoice + /** Get Order Reference. + @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public String getPaymentRule () + public String getPOReference () { - return (String)get_Value(COLUMNNAME_PaymentRule); - } - - /** PaymentRulePO AD_Reference_ID=195 */ - public static final int PAYMENTRULEPO_AD_Reference_ID=195; - /** Cash = B */ - public static final String PAYMENTRULEPO_Cash = "B"; - /** Credit Card = K */ - public static final String PAYMENTRULEPO_CreditCard = "K"; - /** Direct Deposit = T */ - public static final String PAYMENTRULEPO_DirectDeposit = "T"; - /** Check = S */ - public static final String PAYMENTRULEPO_Check = "S"; - /** On Credit = P */ - public static final String PAYMENTRULEPO_OnCredit = "P"; - /** Direct Debit = D */ - public static final String PAYMENTRULEPO_DirectDebit = "D"; - /** Set Payment Rule. - @param PaymentRulePO - Purchase payment option - */ - public void setPaymentRulePO (String PaymentRulePO) - { - - if (PaymentRulePO == null || PaymentRulePO.equals("B") || PaymentRulePO.equals("K") || PaymentRulePO.equals("T") || PaymentRulePO.equals("S") || PaymentRulePO.equals("P") || PaymentRulePO.equals("D")); else throw new IllegalArgumentException ("PaymentRulePO Invalid value - " + PaymentRulePO + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRulePO != null && PaymentRulePO.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRulePO = PaymentRulePO.substring(0, 1); - } - set_Value (COLUMNNAME_PaymentRulePO, PaymentRulePO); - } - - /** Get Payment Rule. - @return Purchase payment option - */ - public String getPaymentRulePO () - { - return (String)get_Value(COLUMNNAME_PaymentRulePO); + return (String)get_Value(COLUMNNAME_POReference); } /** Set Potential Life Time Value. @@ -1307,12 +1223,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent */ public void setRating (String Rating) { - - if (Rating != null && Rating.length() > 1) - { - log.warning("Length > 1 - truncated"); - Rating = Rating.substring(0, 1); - } set_Value (COLUMNNAME_Rating, Rating); } @@ -1330,12 +1240,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent */ public void setReferenceNo (String ReferenceNo) { - - if (ReferenceNo != null && ReferenceNo.length() > 40) - { - log.warning("Length > 40 - truncated"); - ReferenceNo = ReferenceNo.substring(0, 40); - } set_Value (COLUMNNAME_ReferenceNo, ReferenceNo); } @@ -1347,109 +1251,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_ReferenceNo); } - /** SOCreditStatus AD_Reference_ID=289 */ - public static final int SOCREDITSTATUS_AD_Reference_ID=289; - /** Credit Stop = S */ - public static final String SOCREDITSTATUS_CreditStop = "S"; - /** Credit Hold = H */ - public static final String SOCREDITSTATUS_CreditHold = "H"; - /** Credit Watch = W */ - public static final String SOCREDITSTATUS_CreditWatch = "W"; - /** No Credit Check = X */ - public static final String SOCREDITSTATUS_NoCreditCheck = "X"; - /** Credit OK = O */ - public static final String SOCREDITSTATUS_CreditOK = "O"; - /** Set Credit Status. - @param SOCreditStatus - Business Partner Credit Status - */ - public void setSOCreditStatus (String SOCreditStatus) - { - - if (SOCreditStatus == null || SOCreditStatus.equals("S") || SOCreditStatus.equals("H") || SOCreditStatus.equals("W") || SOCreditStatus.equals("X") || SOCreditStatus.equals("O")); else throw new IllegalArgumentException ("SOCreditStatus Invalid value - " + SOCreditStatus + " - Reference_ID=289 - S - H - W - X - O"); - if (SOCreditStatus != null && SOCreditStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - SOCreditStatus = SOCreditStatus.substring(0, 1); - } - set_Value (COLUMNNAME_SOCreditStatus, SOCreditStatus); - } - - /** Get Credit Status. - @return Business Partner Credit Status - */ - public String getSOCreditStatus () - { - return (String)get_Value(COLUMNNAME_SOCreditStatus); - } - - /** Set Credit Limit. - @param SO_CreditLimit - Total outstanding invoice amounts allowed - */ - public void setSO_CreditLimit (BigDecimal SO_CreditLimit) - { - if (SO_CreditLimit == null) - throw new IllegalArgumentException ("SO_CreditLimit is mandatory."); - set_Value (COLUMNNAME_SO_CreditLimit, SO_CreditLimit); - } - - /** Get Credit Limit. - @return Total outstanding invoice amounts allowed - */ - public BigDecimal getSO_CreditLimit () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditLimit); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Credit Used. - @param SO_CreditUsed - Current open balance - */ - public void setSO_CreditUsed (BigDecimal SO_CreditUsed) - { - if (SO_CreditUsed == null) - throw new IllegalArgumentException ("SO_CreditUsed is mandatory."); - set_ValueNoCheck (COLUMNNAME_SO_CreditUsed, SO_CreditUsed); - } - - /** Get Credit Used. - @return Current open balance - */ - public BigDecimal getSO_CreditUsed () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditUsed); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Order Description. - @param SO_Description - Description to be used on orders - */ - public void setSO_Description (String SO_Description) - { - - if (SO_Description != null && SO_Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - SO_Description = SO_Description.substring(0, 255); - } - set_Value (COLUMNNAME_SO_Description, SO_Description); - } - - /** Get Order Description. - @return Description to be used on orders - */ - public String getSO_Description () - { - return (String)get_Value(COLUMNNAME_SO_Description); - } - /** SalesRep_ID AD_Reference_ID=190 */ public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @@ -1559,18 +1360,103 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } + /** Set Credit Limit. + @param SO_CreditLimit + Total outstanding invoice amounts allowed + */ + public void setSO_CreditLimit (BigDecimal SO_CreditLimit) + { + if (SO_CreditLimit == null) + throw new IllegalArgumentException ("SO_CreditLimit is mandatory."); + set_Value (COLUMNNAME_SO_CreditLimit, SO_CreditLimit); + } + + /** Get Credit Limit. + @return Total outstanding invoice amounts allowed + */ + public BigDecimal getSO_CreditLimit () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditLimit); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** SOCreditStatus AD_Reference_ID=289 */ + public static final int SOCREDITSTATUS_AD_Reference_ID=289; + /** Credit Stop = S */ + public static final String SOCREDITSTATUS_CreditStop = "S"; + /** Credit Hold = H */ + public static final String SOCREDITSTATUS_CreditHold = "H"; + /** Credit Watch = W */ + public static final String SOCREDITSTATUS_CreditWatch = "W"; + /** No Credit Check = X */ + public static final String SOCREDITSTATUS_NoCreditCheck = "X"; + /** Credit OK = O */ + public static final String SOCREDITSTATUS_CreditOK = "O"; + /** Set Credit Status. + @param SOCreditStatus + Business Partner Credit Status + */ + public void setSOCreditStatus (String SOCreditStatus) + { + + if (SOCreditStatus == null || SOCreditStatus.equals("S") || SOCreditStatus.equals("H") || SOCreditStatus.equals("W") || SOCreditStatus.equals("X") || SOCreditStatus.equals("O")); else throw new IllegalArgumentException ("SOCreditStatus Invalid value - " + SOCreditStatus + " - Reference_ID=289 - S - H - W - X - O"); set_Value (COLUMNNAME_SOCreditStatus, SOCreditStatus); + } + + /** Get Credit Status. + @return Business Partner Credit Status + */ + public String getSOCreditStatus () + { + return (String)get_Value(COLUMNNAME_SOCreditStatus); + } + + /** Set Credit Used. + @param SO_CreditUsed + Current open balance + */ + public void setSO_CreditUsed (BigDecimal SO_CreditUsed) + { + if (SO_CreditUsed == null) + throw new IllegalArgumentException ("SO_CreditUsed is mandatory."); + set_ValueNoCheck (COLUMNNAME_SO_CreditUsed, SO_CreditUsed); + } + + /** Get Credit Used. + @return Current open balance + */ + public BigDecimal getSO_CreditUsed () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditUsed); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Order Description. + @param SO_Description + Description to be used on orders + */ + public void setSO_Description (String SO_Description) + { + set_Value (COLUMNNAME_SO_Description, SO_Description); + } + + /** Get Order Description. + @return Description to be used on orders + */ + public String getSO_Description () + { + return (String)get_Value(COLUMNNAME_SO_Description); + } + /** Set Tax ID. @param TaxID Tax Identification */ public void setTaxID (String TaxID) { - - if (TaxID != null && TaxID.length() > 20) - { - log.warning("Length > 20 - truncated"); - TaxID = TaxID.substring(0, 20); - } set_Value (COLUMNNAME_TaxID, TaxID); } @@ -1608,12 +1494,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent */ public void setURL (String URL) { - - if (URL != null && URL.length() > 120) - { - log.warning("Length > 120 - truncated"); - URL = URL.substring(0, 120); - } set_Value (COLUMNNAME_URL, URL); } @@ -1633,12 +1513,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_BPartner_Location.java b/base/src/org/compiere/model/X_C_BPartner_Location.java index 97bb7f2a0b..4c724328f5 100644 --- a/base/src/org/compiere/model/X_C_BPartner_Location.java +++ b/base/src/org/compiere/model/X_C_BPartner_Location.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BPartner_Location * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, I_Persistent { @@ -211,12 +211,6 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, */ public void setFax (String Fax) { - - if (Fax != null && Fax.length() > 40) - { - log.warning("Length > 40 - truncated"); - Fax = Fax.substring(0, 40); - } set_Value (COLUMNNAME_Fax, Fax); } @@ -228,29 +222,6 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, return (String)get_Value(COLUMNNAME_Fax); } - /** Set ISDN. - @param ISDN - ISDN or modem line - */ - public void setISDN (String ISDN) - { - - if (ISDN != null && ISDN.length() > 40) - { - log.warning("Length > 40 - truncated"); - ISDN = ISDN.substring(0, 40); - } - set_Value (COLUMNNAME_ISDN, ISDN); - } - - /** Get ISDN. - @return ISDN or modem line - */ - public String getISDN () - { - return (String)get_Value(COLUMNNAME_ISDN); - } - /** Set Invoice Address. @param IsBillTo Business Partner Invoice/Bill Address @@ -275,6 +246,23 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, return false; } + /** Set ISDN. + @param ISDN + ISDN or modem line + */ + public void setISDN (String ISDN) + { + set_Value (COLUMNNAME_ISDN, ISDN); + } + + /** Get ISDN. + @return ISDN or modem line + */ + public String getISDN () + { + return (String)get_Value(COLUMNNAME_ISDN); + } + /** Set Pay-From Address. @param IsPayFrom Business Partner pays from that address and we'll send dunning letters there @@ -355,12 +343,6 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -386,12 +368,6 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, */ public void setPhone (String Phone) { - - if (Phone != null && Phone.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone = Phone.substring(0, 40); - } set_Value (COLUMNNAME_Phone, Phone); } @@ -409,12 +385,6 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, */ public void setPhone2 (String Phone2) { - - if (Phone2 != null && Phone2.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone2 = Phone2.substring(0, 40); - } set_Value (COLUMNNAME_Phone2, Phone2); } diff --git a/base/src/org/compiere/model/X_C_BPartner_Product.java b/base/src/org/compiere/model/X_C_BPartner_Product.java index f518ad8a15..a86c370792 100644 --- a/base/src/org/compiere/model/X_C_BPartner_Product.java +++ b/base/src/org/compiere/model/X_C_BPartner_Product.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for C_BPartner_Product * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_Persistent { @@ -120,12 +120,6 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -137,6 +131,23 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ return (String)get_Value(COLUMNNAME_Description); } + /** Set Manufacturer. + @param Manufacturer + Manufacturer of the Product + */ + public void setManufacturer (String Manufacturer) + { + set_Value (COLUMNNAME_Manufacturer, Manufacturer); + } + + /** Get Manufacturer. + @return Manufacturer of the Product + */ + public String getManufacturer () + { + return (String)get_Value(COLUMNNAME_Manufacturer); + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -175,29 +186,6 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ return ii.intValue(); } - /** Set Manufacturer. - @param Manufacturer - Manufacturer of the Product - */ - public void setManufacturer (String Manufacturer) - { - - if (Manufacturer != null && Manufacturer.length() > 30) - { - log.warning("Length > 30 - truncated"); - Manufacturer = Manufacturer.substring(0, 30); - } - set_Value (COLUMNNAME_Manufacturer, Manufacturer); - } - - /** Get Manufacturer. - @return Manufacturer of the Product - */ - public String getManufacturer () - { - return (String)get_Value(COLUMNNAME_Manufacturer); - } - /** Set Quality Rating. @param QualityRating Method for rating vendors @@ -264,12 +252,6 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ */ public void setVendorCategory (String VendorCategory) { - - if (VendorCategory != null && VendorCategory.length() > 30) - { - log.warning("Length > 30 - truncated"); - VendorCategory = VendorCategory.substring(0, 30); - } set_Value (COLUMNNAME_VendorCategory, VendorCategory); } @@ -287,12 +269,6 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ */ public void setVendorProductNo (String VendorProductNo) { - - if (VendorProductNo != null && VendorProductNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - VendorProductNo = VendorProductNo.substring(0, 30); - } set_Value (COLUMNNAME_VendorProductNo, VendorProductNo); } diff --git a/base/src/org/compiere/model/X_C_Bank.java b/base/src/org/compiere/model/X_C_Bank.java index ee423cfaf5..d2f84e07a8 100644 --- a/base/src/org/compiere/model/X_C_Bank.java +++ b/base/src/org/compiere/model/X_C_Bank.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Bank * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent { @@ -125,12 +125,6 @@ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -174,12 +168,6 @@ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -207,12 +195,6 @@ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent { if (RoutingNo == null) throw new IllegalArgumentException ("RoutingNo is mandatory."); - - if (RoutingNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - RoutingNo = RoutingNo.substring(0, 20); - } set_Value (COLUMNNAME_RoutingNo, RoutingNo); } @@ -230,12 +212,6 @@ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent */ public void setSwiftCode (String SwiftCode) { - - if (SwiftCode != null && SwiftCode.length() > 20) - { - log.warning("Length > 20 - truncated"); - SwiftCode = SwiftCode.substring(0, 20); - } set_Value (COLUMNNAME_SwiftCode, SwiftCode); } diff --git a/base/src/org/compiere/model/X_C_BankAccount.java b/base/src/org/compiere/model/X_C_BankAccount.java index a33632ff39..337dfb3807 100644 --- a/base/src/org/compiere/model/X_C_BankAccount.java +++ b/base/src/org/compiere/model/X_C_BankAccount.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankAccount * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent { @@ -89,12 +89,6 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent { if (AccountNo == null) throw new IllegalArgumentException ("AccountNo is mandatory."); - - if (AccountNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - AccountNo = AccountNo.substring(0, 20); - } set_Value (COLUMNNAME_AccountNo, AccountNo); } @@ -106,29 +100,6 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent return (String)get_Value(COLUMNNAME_AccountNo); } - /** Set BBAN. - @param BBAN - Basic Bank Account Number - */ - public void setBBAN (String BBAN) - { - - if (BBAN != null && BBAN.length() > 40) - { - log.warning("Length > 40 - truncated"); - BBAN = BBAN.substring(0, 40); - } - set_Value (COLUMNNAME_BBAN, BBAN); - } - - /** Get BBAN. - @return Basic Bank Account Number - */ - public String getBBAN () - { - return (String)get_Value(COLUMNNAME_BBAN); - } - /** BankAccountType AD_Reference_ID=216 */ public static final int BANKACCOUNTTYPE_AD_Reference_ID=216; /** Checking = C */ @@ -142,13 +113,7 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent public void setBankAccountType (String BankAccountType) { if (BankAccountType == null) throw new IllegalArgumentException ("BankAccountType is mandatory"); - if (BankAccountType.equals("C") || BankAccountType.equals("S")); else throw new IllegalArgumentException ("BankAccountType Invalid value - " + BankAccountType + " - Reference_ID=216 - C - S"); - if (BankAccountType.length() > 1) - { - log.warning("Length > 1 - truncated"); - BankAccountType = BankAccountType.substring(0, 1); - } - set_Value (COLUMNNAME_BankAccountType, BankAccountType); + if (BankAccountType.equals("C") || BankAccountType.equals("S")); else throw new IllegalArgumentException ("BankAccountType Invalid value - " + BankAccountType + " - Reference_ID=216 - C - S"); set_Value (COLUMNNAME_BankAccountType, BankAccountType); } /** Get Bank Account Type. @@ -159,6 +124,23 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent return (String)get_Value(COLUMNNAME_BankAccountType); } + /** Set BBAN. + @param BBAN + Basic Bank Account Number + */ + public void setBBAN (String BBAN) + { + set_Value (COLUMNNAME_BBAN, BBAN); + } + + /** Get BBAN. + @return Basic Bank Account Number + */ + public String getBBAN () + { + return (String)get_Value(COLUMNNAME_BBAN); + } + /** Set Bank Account. @param C_BankAccount_ID Account at the Bank @@ -315,12 +297,6 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -338,12 +314,6 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent */ public void setIBAN (String IBAN) { - - if (IBAN != null && IBAN.length() > 40) - { - log.warning("Length > 40 - truncated"); - IBAN = IBAN.substring(0, 40); - } set_Value (COLUMNNAME_IBAN, IBAN); } diff --git a/base/src/org/compiere/model/X_C_BankAccountDoc.java b/base/src/org/compiere/model/X_C_BankAccountDoc.java index 48eeac7dba..fdaa1f4de7 100644 --- a/base/src/org/compiere/model/X_C_BankAccountDoc.java +++ b/base/src/org/compiere/model/X_C_BankAccountDoc.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankAccountDoc * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Persistent { @@ -187,12 +187,6 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -212,12 +206,6 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -258,13 +246,7 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers public void setPaymentRule (String PaymentRule) { if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory"); - if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRule = PaymentRule.substring(0, 1); - } - set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. diff --git a/base/src/org/compiere/model/X_C_BankAccount_Acct.java b/base/src/org/compiere/model/X_C_BankAccount_Acct.java index 05c7f9cc5d..2239694557 100644 --- a/base/src/org/compiere/model/X_C_BankAccount_Acct.java +++ b/base/src/org/compiere/model/X_C_BankAccount_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BankAccount_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_Persistent { @@ -41,9 +41,9 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ { setB_Asset_Acct (0); setB_Expense_Acct (0); - setB_InTransit_Acct (0); setB_InterestExp_Acct (0); setB_InterestRev_Acct (0); + setB_InTransit_Acct (0); setB_PaymentSelect_Acct (0); setB_RevaluationGain_Acct (0); setB_RevaluationLoss_Acct (0); @@ -124,26 +124,6 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ return ii.intValue(); } - /** Set Bank In Transit. - @param B_InTransit_Acct - Bank In Transit Account - */ - public void setB_InTransit_Acct (int B_InTransit_Acct) - { - set_Value (COLUMNNAME_B_InTransit_Acct, Integer.valueOf(B_InTransit_Acct)); - } - - /** Get Bank In Transit. - @return Bank In Transit Account - */ - public int getB_InTransit_Acct () - { - Integer ii = (Integer)get_Value(COLUMNNAME_B_InTransit_Acct); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Bank Interest Expense. @param B_InterestExp_Acct Bank Interest Expense Account @@ -184,6 +164,26 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ return ii.intValue(); } + /** Set Bank In Transit. + @param B_InTransit_Acct + Bank In Transit Account + */ + public void setB_InTransit_Acct (int B_InTransit_Acct) + { + set_Value (COLUMNNAME_B_InTransit_Acct, Integer.valueOf(B_InTransit_Acct)); + } + + /** Get Bank In Transit. + @return Bank In Transit Account + */ + public int getB_InTransit_Acct () + { + Integer ii = (Integer)get_Value(COLUMNNAME_B_InTransit_Acct); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Payment Selection. @param B_PaymentSelect_Acct AP Payment Selection Clearing Account diff --git a/base/src/org/compiere/model/X_C_BankStatement.java b/base/src/org/compiere/model/X_C_BankStatement.java index 2b5297cfa7..7dc4d8b550 100644 --- a/base/src/org/compiere/model/X_C_BankStatement.java +++ b/base/src/org/compiere/model/X_C_BankStatement.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatement * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persistent { @@ -59,7 +59,7 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis setPosted (false); // N setProcessed (false); - setStatementDate (new Timestamp(System.currentTimeMillis())); + setStatementDate (new Timestamp( System.currentTimeMillis() )); // @Date@ } */ } @@ -178,12 +178,6 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis */ public void setCreateFrom (String CreateFrom) { - - if (CreateFrom != null && CreateFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateFrom = CreateFrom.substring(0, 1); - } set_Value (COLUMNNAME_CreateFrom, CreateFrom); } @@ -201,12 +195,6 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -255,13 +243,7 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -305,13 +287,7 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -345,12 +321,6 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis */ public void setEftStatementReference (String EftStatementReference) { - - if (EftStatementReference != null && EftStatementReference.length() > 60) - { - log.warning("Length > 60 - truncated"); - EftStatementReference = EftStatementReference.substring(0, 60); - } set_Value (COLUMNNAME_EftStatementReference, EftStatementReference); } @@ -436,12 +406,6 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis @param MatchStatement Match Statement */ public void setMatchStatement (String MatchStatement) { - - if (MatchStatement != null && MatchStatement.length() > 1) - { - log.warning("Length > 1 - truncated"); - MatchStatement = MatchStatement.substring(0, 1); - } set_Value (COLUMNNAME_MatchStatement, MatchStatement); } @@ -460,12 +424,6 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_BankStatementLine.java b/base/src/org/compiere/model/X_C_BankStatementLine.java index dee71ab8ce..e0db228120 100644 --- a/base/src/org/compiere/model/X_C_BankStatementLine.java +++ b/base/src/org/compiere/model/X_C_BankStatementLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatementLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, I_Persistent { @@ -43,13 +43,13 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, super (ctx, C_BankStatementLine_ID, trxName); /** if (C_BankStatementLine_ID == 0) { - setC_BankStatementLine_ID (0); setC_BankStatement_ID (0); + setC_BankStatementLine_ID (0); setC_Charge_ID (0); setC_Currency_ID (0); // @SQL=SELECT C_Currency_ID FROM C_BankAccount WHERE C_BankAccount_ID=@C_BankAccount_ID@ setChargeAmt (Env.ZERO); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @StatementDate@ setInterestAmt (Env.ZERO); setIsManual (true); @@ -58,11 +58,11 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, setLine (0); // @SQL=SELECT COALESCE(MAX(Line),0)+10 FROM C_BankStatementLine WHERE C_BankStatement_ID=@C_BankStatement_ID@ setProcessed (false); - setStatementLineDate (new Timestamp(System.currentTimeMillis())); + setStatementLineDate (new Timestamp( System.currentTimeMillis() )); // @StatementLineDate@ setStmtAmt (Env.ZERO); setTrxAmt (Env.ZERO); - setValutaDate (new Timestamp(System.currentTimeMillis())); + setValutaDate (new Timestamp( System.currentTimeMillis() )); // @StatementDate@ } */ } @@ -95,6 +95,66 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return sb.toString(); } + public I_C_BankStatement getC_BankStatement() throws Exception + { + Class clazz = MTable.getClass(I_C_BankStatement.Table_Name); + I_C_BankStatement result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_BankStatement)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BankStatement_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Bank Statement. + @param C_BankStatement_ID + Bank Statement of account + */ + public void setC_BankStatement_ID (int C_BankStatement_ID) + { + if (C_BankStatement_ID < 1) + throw new IllegalArgumentException ("C_BankStatement_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_BankStatement_ID, Integer.valueOf(C_BankStatement_ID)); + } + + /** Get Bank Statement. + @return Bank Statement of account + */ + public int getC_BankStatement_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BankStatement_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Bank statement line. + @param C_BankStatementLine_ID + Line on a statement from this Bank + */ + public void setC_BankStatementLine_ID (int C_BankStatementLine_ID) + { + if (C_BankStatementLine_ID < 1) + throw new IllegalArgumentException ("C_BankStatementLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_BankStatementLine_ID, Integer.valueOf(C_BankStatementLine_ID)); + } + + /** Get Bank statement line. + @return Line on a statement from this Bank + */ + public int getC_BankStatementLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BankStatementLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -134,66 +194,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return ii.intValue(); } - /** Set Bank statement line. - @param C_BankStatementLine_ID - Line on a statement from this Bank - */ - public void setC_BankStatementLine_ID (int C_BankStatementLine_ID) - { - if (C_BankStatementLine_ID < 1) - throw new IllegalArgumentException ("C_BankStatementLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_BankStatementLine_ID, Integer.valueOf(C_BankStatementLine_ID)); - } - - /** Get Bank statement line. - @return Line on a statement from this Bank - */ - public int getC_BankStatementLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BankStatementLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - public I_C_BankStatement getC_BankStatement() throws Exception - { - Class clazz = MTable.getClass(I_C_BankStatement.Table_Name); - I_C_BankStatement result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BankStatement)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BankStatement_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Bank Statement. - @param C_BankStatement_ID - Bank Statement of account - */ - public void setC_BankStatement_ID (int C_BankStatement_ID) - { - if (C_BankStatement_ID < 1) - throw new IllegalArgumentException ("C_BankStatement_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_BankStatement_ID, Integer.valueOf(C_BankStatement_ID)); - } - - /** Get Bank Statement. - @return Bank Statement of account - */ - public int getC_BankStatement_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BankStatement_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Charge getC_Charge() throws Exception { Class clazz = MTable.getClass(I_C_Charge.Table_Name); @@ -270,6 +270,28 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return ii.intValue(); } + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + if (ChargeAmt == null) + throw new IllegalArgumentException ("ChargeAmt is mandatory."); + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -348,38 +370,10 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - if (ChargeAmt == null) - throw new IllegalArgumentException ("ChargeAmt is mandatory."); - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Create Payment. @param CreatePayment Create Payment */ public void setCreatePayment (String CreatePayment) { - - if (CreatePayment != null && CreatePayment.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreatePayment = CreatePayment.substring(0, 1); - } set_Value (COLUMNNAME_CreatePayment, CreatePayment); } @@ -415,12 +409,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -458,12 +446,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setEftCheckNo (String EftCheckNo) { - - if (EftCheckNo != null && EftCheckNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - EftCheckNo = EftCheckNo.substring(0, 20); - } set_Value (COLUMNNAME_EftCheckNo, EftCheckNo); } @@ -481,12 +463,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setEftCurrency (String EftCurrency) { - - if (EftCurrency != null && EftCurrency.length() > 20) - { - log.warning("Length > 20 - truncated"); - EftCurrency = EftCurrency.substring(0, 20); - } set_Value (COLUMNNAME_EftCurrency, EftCurrency); } @@ -504,12 +480,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setEftMemo (String EftMemo) { - - if (EftMemo != null && EftMemo.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - EftMemo = EftMemo.substring(0, 2000); - } set_Value (COLUMNNAME_EftMemo, EftMemo); } @@ -527,12 +497,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setEftPayee (String EftPayee) { - - if (EftPayee != null && EftPayee.length() > 255) - { - log.warning("Length > 255 - truncated"); - EftPayee = EftPayee.substring(0, 255); - } set_Value (COLUMNNAME_EftPayee, EftPayee); } @@ -550,12 +514,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setEftPayeeAccount (String EftPayeeAccount) { - - if (EftPayeeAccount != null && EftPayeeAccount.length() > 40) - { - log.warning("Length > 40 - truncated"); - EftPayeeAccount = EftPayeeAccount.substring(0, 40); - } set_Value (COLUMNNAME_EftPayeeAccount, EftPayeeAccount); } @@ -573,12 +531,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setEftReference (String EftReference) { - - if (EftReference != null && EftReference.length() > 60) - { - log.warning("Length > 60 - truncated"); - EftReference = EftReference.substring(0, 60); - } set_Value (COLUMNNAME_EftReference, EftReference); } @@ -613,12 +565,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setEftTrxID (String EftTrxID) { - - if (EftTrxID != null && EftTrxID.length() > 40) - { - log.warning("Length > 40 - truncated"); - EftTrxID = EftTrxID.substring(0, 40); - } set_Value (COLUMNNAME_EftTrxID, EftTrxID); } @@ -636,12 +582,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setEftTrxType (String EftTrxType) { - - if (EftTrxType != null && EftTrxType.length() > 20) - { - log.warning("Length > 20 - truncated"); - EftTrxType = EftTrxType.substring(0, 20); - } set_Value (COLUMNNAME_EftTrxType, EftTrxType); } @@ -772,12 +712,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, @param MatchStatement Match Statement */ public void setMatchStatement (String MatchStatement) { - - if (MatchStatement != null && MatchStatement.length() > 1) - { - log.warning("Length > 1 - truncated"); - MatchStatement = MatchStatement.substring(0, 1); - } set_Value (COLUMNNAME_MatchStatement, MatchStatement); } @@ -794,12 +728,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setMemo (String Memo) { - - if (Memo != null && Memo.length() > 255) - { - log.warning("Length > 255 - truncated"); - Memo = Memo.substring(0, 255); - } set_Value (COLUMNNAME_Memo, Memo); } @@ -841,12 +769,6 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, */ public void setReferenceNo (String ReferenceNo) { - - if (ReferenceNo != null && ReferenceNo.length() > 40) - { - log.warning("Length > 40 - truncated"); - ReferenceNo = ReferenceNo.substring(0, 40); - } set_Value (COLUMNNAME_ReferenceNo, ReferenceNo); } diff --git a/base/src/org/compiere/model/X_C_BankStatementLoader.java b/base/src/org/compiere/model/X_C_BankStatementLoader.java index f801c563f2..2579b25945 100644 --- a/base/src/org/compiere/model/X_C_BankStatementLoader.java +++ b/base/src/org/compiere/model/X_C_BankStatementLoader.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatementLoader * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoader, I_Persistent { @@ -81,12 +81,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setAccountNo (String AccountNo) { - - if (AccountNo != null && AccountNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - AccountNo = AccountNo.substring(0, 20); - } set_Value (COLUMNNAME_AccountNo, AccountNo); } @@ -104,12 +98,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setBranchID (String BranchID) { - - if (BranchID != null && BranchID.length() > 20) - { - log.warning("Length > 20 - truncated"); - BranchID = BranchID.substring(0, 20); - } set_Value (COLUMNNAME_BranchID, BranchID); } @@ -187,12 +175,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setDateFormat (String DateFormat) { - - if (DateFormat != null && DateFormat.length() > 20) - { - log.warning("Length > 20 - truncated"); - DateFormat = DateFormat.substring(0, 20); - } set_Value (COLUMNNAME_DateFormat, DateFormat); } @@ -227,12 +209,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -250,12 +226,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setFileName (String FileName) { - - if (FileName != null && FileName.length() > 120) - { - log.warning("Length > 120 - truncated"); - FileName = FileName.substring(0, 120); - } set_Value (COLUMNNAME_FileName, FileName); } @@ -273,12 +243,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setFinancialInstitutionID (String FinancialInstitutionID) { - - if (FinancialInstitutionID != null && FinancialInstitutionID.length() > 20) - { - log.warning("Length > 20 - truncated"); - FinancialInstitutionID = FinancialInstitutionID.substring(0, 20); - } set_Value (COLUMNNAME_FinancialInstitutionID, FinancialInstitutionID); } @@ -296,12 +260,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setHostAddress (String HostAddress) { - - if (HostAddress != null && HostAddress.length() > 60) - { - log.warning("Length > 60 - truncated"); - HostAddress = HostAddress.substring(0, 60); - } set_Value (COLUMNNAME_HostAddress, HostAddress); } @@ -341,12 +299,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -366,41 +318,12 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad return new KeyNamePair(get_ID(), getName()); } - /** Set PIN. - @param PIN - Personal Identification Number - */ - public void setPIN (String PIN) - { - - if (PIN != null && PIN.length() > 20) - { - log.warning("Length > 20 - truncated"); - PIN = PIN.substring(0, 20); - } - set_Value (COLUMNNAME_PIN, PIN); - } - - /** Get PIN. - @return Personal Identification Number - */ - public String getPIN () - { - return (String)get_Value(COLUMNNAME_PIN); - } - /** Set Password. @param Password Password of any length (case sensitive) */ public void setPassword (String Password) { - - if (Password != null && Password.length() > 60) - { - log.warning("Length > 60 - truncated"); - Password = Password.substring(0, 60); - } set_Value (COLUMNNAME_Password, Password); } @@ -412,18 +335,29 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad return (String)get_Value(COLUMNNAME_Password); } + /** Set PIN. + @param PIN + Personal Identification Number + */ + public void setPIN (String PIN) + { + set_Value (COLUMNNAME_PIN, PIN); + } + + /** Get PIN. + @return Personal Identification Number + */ + public String getPIN () + { + return (String)get_Value(COLUMNNAME_PIN); + } + /** Set Proxy address. @param ProxyAddress Address of your proxy server */ public void setProxyAddress (String ProxyAddress) { - - if (ProxyAddress != null && ProxyAddress.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProxyAddress = ProxyAddress.substring(0, 60); - } set_Value (COLUMNNAME_ProxyAddress, ProxyAddress); } @@ -441,12 +375,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setProxyLogon (String ProxyLogon) { - - if (ProxyLogon != null && ProxyLogon.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProxyLogon = ProxyLogon.substring(0, 60); - } set_Value (COLUMNNAME_ProxyLogon, ProxyLogon); } @@ -464,12 +392,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setProxyPassword (String ProxyPassword) { - - if (ProxyPassword != null && ProxyPassword.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProxyPassword = ProxyPassword.substring(0, 60); - } set_Value (COLUMNNAME_ProxyPassword, ProxyPassword); } @@ -507,12 +429,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setStmtLoaderClass (String StmtLoaderClass) { - - if (StmtLoaderClass != null && StmtLoaderClass.length() > 60) - { - log.warning("Length > 60 - truncated"); - StmtLoaderClass = StmtLoaderClass.substring(0, 60); - } set_Value (COLUMNNAME_StmtLoaderClass, StmtLoaderClass); } @@ -530,12 +446,6 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad */ public void setUserID (String UserID) { - - if (UserID != null && UserID.length() > 60) - { - log.warning("Length > 60 - truncated"); - UserID = UserID.substring(0, 60); - } set_Value (COLUMNNAME_UserID, UserID); } diff --git a/base/src/org/compiere/model/X_C_BankStatementMatcher.java b/base/src/org/compiere/model/X_C_BankStatementMatcher.java index e83fa09f8e..c5cc5f2f8b 100644 --- a/base/src/org/compiere/model/X_C_BankStatementMatcher.java +++ b/base/src/org/compiere/model/X_C_BankStatementMatcher.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatementMatcher * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMatcher, I_Persistent { @@ -103,12 +103,6 @@ public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMat { if (Classname == null) throw new IllegalArgumentException ("Classname is mandatory."); - - if (Classname.length() > 60) - { - log.warning("Length > 60 - truncated"); - Classname = Classname.substring(0, 60); - } set_Value (COLUMNNAME_Classname, Classname); } @@ -126,12 +120,6 @@ public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMat */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -151,12 +139,6 @@ public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMat { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Calendar.java b/base/src/org/compiere/model/X_C_Calendar.java index 7a5bc7aa54..b38ab8aa04 100644 --- a/base/src/org/compiere/model/X_C_Calendar.java +++ b/base/src/org/compiere/model/X_C_Calendar.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Calendar * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Calendar extends PO implements I_C_Calendar, I_Persistent { @@ -99,12 +99,6 @@ public class X_C_Calendar extends PO implements I_C_Calendar, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -124,12 +118,6 @@ public class X_C_Calendar extends PO implements I_C_Calendar, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Campaign.java b/base/src/org/compiere/model/X_C_Campaign.java index 8105b83d0a..8fa0f1b22c 100644 --- a/base/src/org/compiere/model/X_C_Campaign.java +++ b/base/src/org/compiere/model/X_C_Campaign.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Campaign * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent { @@ -168,12 +168,6 @@ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -234,12 +228,6 @@ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -284,12 +272,6 @@ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_Cash.java b/base/src/org/compiere/model/X_C_Cash.java index 97252424aa..6b96743806 100644 --- a/base/src/org/compiere/model/X_C_Cash.java +++ b/base/src/org/compiere/model/X_C_Cash.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Cash * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent { @@ -46,7 +46,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent setBeginningBalance (Env.ZERO); setC_CashBook_ID (0); setC_Cash_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @#Date@ setDocAction (null); // CO @@ -59,7 +59,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent setPosted (false); // N setProcessed (false); - setStatementDate (new Timestamp(System.currentTimeMillis())); + setStatementDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ } */ } @@ -341,12 +341,6 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -395,13 +389,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -445,13 +433,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -516,12 +498,6 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_CashBook.java b/base/src/org/compiere/model/X_C_CashBook.java index 0463805e31..bcd569730f 100644 --- a/base/src/org/compiere/model/X_C_CashBook.java +++ b/base/src/org/compiere/model/X_C_CashBook.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CashBook * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent { @@ -141,12 +141,6 @@ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -190,12 +184,6 @@ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_CashBook_Acct.java b/base/src/org/compiere/model/X_C_CashBook_Acct.java index 60c5aefdcb..fdf4cada1a 100644 --- a/base/src/org/compiere/model/X_C_CashBook_Acct.java +++ b/base/src/org/compiere/model/X_C_CashBook_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_CashBook_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persistent { @@ -39,12 +39,12 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis super (ctx, C_CashBook_Acct_ID, trxName); /** if (C_CashBook_Acct_ID == 0) { + setC_AcctSchema_ID (0); setCB_Asset_Acct (0); setCB_CashTransfer_Acct (0); setCB_Differences_Acct (0); setCB_Expense_Acct (0); setCB_Receipt_Acct (0); - setC_AcctSchema_ID (0); setC_CashBook_ID (0); } */ } @@ -77,6 +77,44 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis return sb.toString(); } + public I_C_AcctSchema getC_AcctSchema() throws Exception + { + Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); + I_C_AcctSchema result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_AcctSchema)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_AcctSchema_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Accounting Schema. + @param C_AcctSchema_ID + Rules for accounting + */ + public void setC_AcctSchema_ID (int C_AcctSchema_ID) + { + if (C_AcctSchema_ID < 1) + throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID)); + } + + /** Get Accounting Schema. + @return Rules for accounting + */ + public int getC_AcctSchema_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_AcctSchema_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Cash Book Asset. @param CB_Asset_Acct Cash Book Asset Account @@ -177,44 +215,6 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis return ii.intValue(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception - { - Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); - I_C_AcctSchema result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_AcctSchema)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_AcctSchema_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Accounting Schema. - @param C_AcctSchema_ID - Rules for accounting - */ - public void setC_AcctSchema_ID (int C_AcctSchema_ID) - { - if (C_AcctSchema_ID < 1) - throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID)); - } - - /** Get Accounting Schema. - @return Rules for accounting - */ - public int getC_AcctSchema_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_AcctSchema_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_CashBook getC_CashBook() throws Exception { Class clazz = MTable.getClass(I_C_CashBook.Table_Name); diff --git a/base/src/org/compiere/model/X_C_CashLine.java b/base/src/org/compiere/model/X_C_CashLine.java index 0216f80cdf..8e57a7f5cc 100644 --- a/base/src/org/compiere/model/X_C_CashLine.java +++ b/base/src/org/compiere/model/X_C_CashLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CashLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent { @@ -43,10 +43,10 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent /** if (C_CashLine_ID == 0) { setAmount (Env.ZERO); - setC_CashLine_ID (0); - setC_Cash_ID (0); setCashType (null); // E + setC_Cash_ID (0); + setC_CashLine_ID (0); setLine (0); // @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_CashLine WHERE C_Cash_ID=@C_Cash_ID@ setProcessed (false); @@ -103,6 +103,38 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return bd; } + /** CashType AD_Reference_ID=217 */ + public static final int CASHTYPE_AD_Reference_ID=217; + /** Bank Account Transfer = T */ + public static final String CASHTYPE_BankAccountTransfer = "T"; + /** Invoice = I */ + public static final String CASHTYPE_Invoice = "I"; + /** General Expense = E */ + public static final String CASHTYPE_GeneralExpense = "E"; + /** General Receipts = R */ + public static final String CASHTYPE_GeneralReceipts = "R"; + /** Charge = C */ + public static final String CASHTYPE_Charge = "C"; + /** Difference = D */ + public static final String CASHTYPE_Difference = "D"; + /** Set Cash Type. + @param CashType + Source of Cash + */ + public void setCashType (String CashType) + { + if (CashType == null) throw new IllegalArgumentException ("CashType is mandatory"); + if (CashType.equals("T") || CashType.equals("I") || CashType.equals("E") || CashType.equals("R") || CashType.equals("C") || CashType.equals("D")); else throw new IllegalArgumentException ("CashType Invalid value - " + CashType + " - Reference_ID=217 - T - I - E - R - C - D"); set_ValueNoCheck (COLUMNNAME_CashType, CashType); + } + + /** Get Cash Type. + @return Source of Cash + */ + public String getCashType () + { + return (String)get_Value(COLUMNNAME_CashType); + } + public I_C_BankAccount getC_BankAccount() throws Exception { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); @@ -142,28 +174,6 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return ii.intValue(); } - /** Set Cash Journal Line. - @param C_CashLine_ID - Cash Journal Line - */ - public void setC_CashLine_ID (int C_CashLine_ID) - { - if (C_CashLine_ID < 1) - throw new IllegalArgumentException ("C_CashLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_CashLine_ID, Integer.valueOf(C_CashLine_ID)); - } - - /** Get Cash Journal Line. - @return Cash Journal Line - */ - public int getC_CashLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_CashLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Cash getC_Cash() throws Exception { Class clazz = MTable.getClass(I_C_Cash.Table_Name); @@ -210,6 +220,28 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getC_Cash_ID())); } + /** Set Cash Journal Line. + @param C_CashLine_ID + Cash Journal Line + */ + public void setC_CashLine_ID (int C_CashLine_ID) + { + if (C_CashLine_ID < 1) + throw new IllegalArgumentException ("C_CashLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_CashLine_ID, Integer.valueOf(C_CashLine_ID)); + } + + /** Get Cash Journal Line. + @return Cash Journal Line + */ + public int getC_CashLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_CashLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Charge getC_Charge() throws Exception { Class clazz = MTable.getClass(I_C_Charge.Table_Name); @@ -366,56 +398,12 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return ii.intValue(); } - /** CashType AD_Reference_ID=217 */ - public static final int CASHTYPE_AD_Reference_ID=217; - /** Bank Account Transfer = T */ - public static final String CASHTYPE_BankAccountTransfer = "T"; - /** Invoice = I */ - public static final String CASHTYPE_Invoice = "I"; - /** General Expense = E */ - public static final String CASHTYPE_GeneralExpense = "E"; - /** General Receipts = R */ - public static final String CASHTYPE_GeneralReceipts = "R"; - /** Charge = C */ - public static final String CASHTYPE_Charge = "C"; - /** Difference = D */ - public static final String CASHTYPE_Difference = "D"; - /** Set Cash Type. - @param CashType - Source of Cash - */ - public void setCashType (String CashType) - { - if (CashType == null) throw new IllegalArgumentException ("CashType is mandatory"); - if (CashType.equals("T") || CashType.equals("I") || CashType.equals("E") || CashType.equals("R") || CashType.equals("C") || CashType.equals("D")); else throw new IllegalArgumentException ("CashType Invalid value - " + CashType + " - Reference_ID=217 - T - I - E - R - C - D"); - if (CashType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CashType = CashType.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_CashType, CashType); - } - - /** Get Cash Type. - @return Source of Cash - */ - public String getCashType () - { - return (String)get_Value(COLUMNNAME_CashType); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_Channel.java b/base/src/org/compiere/model/X_C_Channel.java index 394bd1d348..8766b46d2c 100644 --- a/base/src/org/compiere/model/X_C_Channel.java +++ b/base/src/org/compiere/model/X_C_Channel.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Channel * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Channel extends PO implements I_C_Channel, I_Persistent { @@ -140,12 +140,6 @@ public class X_C_Channel extends PO implements I_C_Channel, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_C_Channel extends PO implements I_C_Channel, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Charge.java b/base/src/org/compiere/model/X_C_Charge.java index 7dda7f8fbd..581587d5ce 100644 --- a/base/src/org/compiere/model/X_C_Charge.java +++ b/base/src/org/compiere/model/X_C_Charge.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Charge * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent { @@ -43,8 +43,8 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent /** if (C_Charge_ID == 0) { setC_Charge_ID (0); - setC_TaxCategory_ID (0); setChargeAmt (Env.ZERO); + setC_TaxCategory_ID (0); setIsSameCurrency (false); setIsSameTax (false); setIsTaxIncluded (false); @@ -142,6 +142,28 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent return ii.intValue(); } + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + if (ChargeAmt == null) + throw new IllegalArgumentException ("ChargeAmt is mandatory."); + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_TaxCategory getC_TaxCategory() throws Exception { Class clazz = MTable.getClass(I_C_TaxCategory.Table_Name); @@ -180,40 +202,12 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - if (ChargeAmt == null) - throw new IllegalArgumentException ("ChargeAmt is mandatory."); - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -302,12 +296,6 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Charge_Acct.java b/base/src/org/compiere/model/X_C_Charge_Acct.java index ab26fd75ff..c862ddee10 100644 --- a/base/src/org/compiere/model/X_C_Charge_Acct.java +++ b/base/src/org/compiere/model/X_C_Charge_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Charge_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_City.java b/base/src/org/compiere/model/X_C_City.java index 16b6f20e9c..f0aac2f614 100644 --- a/base/src/org/compiere/model/X_C_City.java +++ b/base/src/org/compiere/model/X_C_City.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_City * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_City extends PO implements I_C_City, I_Persistent { @@ -79,12 +79,6 @@ public class X_C_City extends PO implements I_C_City, I_Persistent */ public void setAreaCode (String AreaCode) { - - if (AreaCode != null && AreaCode.length() > 10) - { - log.warning("Length > 10 - truncated"); - AreaCode = AreaCode.substring(0, 10); - } set_Value (COLUMNNAME_AreaCode, AreaCode); } @@ -157,6 +151,23 @@ public class X_C_City extends PO implements I_C_City, I_Persistent return ii.intValue(); } + /** Set Coordinates. + @param Coordinates + Location coordinate + */ + public void setCoordinates (String Coordinates) + { + set_Value (COLUMNNAME_Coordinates, Coordinates); + } + + /** Get Coordinates. + @return Location coordinate + */ + public String getCoordinates () + { + return (String)get_Value(COLUMNNAME_Coordinates); + } + /** C_Region_ID AD_Reference_ID=157 */ public static final int C_REGION_ID_AD_Reference_ID=157; /** Set Region. @@ -182,41 +193,12 @@ public class X_C_City extends PO implements I_C_City, I_Persistent return ii.intValue(); } - /** Set Coordinates. - @param Coordinates - Location coordinate - */ - public void setCoordinates (String Coordinates) - { - - if (Coordinates != null && Coordinates.length() > 15) - { - log.warning("Length > 15 - truncated"); - Coordinates = Coordinates.substring(0, 15); - } - set_Value (COLUMNNAME_Coordinates, Coordinates); - } - - /** Get Coordinates. - @return Location coordinate - */ - public String getCoordinates () - { - return (String)get_Value(COLUMNNAME_Coordinates); - } - /** Set Locode. @param Locode Location code - UN/LOCODE */ public void setLocode (String Locode) { - - if (Locode != null && Locode.length() > 10) - { - log.warning("Length > 10 - truncated"); - Locode = Locode.substring(0, 10); - } set_Value (COLUMNNAME_Locode, Locode); } @@ -236,12 +218,6 @@ public class X_C_City extends PO implements I_C_City, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -267,12 +243,6 @@ public class X_C_City extends PO implements I_C_City, I_Persistent */ public void setPostal (String Postal) { - - if (Postal != null && Postal.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal = Postal.substring(0, 10); - } set_Value (COLUMNNAME_Postal, Postal); } diff --git a/base/src/org/compiere/model/X_C_Commission.java b/base/src/org/compiere/model/X_C_Commission.java index ce474c9be3..104b1b1edb 100644 --- a/base/src/org/compiere/model/X_C_Commission.java +++ b/base/src/org/compiere/model/X_C_Commission.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Commission * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent { @@ -210,12 +210,6 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent */ public void setCreateFrom (String CreateFrom) { - - if (CreateFrom != null && CreateFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateFrom = CreateFrom.substring(0, 1); - } set_Value (COLUMNNAME_CreateFrom, CreateFrom); } @@ -250,12 +244,6 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -282,13 +270,7 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent public void setDocBasisType (String DocBasisType) { if (DocBasisType == null) throw new IllegalArgumentException ("DocBasisType is mandatory"); - if (DocBasisType.equals("O") || DocBasisType.equals("I") || DocBasisType.equals("R")); else throw new IllegalArgumentException ("DocBasisType Invalid value - " + DocBasisType + " - Reference_ID=224 - O - I - R"); - if (DocBasisType.length() > 1) - { - log.warning("Length > 1 - truncated"); - DocBasisType = DocBasisType.substring(0, 1); - } - set_Value (COLUMNNAME_DocBasisType, DocBasisType); + if (DocBasisType.equals("O") || DocBasisType.equals("I") || DocBasisType.equals("R")); else throw new IllegalArgumentException ("DocBasisType Invalid value - " + DocBasisType + " - Reference_ID=224 - O - I - R"); set_Value (COLUMNNAME_DocBasisType, DocBasisType); } /** Get Calculation Basis. @@ -316,13 +298,7 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent public void setFrequencyType (String FrequencyType) { if (FrequencyType == null) throw new IllegalArgumentException ("FrequencyType is mandatory"); - if (FrequencyType.equals("W") || FrequencyType.equals("M") || FrequencyType.equals("Q") || FrequencyType.equals("Y")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=225 - W - M - Q - Y"); - if (FrequencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FrequencyType = FrequencyType.substring(0, 1); - } - set_Value (COLUMNNAME_FrequencyType, FrequencyType); + if (FrequencyType.equals("W") || FrequencyType.equals("M") || FrequencyType.equals("Q") || FrequencyType.equals("Y")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=225 - W - M - Q - Y"); set_Value (COLUMNNAME_FrequencyType, FrequencyType); } /** Get Frequency Type. @@ -365,12 +341,6 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_CommissionAmt.java b/base/src/org/compiere/model/X_C_CommissionAmt.java index abd3c217b3..598fdd852a 100644 --- a/base/src/org/compiere/model/X_C_CommissionAmt.java +++ b/base/src/org/compiere/model/X_C_CommissionAmt.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionAmt * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_CommissionDetail.java b/base/src/org/compiere/model/X_C_CommissionDetail.java index 059fed56a3..83e4f5e21d 100644 --- a/base/src/org/compiere/model/X_C_CommissionDetail.java +++ b/base/src/org/compiere/model/X_C_CommissionDetail.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionDetail * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_Persistent { @@ -260,6 +260,28 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ return ii.intValue(); } + /** Set Converted Amount. + @param ConvertedAmt + Converted Amount + */ + public void setConvertedAmt (BigDecimal ConvertedAmt) + { + if (ConvertedAmt == null) + throw new IllegalArgumentException ("ConvertedAmt is mandatory."); + set_Value (COLUMNNAME_ConvertedAmt, ConvertedAmt); + } + + /** Get Converted Amount. + @return Converted Amount + */ + public BigDecimal getConvertedAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConvertedAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_OrderLine getC_OrderLine() throws Exception { Class clazz = MTable.getClass(I_C_OrderLine.Table_Name); @@ -299,40 +321,12 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ return ii.intValue(); } - /** Set Converted Amount. - @param ConvertedAmt - Converted Amount - */ - public void setConvertedAmt (BigDecimal ConvertedAmt) - { - if (ConvertedAmt == null) - throw new IllegalArgumentException ("ConvertedAmt is mandatory."); - set_Value (COLUMNNAME_ConvertedAmt, ConvertedAmt); - } - - /** Get Converted Amount. - @return Converted Amount - */ - public BigDecimal getConvertedAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConvertedAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Info. @param Info Information */ public void setInfo (String Info) { - - if (Info != null && Info.length() > 60) - { - log.warning("Length > 60 - truncated"); - Info = Info.substring(0, 60); - } set_Value (COLUMNNAME_Info, Info); } @@ -350,12 +344,6 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ */ public void setReference (String Reference) { - - if (Reference != null && Reference.length() > 60) - { - log.warning("Length > 60 - truncated"); - Reference = Reference.substring(0, 60); - } set_Value (COLUMNNAME_Reference, Reference); } diff --git a/base/src/org/compiere/model/X_C_CommissionLine.java b/base/src/org/compiere/model/X_C_CommissionLine.java index 1aaff7268b..2001afafdf 100644 --- a/base/src/org/compiere/model/X_C_CommissionLine.java +++ b/base/src/org/compiere/model/X_C_CommissionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Persistent { @@ -44,8 +44,8 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers { setAmtMultiplier (Env.ZERO); setAmtSubtract (Env.ZERO); - setC_CommissionLine_ID (0); setC_Commission_ID (0); + setC_CommissionLine_ID (0); setCommissionOrders (false); setIsPositiveOnly (false); setLine (0); @@ -127,45 +127,6 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return bd; } - public I_C_BP_Group getC_BP_Group() throws Exception - { - Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); - I_C_BP_Group result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Business Partner Group. - @param C_BP_Group_ID - Business Partner Group - */ - public void setC_BP_Group_ID (int C_BP_Group_ID) - { - if (C_BP_Group_ID < 1) - set_Value (COLUMNNAME_C_BP_Group_ID, null); - else - set_Value (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); - } - - /** Get Business Partner Group. - @return Business Partner Group - */ - public int getC_BP_Group_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -205,23 +166,40 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return ii.intValue(); } - /** Set Commission Line. - @param C_CommissionLine_ID - Commission Line + public I_C_BP_Group getC_BP_Group() throws Exception + { + Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); + I_C_BP_Group result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Business Partner Group. + @param C_BP_Group_ID + Business Partner Group */ - public void setC_CommissionLine_ID (int C_CommissionLine_ID) + public void setC_BP_Group_ID (int C_BP_Group_ID) { - if (C_CommissionLine_ID < 1) - throw new IllegalArgumentException ("C_CommissionLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_CommissionLine_ID, Integer.valueOf(C_CommissionLine_ID)); + if (C_BP_Group_ID < 1) + set_Value (COLUMNNAME_C_BP_Group_ID, null); + else + set_Value (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); } - /** Get Commission Line. - @return Commission Line + /** Get Business Partner Group. + @return Business Partner Group */ - public int getC_CommissionLine_ID () + public int getC_BP_Group_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_CommissionLine_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); if (ii == null) return 0; return ii.intValue(); @@ -273,6 +251,52 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getC_Commission_ID())); } + /** Set Commission Line. + @param C_CommissionLine_ID + Commission Line + */ + public void setC_CommissionLine_ID (int C_CommissionLine_ID) + { + if (C_CommissionLine_ID < 1) + throw new IllegalArgumentException ("C_CommissionLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_CommissionLine_ID, Integer.valueOf(C_CommissionLine_ID)); + } + + /** Get Commission Line. + @return Commission Line + */ + public int getC_CommissionLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_CommissionLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Commission only specified Orders. + @param CommissionOrders + Commission only Orders or Invoices, where this Sales Rep is entered + */ + public void setCommissionOrders (boolean CommissionOrders) + { + set_Value (COLUMNNAME_CommissionOrders, Boolean.valueOf(CommissionOrders)); + } + + /** Get Commission only specified Orders. + @return Commission only Orders or Invoices, where this Sales Rep is entered + */ + public boolean isCommissionOrders () + { + Object oo = get_Value(COLUMNNAME_CommissionOrders); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + public I_C_SalesRegion getC_SalesRegion() throws Exception { Class clazz = MTable.getClass(I_C_SalesRegion.Table_Name); @@ -312,42 +336,12 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return ii.intValue(); } - /** Set Commission only specified Orders. - @param CommissionOrders - Commission only Orders or Invoices, where this Sales Rep is entered - */ - public void setCommissionOrders (boolean CommissionOrders) - { - set_Value (COLUMNNAME_CommissionOrders, Boolean.valueOf(CommissionOrders)); - } - - /** Get Commission only specified Orders. - @return Commission only Orders or Invoices, where this Sales Rep is entered - */ - public boolean isCommissionOrders () - { - Object oo = get_Value(COLUMNNAME_CommissionOrders); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -527,13 +521,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers public void setPaymentRule (String PaymentRule) { - if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRule != null && PaymentRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRule = PaymentRule.substring(0, 1); - } - set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. diff --git a/base/src/org/compiere/model/X_C_CommissionRun.java b/base/src/org/compiere/model/X_C_CommissionRun.java index 97a3484277..9c609e8a8f 100644 --- a/base/src/org/compiere/model/X_C_CommissionRun.java +++ b/base/src/org/compiere/model/X_C_CommissionRun.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionRun * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persistent { @@ -43,12 +43,12 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis super (ctx, C_CommissionRun_ID, trxName); /** if (C_CommissionRun_ID == 0) { - setC_CommissionRun_ID (0); setC_Commission_ID (0); + setC_CommissionRun_ID (0); setDocumentNo (null); setGrandTotal (Env.ZERO); setProcessed (false); - setStartDate (new Timestamp(System.currentTimeMillis())); + setStartDate (new Timestamp( System.currentTimeMillis() )); } */ } @@ -80,28 +80,6 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis return sb.toString(); } - /** Set Commission Run. - @param C_CommissionRun_ID - Commission Run or Process - */ - public void setC_CommissionRun_ID (int C_CommissionRun_ID) - { - if (C_CommissionRun_ID < 1) - throw new IllegalArgumentException ("C_CommissionRun_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_CommissionRun_ID, Integer.valueOf(C_CommissionRun_ID)); - } - - /** Get Commission Run. - @return Commission Run or Process - */ - public int getC_CommissionRun_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_CommissionRun_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Commission getC_Commission() throws Exception { Class clazz = MTable.getClass(I_C_Commission.Table_Name); @@ -140,18 +118,34 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis return ii.intValue(); } + /** Set Commission Run. + @param C_CommissionRun_ID + Commission Run or Process + */ + public void setC_CommissionRun_ID (int C_CommissionRun_ID) + { + if (C_CommissionRun_ID < 1) + throw new IllegalArgumentException ("C_CommissionRun_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_CommissionRun_ID, Integer.valueOf(C_CommissionRun_ID)); + } + + /** Get Commission Run. + @return Commission Run or Process + */ + public int getC_CommissionRun_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_CommissionRun_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -171,12 +165,6 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_C_ConversionType.java b/base/src/org/compiere/model/X_C_ConversionType.java index 49f6d7da4e..f0b3104bad 100644 --- a/base/src/org/compiere/model/X_C_ConversionType.java +++ b/base/src/org/compiere/model/X_C_ConversionType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ConversionType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Persistent { @@ -101,12 +101,6 @@ public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -150,12 +144,6 @@ public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -183,12 +171,6 @@ public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Pers { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_Conversion_Rate.java b/base/src/org/compiere/model/X_C_Conversion_Rate.java index f59b3a9cbb..4f5a5b0cef 100644 --- a/base/src/org/compiere/model/X_C_Conversion_Rate.java +++ b/base/src/org/compiere/model/X_C_Conversion_Rate.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Conversion_Rate * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Persistent { @@ -43,13 +43,13 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe super (ctx, C_Conversion_Rate_ID, trxName); /** if (C_Conversion_Rate_ID == 0) { - setC_ConversionType_ID (0); setC_Conversion_Rate_ID (0); + setC_ConversionType_ID (0); setC_Currency_ID (0); setC_Currency_ID_To (0); setDivideRate (Env.ZERO); setMultiplyRate (Env.ZERO); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } @@ -81,6 +81,36 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe return sb.toString(); } + /** Set Conversion Rate. + @param C_Conversion_Rate_ID + Rate used for converting currencies + */ + 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 (COLUMNNAME_C_Conversion_Rate_ID, Integer.valueOf(C_Conversion_Rate_ID)); + } + + /** Get Conversion Rate. + @return Rate used for converting currencies + */ + public int getC_Conversion_Rate_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Conversion_Rate_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getC_Conversion_Rate_ID())); + } + public I_C_ConversionType getC_ConversionType() throws Exception { Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); @@ -119,36 +149,6 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe return ii.intValue(); } - /** Set Conversion Rate. - @param C_Conversion_Rate_ID - Rate used for converting currencies - */ - 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 (COLUMNNAME_C_Conversion_Rate_ID, Integer.valueOf(C_Conversion_Rate_ID)); - } - - /** Get Conversion Rate. - @return Rate used for converting currencies - */ - public int getC_Conversion_Rate_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Conversion_Rate_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getC_Conversion_Rate_ID())); - } - /** C_Currency_ID AD_Reference_ID=112 */ public static final int C_CURRENCY_ID_AD_Reference_ID=112; /** Set Currency. diff --git a/base/src/org/compiere/model/X_C_Country.java b/base/src/org/compiere/model/X_C_Country.java index 0a6d3b7841..0df01603ac 100644 --- a/base/src/org/compiere/model/X_C_Country.java +++ b/base/src/org/compiere/model/X_C_Country.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Country * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Country extends PO implements I_C_Country, I_Persistent { @@ -88,12 +88,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setAD_Language (String AD_Language) { - - if (AD_Language != null && AD_Language.length() > 6) - { - log.warning("Length > 6 - truncated"); - AD_Language = AD_Language.substring(0, 6); - } set_Value (COLUMNNAME_AD_Language, AD_Language); } @@ -174,12 +168,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent { if (CountryCode == null) throw new IllegalArgumentException ("CountryCode is mandatory."); - - if (CountryCode.length() > 2) - { - log.warning("Length > 2 - truncated"); - CountryCode = CountryCode.substring(0, 2); - } set_Value (COLUMNNAME_CountryCode, CountryCode); } @@ -197,12 +185,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -222,12 +204,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent { if (DisplaySequence == null) throw new IllegalArgumentException ("DisplaySequence is mandatory."); - - if (DisplaySequence.length() > 20) - { - log.warning("Length > 20 - truncated"); - DisplaySequence = DisplaySequence.substring(0, 20); - } set_Value (COLUMNNAME_DisplaySequence, DisplaySequence); } @@ -245,12 +221,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setDisplaySequenceLocal (String DisplaySequenceLocal) { - - if (DisplaySequenceLocal != null && DisplaySequenceLocal.length() > 20) - { - log.warning("Length > 20 - truncated"); - DisplaySequenceLocal = DisplaySequenceLocal.substring(0, 20); - } set_Value (COLUMNNAME_DisplaySequenceLocal, DisplaySequenceLocal); } @@ -268,12 +238,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setExpressionBankAccountNo (String ExpressionBankAccountNo) { - - if (ExpressionBankAccountNo != null && ExpressionBankAccountNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - ExpressionBankAccountNo = ExpressionBankAccountNo.substring(0, 20); - } set_Value (COLUMNNAME_ExpressionBankAccountNo, ExpressionBankAccountNo); } @@ -291,12 +255,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setExpressionBankRoutingNo (String ExpressionBankRoutingNo) { - - if (ExpressionBankRoutingNo != null && ExpressionBankRoutingNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - ExpressionBankRoutingNo = ExpressionBankRoutingNo.substring(0, 20); - } set_Value (COLUMNNAME_ExpressionBankRoutingNo, ExpressionBankRoutingNo); } @@ -314,12 +272,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setExpressionPhone (String ExpressionPhone) { - - if (ExpressionPhone != null && ExpressionPhone.length() > 20) - { - log.warning("Length > 20 - truncated"); - ExpressionPhone = ExpressionPhone.substring(0, 20); - } set_Value (COLUMNNAME_ExpressionPhone, ExpressionPhone); } @@ -337,12 +289,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setExpressionPostal (String ExpressionPostal) { - - if (ExpressionPostal != null && ExpressionPostal.length() > 20) - { - log.warning("Length > 20 - truncated"); - ExpressionPostal = ExpressionPostal.substring(0, 20); - } set_Value (COLUMNNAME_ExpressionPostal, ExpressionPostal); } @@ -360,12 +306,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setExpressionPostal_Add (String ExpressionPostal_Add) { - - if (ExpressionPostal_Add != null && ExpressionPostal_Add.length() > 20) - { - log.warning("Length > 20 - truncated"); - ExpressionPostal_Add = ExpressionPostal_Add.substring(0, 20); - } set_Value (COLUMNNAME_ExpressionPostal_Add, ExpressionPostal_Add); } @@ -503,12 +443,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setLookupClassName (String LookupClassName) { - - if (LookupClassName != null && LookupClassName.length() > 255) - { - log.warning("Length > 255 - truncated"); - LookupClassName = LookupClassName.substring(0, 255); - } set_Value (COLUMNNAME_LookupClassName, LookupClassName); } @@ -526,12 +460,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setLookupClientID (String LookupClientID) { - - if (LookupClientID != null && LookupClientID.length() > 50) - { - log.warning("Length > 50 - truncated"); - LookupClientID = LookupClientID.substring(0, 50); - } set_Value (COLUMNNAME_LookupClientID, LookupClientID); } @@ -549,12 +477,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setLookupPassword (String LookupPassword) { - - if (LookupPassword != null && LookupPassword.length() > 50) - { - log.warning("Length > 50 - truncated"); - LookupPassword = LookupPassword.substring(0, 50); - } set_Value (COLUMNNAME_LookupPassword, LookupPassword); } @@ -572,12 +494,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setLookupUrl (String LookupUrl) { - - if (LookupUrl != null && LookupUrl.length() > 100) - { - log.warning("Length > 100 - truncated"); - LookupUrl = LookupUrl.substring(0, 100); - } set_Value (COLUMNNAME_LookupUrl, LookupUrl); } @@ -595,12 +511,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setMediaSize (String MediaSize) { - - if (MediaSize != null && MediaSize.length() > 40) - { - log.warning("Length > 40 - truncated"); - MediaSize = MediaSize.substring(0, 40); - } set_Value (COLUMNNAME_MediaSize, MediaSize); } @@ -620,12 +530,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -651,12 +555,6 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent */ public void setRegionName (String RegionName) { - - if (RegionName != null && RegionName.length() > 60) - { - log.warning("Length > 60 - truncated"); - RegionName = RegionName.substring(0, 60); - } set_Value (COLUMNNAME_RegionName, RegionName); } diff --git a/base/src/org/compiere/model/X_C_Currency.java b/base/src/org/compiere/model/X_C_Currency.java index 962654b75b..b9dded86b8 100644 --- a/base/src/org/compiere/model/X_C_Currency.java +++ b/base/src/org/compiere/model/X_C_Currency.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Currency * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent { @@ -45,11 +45,11 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent setCostingPrecision (0); // 4 setDescription (null); - setISO_Code (null); setIsEMUMember (false); // N setIsEuro (false); // N + setISO_Code (null); setStdPrecision (0); // 2 } */ @@ -131,12 +131,6 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent */ public void setCurSymbol (String CurSymbol) { - - if (CurSymbol != null && CurSymbol.length() > 10) - { - log.warning("Length > 10 - truncated"); - CurSymbol = CurSymbol.substring(0, 10); - } set_Value (COLUMNNAME_CurSymbol, CurSymbol); } @@ -156,12 +150,6 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -210,39 +198,6 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent return bd; } - /** Set ISO Currency Code. - @param ISO_Code - Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code) - { - if (ISO_Code == null) - throw new IllegalArgumentException ("ISO_Code is mandatory."); - - if (ISO_Code.length() > 3) - { - log.warning("Length > 3 - truncated"); - ISO_Code = ISO_Code.substring(0, 3); - } - set_Value (COLUMNNAME_ISO_Code, ISO_Code); - } - - /** Get ISO Currency Code. - @return Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code () - { - return (String)get_Value(COLUMNNAME_ISO_Code); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), getISO_Code()); - } - /** Set EMU Member. @param IsEMUMember This currency is member if the European Monetary Union @@ -291,6 +246,33 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent return false; } + /** Set ISO Currency Code. + @param ISO_Code + Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code) + { + if (ISO_Code == null) + throw new IllegalArgumentException ("ISO_Code is mandatory."); + set_Value (COLUMNNAME_ISO_Code, ISO_Code); + } + + /** Get ISO Currency Code. + @return Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code () + { + return (String)get_Value(COLUMNNAME_ISO_Code); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), getISO_Code()); + } + /** Set Standard Precision. @param StdPrecision Rule for rounding calculated amounts diff --git a/base/src/org/compiere/model/X_C_Currency_Acct.java b/base/src/org/compiere/model/X_C_Currency_Acct.java index 7fffb6b720..41be140148 100644 --- a/base/src/org/compiere/model/X_C_Currency_Acct.java +++ b/base/src/org/compiere/model/X_C_Currency_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Currency_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Cycle.java b/base/src/org/compiere/model/X_C_Cycle.java index 2b0f709eb7..30b0fdac97 100644 --- a/base/src/org/compiere/model/X_C_Cycle.java +++ b/base/src/org/compiere/model/X_C_Cycle.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Cycle * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent { @@ -140,12 +140,6 @@ public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_CyclePhase.java b/base/src/org/compiere/model/X_C_CyclePhase.java index 0ec2d97405..4aa374d749 100644 --- a/base/src/org/compiere/model/X_C_CyclePhase.java +++ b/base/src/org/compiere/model/X_C_CyclePhase.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_CyclePhase * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_CycleStep.java b/base/src/org/compiere/model/X_C_CycleStep.java index c4ee1f8c28..b08c8ebcb7 100644 --- a/base/src/org/compiere/model/X_C_CycleStep.java +++ b/base/src/org/compiere/model/X_C_CycleStep.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CycleStep * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent { @@ -42,8 +42,8 @@ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent super (ctx, C_CycleStep_ID, trxName); /** if (C_CycleStep_ID == 0) { - setC_CycleStep_ID (0); setC_Cycle_ID (0); + setC_CycleStep_ID (0); setName (null); setRelativeWeight (Env.ZERO); // 1 @@ -80,28 +80,6 @@ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent return sb.toString(); } - /** Set Cycle Step. - @param C_CycleStep_ID - The step for this Cycle - */ - public void setC_CycleStep_ID (int C_CycleStep_ID) - { - if (C_CycleStep_ID < 1) - throw new IllegalArgumentException ("C_CycleStep_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_CycleStep_ID, Integer.valueOf(C_CycleStep_ID)); - } - - /** Get Cycle Step. - @return The step for this Cycle - */ - public int getC_CycleStep_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_CycleStep_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Cycle getC_Cycle() throws Exception { Class clazz = MTable.getClass(I_C_Cycle.Table_Name); @@ -140,6 +118,28 @@ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent return ii.intValue(); } + /** Set Cycle Step. + @param C_CycleStep_ID + The step for this Cycle + */ + public void setC_CycleStep_ID (int C_CycleStep_ID) + { + if (C_CycleStep_ID < 1) + throw new IllegalArgumentException ("C_CycleStep_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_CycleStep_ID, Integer.valueOf(C_CycleStep_ID)); + } + + /** Get Cycle Step. + @return The step for this Cycle + */ + public int getC_CycleStep_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_CycleStep_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -148,12 +148,6 @@ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_DocType.java b/base/src/org/compiere/model/X_C_DocType.java index 4f39fa8824..85bbbaa78d 100644 --- a/base/src/org/compiere/model/X_C_DocType.java +++ b/base/src/org/compiere/model/X_C_DocType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DocType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent { @@ -52,11 +52,11 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent setIsDefaultCounterDoc (false); setIsDocNoControlled (true); // Y - setIsInTransit (false); setIsIndexed (false); + setIsInTransit (false); setIsPickQAConfirm (false); - setIsSOTrx (false); setIsShipConfirm (false); + setIsSOTrx (false); setIsSplitWhenDifference (false); // N setName (null); @@ -156,6 +156,28 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return ii.intValue(); } + /** Set Document Type. + @param C_DocType_ID + Document type or rules + */ + public void setC_DocType_ID (int C_DocType_ID) + { + if (C_DocType_ID < 0) + throw new IllegalArgumentException ("C_DocType_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID)); + } + + /** Get Document Type. + @return Document type or rules + */ + public int getC_DocType_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** C_DocTypeInvoice_ID AD_Reference_ID=170 */ public static final int C_DOCTYPEINVOICE_ID_AD_Reference_ID=170; /** Set Document Type for Invoice. @@ -231,28 +253,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return ii.intValue(); } - /** Set Document Type. - @param C_DocType_ID - Document type or rules - */ - public void setC_DocType_ID (int C_DocType_ID) - { - if (C_DocType_ID < 0) - throw new IllegalArgumentException ("C_DocType_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID)); - } - - /** Get Document Type. - @return Document type or rules - */ - public int getC_DocType_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** DefiniteSequence_ID AD_Reference_ID=128 */ public static final int DEFINITESEQUENCE_ID_AD_Reference_ID=128; /** Set Definite Sequence. @@ -281,12 +281,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -375,13 +369,7 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public void setDocBaseType (String DocBaseType) { if (DocBaseType == null) throw new IllegalArgumentException ("DocBaseType is mandatory"); - if (DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOA") || DocBaseType.equals("MOF") || DocBaseType.equals("MOI") || DocBaseType.equals("MOM") || DocBaseType.equals("MOP") || DocBaseType.equals("MOR") || DocBaseType.equals("MOU") || DocBaseType.equals("MOV") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOA - MOF - MOI - MOM - MOP - MOR - MOU - MOV - MQO - HRP - DOO"); - if (DocBaseType.length() > 3) - { - log.warning("Length > 3 - truncated"); - DocBaseType = DocBaseType.substring(0, 3); - } - set_Value (COLUMNNAME_DocBaseType, DocBaseType); + if (DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOA") || DocBaseType.equals("MOF") || DocBaseType.equals("MOI") || DocBaseType.equals("MOM") || DocBaseType.equals("MOP") || DocBaseType.equals("MOR") || DocBaseType.equals("MOU") || DocBaseType.equals("MOV") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOA - MOF - MOI - MOM - MOP - MOR - MOU - MOV - MQO - HRP - DOO"); set_Value (COLUMNNAME_DocBaseType, DocBaseType); } /** Get Document BaseType. @@ -442,13 +430,7 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public void setDocSubTypeSO (String DocSubTypeSO) { - if (DocSubTypeSO == null || DocSubTypeSO.equals("WI") || DocSubTypeSO.equals("WR") || DocSubTypeSO.equals("WP") || DocSubTypeSO.equals("SO") || DocSubTypeSO.equals("ON") || DocSubTypeSO.equals("OB") || DocSubTypeSO.equals("RM") || DocSubTypeSO.equals("PR")); else throw new IllegalArgumentException ("DocSubTypeSO Invalid value - " + DocSubTypeSO + " - Reference_ID=148 - WI - WR - WP - SO - ON - OB - RM - PR"); - if (DocSubTypeSO != null && DocSubTypeSO.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocSubTypeSO = DocSubTypeSO.substring(0, 2); - } - set_Value (COLUMNNAME_DocSubTypeSO, DocSubTypeSO); + if (DocSubTypeSO == null || DocSubTypeSO.equals("WI") || DocSubTypeSO.equals("WR") || DocSubTypeSO.equals("WP") || DocSubTypeSO.equals("SO") || DocSubTypeSO.equals("ON") || DocSubTypeSO.equals("OB") || DocSubTypeSO.equals("RM") || DocSubTypeSO.equals("PR")); else throw new IllegalArgumentException ("DocSubTypeSO Invalid value - " + DocSubTypeSO + " - Reference_ID=148 - WI - WR - WP - SO - ON - OB - RM - PR"); set_Value (COLUMNNAME_DocSubTypeSO, DocSubTypeSO); } /** Get SO Sub Type. @@ -485,12 +467,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent */ public void setDocumentNote (String DocumentNote) { - - if (DocumentNote != null && DocumentNote.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DocumentNote = DocumentNote.substring(0, 2000); - } set_Value (COLUMNNAME_DocumentNote, DocumentNote); } @@ -684,30 +660,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return false; } - /** Set In Transit. - @param IsInTransit - Movement is in transit - */ - public void setIsInTransit (boolean IsInTransit) - { - set_Value (COLUMNNAME_IsInTransit, Boolean.valueOf(IsInTransit)); - } - - /** Get In Transit. - @return Movement is in transit - */ - public boolean isInTransit () - { - Object oo = get_Value(COLUMNNAME_IsInTransit); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Indexed. @param IsIndexed Index the document for the internal search engine @@ -732,6 +684,30 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return false; } + /** Set In Transit. + @param IsInTransit + Movement is in transit + */ + public void setIsInTransit (boolean IsInTransit) + { + set_Value (COLUMNNAME_IsInTransit, Boolean.valueOf(IsInTransit)); + } + + /** Get In Transit. + @return Movement is in transit + */ + public boolean isInTransit () + { + Object oo = get_Value(COLUMNNAME_IsInTransit); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Overwrite Date on Complete. @param IsOverwriteDateOnComplete Overwrite Date on Complete */ public void setIsOverwriteDateOnComplete (boolean IsOverwriteDateOnComplete) @@ -798,30 +774,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return false; } - /** Set Sales Transaction. - @param IsSOTrx - This is a Sales Transaction - */ - public void setIsSOTrx (boolean IsSOTrx) - { - set_Value (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); - } - - /** Get Sales Transaction. - @return This is a Sales Transaction - */ - public boolean isSOTrx () - { - Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Ship/Receipt Confirmation. @param IsShipConfirm Require Ship or Receipt Confirmation before processing @@ -846,6 +798,30 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return false; } + /** Set Sales Transaction. + @param IsSOTrx + This is a Sales Transaction + */ + public void setIsSOTrx (boolean IsSOTrx) + { + set_Value (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); + } + + /** Get Sales Transaction. + @return This is a Sales Transaction + */ + public boolean isSOTrx () + { + Object oo = get_Value(COLUMNNAME_IsSOTrx); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Split when Difference. @param IsSplitWhenDifference Split document when there is a difference @@ -878,12 +854,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -911,12 +881,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent { if (PrintName == null) throw new IllegalArgumentException ("PrintName is mandatory."); - - if (PrintName.length() > 60) - { - log.warning("Length > 60 - truncated"); - PrintName = PrintName.substring(0, 60); - } set_Value (COLUMNNAME_PrintName, PrintName); } diff --git a/base/src/org/compiere/model/X_C_DocTypeCounter.java b/base/src/org/compiere/model/X_C_DocTypeCounter.java index c7e9ddbeec..862dc68c49 100644 --- a/base/src/org/compiere/model/X_C_DocTypeCounter.java +++ b/base/src/org/compiere/model/X_C_DocTypeCounter.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DocTypeCounter * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Persistent { @@ -168,12 +168,6 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -222,13 +216,7 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers public void setDocAction (String DocAction) { - if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction != null && DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -295,12 +283,6 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Dunning.java b/base/src/org/compiere/model/X_C_Dunning.java index fd30a0c331..93c176a1ae 100644 --- a/base/src/org/compiere/model/X_C_Dunning.java +++ b/base/src/org/compiere/model/X_C_Dunning.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Dunning * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent { @@ -126,12 +126,6 @@ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -175,12 +169,6 @@ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_DunningLevel.java b/base/src/org/compiere/model/X_C_DunningLevel.java index 4ba8722050..b85347f492 100644 --- a/base/src/org/compiere/model/X_C_DunningLevel.java +++ b/base/src/org/compiere/model/X_C_DunningLevel.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningLevel * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persistent { @@ -42,8 +42,8 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste super (ctx, C_DunningLevel_ID, trxName); /** if (C_DunningLevel_ID == 0) { - setC_DunningLevel_ID (0); setC_Dunning_ID (0); + setC_DunningLevel_ID (0); setChargeFee (false); setChargeInterest (false); setDaysAfterDue (Env.ZERO); @@ -85,25 +85,6 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste return sb.toString(); } - /** Set Dunning Level. - @param C_DunningLevel_ID Dunning Level */ - public void setC_DunningLevel_ID (int C_DunningLevel_ID) - { - if (C_DunningLevel_ID < 1) - throw new IllegalArgumentException ("C_DunningLevel_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_DunningLevel_ID, Integer.valueOf(C_DunningLevel_ID)); - } - - /** Get Dunning Level. - @return Dunning Level */ - public int getC_DunningLevel_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_DunningLevel_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Dunning getC_Dunning() throws Exception { Class clazz = MTable.getClass(I_C_Dunning.Table_Name); @@ -142,40 +123,20 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste return ii.intValue(); } - public I_C_PaymentTerm getC_PaymentTerm() throws Exception - { - Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); - I_C_PaymentTerm result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_PaymentTerm)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_PaymentTerm_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Payment Term. - @param C_PaymentTerm_ID - The terms of Payment (timing, discount) - */ - public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) + /** Set Dunning Level. + @param C_DunningLevel_ID Dunning Level */ + public void setC_DunningLevel_ID (int C_DunningLevel_ID) { - if (C_PaymentTerm_ID < 1) - set_Value (COLUMNNAME_C_PaymentTerm_ID, null); - else - set_Value (COLUMNNAME_C_PaymentTerm_ID, Integer.valueOf(C_PaymentTerm_ID)); + if (C_DunningLevel_ID < 1) + throw new IllegalArgumentException ("C_DunningLevel_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_DunningLevel_ID, Integer.valueOf(C_DunningLevel_ID)); } - /** Get Payment Term. - @return The terms of Payment (timing, discount) - */ - public int getC_PaymentTerm_ID () + /** Get Dunning Level. + @return Dunning Level */ + public int getC_DunningLevel_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentTerm_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_DunningLevel_ID); if (ii == null) return 0; return ii.intValue(); @@ -229,6 +190,45 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste return false; } + public I_C_PaymentTerm getC_PaymentTerm() throws Exception + { + Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); + I_C_PaymentTerm result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_PaymentTerm)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_PaymentTerm_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Payment Term. + @param C_PaymentTerm_ID + The terms of Payment (timing, discount) + */ + public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) + { + if (C_PaymentTerm_ID < 1) + set_Value (COLUMNNAME_C_PaymentTerm_ID, null); + else + set_Value (COLUMNNAME_C_PaymentTerm_ID, Integer.valueOf(C_PaymentTerm_ID)); + } + + /** Get Payment Term. + @return The terms of Payment (timing, discount) + */ + public int getC_PaymentTerm_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentTerm_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Days after due date. @param DaysAfterDue Days after due date to dun (if negative days until due) @@ -277,12 +277,6 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -463,12 +457,6 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -494,12 +482,6 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste */ public void setNote (String Note) { - - if (Note != null && Note.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Note = Note.substring(0, 2000); - } set_Value (COLUMNNAME_Note, Note); } @@ -519,12 +501,6 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste { if (PrintName == null) throw new IllegalArgumentException ("PrintName is mandatory."); - - if (PrintName.length() > 60) - { - log.warning("Length > 60 - truncated"); - PrintName = PrintName.substring(0, 60); - } set_Value (COLUMNNAME_PrintName, PrintName); } diff --git a/base/src/org/compiere/model/X_C_DunningRun.java b/base/src/org/compiere/model/X_C_DunningRun.java index 3031d5ef9d..3bdd7a52c0 100644 --- a/base/src/org/compiere/model/X_C_DunningRun.java +++ b/base/src/org/compiere/model/X_C_DunningRun.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningRun * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent { @@ -43,7 +43,7 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent { setC_DunningLevel_ID (0); setC_DunningRun_ID (0); - setDunningDate (new Timestamp(System.currentTimeMillis())); + setDunningDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ setProcessed (false); } */ @@ -140,12 +140,6 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -233,12 +227,6 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent @param SendIt Send */ public void setSendIt (String SendIt) { - - if (SendIt != null && SendIt.length() > 1) - { - log.warning("Length > 1 - truncated"); - SendIt = SendIt.substring(0, 1); - } set_Value (COLUMNNAME_SendIt, SendIt); } diff --git a/base/src/org/compiere/model/X_C_DunningRunEntry.java b/base/src/org/compiere/model/X_C_DunningRunEntry.java index dc17c8c042..c484fadbb6 100644 --- a/base/src/org/compiere/model/X_C_DunningRunEntry.java +++ b/base/src/org/compiere/model/X_C_DunningRunEntry.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningRunEntry * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Persistent { @@ -331,12 +331,6 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe */ public void setNote (String Note) { - - if (Note != null && Note.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Note = Note.substring(0, 2000); - } set_Value (COLUMNNAME_Note, Note); } diff --git a/base/src/org/compiere/model/X_C_DunningRunLine.java b/base/src/org/compiere/model/X_C_DunningRunLine.java index 86f8a9fc9b..7a73e1e763 100644 --- a/base/src/org/compiere/model/X_C_DunningRunLine.java +++ b/base/src/org/compiere/model/X_C_DunningRunLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningRunLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Persistent { @@ -167,45 +167,6 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers return ii.intValue(); } - public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws Exception - { - Class clazz = MTable.getClass(I_C_InvoicePaySchedule.Table_Name); - I_C_InvoicePaySchedule result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_InvoicePaySchedule)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoicePaySchedule_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Invoice Payment Schedule. - @param C_InvoicePaySchedule_ID - Invoice Payment Schedule - */ - public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID) - { - if (C_InvoicePaySchedule_ID < 1) - set_Value (COLUMNNAME_C_InvoicePaySchedule_ID, null); - else - set_Value (COLUMNNAME_C_InvoicePaySchedule_ID, Integer.valueOf(C_InvoicePaySchedule_ID)); - } - - /** Get Invoice Payment Schedule. - @return Invoice Payment Schedule - */ - public int getC_InvoicePaySchedule_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoicePaySchedule_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -253,6 +214,67 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getC_Invoice_ID())); } + public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws Exception + { + Class clazz = MTable.getClass(I_C_InvoicePaySchedule.Table_Name); + I_C_InvoicePaySchedule result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_InvoicePaySchedule)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoicePaySchedule_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Invoice Payment Schedule. + @param C_InvoicePaySchedule_ID + Invoice Payment Schedule + */ + public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID) + { + if (C_InvoicePaySchedule_ID < 1) + set_Value (COLUMNNAME_C_InvoicePaySchedule_ID, null); + else + set_Value (COLUMNNAME_C_InvoicePaySchedule_ID, Integer.valueOf(C_InvoicePaySchedule_ID)); + } + + /** Get Invoice Payment Schedule. + @return Invoice Payment Schedule + */ + public int getC_InvoicePaySchedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoicePaySchedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Converted Amount. + @param ConvertedAmt + Converted Amount + */ + public void setConvertedAmt (BigDecimal ConvertedAmt) + { + if (ConvertedAmt == null) + throw new IllegalArgumentException ("ConvertedAmt is mandatory."); + set_Value (COLUMNNAME_ConvertedAmt, ConvertedAmt); + } + + /** Get Converted Amount. + @return Converted Amount + */ + public BigDecimal getConvertedAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConvertedAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_Payment getC_Payment() throws Exception { Class clazz = MTable.getClass(I_C_Payment.Table_Name); @@ -292,28 +314,6 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers return ii.intValue(); } - /** Set Converted Amount. - @param ConvertedAmt - Converted Amount - */ - public void setConvertedAmt (BigDecimal ConvertedAmt) - { - if (ConvertedAmt == null) - throw new IllegalArgumentException ("ConvertedAmt is mandatory."); - set_Value (COLUMNNAME_ConvertedAmt, ConvertedAmt); - } - - /** Get Converted Amount. - @return Converted Amount - */ - public BigDecimal getConvertedAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConvertedAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Days due. @param DaysDue Number of days due (negative: due in number of days) diff --git a/base/src/org/compiere/model/X_C_Element.java b/base/src/org/compiere/model/X_C_Element.java index 0da1d0a58f..73168d502e 100644 --- a/base/src/org/compiere/model/X_C_Element.java +++ b/base/src/org/compiere/model/X_C_Element.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Element * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Element extends PO implements I_C_Element, I_Persistent { @@ -144,12 +144,6 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -174,13 +168,7 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent public void setElementType (String ElementType) { if (ElementType == null) throw new IllegalArgumentException ("ElementType is mandatory"); - if (ElementType.equals("A") || ElementType.equals("U")); else throw new IllegalArgumentException ("ElementType Invalid value - " + ElementType + " - Reference_ID=116 - A - U"); - if (ElementType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ElementType = ElementType.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_ElementType, ElementType); + if (ElementType.equals("A") || ElementType.equals("U")); else throw new IllegalArgumentException ("ElementType Invalid value - " + ElementType + " - Reference_ID=116 - A - U"); set_ValueNoCheck (COLUMNNAME_ElementType, ElementType); } /** Get Type. @@ -247,12 +235,6 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -278,12 +260,6 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent */ public void setVFormat (String VFormat) { - - if (VFormat != null && VFormat.length() > 40) - { - log.warning("Length > 40 - truncated"); - VFormat = VFormat.substring(0, 40); - } set_Value (COLUMNNAME_VFormat, VFormat); } diff --git a/base/src/org/compiere/model/X_C_ElementValue.java b/base/src/org/compiere/model/X_C_ElementValue.java index 64c979ed46..798d5ee46a 100644 --- a/base/src/org/compiere/model/X_C_ElementValue.java +++ b/base/src/org/compiere/model/X_C_ElementValue.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ElementValue * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persistent { @@ -45,8 +45,8 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste // N setAccountType (null); // E - setC_ElementValue_ID (0); setC_Element_ID (0); + setC_ElementValue_ID (0); setIsSummary (false); setName (null); setPostActual (true); @@ -104,13 +104,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public void setAccountSign (String AccountSign) { if (AccountSign == null) throw new IllegalArgumentException ("AccountSign is mandatory"); - if (AccountSign.equals("N") || AccountSign.equals("D") || AccountSign.equals("C")); else throw new IllegalArgumentException ("AccountSign Invalid value - " + AccountSign + " - Reference_ID=118 - N - D - C"); - if (AccountSign.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccountSign = AccountSign.substring(0, 1); - } - set_Value (COLUMNNAME_AccountSign, AccountSign); + if (AccountSign.equals("N") || AccountSign.equals("D") || AccountSign.equals("C")); else throw new IllegalArgumentException ("AccountSign Invalid value - " + AccountSign + " - Reference_ID=118 - N - D - C"); set_Value (COLUMNNAME_AccountSign, AccountSign); } /** Get Account Sign. @@ -142,13 +136,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public void setAccountType (String AccountType) { if (AccountType == null) throw new IllegalArgumentException ("AccountType is mandatory"); - if (AccountType.equals("A") || AccountType.equals("L") || AccountType.equals("R") || AccountType.equals("E") || AccountType.equals("O") || AccountType.equals("M")); else throw new IllegalArgumentException ("AccountType Invalid value - " + AccountType + " - Reference_ID=117 - A - L - R - E - O - M"); - if (AccountType.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccountType = AccountType.substring(0, 1); - } - set_Value (COLUMNNAME_AccountType, AccountType); + if (AccountType.equals("A") || AccountType.equals("L") || AccountType.equals("R") || AccountType.equals("E") || AccountType.equals("O") || AccountType.equals("M")); else throw new IllegalArgumentException ("AccountType Invalid value - " + AccountType + " - Reference_ID=117 - A - L - R - E - O - M"); set_Value (COLUMNNAME_AccountType, AccountType); } /** Get Account Type. @@ -237,28 +225,6 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste return ii.intValue(); } - /** Set Account Element. - @param C_ElementValue_ID - Account Element - */ - public void setC_ElementValue_ID (int C_ElementValue_ID) - { - if (C_ElementValue_ID < 1) - throw new IllegalArgumentException ("C_ElementValue_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_ElementValue_ID, Integer.valueOf(C_ElementValue_ID)); - } - - /** Get Account Element. - @return Account Element - */ - public int getC_ElementValue_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ElementValue_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Element getC_Element() throws Exception { Class clazz = MTable.getClass(I_C_Element.Table_Name); @@ -297,18 +263,34 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste return ii.intValue(); } + /** Set Account Element. + @param C_ElementValue_ID + Account Element + */ + public void setC_ElementValue_ID (int C_ElementValue_ID) + { + if (C_ElementValue_ID < 1) + throw new IllegalArgumentException ("C_ElementValue_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_ElementValue_ID, Integer.valueOf(C_ElementValue_ID)); + } + + /** Get Account Element. + @return Account Element + */ + public int getC_ElementValue_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ElementValue_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -424,12 +406,6 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -579,12 +555,6 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_Greeting.java b/base/src/org/compiere/model/X_C_Greeting.java index d0161d90a2..f04bf86a0e 100644 --- a/base/src/org/compiere/model/X_C_Greeting.java +++ b/base/src/org/compiere/model/X_C_Greeting.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Greeting * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent { @@ -101,12 +101,6 @@ public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent */ public void setGreeting (String Greeting) { - - if (Greeting != null && Greeting.length() > 60) - { - log.warning("Length > 60 - truncated"); - Greeting = Greeting.substring(0, 60); - } set_Value (COLUMNNAME_Greeting, Greeting); } @@ -174,12 +168,6 @@ public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_InterOrg_Acct.java b/base/src/org/compiere/model/X_C_InterOrg_Acct.java index 86bf788a5f..aa0ab67ed4 100644 --- a/base/src/org/compiere/model/X_C_InterOrg_Acct.java +++ b/base/src/org/compiere/model/X_C_InterOrg_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_InterOrg_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Invoice.java b/base/src/org/compiere/model/X_C_Invoice.java index 39a1db1ddc..afa27e01c9 100644 --- a/base/src/org/compiere/model/X_C_Invoice.java +++ b/base/src/org/compiere/model/X_C_Invoice.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Invoice * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent { @@ -47,14 +47,14 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent setC_BPartner_Location_ID (0); setC_Currency_ID (0); // @C_Currency_ID@ - setC_DocTypeTarget_ID (0); setC_DocType_ID (0); // 0 + setC_DocTypeTarget_ID (0); setC_Invoice_ID (0); setC_PaymentTerm_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @#Date@ - setDateInvoiced (new Timestamp(System.currentTimeMillis())); + setDateInvoiced (new Timestamp( System.currentTimeMillis() )); // @#Date@ setDocAction (null); // CO @@ -70,9 +70,9 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent setIsPaid (false); setIsPayScheduleValid (false); setIsPrinted (false); + setIsSelfService (false); setIsSOTrx (false); // @IsSOTrx@ - setIsSelfService (false); setIsTaxIncluded (false); setIsTransferred (false); setM_PriceList_ID (0); @@ -473,30 +473,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - /** C_DocTypeTarget_ID AD_Reference_ID=170 */ - public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=170; - /** Set Target Document Type. - @param C_DocTypeTarget_ID - Target document type for conversing documents - */ - public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID) - { - if (C_DocTypeTarget_ID < 1) - throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory."); - set_Value (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID)); - } - - /** Get Target Document Type. - @return Target document type for conversing documents - */ - public int getC_DocTypeTarget_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_DocType getC_DocType() throws Exception { Class clazz = MTable.getClass(I_C_DocType.Table_Name); @@ -535,6 +511,30 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } + /** C_DocTypeTarget_ID AD_Reference_ID=170 */ + public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=170; + /** Set Target Document Type. + @param C_DocTypeTarget_ID + Target document type for conversing documents + */ + public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID) + { + if (C_DocTypeTarget_ID < 1) + throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory."); + set_Value (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID)); + } + + /** Get Target Document Type. + @return Target document type for conversing documents + */ + public int getC_DocTypeTarget_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_DunningLevel getC_DunningLevel() throws Exception { Class clazz = MTable.getClass(I_C_DunningLevel.Table_Name); @@ -571,6 +571,26 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Invoice. @param C_Invoice_ID Invoice Identifier @@ -593,6 +613,23 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } + /** Set Copy From. + @param CopyFrom + Copy From Record + */ + public void setCopyFrom (String CopyFrom) + { + set_Value (COLUMNNAME_CopyFrom, CopyFrom); + } + + /** Get Copy From. + @return Copy From Record + */ + public String getCopyFrom () + { + return (String)get_Value(COLUMNNAME_CopyFrom); + } + public I_C_Order getC_Order() throws Exception { Class clazz = MTable.getClass(I_C_Order.Table_Name); @@ -632,44 +669,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_PaymentTerm getC_PaymentTerm() throws Exception - { - Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); - I_C_PaymentTerm result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_PaymentTerm)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_PaymentTerm_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Payment Term. - @param C_PaymentTerm_ID - The terms of Payment (timing, discount) - */ - public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) - { - if (C_PaymentTerm_ID < 1) - throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); - set_Value (COLUMNNAME_C_PaymentTerm_ID, Integer.valueOf(C_PaymentTerm_ID)); - } - - /** Get Payment Term. - @return The terms of Payment (timing, discount) - */ - public int getC_PaymentTerm_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentTerm_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Payment getC_Payment() throws Exception { Class clazz = MTable.getClass(I_C_Payment.Table_Name); @@ -709,6 +708,44 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } + public I_C_PaymentTerm getC_PaymentTerm() throws Exception + { + Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); + I_C_PaymentTerm result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_PaymentTerm)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_PaymentTerm_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Payment Term. + @param C_PaymentTerm_ID + The terms of Payment (timing, discount) + */ + public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) + { + if (C_PaymentTerm_ID < 1) + throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); + set_Value (COLUMNNAME_C_PaymentTerm_ID, Integer.valueOf(C_PaymentTerm_ID)); + } + + /** Get Payment Term. + @return The terms of Payment (timing, discount) + */ + public int getC_PaymentTerm_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentTerm_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -748,61 +785,12 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Copy From. - @param CopyFrom - Copy From Record - */ - public void setCopyFrom (String CopyFrom) - { - - if (CopyFrom != null && CopyFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyFrom = CopyFrom.substring(0, 1); - } - set_Value (COLUMNNAME_CopyFrom, CopyFrom); - } - - /** Get Copy From. - @return Copy From Record - */ - public String getCopyFrom () - { - return (String)get_Value(COLUMNNAME_CopyFrom); - } - /** Set Create lines from. @param CreateFrom Process which will generate a new document lines based on an existing document */ public void setCreateFrom (String CreateFrom) { - - if (CreateFrom != null && CreateFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateFrom = CreateFrom.substring(0, 1); - } set_Value (COLUMNNAME_CreateFrom, CreateFrom); } @@ -892,12 +880,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -946,13 +928,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -996,13 +972,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -1021,12 +991,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -1066,12 +1030,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent */ public void setGenerateTo (String GenerateTo) { - - if (GenerateTo != null && GenerateTo.length() > 1) - { - log.warning("Length > 1 - truncated"); - GenerateTo = GenerateTo.substring(0, 1); - } set_Value (COLUMNNAME_GenerateTo, GenerateTo); } @@ -1122,13 +1080,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public void setInvoiceCollectionType (String InvoiceCollectionType) { - if (InvoiceCollectionType == null || InvoiceCollectionType.equals("D") || InvoiceCollectionType.equals("C") || InvoiceCollectionType.equals("L") || InvoiceCollectionType.equals("U")); else throw new IllegalArgumentException ("InvoiceCollectionType Invalid value - " + InvoiceCollectionType + " - Reference_ID=394 - D - C - L - U"); - if (InvoiceCollectionType != null && InvoiceCollectionType.length() > 1) - { - log.warning("Length > 1 - truncated"); - InvoiceCollectionType = InvoiceCollectionType.substring(0, 1); - } - set_Value (COLUMNNAME_InvoiceCollectionType, InvoiceCollectionType); + if (InvoiceCollectionType == null || InvoiceCollectionType.equals("D") || InvoiceCollectionType.equals("C") || InvoiceCollectionType.equals("L") || InvoiceCollectionType.equals("U")); else throw new IllegalArgumentException ("InvoiceCollectionType Invalid value - " + InvoiceCollectionType + " - Reference_ID=394 - D - C - L - U"); set_Value (COLUMNNAME_InvoiceCollectionType, InvoiceCollectionType); } /** Get Collection Status. @@ -1283,30 +1235,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return false; } - /** Set Sales Transaction. - @param IsSOTrx - This is a Sales Transaction - */ - public void setIsSOTrx (boolean IsSOTrx) - { - set_ValueNoCheck (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); - } - - /** Get Sales Transaction. - @return This is a Sales Transaction - */ - public boolean isSOTrx () - { - Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Self-Service. @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service @@ -1331,6 +1259,30 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return false; } + /** Set Sales Transaction. + @param IsSOTrx + This is a Sales Transaction + */ + public void setIsSOTrx (boolean IsSOTrx) + { + set_ValueNoCheck (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); + } + + /** Get Sales Transaction. + @return This is a Sales Transaction + */ + public boolean isSOTrx () + { + Object oo = get_Value(COLUMNNAME_IsSOTrx); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Price includes Tax. @param IsTaxIncluded Tax is included in the price @@ -1456,29 +1408,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - /** Set Order Reference. - @param POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference) - { - - if (POReference != null && POReference.length() > 20) - { - log.warning("Length > 20 - truncated"); - POReference = POReference.substring(0, 20); - } - set_Value (COLUMNNAME_POReference, POReference); - } - - /** Get Order Reference. - @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference () - { - return (String)get_Value(COLUMNNAME_POReference); - } - /** PaymentRule AD_Reference_ID=195 */ public static final int PAYMENTRULE_AD_Reference_ID=195; /** Cash = B */ @@ -1500,13 +1429,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public void setPaymentRule (String PaymentRule) { if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory"); - if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRule = PaymentRule.substring(0, 1); - } - set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. @@ -1517,6 +1440,23 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return (String)get_Value(COLUMNNAME_PaymentRule); } + /** Set Order Reference. + @param POReference + Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference) + { + set_Value (COLUMNNAME_POReference, POReference); + } + + /** Get Order Reference. + @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference () + { + return (String)get_Value(COLUMNNAME_POReference); + } + /** Set Posted. @param Posted Posting status diff --git a/base/src/org/compiere/model/X_C_InvoiceBatch.java b/base/src/org/compiere/model/X_C_InvoiceBatch.java index eeb319c0e2..7e65e08f6f 100644 --- a/base/src/org/compiere/model/X_C_InvoiceBatch.java +++ b/base/src/org/compiere/model/X_C_InvoiceBatch.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceBatch * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persistent { @@ -48,7 +48,7 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste setC_InvoiceBatch_ID (0); setControlAmt (Env.ZERO); // 0 - setDateDoc (new Timestamp(System.currentTimeMillis())); + setDateDoc (new Timestamp( System.currentTimeMillis() )); // @#Date@ setDocumentAmt (Env.ZERO); setDocumentNo (null); @@ -233,12 +233,6 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -280,12 +274,6 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_C_InvoiceBatchLine.java b/base/src/org/compiere/model/X_C_InvoiceBatchLine.java index 1712fd5661..65a46d7036 100644 --- a/base/src/org/compiere/model/X_C_InvoiceBatchLine.java +++ b/base/src/org/compiere/model/X_C_InvoiceBatchLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceBatchLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_Persistent { @@ -50,12 +50,12 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ setC_Charge_ID (0); setC_DocType_ID (0); // @C_DocType_ID@ - setC_InvoiceBatchLine_ID (0); setC_InvoiceBatch_ID (0); + setC_InvoiceBatchLine_ID (0); setC_Tax_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @DateAcct@;@DateDoc@ - setDateInvoiced (new Timestamp(System.currentTimeMillis())); + setDateInvoiced (new Timestamp( System.currentTimeMillis() )); // @DateInvoiced@;@DateDoc@ setDocumentNo (null); // @DocumentNo@ @@ -356,28 +356,6 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - /** Set Invoice Batch Line. - @param C_InvoiceBatchLine_ID - Expense Invoice Batch Line - */ - public void setC_InvoiceBatchLine_ID (int C_InvoiceBatchLine_ID) - { - if (C_InvoiceBatchLine_ID < 1) - throw new IllegalArgumentException ("C_InvoiceBatchLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_InvoiceBatchLine_ID, Integer.valueOf(C_InvoiceBatchLine_ID)); - } - - /** Get Invoice Batch Line. - @return Expense Invoice Batch Line - */ - public int getC_InvoiceBatchLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceBatchLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_InvoiceBatch getC_InvoiceBatch() throws Exception { Class clazz = MTable.getClass(I_C_InvoiceBatch.Table_Name); @@ -416,40 +394,23 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_InvoiceLine getC_InvoiceLine() throws Exception - { - Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); - I_C_InvoiceLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_InvoiceLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoiceLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Invoice Line. - @param C_InvoiceLine_ID - Invoice Detail Line + /** Set Invoice Batch Line. + @param C_InvoiceBatchLine_ID + Expense Invoice Batch Line */ - public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) + public void setC_InvoiceBatchLine_ID (int C_InvoiceBatchLine_ID) { - if (C_InvoiceLine_ID < 1) - set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, null); - else - set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); + if (C_InvoiceBatchLine_ID < 1) + throw new IllegalArgumentException ("C_InvoiceBatchLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_InvoiceBatchLine_ID, Integer.valueOf(C_InvoiceBatchLine_ID)); } - /** Get Invoice Line. - @return Invoice Detail Line + /** Get Invoice Batch Line. + @return Expense Invoice Batch Line */ - public int getC_InvoiceLine_ID () + public int getC_InvoiceBatchLine_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceBatchLine_ID); if (ii == null) return 0; return ii.intValue(); @@ -494,6 +455,45 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } + public I_C_InvoiceLine getC_InvoiceLine() throws Exception + { + Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); + I_C_InvoiceLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_InvoiceLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoiceLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Invoice Line. + @param C_InvoiceLine_ID + Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) + { + if (C_InvoiceLine_ID < 1) + set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); + } + + /** Get Invoice Line. + @return Invoice Detail Line + */ + public int getC_InvoiceLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -615,12 +615,6 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -640,12 +634,6 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_C_InvoiceLine.java b/base/src/org/compiere/model/X_C_InvoiceLine.java index d5eaba68b0..3fdb3a23c8 100644 --- a/base/src/org/compiere/model/X_C_InvoiceLine.java +++ b/base/src/org/compiere/model/X_C_InvoiceLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent { @@ -43,8 +43,8 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent super (ctx, C_InvoiceLine_ID, trxName); /** if (C_InvoiceLine_ID == 0) { - setC_InvoiceLine_ID (0); setC_Invoice_ID (0); + setC_InvoiceLine_ID (0); setC_Tax_ID (0); setIsDescription (false); // N @@ -94,31 +94,6 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return sb.toString(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; - /** Set Trx Organization. - @param AD_OrgTrx_ID - Performing or initiating organization - */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) - { - if (AD_OrgTrx_ID < 1) - set_Value (COLUMNNAME_AD_OrgTrx_ID, null); - else - set_Value (COLUMNNAME_AD_OrgTrx_ID, Integer.valueOf(AD_OrgTrx_ID)); - } - - /** Get Trx Organization. - @return Performing or initiating organization - */ - public int getAD_OrgTrx_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_OrgTrx_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_A_Asset_Group getA_Asset_Group() throws Exception { Class clazz = MTable.getClass(I_A_Asset_Group.Table_Name); @@ -208,13 +183,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent public void setA_CapvsExp (String A_CapvsExp) { - if (A_CapvsExp == null || A_CapvsExp.equals("Cap") || A_CapvsExp.equals("Exp")); else throw new IllegalArgumentException ("A_CapvsExp Invalid value - " + A_CapvsExp + " - Reference_ID=53277 - Cap - Exp"); - if (A_CapvsExp != null && A_CapvsExp.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_CapvsExp = A_CapvsExp.substring(0, 3); - } - set_Value (COLUMNNAME_A_CapvsExp, A_CapvsExp); + if (A_CapvsExp == null || A_CapvsExp.equals("Cap") || A_CapvsExp.equals("Exp")); else throw new IllegalArgumentException ("A_CapvsExp Invalid value - " + A_CapvsExp + " - Reference_ID=53277 - Cap - Exp"); set_Value (COLUMNNAME_A_CapvsExp, A_CapvsExp); } /** Get A_CapvsExp. @@ -245,6 +214,31 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return false; } + /** AD_OrgTrx_ID AD_Reference_ID=130 */ + public static final int AD_ORGTRX_ID_AD_Reference_ID=130; + /** Set Trx Organization. + @param AD_OrgTrx_ID + Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) + { + if (AD_OrgTrx_ID < 1) + set_Value (COLUMNNAME_AD_OrgTrx_ID, null); + else + set_Value (COLUMNNAME_AD_OrgTrx_ID, Integer.valueOf(AD_OrgTrx_ID)); + } + + /** Get Trx Organization. + @return Performing or initiating organization + */ + public int getAD_OrgTrx_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_OrgTrx_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set A_Processed. @param A_Processed A_Processed */ public void setA_Processed (boolean A_Processed) @@ -383,28 +377,6 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - /** Set Invoice Line. - @param C_InvoiceLine_ID - Invoice Detail Line - */ - public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) - { - if (C_InvoiceLine_ID < 1) - throw new IllegalArgumentException ("C_InvoiceLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); - } - - /** Get Invoice Line. - @return Invoice Detail Line - */ - public int getC_InvoiceLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -451,6 +423,28 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getC_Invoice_ID())); } + /** Set Invoice Line. + @param C_InvoiceLine_ID + Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) + { + if (C_InvoiceLine_ID < 1) + throw new IllegalArgumentException ("C_InvoiceLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); + } + + /** Get Invoice Line. + @return Invoice Detail Line + */ + public int getC_InvoiceLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_OrderLine getC_OrderLine() throws Exception { Class clazz = MTable.getClass(I_C_OrderLine.Table_Name); @@ -490,6 +484,45 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } + public I_C_Project getC_Project() throws Exception + { + Class clazz = MTable.getClass(I_C_Project.Table_Name); + I_C_Project result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project. + @param C_Project_ID + Financial Project + */ + public void setC_Project_ID (int C_Project_ID) + { + if (C_Project_ID < 1) + set_Value (COLUMNNAME_C_Project_ID, null); + else + set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); + } + + /** Get Project. + @return Financial Project + */ + public int getC_Project_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ProjectPhase getC_ProjectPhase() throws Exception { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); @@ -568,45 +601,6 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception - { - Class clazz = MTable.getClass(I_C_Project.Table_Name); - I_C_Project result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Project. - @param C_Project_ID - Financial Project - */ - public void setC_Project_ID (int C_Project_ID) - { - if (C_Project_ID < 1) - set_Value (COLUMNNAME_C_Project_ID, null); - else - set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); - } - - /** Get Project. - @return Financial Project - */ - public int getC_Project_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Tax getC_Tax() throws Exception { Class clazz = MTable.getClass(I_C_Tax.Table_Name); @@ -690,12 +684,6 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -1112,6 +1100,26 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return bd; } + /** Set Referenced Invoice Line. + @param Ref_InvoiceLine_ID Referenced Invoice Line */ + public void setRef_InvoiceLine_ID (int Ref_InvoiceLine_ID) + { + if (Ref_InvoiceLine_ID < 1) + set_Value (COLUMNNAME_Ref_InvoiceLine_ID, null); + else + set_Value (COLUMNNAME_Ref_InvoiceLine_ID, Integer.valueOf(Ref_InvoiceLine_ID)); + } + + /** Get Referenced Invoice Line. + @return Referenced Invoice Line */ + public int getRef_InvoiceLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Ref_InvoiceLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Revenue Recognition Amt. @param RRAmt Revenue Recognition Amount @@ -1149,26 +1157,6 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return (Timestamp)get_Value(COLUMNNAME_RRStartDate); } - /** Set Referenced Invoice Line. - @param Ref_InvoiceLine_ID Referenced Invoice Line */ - public void setRef_InvoiceLine_ID (int Ref_InvoiceLine_ID) - { - if (Ref_InvoiceLine_ID < 1) - set_Value (COLUMNNAME_Ref_InvoiceLine_ID, null); - else - set_Value (COLUMNNAME_Ref_InvoiceLine_ID, Integer.valueOf(Ref_InvoiceLine_ID)); - } - - /** Get Referenced Invoice Line. - @return Referenced Invoice Line */ - public int getRef_InvoiceLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Ref_InvoiceLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Resource Assignment. @param S_ResourceAssignment_ID Resource Assignment diff --git a/base/src/org/compiere/model/X_C_InvoicePaySchedule.java b/base/src/org/compiere/model/X_C_InvoicePaySchedule.java index 36ebbe04d9..160df87e9e 100644 --- a/base/src/org/compiere/model/X_C_InvoicePaySchedule.java +++ b/base/src/org/compiere/model/X_C_InvoicePaySchedule.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoicePaySchedule * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule, I_Persistent { @@ -43,12 +43,12 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule super (ctx, C_InvoicePaySchedule_ID, trxName); /** if (C_InvoicePaySchedule_ID == 0) { - setC_InvoicePaySchedule_ID (0); setC_Invoice_ID (0); + setC_InvoicePaySchedule_ID (0); setDiscountAmt (Env.ZERO); - setDiscountDate (new Timestamp(System.currentTimeMillis())); + setDiscountDate (new Timestamp( System.currentTimeMillis() )); setDueAmt (Env.ZERO); - setDueDate (new Timestamp(System.currentTimeMillis())); + setDueDate (new Timestamp( System.currentTimeMillis() )); setIsValid (false); setProcessed (false); } */ @@ -82,28 +82,6 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule return sb.toString(); } - /** Set Invoice Payment Schedule. - @param C_InvoicePaySchedule_ID - Invoice Payment Schedule - */ - public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID) - { - if (C_InvoicePaySchedule_ID < 1) - throw new IllegalArgumentException ("C_InvoicePaySchedule_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_InvoicePaySchedule_ID, Integer.valueOf(C_InvoicePaySchedule_ID)); - } - - /** Get Invoice Payment Schedule. - @return Invoice Payment Schedule - */ - public int getC_InvoicePaySchedule_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoicePaySchedule_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -142,6 +120,28 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule return ii.intValue(); } + /** Set Invoice Payment Schedule. + @param C_InvoicePaySchedule_ID + Invoice Payment Schedule + */ + public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID) + { + if (C_InvoicePaySchedule_ID < 1) + throw new IllegalArgumentException ("C_InvoicePaySchedule_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_InvoicePaySchedule_ID, Integer.valueOf(C_InvoicePaySchedule_ID)); + } + + /** Get Invoice Payment Schedule. + @return Invoice Payment Schedule + */ + public int getC_InvoicePaySchedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoicePaySchedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_PaySchedule getC_PaySchedule() throws Exception { Class clazz = MTable.getClass(I_C_PaySchedule.Table_Name); diff --git a/base/src/org/compiere/model/X_C_InvoiceSchedule.java b/base/src/org/compiere/model/X_C_InvoiceSchedule.java index c24d989a99..dc23d97dd2 100644 --- a/base/src/org/compiere/model/X_C_InvoiceSchedule.java +++ b/base/src/org/compiere/model/X_C_InvoiceSchedule.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceSchedule * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Persistent { @@ -130,12 +130,6 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -228,13 +222,7 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe public void setInvoiceFrequency (String InvoiceFrequency) { if (InvoiceFrequency == null) throw new IllegalArgumentException ("InvoiceFrequency is mandatory"); - if (InvoiceFrequency.equals("D") || InvoiceFrequency.equals("W") || InvoiceFrequency.equals("M") || InvoiceFrequency.equals("T")); else throw new IllegalArgumentException ("InvoiceFrequency Invalid value - " + InvoiceFrequency + " - Reference_ID=168 - D - W - M - T"); - if (InvoiceFrequency.length() > 1) - { - log.warning("Length > 1 - truncated"); - InvoiceFrequency = InvoiceFrequency.substring(0, 1); - } - set_Value (COLUMNNAME_InvoiceFrequency, InvoiceFrequency); + if (InvoiceFrequency.equals("D") || InvoiceFrequency.equals("W") || InvoiceFrequency.equals("M") || InvoiceFrequency.equals("T")); else throw new IllegalArgumentException ("InvoiceFrequency Invalid value - " + InvoiceFrequency + " - Reference_ID=168 - D - W - M - T"); set_Value (COLUMNNAME_InvoiceFrequency, InvoiceFrequency); } /** Get Invoice Frequency. @@ -268,13 +256,7 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe public void setInvoiceWeekDay (String InvoiceWeekDay) { if (InvoiceWeekDay == null) throw new IllegalArgumentException ("InvoiceWeekDay is mandatory"); - if (InvoiceWeekDay.equals("7") || InvoiceWeekDay.equals("1") || InvoiceWeekDay.equals("2") || InvoiceWeekDay.equals("3") || InvoiceWeekDay.equals("4") || InvoiceWeekDay.equals("5") || InvoiceWeekDay.equals("6")); else throw new IllegalArgumentException ("InvoiceWeekDay Invalid value - " + InvoiceWeekDay + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); - if (InvoiceWeekDay.length() > 1) - { - log.warning("Length > 1 - truncated"); - InvoiceWeekDay = InvoiceWeekDay.substring(0, 1); - } - set_Value (COLUMNNAME_InvoiceWeekDay, InvoiceWeekDay); + if (InvoiceWeekDay.equals("7") || InvoiceWeekDay.equals("1") || InvoiceWeekDay.equals("2") || InvoiceWeekDay.equals("3") || InvoiceWeekDay.equals("4") || InvoiceWeekDay.equals("5") || InvoiceWeekDay.equals("6")); else throw new IllegalArgumentException ("InvoiceWeekDay Invalid value - " + InvoiceWeekDay + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); set_Value (COLUMNNAME_InvoiceWeekDay, InvoiceWeekDay); } /** Get Invoice Week Day. @@ -308,13 +290,7 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe public void setInvoiceWeekDayCutoff (String InvoiceWeekDayCutoff) { - if (InvoiceWeekDayCutoff == null || InvoiceWeekDayCutoff.equals("7") || InvoiceWeekDayCutoff.equals("1") || InvoiceWeekDayCutoff.equals("2") || InvoiceWeekDayCutoff.equals("3") || InvoiceWeekDayCutoff.equals("4") || InvoiceWeekDayCutoff.equals("5") || InvoiceWeekDayCutoff.equals("6")); else throw new IllegalArgumentException ("InvoiceWeekDayCutoff Invalid value - " + InvoiceWeekDayCutoff + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); - if (InvoiceWeekDayCutoff != null && InvoiceWeekDayCutoff.length() > 1) - { - log.warning("Length > 1 - truncated"); - InvoiceWeekDayCutoff = InvoiceWeekDayCutoff.substring(0, 1); - } - set_Value (COLUMNNAME_InvoiceWeekDayCutoff, InvoiceWeekDayCutoff); + if (InvoiceWeekDayCutoff == null || InvoiceWeekDayCutoff.equals("7") || InvoiceWeekDayCutoff.equals("1") || InvoiceWeekDayCutoff.equals("2") || InvoiceWeekDayCutoff.equals("3") || InvoiceWeekDayCutoff.equals("4") || InvoiceWeekDayCutoff.equals("5") || InvoiceWeekDayCutoff.equals("6")); else throw new IllegalArgumentException ("InvoiceWeekDayCutoff Invalid value - " + InvoiceWeekDayCutoff + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); set_Value (COLUMNNAME_InvoiceWeekDayCutoff, InvoiceWeekDayCutoff); } /** Get Invoice weekday cutoff. @@ -381,12 +357,6 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_InvoiceTax.java b/base/src/org/compiere/model/X_C_InvoiceTax.java index 81bbea91cf..05a711613b 100644 --- a/base/src/org/compiere/model/X_C_InvoiceTax.java +++ b/base/src/org/compiere/model/X_C_InvoiceTax.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for C_InvoiceTax * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Job.java b/base/src/org/compiere/model/X_C_Job.java index 80ec72f44e..d20076e672 100644 --- a/base/src/org/compiere/model/X_C_Job.java +++ b/base/src/org/compiere/model/X_C_Job.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Job * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Job extends PO implements I_C_Job, I_Persistent { @@ -142,12 +142,6 @@ public class X_C_Job extends PO implements I_C_Job, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_C_Job extends PO implements I_C_Job, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -214,12 +202,6 @@ public class X_C_Job extends PO implements I_C_Job, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_JobAssignment.java b/base/src/org/compiere/model/X_C_JobAssignment.java index ef9ee2920e..70c0010a09 100644 --- a/base/src/org/compiere/model/X_C_JobAssignment.java +++ b/base/src/org/compiere/model/X_C_JobAssignment.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_JobAssignment * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persistent { @@ -44,7 +44,7 @@ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persis setAD_User_ID (0); setC_JobAssignment_ID (0); setC_Job_ID (0); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } @@ -188,12 +188,6 @@ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_JobCategory.java b/base/src/org/compiere/model/X_C_JobCategory.java index fee29b19af..71ece64d8c 100644 --- a/base/src/org/compiere/model/X_C_JobCategory.java +++ b/base/src/org/compiere/model/X_C_JobCategory.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_JobCategory * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent { @@ -99,12 +99,6 @@ public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -122,12 +116,6 @@ public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -147,12 +135,6 @@ public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_JobRemuneration.java b/base/src/org/compiere/model/X_C_JobRemuneration.java index 7c04191029..5fd74acb22 100644 --- a/base/src/org/compiere/model/X_C_JobRemuneration.java +++ b/base/src/org/compiere/model/X_C_JobRemuneration.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_JobRemuneration * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Persistent { @@ -41,10 +41,10 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe super (ctx, C_JobRemuneration_ID, trxName); /** if (C_JobRemuneration_ID == 0) { - setC_JobRemuneration_ID (0); setC_Job_ID (0); + setC_JobRemuneration_ID (0); setC_Remuneration_ID (0); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } @@ -76,28 +76,6 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe return sb.toString(); } - /** Set Position Remuneration. - @param C_JobRemuneration_ID - Remuneration for the Position - */ - public void setC_JobRemuneration_ID (int C_JobRemuneration_ID) - { - if (C_JobRemuneration_ID < 1) - throw new IllegalArgumentException ("C_JobRemuneration_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_JobRemuneration_ID, Integer.valueOf(C_JobRemuneration_ID)); - } - - /** Get Position Remuneration. - @return Remuneration for the Position - */ - public int getC_JobRemuneration_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_JobRemuneration_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Job getC_Job() throws Exception { Class clazz = MTable.getClass(I_C_Job.Table_Name); @@ -144,6 +122,28 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe return new KeyNamePair(get_ID(), String.valueOf(getC_Job_ID())); } + /** Set Position Remuneration. + @param C_JobRemuneration_ID + Remuneration for the Position + */ + public void setC_JobRemuneration_ID (int C_JobRemuneration_ID) + { + if (C_JobRemuneration_ID < 1) + throw new IllegalArgumentException ("C_JobRemuneration_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_JobRemuneration_ID, Integer.valueOf(C_JobRemuneration_ID)); + } + + /** Get Position Remuneration. + @return Remuneration for the Position + */ + public int getC_JobRemuneration_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_JobRemuneration_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Remuneration getC_Remuneration() throws Exception { Class clazz = MTable.getClass(I_C_Remuneration.Table_Name); @@ -188,12 +188,6 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_LandedCost.java b/base/src/org/compiere/model/X_C_LandedCost.java index f45d86da64..a5e9c1d291 100644 --- a/base/src/org/compiere/model/X_C_LandedCost.java +++ b/base/src/org/compiere/model/X_C_LandedCost.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_LandedCost * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent { @@ -150,12 +150,6 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -186,13 +180,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent public void setLandedCostDistribution (String LandedCostDistribution) { if (LandedCostDistribution == null) throw new IllegalArgumentException ("LandedCostDistribution is mandatory"); - if (LandedCostDistribution.equals("Q") || LandedCostDistribution.equals("L") || LandedCostDistribution.equals("V") || LandedCostDistribution.equals("W") || LandedCostDistribution.equals("C")); else throw new IllegalArgumentException ("LandedCostDistribution Invalid value - " + LandedCostDistribution + " - Reference_ID=339 - Q - L - V - W - C"); - if (LandedCostDistribution.length() > 1) - { - log.warning("Length > 1 - truncated"); - LandedCostDistribution = LandedCostDistribution.substring(0, 1); - } - set_Value (COLUMNNAME_LandedCostDistribution, LandedCostDistribution); + if (LandedCostDistribution.equals("Q") || LandedCostDistribution.equals("L") || LandedCostDistribution.equals("V") || LandedCostDistribution.equals("W") || LandedCostDistribution.equals("C")); else throw new IllegalArgumentException ("LandedCostDistribution Invalid value - " + LandedCostDistribution + " - Reference_ID=339 - Q - L - V - W - C"); set_Value (COLUMNNAME_LandedCostDistribution, LandedCostDistribution); } /** Get Cost Distribution. @@ -241,45 +229,6 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent return ii.intValue(); } - public I_M_InOutLine getM_InOutLine() throws Exception - { - Class clazz = MTable.getClass(I_M_InOutLine.Table_Name); - I_M_InOutLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_InOutLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_InOutLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Shipment/Receipt Line. - @param M_InOutLine_ID - Line on Shipment or Receipt document - */ - public void setM_InOutLine_ID (int M_InOutLine_ID) - { - if (M_InOutLine_ID < 1) - set_Value (COLUMNNAME_M_InOutLine_ID, null); - else - set_Value (COLUMNNAME_M_InOutLine_ID, Integer.valueOf(M_InOutLine_ID)); - } - - /** Get Shipment/Receipt Line. - @return Line on Shipment or Receipt document - */ - public int getM_InOutLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_InOutLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_InOut getM_InOut() throws Exception { Class clazz = MTable.getClass(I_M_InOut.Table_Name); @@ -319,6 +268,45 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent return ii.intValue(); } + public I_M_InOutLine getM_InOutLine() throws Exception + { + Class clazz = MTable.getClass(I_M_InOutLine.Table_Name); + I_M_InOutLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_InOutLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_InOutLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Shipment/Receipt Line. + @param M_InOutLine_ID + Line on Shipment or Receipt document + */ + public void setM_InOutLine_ID (int M_InOutLine_ID) + { + if (M_InOutLine_ID < 1) + set_Value (COLUMNNAME_M_InOutLine_ID, null); + else + set_Value (COLUMNNAME_M_InOutLine_ID, Integer.valueOf(M_InOutLine_ID)); + } + + /** Get Shipment/Receipt Line. + @return Line on Shipment or Receipt document + */ + public int getM_InOutLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InOutLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); diff --git a/base/src/org/compiere/model/X_C_LandedCostAllocation.java b/base/src/org/compiere/model/X_C_LandedCostAllocation.java index e115a1e291..6e11f7ab07 100644 --- a/base/src/org/compiere/model/X_C_LandedCostAllocation.java +++ b/base/src/org/compiere/model/X_C_LandedCostAllocation.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_LandedCostAllocation * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAllocation, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Location.java b/base/src/org/compiere/model/X_C_Location.java index 0cd9222ec1..6737559106 100644 --- a/base/src/org/compiere/model/X_C_Location.java +++ b/base/src/org/compiere/model/X_C_Location.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Location * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Location extends PO implements I_C_Location, I_Persistent { @@ -79,12 +79,6 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent */ public void setAddress1 (String Address1) { - - if (Address1 != null && Address1.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address1 = Address1.substring(0, 60); - } set_Value (COLUMNNAME_Address1, Address1); } @@ -102,12 +96,6 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent */ public void setAddress2 (String Address2) { - - if (Address2 != null && Address2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address2 = Address2.substring(0, 60); - } set_Value (COLUMNNAME_Address2, Address2); } @@ -125,12 +113,6 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent */ public void setAddress3 (String Address3) { - - if (Address3 != null && Address3.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address3 = Address3.substring(0, 60); - } set_Value (COLUMNNAME_Address3, Address3); } @@ -148,12 +130,6 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent */ public void setAddress4 (String Address4) { - - if (Address4 != null && Address4.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address4 = Address4.substring(0, 60); - } set_Value (COLUMNNAME_Address4, Address4); } @@ -242,6 +218,31 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent return ii.intValue(); } + /** Set City. + @param City + Identifies a City + */ + public void setCity (String City) + { + set_Value (COLUMNNAME_City, City); + } + + /** Get City. + @return Identifies a City + */ + public String getCity () + { + return (String)get_Value(COLUMNNAME_City); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), getCity()); + } + /** Set Address. @param C_Location_ID Location or Address @@ -303,49 +304,12 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent return ii.intValue(); } - /** Set City. - @param City - Identifies a City - */ - public void setCity (String City) - { - - if (City != null && City.length() > 60) - { - log.warning("Length > 60 - truncated"); - City = City.substring(0, 60); - } - set_Value (COLUMNNAME_City, City); - } - - /** Get City. - @return Identifies a City - */ - public String getCity () - { - return (String)get_Value(COLUMNNAME_City); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), getCity()); - } - /** Set ZIP. @param Postal Postal code */ public void setPostal (String Postal) { - - if (Postal != null && Postal.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal = Postal.substring(0, 10); - } set_Value (COLUMNNAME_Postal, Postal); } @@ -363,12 +327,6 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent */ public void setPostal_Add (String Postal_Add) { - - if (Postal_Add != null && Postal_Add.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal_Add = Postal_Add.substring(0, 10); - } set_Value (COLUMNNAME_Postal_Add, Postal_Add); } @@ -386,12 +344,6 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent */ public void setRegionName (String RegionName) { - - if (RegionName != null && RegionName.length() > 40) - { - log.warning("Length > 40 - truncated"); - RegionName = RegionName.substring(0, 40); - } set_Value (COLUMNNAME_RegionName, RegionName); } diff --git a/base/src/org/compiere/model/X_C_NonBusinessDay.java b/base/src/org/compiere/model/X_C_NonBusinessDay.java index a14f0f65ec..2f8311decf 100644 --- a/base/src/org/compiere/model/X_C_NonBusinessDay.java +++ b/base/src/org/compiere/model/X_C_NonBusinessDay.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_NonBusinessDay * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Persistent { @@ -43,7 +43,7 @@ public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Pers { setC_Calendar_ID (0); setC_NonBusinessDay_ID (0); - setDate1 (new Timestamp(System.currentTimeMillis())); + setDate1 (new Timestamp( System.currentTimeMillis() )); } */ } @@ -160,12 +160,6 @@ public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Pers */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Order.java b/base/src/org/compiere/model/X_C_Order.java index 3db090876a..427a11af68 100644 --- a/base/src/org/compiere/model/X_C_Order.java +++ b/base/src/org/compiere/model/X_C_Order.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Order * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Order extends PO implements I_C_Order, I_Persistent { @@ -47,16 +47,16 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent setC_BPartner_Location_ID (0); setC_Currency_ID (0); // @C_Currency_ID@ - setC_DocTypeTarget_ID (0); setC_DocType_ID (0); // 0 + setC_DocTypeTarget_ID (0); setC_Order_ID (0); setC_PaymentTerm_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @#Date@ - setDateOrdered (new Timestamp(System.currentTimeMillis())); + setDateOrdered (new Timestamp( System.currentTimeMillis() )); // @#Date@ - setDatePromised (new Timestamp(System.currentTimeMillis())); + setDatePromised (new Timestamp( System.currentTimeMillis() )); // @#Date@ setDeliveryRule (null); // F @@ -82,10 +82,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent // N setIsInvoiced (false); setIsPrinted (false); - setIsSOTrx (false); -// @IsSOTrx@ setIsSelected (false); setIsSelfService (false); + setIsSOTrx (false); +// @IsSOTrx@ setIsTaxIncluded (false); setIsTransferred (false); setM_PriceList_ID (0); @@ -599,30 +599,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return ii.intValue(); } - /** C_DocTypeTarget_ID AD_Reference_ID=170 */ - public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=170; - /** Set Target Document Type. - @param C_DocTypeTarget_ID - Target document type for conversing documents - */ - public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID) - { - if (C_DocTypeTarget_ID < 1) - throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory."); - set_Value (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID)); - } - - /** Get Target Document Type. - @return Target document type for conversing documents - */ - public int getC_DocTypeTarget_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** C_DocType_ID AD_Reference_ID=170 */ public static final int C_DOCTYPE_ID_AD_Reference_ID=170; public I_C_DocType getC_DocType() throws Exception @@ -663,6 +639,67 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return ii.intValue(); } + /** C_DocTypeTarget_ID AD_Reference_ID=170 */ + public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=170; + /** Set Target Document Type. + @param C_DocTypeTarget_ID + Target document type for conversing documents + */ + public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID) + { + if (C_DocTypeTarget_ID < 1) + throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory."); + set_Value (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID)); + } + + /** Get Target Document Type. + @return Target document type for conversing documents + */ + public int getC_DocTypeTarget_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Copy From. + @param CopyFrom + Copy From Record + */ + public void setCopyFrom (String CopyFrom) + { + set_Value (COLUMNNAME_CopyFrom, CopyFrom); + } + + /** Get Copy From. + @return Copy From Record + */ + public String getCopyFrom () + { + return (String)get_Value(COLUMNNAME_CopyFrom); + } + /** Set Order. @param C_Order_ID Order @@ -685,83 +722,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return ii.intValue(); } - public I_C_POS getC_POS() throws Exception - { - Class clazz = MTable.getClass(I_C_POS.Table_Name); - I_C_POS result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_POS)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_POS_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set POS Terminal. - @param C_POS_ID - Point of Sales Terminal - */ - public void setC_POS_ID (int C_POS_ID) - { - if (C_POS_ID < 1) - set_Value (COLUMNNAME_C_POS_ID, null); - else - set_Value (COLUMNNAME_C_POS_ID, Integer.valueOf(C_POS_ID)); - } - - /** Get POS Terminal. - @return Point of Sales Terminal - */ - public int getC_POS_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_POS_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - public I_C_PaymentTerm getC_PaymentTerm() throws Exception - { - Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); - I_C_PaymentTerm result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_PaymentTerm)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_PaymentTerm_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Payment Term. - @param C_PaymentTerm_ID - The terms of Payment (timing, discount) - */ - public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) - { - if (C_PaymentTerm_ID < 1) - throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); - set_Value (COLUMNNAME_C_PaymentTerm_ID, Integer.valueOf(C_PaymentTerm_ID)); - } - - /** Get Payment Term. - @return The terms of Payment (timing, discount) - */ - public int getC_PaymentTerm_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentTerm_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Payment getC_Payment() throws Exception { Class clazz = MTable.getClass(I_C_Payment.Table_Name); @@ -801,6 +761,83 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return ii.intValue(); } + public I_C_PaymentTerm getC_PaymentTerm() throws Exception + { + Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); + I_C_PaymentTerm result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_PaymentTerm)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_PaymentTerm_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Payment Term. + @param C_PaymentTerm_ID + The terms of Payment (timing, discount) + */ + public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) + { + if (C_PaymentTerm_ID < 1) + throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); + set_Value (COLUMNNAME_C_PaymentTerm_ID, Integer.valueOf(C_PaymentTerm_ID)); + } + + /** Get Payment Term. + @return The terms of Payment (timing, discount) + */ + public int getC_PaymentTerm_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentTerm_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_POS getC_POS() throws Exception + { + Class clazz = MTable.getClass(I_C_POS.Table_Name); + I_C_POS result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_POS)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_POS_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set POS Terminal. + @param C_POS_ID + Point of Sales Terminal + */ + public void setC_POS_ID (int C_POS_ID) + { + if (C_POS_ID < 1) + set_Value (COLUMNNAME_C_POS_ID, null); + else + set_Value (COLUMNNAME_C_POS_ID, Integer.valueOf(C_POS_ID)); + } + + /** Get POS Terminal. + @return Point of Sales Terminal + */ + public int getC_POS_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_POS_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -840,49 +877,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Copy From. - @param CopyFrom - Copy From Record - */ - public void setCopyFrom (String CopyFrom) - { - - if (CopyFrom != null && CopyFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyFrom = CopyFrom.substring(0, 1); - } - set_Value (COLUMNNAME_CopyFrom, CopyFrom); - } - - /** Get Copy From. - @return Copy From Record - */ - public String getCopyFrom () - { - return (String)get_Value(COLUMNNAME_CopyFrom); - } - /** Set Account Date. @param DateAcct Accounting Date @@ -978,13 +972,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public void setDeliveryRule (String DeliveryRule) { if (DeliveryRule == null) throw new IllegalArgumentException ("DeliveryRule is mandatory"); - if (DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); - if (DeliveryRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryRule = DeliveryRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); + if (DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); } /** Get Delivery Rule. @@ -1010,13 +998,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public void setDeliveryViaRule (String DeliveryViaRule) { if (DeliveryViaRule == null) throw new IllegalArgumentException ("DeliveryViaRule is mandatory"); - if (DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); - if (DeliveryViaRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryViaRule = DeliveryViaRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); + if (DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); } /** Get Delivery Via. @@ -1033,12 +1015,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -1087,13 +1063,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -1137,13 +1107,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -1162,12 +1126,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -1226,13 +1184,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public void setFreightCostRule (String FreightCostRule) { if (FreightCostRule == null) throw new IllegalArgumentException ("FreightCostRule is mandatory"); - if (FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); - if (FreightCostRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - FreightCostRule = FreightCostRule.substring(0, 1); - } - set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); + if (FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); } /** Get Freight Cost Rule. @@ -1282,13 +1234,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public void setInvoiceRule (String InvoiceRule) { if (InvoiceRule == null) throw new IllegalArgumentException ("InvoiceRule is mandatory"); - if (InvoiceRule.equals("O") || InvoiceRule.equals("D") || InvoiceRule.equals("S") || InvoiceRule.equals("I")); else throw new IllegalArgumentException ("InvoiceRule Invalid value - " + InvoiceRule + " - Reference_ID=150 - O - D - S - I"); - if (InvoiceRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - InvoiceRule = InvoiceRule.substring(0, 1); - } - set_Value (COLUMNNAME_InvoiceRule, InvoiceRule); + if (InvoiceRule.equals("O") || InvoiceRule.equals("D") || InvoiceRule.equals("S") || InvoiceRule.equals("I")); else throw new IllegalArgumentException ("InvoiceRule Invalid value - " + InvoiceRule + " - Reference_ID=150 - O - D - S - I"); set_Value (COLUMNNAME_InvoiceRule, InvoiceRule); } /** Get Invoice Rule. @@ -1464,30 +1410,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return false; } - /** Set Sales Transaction. - @param IsSOTrx - This is a Sales Transaction - */ - public void setIsSOTrx (boolean IsSOTrx) - { - set_Value (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); - } - - /** Get Sales Transaction. - @return This is a Sales Transaction - */ - public boolean isSOTrx () - { - Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Selected. @param IsSelected Selected */ public void setIsSelected (boolean IsSelected) @@ -1533,6 +1455,30 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return false; } + /** Set Sales Transaction. + @param IsSOTrx + This is a Sales Transaction + */ + public void setIsSOTrx (boolean IsSOTrx) + { + set_Value (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); + } + + /** Get Sales Transaction. + @return This is a Sales Transaction + */ + public boolean isSOTrx () + { + Object oo = get_Value(COLUMNNAME_IsSOTrx); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Price includes Tax. @param IsTaxIncluded Tax is included in the price @@ -1725,12 +1671,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent @param OrderType OrderType */ public void setOrderType (String OrderType) { - - if (OrderType != null && OrderType.length() > 510) - { - log.warning("Length > 510 - truncated"); - OrderType = OrderType.substring(0, 510); - } set_Value (COLUMNNAME_OrderType, OrderType); } @@ -1741,29 +1681,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return (String)get_Value(COLUMNNAME_OrderType); } - /** Set Order Reference. - @param POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference) - { - - if (POReference != null && POReference.length() > 20) - { - log.warning("Length > 20 - truncated"); - POReference = POReference.substring(0, 20); - } - set_Value (COLUMNNAME_POReference, POReference); - } - - /** Get Order Reference. - @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference () - { - return (String)get_Value(COLUMNNAME_POReference); - } - /** Set Payment BPartner. @param Pay_BPartner_ID Business Partner responsible for the payment @@ -1831,13 +1748,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public void setPaymentRule (String PaymentRule) { if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory"); - if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRule = PaymentRule.substring(0, 1); - } - set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. @@ -1848,6 +1759,23 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return (String)get_Value(COLUMNNAME_PaymentRule); } + /** Set Order Reference. + @param POReference + Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference) + { + set_Value (COLUMNNAME_POReference, POReference); + } + + /** Get Order Reference. + @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference () + { + return (String)get_Value(COLUMNNAME_POReference); + } + /** Set Posted. @param Posted Posting status @@ -1891,13 +1819,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public void setPriorityRule (String PriorityRule) { if (PriorityRule == null) throw new IllegalArgumentException ("PriorityRule is mandatory"); - if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (PriorityRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PriorityRule = PriorityRule.substring(0, 1); - } - set_Value (COLUMNNAME_PriorityRule, PriorityRule); + if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_Value (COLUMNNAME_PriorityRule, PriorityRule); } /** Get Priority. diff --git a/base/src/org/compiere/model/X_C_OrderLine.java b/base/src/org/compiere/model/X_C_OrderLine.java index da91eab677..e2c9e263ad 100644 --- a/base/src/org/compiere/model/X_C_OrderLine.java +++ b/base/src/org/compiere/model/X_C_OrderLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_OrderLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent { @@ -47,12 +47,12 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent // @C_BPartner_Location_ID@ setC_Currency_ID (0); // @C_Currency_ID@ - setC_OrderLine_ID (0); setC_Order_ID (0); + setC_OrderLine_ID (0); setC_Tax_ID (0); setC_UOM_ID (0); // @#C_UOM_ID@ - setDateOrdered (new Timestamp(System.currentTimeMillis())); + setDateOrdered (new Timestamp( System.currentTimeMillis() )); // @DateOrdered@ setFreightAmt (Env.ZERO); setIsDescription (false); @@ -364,28 +364,6 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent return ii.intValue(); } - /** Set Sales Order Line. - @param C_OrderLine_ID - Sales Order Line - */ - public void setC_OrderLine_ID (int C_OrderLine_ID) - { - if (C_OrderLine_ID < 1) - throw new IllegalArgumentException ("C_OrderLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_OrderLine_ID, Integer.valueOf(C_OrderLine_ID)); - } - - /** Get Sales Order Line. - @return Sales Order Line - */ - public int getC_OrderLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_OrderLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Order getC_Order() throws Exception { Class clazz = MTable.getClass(I_C_Order.Table_Name); @@ -432,6 +410,67 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getC_Order_ID())); } + /** Set Sales Order Line. + @param C_OrderLine_ID + Sales Order Line + */ + public void setC_OrderLine_ID (int C_OrderLine_ID) + { + if (C_OrderLine_ID < 1) + throw new IllegalArgumentException ("C_OrderLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_OrderLine_ID, Integer.valueOf(C_OrderLine_ID)); + } + + /** Get Sales Order Line. + @return Sales Order Line + */ + public int getC_OrderLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_OrderLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_Project getC_Project() throws Exception + { + Class clazz = MTable.getClass(I_C_Project.Table_Name); + I_C_Project result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project. + @param C_Project_ID + Financial Project + */ + public void setC_Project_ID (int C_Project_ID) + { + if (C_Project_ID < 1) + set_Value (COLUMNNAME_C_Project_ID, null); + else + set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); + } + + /** Get Project. + @return Financial Project + */ + public int getC_Project_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ProjectPhase getC_ProjectPhase() throws Exception { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); @@ -510,45 +549,6 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception - { - Class clazz = MTable.getClass(I_C_Project.Table_Name); - I_C_Project result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Project. - @param C_Project_ID - Financial Project - */ - public void setC_Project_ID (int C_Project_ID) - { - if (C_Project_ID < 1) - set_Value (COLUMNNAME_C_Project_ID, null); - else - set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); - } - - /** Get Project. - @return Financial Project - */ - public int getC_Project_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Tax getC_Tax() throws Exception { Class clazz = MTable.getClass(I_C_Tax.Table_Name); @@ -701,12 +701,6 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -1239,6 +1233,31 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent return bd; } + /** Ref_OrderLine_ID AD_Reference_ID=271 */ + public static final int REF_ORDERLINE_ID_AD_Reference_ID=271; + /** Set Referenced Order Line. + @param Ref_OrderLine_ID + Reference to corresponding Sales/Purchase Order + */ + public void setRef_OrderLine_ID (int Ref_OrderLine_ID) + { + if (Ref_OrderLine_ID < 1) + set_Value (COLUMNNAME_Ref_OrderLine_ID, null); + else + set_Value (COLUMNNAME_Ref_OrderLine_ID, Integer.valueOf(Ref_OrderLine_ID)); + } + + /** Get Referenced Order Line. + @return Reference to corresponding Sales/Purchase Order + */ + public int getRef_OrderLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Ref_OrderLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Revenue Recognition Amt. @param RRAmt Revenue Recognition Amount @@ -1276,31 +1295,6 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent return (Timestamp)get_Value(COLUMNNAME_RRStartDate); } - /** Ref_OrderLine_ID AD_Reference_ID=271 */ - public static final int REF_ORDERLINE_ID_AD_Reference_ID=271; - /** Set Referenced Order Line. - @param Ref_OrderLine_ID - Reference to corresponding Sales/Purchase Order - */ - public void setRef_OrderLine_ID (int Ref_OrderLine_ID) - { - if (Ref_OrderLine_ID < 1) - set_Value (COLUMNNAME_Ref_OrderLine_ID, null); - else - set_Value (COLUMNNAME_Ref_OrderLine_ID, Integer.valueOf(Ref_OrderLine_ID)); - } - - /** Get Referenced Order Line. - @return Reference to corresponding Sales/Purchase Order - */ - public int getRef_OrderLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Ref_OrderLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Resource Assignment. @param S_ResourceAssignment_ID Resource Assignment diff --git a/base/src/org/compiere/model/X_C_OrderTax.java b/base/src/org/compiere/model/X_C_OrderTax.java index 7efd8de727..f291ed840b 100644 --- a/base/src/org/compiere/model/X_C_OrderTax.java +++ b/base/src/org/compiere/model/X_C_OrderTax.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for C_OrderTax * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_OrgAssignment.java b/base/src/org/compiere/model/X_C_OrgAssignment.java index 47e230b0e0..317eb7fe8a 100644 --- a/base/src/org/compiere/model/X_C_OrgAssignment.java +++ b/base/src/org/compiere/model/X_C_OrgAssignment.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for C_OrgAssignment * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persistent { @@ -42,7 +42,7 @@ public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persis { setAD_User_ID (0); setC_OrgAssignment_ID (0); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } @@ -140,12 +140,6 @@ public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_POS.java b/base/src/org/compiere/model/X_C_POS.java index 030f8b8079..69af69d767 100644 --- a/base/src/org/compiere/model/X_C_POS.java +++ b/base/src/org/compiere/model/X_C_POS.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_POS * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_POS extends PO implements I_C_POS, I_Persistent { @@ -79,29 +79,18 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return sb.toString(); } - /** C_BPartnerCashTrx_ID AD_Reference_ID=173 */ - public static final int C_BPARTNERCASHTRX_ID_AD_Reference_ID=173; - /** Set Template B.Partner. - @param C_BPartnerCashTrx_ID - Business Partner used for creating new Business Partners on the fly - */ - public void setC_BPartnerCashTrx_ID (int C_BPartnerCashTrx_ID) + /** Set CashDrawer. + @param CashDrawer CashDrawer */ + public void setCashDrawer (String CashDrawer) { - if (C_BPartnerCashTrx_ID < 1) - set_Value (COLUMNNAME_C_BPartnerCashTrx_ID, null); - else - set_Value (COLUMNNAME_C_BPartnerCashTrx_ID, Integer.valueOf(C_BPartnerCashTrx_ID)); + set_Value (COLUMNNAME_CashDrawer, CashDrawer); } - /** Get Template B.Partner. - @return Business Partner used for creating new Business Partners on the fly - */ - public int getC_BPartnerCashTrx_ID () + /** Get CashDrawer. + @return CashDrawer */ + public String getCashDrawer () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerCashTrx_ID); - if (ii == null) - return 0; - return ii.intValue(); + return (String)get_Value(COLUMNNAME_CashDrawer); } public I_C_BankAccount getC_BankAccount() throws Exception @@ -143,6 +132,31 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return ii.intValue(); } + /** C_BPartnerCashTrx_ID AD_Reference_ID=173 */ + public static final int C_BPARTNERCASHTRX_ID_AD_Reference_ID=173; + /** Set Template B.Partner. + @param C_BPartnerCashTrx_ID + Business Partner used for creating new Business Partners on the fly + */ + public void setC_BPartnerCashTrx_ID (int C_BPartnerCashTrx_ID) + { + if (C_BPartnerCashTrx_ID < 1) + set_Value (COLUMNNAME_C_BPartnerCashTrx_ID, null); + else + set_Value (COLUMNNAME_C_BPartnerCashTrx_ID, Integer.valueOf(C_BPartnerCashTrx_ID)); + } + + /** Get Template B.Partner. + @return Business Partner used for creating new Business Partners on the fly + */ + public int getC_BPartnerCashTrx_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerCashTrx_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_CashBook getC_CashBook() throws Exception { Class clazz = MTable.getClass(I_C_CashBook.Table_Name); @@ -220,6 +234,28 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return ii.intValue(); } + /** Set POS Terminal. + @param C_POS_ID + Point of Sales Terminal + */ + public void setC_POS_ID (int C_POS_ID) + { + if (C_POS_ID < 1) + throw new IllegalArgumentException ("C_POS_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_POS_ID, Integer.valueOf(C_POS_ID)); + } + + /** Get POS Terminal. + @return Point of Sales Terminal + */ + public int getC_POS_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_POS_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_POSKeyLayout getC_POSKeyLayout() throws Exception { Class clazz = MTable.getClass(I_C_POSKeyLayout.Table_Name); @@ -259,60 +295,12 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return ii.intValue(); } - /** Set POS Terminal. - @param C_POS_ID - Point of Sales Terminal - */ - public void setC_POS_ID (int C_POS_ID) - { - if (C_POS_ID < 1) - throw new IllegalArgumentException ("C_POS_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_POS_ID, Integer.valueOf(C_POS_ID)); - } - - /** Get POS Terminal. - @return Point of Sales Terminal - */ - public int getC_POS_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_POS_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set CashDrawer. - @param CashDrawer CashDrawer */ - public void setCashDrawer (String CashDrawer) - { - - if (CashDrawer != null && CashDrawer.length() > 120) - { - log.warning("Length > 120 - truncated"); - CashDrawer = CashDrawer.substring(0, 120); - } - set_Value (COLUMNNAME_CashDrawer, CashDrawer); - } - - /** Get CashDrawer. - @return CashDrawer */ - public String getCashDrawer () - { - return (String)get_Value(COLUMNNAME_CashDrawer); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -330,12 +318,6 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -455,12 +437,6 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -486,12 +462,6 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent */ public void setPrinterName (String PrinterName) { - - if (PrinterName != null && PrinterName.length() > 60) - { - log.warning("Length > 60 - truncated"); - PrinterName = PrinterName.substring(0, 60); - } set_Value (COLUMNNAME_PrinterName, PrinterName); } diff --git a/base/src/org/compiere/model/X_C_POSKey.java b/base/src/org/compiere/model/X_C_POSKey.java index 78334a3701..d885ed2888 100644 --- a/base/src/org/compiere/model/X_C_POSKey.java +++ b/base/src/org/compiere/model/X_C_POSKey.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_POSKey * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent { @@ -42,8 +42,8 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent super (ctx, C_POSKey_ID, trxName); /** if (C_POSKey_ID == 0) { - setC_POSKeyLayout_ID (0); setC_POSKey_ID (0); + setC_POSKeyLayout_ID (0); setM_Product_ID (0); setName (null); setQty (Env.ZERO); @@ -118,6 +118,28 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent return ii.intValue(); } + /** Set POS Key. + @param C_POSKey_ID + POS Function Key + */ + public void setC_POSKey_ID (int C_POSKey_ID) + { + if (C_POSKey_ID < 1) + throw new IllegalArgumentException ("C_POSKey_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_POSKey_ID, Integer.valueOf(C_POSKey_ID)); + } + + /** Get POS Key. + @return POS Function Key + */ + public int getC_POSKey_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_POSKey_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_POSKeyLayout getC_POSKeyLayout() throws Exception { Class clazz = MTable.getClass(I_C_POSKeyLayout.Table_Name); @@ -156,40 +178,12 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent return ii.intValue(); } - /** Set POS Key. - @param C_POSKey_ID - POS Function Key - */ - public void setC_POSKey_ID (int C_POSKey_ID) - { - if (C_POSKey_ID < 1) - throw new IllegalArgumentException ("C_POSKey_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_POSKey_ID, Integer.valueOf(C_POSKey_ID)); - } - - /** Get POS Key. - @return POS Function Key - */ - public int getC_POSKey_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_POSKey_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -247,12 +241,6 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_POSKeyLayout.java b/base/src/org/compiere/model/X_C_POSKeyLayout.java index 2e476b3fc6..ab0980dc9a 100644 --- a/base/src/org/compiere/model/X_C_POSKeyLayout.java +++ b/base/src/org/compiere/model/X_C_POSKeyLayout.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_POSKeyLayout * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persistent { @@ -99,12 +99,6 @@ public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -122,12 +116,6 @@ public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -147,12 +135,6 @@ public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_PaySchedule.java b/base/src/org/compiere/model/X_C_PaySchedule.java index b1aeeb4cec..66a22a0ccd 100644 --- a/base/src/org/compiere/model/X_C_PaySchedule.java +++ b/base/src/org/compiere/model/X_C_PaySchedule.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaySchedule * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent { @@ -42,8 +42,8 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent super (ctx, C_PaySchedule_ID, trxName); /** if (C_PaySchedule_ID == 0) { - setC_PaySchedule_ID (0); setC_PaymentTerm_ID (0); + setC_PaySchedule_ID (0); setDiscount (Env.ZERO); setDiscountDays (0); setGraceDays (0); @@ -81,28 +81,6 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent return sb.toString(); } - /** Set Payment Schedule. - @param C_PaySchedule_ID - Payment Schedule Template - */ - public void setC_PaySchedule_ID (int C_PaySchedule_ID) - { - if (C_PaySchedule_ID < 1) - throw new IllegalArgumentException ("C_PaySchedule_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_PaySchedule_ID, Integer.valueOf(C_PaySchedule_ID)); - } - - /** Get Payment Schedule. - @return Payment Schedule Template - */ - public int getC_PaySchedule_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_PaySchedule_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_PaymentTerm getC_PaymentTerm() throws Exception { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); @@ -149,6 +127,28 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getC_PaymentTerm_ID())); } + /** Set Payment Schedule. + @param C_PaySchedule_ID + Payment Schedule Template + */ + public void setC_PaySchedule_ID (int C_PaySchedule_ID) + { + if (C_PaySchedule_ID < 1) + throw new IllegalArgumentException ("C_PaySchedule_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_PaySchedule_ID, Integer.valueOf(C_PaySchedule_ID)); + } + + /** Get Payment Schedule. + @return Payment Schedule Template + */ + public int getC_PaySchedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_PaySchedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Discount %. @param Discount Discount in percent @@ -258,13 +258,7 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent public void setNetDay (String NetDay) { - if (NetDay == null || NetDay.equals("7") || NetDay.equals("1") || NetDay.equals("2") || NetDay.equals("3") || NetDay.equals("4") || NetDay.equals("5") || NetDay.equals("6")); else throw new IllegalArgumentException ("NetDay Invalid value - " + NetDay + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); - if (NetDay != null && NetDay.length() > 1) - { - log.warning("Length > 1 - truncated"); - NetDay = NetDay.substring(0, 1); - } - set_Value (COLUMNNAME_NetDay, NetDay); + if (NetDay == null || NetDay.equals("7") || NetDay.equals("1") || NetDay.equals("2") || NetDay.equals("3") || NetDay.equals("4") || NetDay.equals("5") || NetDay.equals("6")); else throw new IllegalArgumentException ("NetDay Invalid value - " + NetDay + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); set_Value (COLUMNNAME_NetDay, NetDay); } /** Get Net Day. diff --git a/base/src/org/compiere/model/X_C_PaySelection.java b/base/src/org/compiere/model/X_C_PaySelection.java index 128af0e904..d6c47825df 100644 --- a/base/src/org/compiere/model/X_C_PaySelection.java +++ b/base/src/org/compiere/model/X_C_PaySelection.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaySelection * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persistent { @@ -48,7 +48,7 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste setIsApproved (false); setName (null); // @#Date@ - setPayDate (new Timestamp(System.currentTimeMillis())); + setPayDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ setProcessed (false); setProcessing (false); @@ -150,12 +150,6 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste */ public void setCreateFrom (String CreateFrom) { - - if (CreateFrom != null && CreateFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateFrom = CreateFrom.substring(0, 1); - } set_Value (COLUMNNAME_CreateFrom, CreateFrom); } @@ -173,12 +167,6 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -222,12 +210,6 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_PaySelectionCheck.java b/base/src/org/compiere/model/X_C_PaySelectionCheck.java index c79e6894a2..a9f3079bf5 100644 --- a/base/src/org/compiere/model/X_C_PaySelectionCheck.java +++ b/base/src/org/compiere/model/X_C_PaySelectionCheck.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for C_PaySelectionCheck * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, I_Persistent { @@ -85,6 +85,44 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, return sb.toString(); } + public I_C_BPartner getC_BPartner() throws Exception + { + Class clazz = MTable.getClass(I_C_BPartner.Table_Name); + I_C_BPartner result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_BPartner)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Business Partner . + @param C_BPartner_ID + Identifies a Business Partner + */ + public void setC_BPartner_ID (int C_BPartner_ID) + { + if (C_BPartner_ID < 1) + throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); + set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID)); + } + + /** Get Business Partner . + @return Identifies a Business Partner + */ + public int getC_BPartner_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_BP_BankAccount getC_BP_BankAccount() throws Exception { Class clazz = MTable.getClass(I_C_BP_BankAccount.Table_Name); @@ -124,39 +162,26 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception - { - Class clazz = MTable.getClass(I_C_BPartner.Table_Name); - I_C_BPartner result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BPartner)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Business Partner . - @param C_BPartner_ID - Identifies a Business Partner + /** C_Payment_ID AD_Reference_ID=343 */ + public static final int C_PAYMENT_ID_AD_Reference_ID=343; + /** Set Payment. + @param C_Payment_ID + Payment identifier */ - public void setC_BPartner_ID (int C_BPartner_ID) + public void setC_Payment_ID (int C_Payment_ID) { - if (C_BPartner_ID < 1) - throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); - set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID)); + if (C_Payment_ID < 1) + set_Value (COLUMNNAME_C_Payment_ID, null); + else + set_Value (COLUMNNAME_C_Payment_ID, Integer.valueOf(C_Payment_ID)); } - /** Get Business Partner . - @return Identifies a Business Partner + /** Get Payment. + @return Payment identifier */ - public int getC_BPartner_ID () + public int getC_Payment_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_Payment_ID); if (ii == null) return 0; return ii.intValue(); @@ -222,45 +247,6 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception - { - Class clazz = MTable.getClass(I_C_Payment.Table_Name); - I_C_Payment result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Payment)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Payment_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Payment. - @param C_Payment_ID - Payment identifier - */ - public void setC_Payment_ID (int C_Payment_ID) - { - if (C_Payment_ID < 1) - set_Value (COLUMNNAME_C_Payment_ID, null); - else - set_Value (COLUMNNAME_C_Payment_ID, Integer.valueOf(C_Payment_ID)); - } - - /** Get Payment. - @return Payment identifier - */ - public int getC_Payment_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Payment_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Discount Amount. @param DiscountAmt Calculated amount of discount @@ -289,12 +275,6 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -418,13 +398,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, public void setPaymentRule (String PaymentRule) { if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory"); - if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRule = PaymentRule.substring(0, 1); - } - set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. diff --git a/base/src/org/compiere/model/X_C_PaySelectionLine.java b/base/src/org/compiere/model/X_C_PaySelectionLine.java index 764aff4695..9f7b313793 100644 --- a/base/src/org/compiere/model/X_C_PaySelectionLine.java +++ b/base/src/org/compiere/model/X_C_PaySelectionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaySelectionLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_Persistent { @@ -43,8 +43,8 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ /** if (C_PaySelectionLine_ID == 0) { setC_Invoice_ID (0); - setC_PaySelectionLine_ID (0); setC_PaySelection_ID (0); + setC_PaySelectionLine_ID (0); setDifferenceAmt (Env.ZERO); setDiscountAmt (Env.ZERO); setIsManual (false); @@ -165,36 +165,6 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ return ii.intValue(); } - /** Set Payment Selection Line. - @param C_PaySelectionLine_ID - Payment Selection Line - */ - public void setC_PaySelectionLine_ID (int C_PaySelectionLine_ID) - { - if (C_PaySelectionLine_ID < 1) - throw new IllegalArgumentException ("C_PaySelectionLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_PaySelectionLine_ID, Integer.valueOf(C_PaySelectionLine_ID)); - } - - /** Get Payment Selection Line. - @return Payment Selection Line - */ - public int getC_PaySelectionLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_PaySelectionLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getC_PaySelectionLine_ID())); - } - public I_C_PaySelection getC_PaySelection() throws Exception { Class clazz = MTable.getClass(I_C_PaySelection.Table_Name); @@ -233,18 +203,42 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ return ii.intValue(); } + /** Set Payment Selection Line. + @param C_PaySelectionLine_ID + Payment Selection Line + */ + public void setC_PaySelectionLine_ID (int C_PaySelectionLine_ID) + { + if (C_PaySelectionLine_ID < 1) + throw new IllegalArgumentException ("C_PaySelectionLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_PaySelectionLine_ID, Integer.valueOf(C_PaySelectionLine_ID)); + } + + /** Get Payment Selection Line. + @return Payment Selection Line + */ + public int getC_PaySelectionLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_PaySelectionLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getC_PaySelectionLine_ID())); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -433,13 +427,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ public void setPaymentRule (String PaymentRule) { if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory"); - if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRule = PaymentRule.substring(0, 1); - } - set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. diff --git a/base/src/org/compiere/model/X_C_Payment.java b/base/src/org/compiere/model/X_C_Payment.java index 16a3ef3840..3004c8f779 100644 --- a/base/src/org/compiere/model/X_C_Payment.java +++ b/base/src/org/compiere/model/X_C_Payment.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Payment * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent { @@ -43,14 +43,14 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent super (ctx, C_Payment_ID, trxName); /** if (C_Payment_ID == 0) { - setC_BPartner_ID (0); setC_BankAccount_ID (0); + setC_BPartner_ID (0); setC_Currency_ID (0); setC_DocType_ID (0); setC_Payment_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @#Date@ - setDateTrx (new Timestamp(System.currentTimeMillis())); + setDateTrx (new Timestamp( System.currentTimeMillis() )); // @#Date@ setDocAction (null); // CO @@ -108,6 +108,57 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return sb.toString(); } + /** Set Account No. + @param AccountNo + Account Number + */ + public void setAccountNo (String AccountNo) + { + set_Value (COLUMNNAME_AccountNo, AccountNo); + } + + /** Get Account No. + @return Account Number + */ + public String getAccountNo () + { + return (String)get_Value(COLUMNNAME_AccountNo); + } + + /** Set Account City. + @param A_City + City or the Credit Card or Account Holder + */ + public void setA_City (String A_City) + { + set_Value (COLUMNNAME_A_City, A_City); + } + + /** Get Account City. + @return City or the Credit Card or Account Holder + */ + public String getA_City () + { + return (String)get_Value(COLUMNNAME_A_City); + } + + /** Set Account Country. + @param A_Country + Country + */ + public void setA_Country (String A_Country) + { + set_Value (COLUMNNAME_A_Country, A_Country); + } + + /** Get Account Country. + @return Country + */ + public String getA_Country () + { + return (String)get_Value(COLUMNNAME_A_Country); + } + /** AD_OrgTrx_ID AD_Reference_ID=130 */ public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @@ -133,64 +184,12 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - /** Set Account City. - @param A_City - City or the Credit Card or Account Holder - */ - public void setA_City (String A_City) - { - - if (A_City != null && A_City.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_City = A_City.substring(0, 60); - } - set_Value (COLUMNNAME_A_City, A_City); - } - - /** Get Account City. - @return City or the Credit Card or Account Holder - */ - public String getA_City () - { - return (String)get_Value(COLUMNNAME_A_City); - } - - /** Set Account Country. - @param A_Country - Country - */ - public void setA_Country (String A_Country) - { - - if (A_Country != null && A_Country.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_Country = A_Country.substring(0, 40); - } - set_Value (COLUMNNAME_A_Country, A_Country); - } - - /** Get Account Country. - @return Country - */ - public String getA_Country () - { - return (String)get_Value(COLUMNNAME_A_Country); - } - /** Set Account EMail. @param A_EMail Email Address */ public void setA_EMail (String A_EMail) { - - if (A_EMail != null && A_EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_EMail = A_EMail.substring(0, 60); - } set_Value (COLUMNNAME_A_EMail, A_EMail); } @@ -208,12 +207,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setA_Ident_DL (String A_Ident_DL) { - - if (A_Ident_DL != null && A_Ident_DL.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Ident_DL = A_Ident_DL.substring(0, 20); - } set_Value (COLUMNNAME_A_Ident_DL, A_Ident_DL); } @@ -231,12 +224,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setA_Ident_SSN (String A_Ident_SSN) { - - if (A_Ident_SSN != null && A_Ident_SSN.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Ident_SSN = A_Ident_SSN.substring(0, 20); - } set_Value (COLUMNNAME_A_Ident_SSN, A_Ident_SSN); } @@ -254,12 +241,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setA_Name (String A_Name) { - - if (A_Name != null && A_Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_Name = A_Name.substring(0, 60); - } set_Value (COLUMNNAME_A_Name, A_Name); } @@ -277,12 +258,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setA_State (String A_State) { - - if (A_State != null && A_State.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_State = A_State.substring(0, 40); - } set_Value (COLUMNNAME_A_State, A_State); } @@ -300,12 +275,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setA_Street (String A_Street) { - - if (A_Street != null && A_Street.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_Street = A_Street.substring(0, 60); - } set_Value (COLUMNNAME_A_Street, A_Street); } @@ -323,12 +292,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setA_Zip (String A_Zip) { - - if (A_Zip != null && A_Zip.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Zip = A_Zip.substring(0, 20); - } set_Value (COLUMNNAME_A_Zip, A_Zip); } @@ -340,29 +303,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return (String)get_Value(COLUMNNAME_A_Zip); } - /** Set Account No. - @param AccountNo - Account Number - */ - public void setAccountNo (String AccountNo) - { - - if (AccountNo != null && AccountNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - AccountNo = AccountNo.substring(0, 20); - } - set_Value (COLUMNNAME_AccountNo, AccountNo); - } - - /** Get Account No. - @return Account Number - */ - public String getAccountNo () - { - return (String)get_Value(COLUMNNAME_AccountNo); - } - public I_C_Activity getC_Activity() throws Exception { Class clazz = MTable.getClass(I_C_Activity.Table_Name); @@ -402,14 +342,14 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_BP_BankAccount getC_BP_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws Exception { - Class clazz = MTable.getClass(I_C_BP_BankAccount.Table_Name); - I_C_BP_BankAccount result = null; + Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); + I_C_BankAccount result = null; try { Constructor constructor = null; constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BP_BankAccount)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_BankAccount_ID()), get_TrxName()}); + result = (I_C_BankAccount)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BankAccount_ID()), get_TrxName()}); } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); @@ -418,24 +358,23 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return result; } - /** Set Partner Bank Account. - @param C_BP_BankAccount_ID - Bank Account of the Business Partner + /** Set Bank Account. + @param C_BankAccount_ID + Account at the Bank */ - public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID) + public void setC_BankAccount_ID (int C_BankAccount_ID) { - if (C_BP_BankAccount_ID < 1) - set_Value (COLUMNNAME_C_BP_BankAccount_ID, null); - else - set_Value (COLUMNNAME_C_BP_BankAccount_ID, Integer.valueOf(C_BP_BankAccount_ID)); + if (C_BankAccount_ID < 1) + throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); + set_Value (COLUMNNAME_C_BankAccount_ID, Integer.valueOf(C_BankAccount_ID)); } - /** Get Partner Bank Account. - @return Bank Account of the Business Partner + /** Get Bank Account. + @return Account at the Bank */ - public int getC_BP_BankAccount_ID () + public int getC_BankAccount_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_BankAccount_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_BankAccount_ID); if (ii == null) return 0; return ii.intValue(); @@ -479,14 +418,14 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BP_BankAccount getC_BP_BankAccount() throws Exception { - Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); - I_C_BankAccount result = null; + Class clazz = MTable.getClass(I_C_BP_BankAccount.Table_Name); + I_C_BP_BankAccount result = null; try { Constructor constructor = null; constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BankAccount)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BankAccount_ID()), get_TrxName()}); + result = (I_C_BP_BankAccount)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_BankAccount_ID()), get_TrxName()}); } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); @@ -495,23 +434,24 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return result; } - /** Set Bank Account. - @param C_BankAccount_ID - Account at the Bank + /** Set Partner Bank Account. + @param C_BP_BankAccount_ID + Bank Account of the Business Partner */ - public void setC_BankAccount_ID (int C_BankAccount_ID) + public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID) { - if (C_BankAccount_ID < 1) - throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); - set_Value (COLUMNNAME_C_BankAccount_ID, Integer.valueOf(C_BankAccount_ID)); + if (C_BP_BankAccount_ID < 1) + set_Value (COLUMNNAME_C_BP_BankAccount_ID, null); + else + set_Value (COLUMNNAME_C_BP_BankAccount_ID, Integer.valueOf(C_BP_BankAccount_ID)); } - /** Get Bank Account. - @return Account at the Bank + /** Get Partner Bank Account. + @return Bank Account of the Business Partner */ - public int getC_BankAccount_ID () + public int getC_BP_BankAccount_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BankAccount_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_BankAccount_ID); if (ii == null) return 0; return ii.intValue(); @@ -710,6 +650,43 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Check No. + @param CheckNo + Check Number + */ + public void setCheckNo (String CheckNo) + { + set_Value (COLUMNNAME_CheckNo, CheckNo); + } + + /** Get Check No. + @return Check Number + */ + public String getCheckNo () + { + return (String)get_Value(COLUMNNAME_CheckNo); + } + public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -888,49 +865,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Check No. - @param CheckNo - Check Number - */ - public void setCheckNo (String CheckNo) - { - - if (CheckNo != null && CheckNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - CheckNo = CheckNo.substring(0, 20); - } - set_Value (COLUMNNAME_CheckNo, CheckNo); - } - - /** Get Check No. - @return Check Number - */ - public String getCheckNo () - { - return (String)get_Value(COLUMNNAME_CheckNo); - } - /** Set Exp. Month. @param CreditCardExpMM Expiry Month @@ -977,12 +911,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setCreditCardNumber (String CreditCardNumber) { - - if (CreditCardNumber != null && CreditCardNumber.length() > 20) - { - log.warning("Length > 20 - truncated"); - CreditCardNumber = CreditCardNumber.substring(0, 20); - } set_Value (COLUMNNAME_CreditCardNumber, CreditCardNumber); } @@ -1017,13 +945,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public void setCreditCardType (String CreditCardType) { - if (CreditCardType == null || CreditCardType.equals("A") || CreditCardType.equals("M") || CreditCardType.equals("V") || CreditCardType.equals("C") || CreditCardType.equals("D") || CreditCardType.equals("N") || CreditCardType.equals("P")); else throw new IllegalArgumentException ("CreditCardType Invalid value - " + CreditCardType + " - Reference_ID=149 - A - M - V - C - D - N - P"); - if (CreditCardType != null && CreditCardType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreditCardType = CreditCardType.substring(0, 1); - } - set_Value (COLUMNNAME_CreditCardType, CreditCardType); + if (CreditCardType == null || CreditCardType.equals("A") || CreditCardType.equals("M") || CreditCardType.equals("V") || CreditCardType.equals("C") || CreditCardType.equals("D") || CreditCardType.equals("N") || CreditCardType.equals("P")); else throw new IllegalArgumentException ("CreditCardType Invalid value - " + CreditCardType + " - Reference_ID=149 - A - M - V - C - D - N - P"); set_Value (COLUMNNAME_CreditCardType, CreditCardType); } /** Get Credit Card. @@ -1040,12 +962,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setCreditCardVV (String CreditCardVV) { - - if (CreditCardVV != null && CreditCardVV.length() > 4) - { - log.warning("Length > 4 - truncated"); - CreditCardVV = CreditCardVV.substring(0, 4); - } set_Value (COLUMNNAME_CreditCardVV, CreditCardVV); } @@ -1101,12 +1017,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -1175,13 +1085,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -1225,13 +1129,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -1250,12 +1148,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -1497,12 +1389,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setMicr (String Micr) { - - if (Micr != null && Micr.length() > 20) - { - log.warning("Length > 20 - truncated"); - Micr = Micr.substring(0, 20); - } set_Value (COLUMNNAME_Micr, Micr); } @@ -1520,12 +1406,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setOProcessing (String OProcessing) { - - if (OProcessing != null && OProcessing.length() > 1) - { - log.warning("Length > 1 - truncated"); - OProcessing = OProcessing.substring(0, 1); - } set_Value (COLUMNNAME_OProcessing, OProcessing); } @@ -1543,12 +1423,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setOrig_TrxID (String Orig_TrxID) { - - if (Orig_TrxID != null && Orig_TrxID.length() > 20) - { - log.warning("Length > 20 - truncated"); - Orig_TrxID = Orig_TrxID.substring(0, 20); - } set_Value (COLUMNNAME_Orig_TrxID, Orig_TrxID); } @@ -1580,29 +1454,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return bd; } - /** Set PO Number. - @param PONum - Purchase Order Number - */ - public void setPONum (String PONum) - { - - if (PONum != null && PONum.length() > 60) - { - log.warning("Length > 60 - truncated"); - PONum = PONum.substring(0, 60); - } - set_Value (COLUMNNAME_PONum, PONum); - } - - /** Get PO Number. - @return Purchase Order Number - */ - public String getPONum () - { - return (String)get_Value(COLUMNNAME_PONum); - } - /** Set Payment amount. @param PayAmt Amount being paid @@ -1625,6 +1476,23 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return bd; } + /** Set PO Number. + @param PONum + Purchase Order Number + */ + public void setPONum (String PONum) + { + set_Value (COLUMNNAME_PONum, PONum); + } + + /** Get PO Number. + @return Purchase Order Number + */ + public String getPONum () + { + return (String)get_Value(COLUMNNAME_PONum); + } + /** Set Posted. @param Posted Posting status @@ -1700,12 +1568,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setR_AuthCode (String R_AuthCode) { - - if (R_AuthCode != null && R_AuthCode.length() > 20) - { - log.warning("Length > 20 - truncated"); - R_AuthCode = R_AuthCode.substring(0, 20); - } set_ValueNoCheck (COLUMNNAME_R_AuthCode, R_AuthCode); } @@ -1723,12 +1585,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setR_AuthCode_DC (String R_AuthCode_DC) { - - if (R_AuthCode_DC != null && R_AuthCode_DC.length() > 20) - { - log.warning("Length > 20 - truncated"); - R_AuthCode_DC = R_AuthCode_DC.substring(0, 20); - } set_ValueNoCheck (COLUMNNAME_R_AuthCode_DC, R_AuthCode_DC); } @@ -1755,13 +1611,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public void setR_AvsAddr (String R_AvsAddr) { - if (R_AvsAddr == null || R_AvsAddr.equals("Y") || R_AvsAddr.equals("N") || R_AvsAddr.equals("X")); else throw new IllegalArgumentException ("R_AvsAddr Invalid value - " + R_AvsAddr + " - Reference_ID=213 - Y - N - X"); - if (R_AvsAddr != null && R_AvsAddr.length() > 1) - { - log.warning("Length > 1 - truncated"); - R_AvsAddr = R_AvsAddr.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_R_AvsAddr, R_AvsAddr); + if (R_AvsAddr == null || R_AvsAddr.equals("Y") || R_AvsAddr.equals("N") || R_AvsAddr.equals("X")); else throw new IllegalArgumentException ("R_AvsAddr Invalid value - " + R_AvsAddr + " - Reference_ID=213 - Y - N - X"); set_ValueNoCheck (COLUMNNAME_R_AvsAddr, R_AvsAddr); } /** Get Address verified. @@ -1787,13 +1637,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public void setR_AvsZip (String R_AvsZip) { - if (R_AvsZip == null || R_AvsZip.equals("Y") || R_AvsZip.equals("N") || R_AvsZip.equals("X")); else throw new IllegalArgumentException ("R_AvsZip Invalid value - " + R_AvsZip + " - Reference_ID=213 - Y - N - X"); - if (R_AvsZip != null && R_AvsZip.length() > 1) - { - log.warning("Length > 1 - truncated"); - R_AvsZip = R_AvsZip.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_R_AvsZip, R_AvsZip); + if (R_AvsZip == null || R_AvsZip.equals("Y") || R_AvsZip.equals("N") || R_AvsZip.equals("X")); else throw new IllegalArgumentException ("R_AvsZip Invalid value - " + R_AvsZip + " - Reference_ID=213 - Y - N - X"); set_ValueNoCheck (COLUMNNAME_R_AvsZip, R_AvsZip); } /** Get Zip verified. @@ -1828,121 +1672,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return false; } - /** Set Info. - @param R_Info - Response info - */ - public void setR_Info (String R_Info) - { - - if (R_Info != null && R_Info.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - R_Info = R_Info.substring(0, 2000); - } - set_ValueNoCheck (COLUMNNAME_R_Info, R_Info); - } - - /** Get Info. - @return Response info - */ - public String getR_Info () - { - return (String)get_Value(COLUMNNAME_R_Info); - } - - /** Set Reference. - @param R_PnRef - Payment reference - */ - public void setR_PnRef (String R_PnRef) - { - - if (R_PnRef != null && R_PnRef.length() > 20) - { - log.warning("Length > 20 - truncated"); - R_PnRef = R_PnRef.substring(0, 20); - } - set_ValueNoCheck (COLUMNNAME_R_PnRef, R_PnRef); - } - - /** Get Reference. - @return Payment reference - */ - public String getR_PnRef () - { - return (String)get_Value(COLUMNNAME_R_PnRef); - } - - /** Set Reference (DC). - @param R_PnRef_DC - Payment Reference Delayed Capture - */ - public void setR_PnRef_DC (String R_PnRef_DC) - { - - if (R_PnRef_DC != null && R_PnRef_DC.length() > 20) - { - log.warning("Length > 20 - truncated"); - R_PnRef_DC = R_PnRef_DC.substring(0, 20); - } - set_ValueNoCheck (COLUMNNAME_R_PnRef_DC, R_PnRef_DC); - } - - /** Get Reference (DC). - @return Payment Reference Delayed Capture - */ - public String getR_PnRef_DC () - { - return (String)get_Value(COLUMNNAME_R_PnRef_DC); - } - - /** Set Response Message. - @param R_RespMsg - Response message - */ - public void setR_RespMsg (String R_RespMsg) - { - - if (R_RespMsg != null && R_RespMsg.length() > 60) - { - log.warning("Length > 60 - truncated"); - R_RespMsg = R_RespMsg.substring(0, 60); - } - set_ValueNoCheck (COLUMNNAME_R_RespMsg, R_RespMsg); - } - - /** Get Response Message. - @return Response message - */ - public String getR_RespMsg () - { - return (String)get_Value(COLUMNNAME_R_RespMsg); - } - - /** Set Result. - @param R_Result - Result of transmission - */ - public void setR_Result (String R_Result) - { - - if (R_Result != null && R_Result.length() > 20) - { - log.warning("Length > 20 - truncated"); - R_Result = R_Result.substring(0, 20); - } - set_ValueNoCheck (COLUMNNAME_R_Result, R_Result); - } - - /** Get Result. - @return Result of transmission - */ - public String getR_Result () - { - return (String)get_Value(COLUMNNAME_R_Result); - } - /** Ref_Payment_ID AD_Reference_ID=343 */ public static final int REF_PAYMENT_ID_AD_Reference_ID=343; /** Set Referenced Payment. @@ -1990,18 +1719,29 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } + /** Set Info. + @param R_Info + Response info + */ + public void setR_Info (String R_Info) + { + set_ValueNoCheck (COLUMNNAME_R_Info, R_Info); + } + + /** Get Info. + @return Response info + */ + public String getR_Info () + { + return (String)get_Value(COLUMNNAME_R_Info); + } + /** Set Routing No. @param RoutingNo Bank Routing Number */ public void setRoutingNo (String RoutingNo) { - - if (RoutingNo != null && RoutingNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - RoutingNo = RoutingNo.substring(0, 20); - } set_Value (COLUMNNAME_RoutingNo, RoutingNo); } @@ -2013,18 +1753,80 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return (String)get_Value(COLUMNNAME_RoutingNo); } + /** Set Reference. + @param R_PnRef + Payment reference + */ + public void setR_PnRef (String R_PnRef) + { + set_ValueNoCheck (COLUMNNAME_R_PnRef, R_PnRef); + } + + /** Get Reference. + @return Payment reference + */ + public String getR_PnRef () + { + return (String)get_Value(COLUMNNAME_R_PnRef); + } + + /** Set Reference (DC). + @param R_PnRef_DC + Payment Reference Delayed Capture + */ + public void setR_PnRef_DC (String R_PnRef_DC) + { + set_ValueNoCheck (COLUMNNAME_R_PnRef_DC, R_PnRef_DC); + } + + /** Get Reference (DC). + @return Payment Reference Delayed Capture + */ + public String getR_PnRef_DC () + { + return (String)get_Value(COLUMNNAME_R_PnRef_DC); + } + + /** Set Response Message. + @param R_RespMsg + Response message + */ + public void setR_RespMsg (String R_RespMsg) + { + set_ValueNoCheck (COLUMNNAME_R_RespMsg, R_RespMsg); + } + + /** Get Response Message. + @return Response message + */ + public String getR_RespMsg () + { + return (String)get_Value(COLUMNNAME_R_RespMsg); + } + + /** Set Result. + @param R_Result + Result of transmission + */ + public void setR_Result (String R_Result) + { + set_ValueNoCheck (COLUMNNAME_R_Result, R_Result); + } + + /** Get Result. + @return Result of transmission + */ + public String getR_Result () + { + return (String)get_Value(COLUMNNAME_R_Result); + } + /** Set Swipe. @param Swipe Track 1 and 2 of the Credit Card */ public void setSwipe (String Swipe) { - - if (Swipe != null && Swipe.length() > 80) - { - log.warning("Length > 80 - truncated"); - Swipe = Swipe.substring(0, 80); - } set_ValueNoCheck (COLUMNNAME_Swipe, Swipe); } @@ -2075,13 +1877,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public void setTenderType (String TenderType) { if (TenderType == null) throw new IllegalArgumentException ("TenderType is mandatory"); - if (TenderType.equals("C") || TenderType.equals("K") || TenderType.equals("A") || TenderType.equals("D") || TenderType.equals("T")); else throw new IllegalArgumentException ("TenderType Invalid value - " + TenderType + " - Reference_ID=214 - C - K - A - D - T"); - if (TenderType.length() > 1) - { - log.warning("Length > 1 - truncated"); - TenderType = TenderType.substring(0, 1); - } - set_Value (COLUMNNAME_TenderType, TenderType); + if (TenderType.equals("C") || TenderType.equals("K") || TenderType.equals("A") || TenderType.equals("D") || TenderType.equals("T")); else throw new IllegalArgumentException ("TenderType Invalid value - " + TenderType + " - Reference_ID=214 - C - K - A - D - T"); set_Value (COLUMNNAME_TenderType, TenderType); } /** Get Tender type. @@ -2113,13 +1909,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public void setTrxType (String TrxType) { if (TrxType == null) throw new IllegalArgumentException ("TrxType is mandatory"); - if (TrxType.equals("S") || TrxType.equals("D") || TrxType.equals("C") || TrxType.equals("F") || TrxType.equals("A") || TrxType.equals("V")); else throw new IllegalArgumentException ("TrxType Invalid value - " + TrxType + " - Reference_ID=215 - S - D - C - F - A - V"); - if (TrxType.length() > 1) - { - log.warning("Length > 1 - truncated"); - TrxType = TrxType.substring(0, 1); - } - set_Value (COLUMNNAME_TrxType, TrxType); + if (TrxType.equals("S") || TrxType.equals("D") || TrxType.equals("C") || TrxType.equals("F") || TrxType.equals("A") || TrxType.equals("V")); else throw new IllegalArgumentException ("TrxType Invalid value - " + TrxType + " - Reference_ID=215 - S - D - C - F - A - V"); set_Value (COLUMNNAME_TrxType, TrxType); } /** Get Transaction Type. @@ -2186,12 +1976,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent */ public void setVoiceAuthCode (String VoiceAuthCode) { - - if (VoiceAuthCode != null && VoiceAuthCode.length() > 20) - { - log.warning("Length > 20 - truncated"); - VoiceAuthCode = VoiceAuthCode.substring(0, 20); - } set_Value (COLUMNNAME_VoiceAuthCode, VoiceAuthCode); } diff --git a/base/src/org/compiere/model/X_C_PaymentAllocate.java b/base/src/org/compiere/model/X_C_PaymentAllocate.java index 7753fd8448..16bb95ef44 100644 --- a/base/src/org/compiere/model/X_C_PaymentAllocate.java +++ b/base/src/org/compiere/model/X_C_PaymentAllocate.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentAllocate * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_PaymentBatch.java b/base/src/org/compiere/model/X_C_PaymentBatch.java index 196c6f9d24..36fbe4bb49 100644 --- a/base/src/org/compiere/model/X_C_PaymentBatch.java +++ b/base/src/org/compiere/model/X_C_PaymentBatch.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentBatch * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persistent { @@ -143,12 +143,6 @@ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persiste */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -176,12 +170,6 @@ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_PaymentProcessor.java b/base/src/org/compiere/model/X_C_PaymentProcessor.java index 1ae9072aee..31fa700c93 100644 --- a/base/src/org/compiere/model/X_C_PaymentProcessor.java +++ b/base/src/org/compiere/model/X_C_PaymentProcessor.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentProcessor * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_Persistent { @@ -53,9 +53,9 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ setAcceptMC (false); setAcceptVisa (false); setC_BankAccount_ID (0); - setC_PaymentProcessor_ID (0); setCommission (Env.ZERO); setCostPerTrx (Env.ZERO); + setC_PaymentProcessor_ID (0); setHostAddress (null); setHostPort (0); setName (null); @@ -93,31 +93,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ return sb.toString(); } - /** AD_Sequence_ID AD_Reference_ID=128 */ - public static final int AD_SEQUENCE_ID_AD_Reference_ID=128; - /** Set Sequence. - @param AD_Sequence_ID - Document Sequence - */ - public void setAD_Sequence_ID (int AD_Sequence_ID) - { - if (AD_Sequence_ID < 1) - set_Value (COLUMNNAME_AD_Sequence_ID, null); - else - set_Value (COLUMNNAME_AD_Sequence_ID, Integer.valueOf(AD_Sequence_ID)); - } - - /** Get Sequence. - @return Document Sequence - */ - public int getAD_Sequence_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_Sequence_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Accept AMEX. @param AcceptAMEX Accept American Express Card @@ -358,6 +333,31 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ return false; } + /** AD_Sequence_ID AD_Reference_ID=128 */ + public static final int AD_SEQUENCE_ID_AD_Reference_ID=128; + /** Set Sequence. + @param AD_Sequence_ID + Document Sequence + */ + public void setAD_Sequence_ID (int AD_Sequence_ID) + { + if (AD_Sequence_ID < 1) + set_Value (COLUMNNAME_AD_Sequence_ID, null); + else + set_Value (COLUMNNAME_AD_Sequence_ID, Integer.valueOf(AD_Sequence_ID)); + } + + /** Get Sequence. + @return Document Sequence + */ + public int getAD_Sequence_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Sequence_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_BankAccount getC_BankAccount() throws Exception { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); @@ -435,28 +435,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ return ii.intValue(); } - /** Set Payment Processor. - @param C_PaymentProcessor_ID - Payment processor for electronic payments - */ - public void setC_PaymentProcessor_ID (int C_PaymentProcessor_ID) - { - if (C_PaymentProcessor_ID < 1) - throw new IllegalArgumentException ("C_PaymentProcessor_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_PaymentProcessor_ID, Integer.valueOf(C_PaymentProcessor_ID)); - } - - /** Get Payment Processor. - @return Payment processor for electronic payments - */ - public int getC_PaymentProcessor_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentProcessor_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Commission %. @param Commission Commission stated as a percentage @@ -501,18 +479,34 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ return bd; } + /** Set Payment Processor. + @param C_PaymentProcessor_ID + Payment processor for electronic payments + */ + public void setC_PaymentProcessor_ID (int C_PaymentProcessor_ID) + { + if (C_PaymentProcessor_ID < 1) + throw new IllegalArgumentException ("C_PaymentProcessor_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_PaymentProcessor_ID, Integer.valueOf(C_PaymentProcessor_ID)); + } + + /** Get Payment Processor. + @return Payment processor for electronic payments + */ + public int getC_PaymentProcessor_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentProcessor_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -532,12 +526,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ { if (HostAddress == null) throw new IllegalArgumentException ("HostAddress is mandatory."); - - if (HostAddress.length() > 60) - { - log.warning("Length > 60 - truncated"); - HostAddress = HostAddress.substring(0, 60); - } set_Value (COLUMNNAME_HostAddress, HostAddress); } @@ -597,12 +585,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -628,12 +610,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ */ public void setPartnerID (String PartnerID) { - - if (PartnerID != null && PartnerID.length() > 60) - { - log.warning("Length > 60 - truncated"); - PartnerID = PartnerID.substring(0, 60); - } set_Value (COLUMNNAME_PartnerID, PartnerID); } @@ -653,12 +629,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ { if (Password == null) throw new IllegalArgumentException ("Password is mandatory."); - - if (Password.length() > 60) - { - log.warning("Length > 60 - truncated"); - Password = Password.substring(0, 60); - } set_Value (COLUMNNAME_Password, Password); } @@ -676,12 +646,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ */ public void setPayProcessorClass (String PayProcessorClass) { - - if (PayProcessorClass != null && PayProcessorClass.length() > 60) - { - log.warning("Length > 60 - truncated"); - PayProcessorClass = PayProcessorClass.substring(0, 60); - } set_Value (COLUMNNAME_PayProcessorClass, PayProcessorClass); } @@ -699,12 +663,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ */ public void setProxyAddress (String ProxyAddress) { - - if (ProxyAddress != null && ProxyAddress.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProxyAddress = ProxyAddress.substring(0, 60); - } set_Value (COLUMNNAME_ProxyAddress, ProxyAddress); } @@ -722,12 +680,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ */ public void setProxyLogon (String ProxyLogon) { - - if (ProxyLogon != null && ProxyLogon.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProxyLogon = ProxyLogon.substring(0, 60); - } set_Value (COLUMNNAME_ProxyLogon, ProxyLogon); } @@ -745,12 +697,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ */ public void setProxyPassword (String ProxyPassword) { - - if (ProxyPassword != null && ProxyPassword.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProxyPassword = ProxyPassword.substring(0, 60); - } set_Value (COLUMNNAME_ProxyPassword, ProxyPassword); } @@ -814,12 +760,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ { if (UserID == null) throw new IllegalArgumentException ("UserID is mandatory."); - - if (UserID.length() > 60) - { - log.warning("Length > 60 - truncated"); - UserID = UserID.substring(0, 60); - } set_Value (COLUMNNAME_UserID, UserID); } @@ -837,12 +777,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ */ public void setVendorID (String VendorID) { - - if (VendorID != null && VendorID.length() > 60) - { - log.warning("Length > 60 - truncated"); - VendorID = VendorID.substring(0, 60); - } set_Value (COLUMNNAME_VendorID, VendorID); } diff --git a/base/src/org/compiere/model/X_C_PaymentTerm.java b/base/src/org/compiere/model/X_C_PaymentTerm.java index c1223fc838..d4b8b9cd04 100644 --- a/base/src/org/compiere/model/X_C_PaymentTerm.java +++ b/base/src/org/compiere/model/X_C_PaymentTerm.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentTerm * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent { @@ -43,9 +43,9 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent setAfterDelivery (false); setC_PaymentTerm_ID (0); setDiscount (Env.ZERO); - setDiscount2 (Env.ZERO); setDiscountDays (0); setDiscountDays2 (0); + setDiscount2 (Env.ZERO); setGraceDays (0); setIsDueFixed (false); setIsValid (false); @@ -135,12 +135,6 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -174,28 +168,6 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent return bd; } - /** Set Discount 2 %. - @param Discount2 - Discount in percent - */ - public void setDiscount2 (BigDecimal Discount2) - { - if (Discount2 == null) - throw new IllegalArgumentException ("Discount2 is mandatory."); - set_Value (COLUMNNAME_Discount2, Discount2); - } - - /** Get Discount 2 %. - @return Discount in percent - */ - public BigDecimal getDiscount2 () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Discount2); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Discount Days. @param DiscountDays Number of days from invoice date to be eligible for discount @@ -236,18 +208,34 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent return ii.intValue(); } + /** Set Discount 2 %. + @param Discount2 + Discount in percent + */ + public void setDiscount2 (BigDecimal Discount2) + { + if (Discount2 == null) + throw new IllegalArgumentException ("Discount2 is mandatory."); + set_Value (COLUMNNAME_Discount2, Discount2); + } + + /** Get Discount 2 %. + @return Discount in percent + */ + public BigDecimal getDiscount2 () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Discount2); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Document Note. @param DocumentNote Additional information for a Document */ public void setDocumentNote (String DocumentNote) { - - if (DocumentNote != null && DocumentNote.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DocumentNote = DocumentNote.substring(0, 2000); - } set_Value (COLUMNNAME_DocumentNote, DocumentNote); } @@ -443,12 +431,6 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -491,13 +473,7 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent public void setNetDay (String NetDay) { - if (NetDay == null || NetDay.equals("7") || NetDay.equals("1") || NetDay.equals("2") || NetDay.equals("3") || NetDay.equals("4") || NetDay.equals("5") || NetDay.equals("6")); else throw new IllegalArgumentException ("NetDay Invalid value - " + NetDay + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); - if (NetDay != null && NetDay.length() > 1) - { - log.warning("Length > 1 - truncated"); - NetDay = NetDay.substring(0, 1); - } - set_Value (COLUMNNAME_NetDay, NetDay); + if (NetDay == null || NetDay.equals("7") || NetDay.equals("1") || NetDay.equals("2") || NetDay.equals("3") || NetDay.equals("4") || NetDay.equals("5") || NetDay.equals("6")); else throw new IllegalArgumentException ("NetDay Invalid value - " + NetDay + " - Reference_ID=167 - 7 - 1 - 2 - 3 - 4 - 5 - 6"); set_Value (COLUMNNAME_NetDay, NetDay); } /** Get Net Day. @@ -557,12 +533,6 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_Period.java b/base/src/org/compiere/model/X_C_Period.java index e2f227ed8e..450c37d630 100644 --- a/base/src/org/compiere/model/X_C_Period.java +++ b/base/src/org/compiere/model/X_C_Period.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Period * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Period extends PO implements I_C_Period, I_Persistent { @@ -47,7 +47,7 @@ public class X_C_Period extends PO implements I_C_Period, I_Persistent setPeriodNo (0); setPeriodType (null); // S - setStartDate (new Timestamp(System.currentTimeMillis())); + setStartDate (new Timestamp( System.currentTimeMillis() )); } */ } @@ -164,12 +164,6 @@ public class X_C_Period extends PO implements I_C_Period, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -222,13 +216,7 @@ public class X_C_Period extends PO implements I_C_Period, I_Persistent public void setPeriodType (String PeriodType) { if (PeriodType == null) throw new IllegalArgumentException ("PeriodType is mandatory"); - if (PeriodType.equals("S") || PeriodType.equals("A")); else throw new IllegalArgumentException ("PeriodType Invalid value - " + PeriodType + " - Reference_ID=115 - S - A"); - if (PeriodType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PeriodType = PeriodType.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_PeriodType, PeriodType); + if (PeriodType.equals("S") || PeriodType.equals("A")); else throw new IllegalArgumentException ("PeriodType Invalid value - " + PeriodType + " - Reference_ID=115 - S - A"); set_ValueNoCheck (COLUMNNAME_PeriodType, PeriodType); } /** Get Period Type. diff --git a/base/src/org/compiere/model/X_C_PeriodControl.java b/base/src/org/compiere/model/X_C_PeriodControl.java index 9ebf7da84c..bf4ef2d847 100644 --- a/base/src/org/compiere/model/X_C_PeriodControl.java +++ b/base/src/org/compiere/model/X_C_PeriodControl.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PeriodControl * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persistent { @@ -218,13 +218,7 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis public void setDocBaseType (String DocBaseType) { if (DocBaseType == null) throw new IllegalArgumentException ("DocBaseType is mandatory"); - if (DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOA") || DocBaseType.equals("MOF") || DocBaseType.equals("MOI") || DocBaseType.equals("MOM") || DocBaseType.equals("MOP") || DocBaseType.equals("MOR") || DocBaseType.equals("MOU") || DocBaseType.equals("MOV") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOA - MOF - MOI - MOM - MOP - MOR - MOU - MOV - MQO - HRP - DOO"); - if (DocBaseType.length() > 3) - { - log.warning("Length > 3 - truncated"); - DocBaseType = DocBaseType.substring(0, 3); - } - set_ValueNoCheck (COLUMNNAME_DocBaseType, DocBaseType); + if (DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOA") || DocBaseType.equals("MOF") || DocBaseType.equals("MOI") || DocBaseType.equals("MOM") || DocBaseType.equals("MOP") || DocBaseType.equals("MOR") || DocBaseType.equals("MOU") || DocBaseType.equals("MOV") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOA - MOF - MOI - MOM - MOP - MOR - MOU - MOV - MQO - HRP - DOO"); set_ValueNoCheck (COLUMNNAME_DocBaseType, DocBaseType); } /** Get Document BaseType. @@ -252,13 +246,7 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis public void setPeriodAction (String PeriodAction) { if (PeriodAction == null) throw new IllegalArgumentException ("PeriodAction is mandatory"); - if (PeriodAction.equals("O") || PeriodAction.equals("C") || PeriodAction.equals("P") || PeriodAction.equals("N")); else throw new IllegalArgumentException ("PeriodAction Invalid value - " + PeriodAction + " - Reference_ID=176 - O - C - P - N"); - if (PeriodAction.length() > 1) - { - log.warning("Length > 1 - truncated"); - PeriodAction = PeriodAction.substring(0, 1); - } - set_Value (COLUMNNAME_PeriodAction, PeriodAction); + if (PeriodAction.equals("O") || PeriodAction.equals("C") || PeriodAction.equals("P") || PeriodAction.equals("N")); else throw new IllegalArgumentException ("PeriodAction Invalid value - " + PeriodAction + " - Reference_ID=176 - O - C - P - N"); set_Value (COLUMNNAME_PeriodAction, PeriodAction); } /** Get Period Action. @@ -286,13 +274,7 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis public void setPeriodStatus (String PeriodStatus) { - if (PeriodStatus == null || PeriodStatus.equals("O") || PeriodStatus.equals("C") || PeriodStatus.equals("P") || PeriodStatus.equals("N")); else throw new IllegalArgumentException ("PeriodStatus Invalid value - " + PeriodStatus + " - Reference_ID=177 - O - C - P - N"); - if (PeriodStatus != null && PeriodStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - PeriodStatus = PeriodStatus.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_PeriodStatus, PeriodStatus); + if (PeriodStatus == null || PeriodStatus.equals("O") || PeriodStatus.equals("C") || PeriodStatus.equals("P") || PeriodStatus.equals("N")); else throw new IllegalArgumentException ("PeriodStatus Invalid value - " + PeriodStatus + " - Reference_ID=177 - O - C - P - N"); set_ValueNoCheck (COLUMNNAME_PeriodStatus, PeriodStatus); } /** Get Period Status. diff --git a/base/src/org/compiere/model/X_C_Phase.java b/base/src/org/compiere/model/X_C_Phase.java index 52a238691f..a2c3c5f02f 100644 --- a/base/src/org/compiere/model/X_C_Phase.java +++ b/base/src/org/compiere/model/X_C_Phase.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Phase * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent { @@ -146,12 +146,6 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -169,12 +163,6 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -233,12 +221,6 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Project.java b/base/src/org/compiere/model/X_C_Project.java index 8b2d0df4fb..3c4318645e 100644 --- a/base/src/org/compiere/model/X_C_Project.java +++ b/base/src/org/compiere/model/X_C_Project.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Project * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Project extends PO implements I_C_Project, I_Persistent { @@ -44,9 +44,9 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent /** if (C_Project_ID == 0) { setC_Currency_ID (0); - setC_Project_ID (0); setCommittedAmt (Env.ZERO); setCommittedQty (Env.ZERO); + setC_Project_ID (0); setInvoicedAmt (Env.ZERO); setInvoicedQty (Env.ZERO); setIsCommitCeiling (false); @@ -57,11 +57,11 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent setPlannedMarginAmt (Env.ZERO); setPlannedQty (Env.ZERO); setProcessed (false); - setProjInvoiceRule (null); -// - setProjectBalanceAmt (Env.ZERO); setProjectLineLevel (null); // P + setProjInvoiceRule (null); +// - setValue (null); } */ } @@ -133,31 +133,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - /** C_BPartnerSR_ID AD_Reference_ID=353 */ - public static final int C_BPARTNERSR_ID_AD_Reference_ID=353; - /** Set BPartner (Agent). - @param C_BPartnerSR_ID - Business Partner (Agent or Sales Rep) - */ - public void setC_BPartnerSR_ID (int C_BPartnerSR_ID) - { - if (C_BPartnerSR_ID < 1) - set_Value (COLUMNNAME_C_BPartnerSR_ID, null); - else - set_Value (COLUMNNAME_C_BPartnerSR_ID, Integer.valueOf(C_BPartnerSR_ID)); - } - - /** Get BPartner (Agent). - @return Business Partner (Agent or Sales Rep) - */ - public int getC_BPartnerSR_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerSR_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -236,6 +211,31 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } + /** C_BPartnerSR_ID AD_Reference_ID=353 */ + public static final int C_BPARTNERSR_ID_AD_Reference_ID=353; + /** Set BPartner (Agent). + @param C_BPartnerSR_ID + Business Partner (Agent or Sales Rep) + */ + public void setC_BPartnerSR_ID (int C_BPartnerSR_ID) + { + if (C_BPartnerSR_ID < 1) + set_Value (COLUMNNAME_C_BPartnerSR_ID, null); + else + set_Value (COLUMNNAME_C_BPartnerSR_ID, Integer.valueOf(C_BPartnerSR_ID)); + } + + /** Get BPartner (Agent). + @return Business Partner (Agent or Sales Rep) + */ + public int getC_BPartnerSR_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerSR_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Campaign getC_Campaign() throws Exception { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); @@ -313,6 +313,67 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } + /** Set Committed Amount. + @param CommittedAmt + The (legal) commitment amount + */ + public void setCommittedAmt (BigDecimal CommittedAmt) + { + if (CommittedAmt == null) + throw new IllegalArgumentException ("CommittedAmt is mandatory."); + set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); + } + + /** Get Committed Amount. + @return The (legal) commitment amount + */ + public BigDecimal getCommittedAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Committed Quantity. + @param CommittedQty + The (legal) commitment Quantity + */ + public void setCommittedQty (BigDecimal CommittedQty) + { + if (CommittedQty == null) + throw new IllegalArgumentException ("CommittedQty is mandatory."); + set_Value (COLUMNNAME_CommittedQty, CommittedQty); + } + + /** Get Committed Quantity. + @return The (legal) commitment Quantity + */ + public BigDecimal getCommittedQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedQty); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Copy From. + @param CopyFrom + Copy From Record + */ + public void setCopyFrom (String CopyFrom) + { + set_Value (COLUMNNAME_CopyFrom, CopyFrom); + } + + /** Get Copy From. + @return Copy From Record + */ + public String getCopyFrom () + { + return (String)get_Value(COLUMNNAME_CopyFrom); + } + public I_C_PaymentTerm getC_PaymentTerm() throws Exception { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); @@ -391,29 +452,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - /** Set Project Type. - @param C_ProjectType_ID - Type of the project - */ - public void setC_ProjectType_ID (String C_ProjectType_ID) - { - - if (C_ProjectType_ID != null && C_ProjectType_ID.length() > 22) - { - log.warning("Length > 22 - truncated"); - C_ProjectType_ID = C_ProjectType_ID.substring(0, 22); - } - set_Value (COLUMNNAME_C_ProjectType_ID, C_ProjectType_ID); - } - - /** Get Project Type. - @return Type of the project - */ - public String getC_ProjectType_ID () - { - return (String)get_Value(COLUMNNAME_C_ProjectType_ID); - } - /** Set Project. @param C_Project_ID Financial Project @@ -436,71 +474,21 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - /** Set Committed Amount. - @param CommittedAmt - The (legal) commitment amount + /** Set Project Type. + @param C_ProjectType_ID + Type of the project */ - public void setCommittedAmt (BigDecimal CommittedAmt) + public void setC_ProjectType_ID (String C_ProjectType_ID) { - if (CommittedAmt == null) - throw new IllegalArgumentException ("CommittedAmt is mandatory."); - set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); + set_Value (COLUMNNAME_C_ProjectType_ID, C_ProjectType_ID); } - /** Get Committed Amount. - @return The (legal) commitment amount + /** Get Project Type. + @return Type of the project */ - public BigDecimal getCommittedAmt () + public String getC_ProjectType_ID () { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Committed Quantity. - @param CommittedQty - The (legal) commitment Quantity - */ - public void setCommittedQty (BigDecimal CommittedQty) - { - if (CommittedQty == null) - throw new IllegalArgumentException ("CommittedQty is mandatory."); - set_Value (COLUMNNAME_CommittedQty, CommittedQty); - } - - /** Get Committed Quantity. - @return The (legal) commitment Quantity - */ - public BigDecimal getCommittedQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedQty); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Copy From. - @param CopyFrom - Copy From Record - */ - public void setCopyFrom (String CopyFrom) - { - - if (CopyFrom != null && CopyFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyFrom = CopyFrom.substring(0, 1); - } - set_Value (COLUMNNAME_CopyFrom, CopyFrom); - } - - /** Get Copy From. - @return Copy From Record - */ - public String getCopyFrom () - { - return (String)get_Value(COLUMNNAME_CopyFrom); + return (String)get_Value(COLUMNNAME_C_ProjectType_ID); } /** Set Contract Date. @@ -543,12 +531,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -566,12 +548,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent */ public void setGenerateTo (String GenerateTo) { - - if (GenerateTo != null && GenerateTo.length() > 1) - { - log.warning("Length > 1 - truncated"); - GenerateTo = GenerateTo.substring(0, 1); - } set_Value (COLUMNNAME_GenerateTo, GenerateTo); } @@ -785,12 +761,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -808,12 +778,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent */ public void setNote (String Note) { - - if (Note != null && Note.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Note = Note.substring(0, 2000); - } set_Value (COLUMNNAME_Note, Note); } @@ -825,29 +789,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return (String)get_Value(COLUMNNAME_Note); } - /** Set Order Reference. - @param POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference) - { - - if (POReference != null && POReference.length() > 20) - { - log.warning("Length > 20 - truncated"); - POReference = POReference.substring(0, 20); - } - set_Value (COLUMNNAME_POReference, POReference); - } - - /** Get Order Reference. - @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference () - { - return (String)get_Value(COLUMNNAME_POReference); - } - /** Set Planned Amount. @param PlannedAmt Planned amount for this project @@ -914,6 +855,23 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return bd; } + /** Set Order Reference. + @param POReference + Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference) + { + set_Value (COLUMNNAME_POReference, POReference); + } + + /** Get Order Reference. + @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference () + { + return (String)get_Value(COLUMNNAME_POReference); + } + /** Set Processed. @param Processed The document has been processed @@ -959,42 +917,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return false; } - /** ProjInvoiceRule AD_Reference_ID=383 */ - public static final int PROJINVOICERULE_AD_Reference_ID=383; - /** None = - */ - public static final String PROJINVOICERULE_None = "-"; - /** Committed Amount = C */ - public static final String PROJINVOICERULE_CommittedAmount = "C"; - /** Time&Material max Comitted = c */ - public static final String PROJINVOICERULE_TimeMaterialMaxComitted = "c"; - /** Time&Material = T */ - public static final String PROJINVOICERULE_TimeMaterial = "T"; - /** Product Quantity = P */ - public static final String PROJINVOICERULE_ProductQuantity = "P"; - /** Set Invoice Rule. - @param ProjInvoiceRule - Invoice Rule for the project - */ - public void setProjInvoiceRule (String ProjInvoiceRule) - { - if (ProjInvoiceRule == null) throw new IllegalArgumentException ("ProjInvoiceRule is mandatory"); - if (ProjInvoiceRule.equals("-") || ProjInvoiceRule.equals("C") || ProjInvoiceRule.equals("c") || ProjInvoiceRule.equals("T") || ProjInvoiceRule.equals("P")); else throw new IllegalArgumentException ("ProjInvoiceRule Invalid value - " + ProjInvoiceRule + " - Reference_ID=383 - - - C - c - T - P"); - if (ProjInvoiceRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - ProjInvoiceRule = ProjInvoiceRule.substring(0, 1); - } - set_Value (COLUMNNAME_ProjInvoiceRule, ProjInvoiceRule); - } - - /** Get Invoice Rule. - @return Invoice Rule for the project - */ - public String getProjInvoiceRule () - { - return (String)get_Value(COLUMNNAME_ProjInvoiceRule); - } - /** Set Project Balance. @param ProjectBalanceAmt Total Project Balance @@ -1034,13 +956,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent public void setProjectCategory (String ProjectCategory) { - if (ProjectCategory == null || ProjectCategory.equals("N") || ProjectCategory.equals("A") || ProjectCategory.equals("W") || ProjectCategory.equals("S")); else throw new IllegalArgumentException ("ProjectCategory Invalid value - " + ProjectCategory + " - Reference_ID=288 - N - A - W - S"); - if (ProjectCategory != null && ProjectCategory.length() > 1) - { - log.warning("Length > 1 - truncated"); - ProjectCategory = ProjectCategory.substring(0, 1); - } - set_Value (COLUMNNAME_ProjectCategory, ProjectCategory); + if (ProjectCategory == null || ProjectCategory.equals("N") || ProjectCategory.equals("A") || ProjectCategory.equals("W") || ProjectCategory.equals("S")); else throw new IllegalArgumentException ("ProjectCategory Invalid value - " + ProjectCategory + " - Reference_ID=288 - N - A - W - S"); set_Value (COLUMNNAME_ProjectCategory, ProjectCategory); } /** Get Project Category. @@ -1066,13 +982,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent public void setProjectLineLevel (String ProjectLineLevel) { if (ProjectLineLevel == null) throw new IllegalArgumentException ("ProjectLineLevel is mandatory"); - if (ProjectLineLevel.equals("P") || ProjectLineLevel.equals("A") || ProjectLineLevel.equals("T")); else throw new IllegalArgumentException ("ProjectLineLevel Invalid value - " + ProjectLineLevel + " - Reference_ID=384 - P - A - T"); - if (ProjectLineLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - ProjectLineLevel = ProjectLineLevel.substring(0, 1); - } - set_Value (COLUMNNAME_ProjectLineLevel, ProjectLineLevel); + if (ProjectLineLevel.equals("P") || ProjectLineLevel.equals("A") || ProjectLineLevel.equals("T")); else throw new IllegalArgumentException ("ProjectLineLevel Invalid value - " + ProjectLineLevel + " - Reference_ID=384 - P - A - T"); set_Value (COLUMNNAME_ProjectLineLevel, ProjectLineLevel); } /** Get Line Level. @@ -1083,6 +993,36 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return (String)get_Value(COLUMNNAME_ProjectLineLevel); } + /** ProjInvoiceRule AD_Reference_ID=383 */ + public static final int PROJINVOICERULE_AD_Reference_ID=383; + /** None = - */ + public static final String PROJINVOICERULE_None = "-"; + /** Committed Amount = C */ + public static final String PROJINVOICERULE_CommittedAmount = "C"; + /** Time&Material max Comitted = c */ + public static final String PROJINVOICERULE_TimeMaterialMaxComitted = "c"; + /** Time&Material = T */ + public static final String PROJINVOICERULE_TimeMaterial = "T"; + /** Product Quantity = P */ + public static final String PROJINVOICERULE_ProductQuantity = "P"; + /** Set Invoice Rule. + @param ProjInvoiceRule + Invoice Rule for the project + */ + public void setProjInvoiceRule (String ProjInvoiceRule) + { + if (ProjInvoiceRule == null) throw new IllegalArgumentException ("ProjInvoiceRule is mandatory"); + if (ProjInvoiceRule.equals("-") || ProjInvoiceRule.equals("C") || ProjInvoiceRule.equals("c") || ProjInvoiceRule.equals("T") || ProjInvoiceRule.equals("P")); else throw new IllegalArgumentException ("ProjInvoiceRule Invalid value - " + ProjInvoiceRule + " - Reference_ID=383 - - - C - c - T - P"); set_Value (COLUMNNAME_ProjInvoiceRule, ProjInvoiceRule); + } + + /** Get Invoice Rule. + @return Invoice Rule for the project + */ + public String getProjInvoiceRule () + { + return (String)get_Value(COLUMNNAME_ProjInvoiceRule); + } + /** SalesRep_ID AD_Reference_ID=190 */ public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @@ -1116,12 +1056,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_ProjectIssue.java b/base/src/org/compiere/model/X_C_ProjectIssue.java index d45be9866f..6c6183dfba 100644 --- a/base/src/org/compiere/model/X_C_ProjectIssue.java +++ b/base/src/org/compiere/model/X_C_ProjectIssue.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectIssue * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persistent { @@ -43,15 +43,15 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste super (ctx, C_ProjectIssue_ID, trxName); /** if (C_ProjectIssue_ID == 0) { - setC_ProjectIssue_ID (0); setC_Project_ID (0); + setC_ProjectIssue_ID (0); setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_ProjectIssue WHERE C_Project_ID=@C_Project_ID@ setM_AttributeSetInstance_ID (0); setM_Locator_ID (0); - setM_Product_ID (0); - setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementDate (new Timestamp( System.currentTimeMillis() )); setMovementQty (Env.ZERO); + setM_Product_ID (0); setPosted (false); // N setProcessed (false); @@ -86,28 +86,6 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste return sb.toString(); } - /** Set Project Issue. - @param C_ProjectIssue_ID - Project Issues (Material, Labor) - */ - public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) - { - if (C_ProjectIssue_ID < 1) - throw new IllegalArgumentException ("C_ProjectIssue_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_ProjectIssue_ID, Integer.valueOf(C_ProjectIssue_ID)); - } - - /** Get Project Issue. - @return Project Issues (Material, Labor) - */ - public int getC_ProjectIssue_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectIssue_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -154,18 +132,34 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste return new KeyNamePair(get_ID(), String.valueOf(getC_Project_ID())); } + /** Set Project Issue. + @param C_ProjectIssue_ID + Project Issues (Material, Labor) + */ + public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) + { + if (C_ProjectIssue_ID < 1) + throw new IllegalArgumentException ("C_ProjectIssue_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_ProjectIssue_ID, Integer.valueOf(C_ProjectIssue_ID)); + } + + /** Get Project Issue. + @return Project Issues (Material, Labor) + */ + public int getC_ProjectIssue_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectIssue_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -280,44 +274,6 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste return ii.intValue(); } - public I_M_Product getM_Product() throws Exception - { - Class clazz = MTable.getClass(I_M_Product.Table_Name); - I_M_Product result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_Product)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Product_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Product. - @param M_Product_ID - Product, Service, Item - */ - public void setM_Product_ID (int M_Product_ID) - { - if (M_Product_ID < 1) - throw new IllegalArgumentException ("M_Product_ID is mandatory."); - set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); - } - - /** Get Product. - @return Product, Service, Item - */ - public int getM_Product_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Movement Date. @param MovementDate Date a product was moved in or out of inventory @@ -359,6 +315,44 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste return bd; } + public I_M_Product getM_Product() throws Exception + { + Class clazz = MTable.getClass(I_M_Product.Table_Name); + I_M_Product result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_Product)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Product_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Product. + @param M_Product_ID + Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID) + { + if (M_Product_ID < 1) + throw new IllegalArgumentException ("M_Product_ID is mandatory."); + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + } + + /** Get Product. + @return Product, Service, Item + */ + public int getM_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Posted. @param Posted Posting status diff --git a/base/src/org/compiere/model/X_C_ProjectIssueMA.java b/base/src/org/compiere/model/X_C_ProjectIssueMA.java index 960bb69662..101dcae77f 100644 --- a/base/src/org/compiere/model/X_C_ProjectIssueMA.java +++ b/base/src/org/compiere/model/X_C_ProjectIssueMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectIssueMA * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_ProjectLine.java b/base/src/org/compiere/model/X_C_ProjectLine.java index 0695e9e66c..c22de7a22e 100644 --- a/base/src/org/compiere/model/X_C_ProjectLine.java +++ b/base/src/org/compiere/model/X_C_ProjectLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent { @@ -42,8 +42,8 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent super (ctx, C_ProjectLine_ID, trxName); /** if (C_ProjectLine_ID == 0) { - setC_ProjectLine_ID (0); setC_Project_ID (0); + setC_ProjectLine_ID (0); setInvoicedAmt (Env.ZERO); setInvoicedQty (Env.ZERO); // 0 @@ -89,29 +89,44 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return sb.toString(); } - /** C_OrderPO_ID AD_Reference_ID=290 */ - public static final int C_ORDERPO_ID_AD_Reference_ID=290; - /** Set Purchase Order. - @param C_OrderPO_ID - Purchase Order + /** Set Committed Amount. + @param CommittedAmt + The (legal) commitment amount */ - public void setC_OrderPO_ID (int C_OrderPO_ID) + public void setCommittedAmt (BigDecimal CommittedAmt) { - if (C_OrderPO_ID < 1) - set_ValueNoCheck (COLUMNNAME_C_OrderPO_ID, null); - else - set_ValueNoCheck (COLUMNNAME_C_OrderPO_ID, Integer.valueOf(C_OrderPO_ID)); + set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); } - /** Get Purchase Order. - @return Purchase Order + /** Get Committed Amount. + @return The (legal) commitment amount */ - public int getC_OrderPO_ID () + public BigDecimal getCommittedAmt () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_OrderPO_ID); - if (ii == null) - return 0; - return ii.intValue(); + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Committed Quantity. + @param CommittedQty + The (legal) commitment Quantity + */ + public void setCommittedQty (BigDecimal CommittedQty) + { + set_Value (COLUMNNAME_CommittedQty, CommittedQty); + } + + /** Get Committed Quantity. + @return The (legal) commitment Quantity + */ + public BigDecimal getCommittedQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedQty); + if (bd == null) + return Env.ZERO; + return bd; } public I_C_Order getC_Order() throws Exception @@ -153,6 +168,69 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return ii.intValue(); } + /** C_OrderPO_ID AD_Reference_ID=290 */ + public static final int C_ORDERPO_ID_AD_Reference_ID=290; + /** Set Purchase Order. + @param C_OrderPO_ID + Purchase Order + */ + public void setC_OrderPO_ID (int C_OrderPO_ID) + { + if (C_OrderPO_ID < 1) + set_ValueNoCheck (COLUMNNAME_C_OrderPO_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_OrderPO_ID, Integer.valueOf(C_OrderPO_ID)); + } + + /** Get Purchase Order. + @return Purchase Order + */ + public int getC_OrderPO_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_OrderPO_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_Project getC_Project() throws Exception + { + Class clazz = MTable.getClass(I_C_Project.Table_Name); + I_C_Project result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project. + @param C_Project_ID + Financial Project + */ + public void setC_Project_ID (int C_Project_ID) + { + if (C_Project_ID < 1) + throw new IllegalArgumentException ("C_Project_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); + } + + /** Get Project. + @return Financial Project + */ + public int getC_Project_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ProjectIssue getC_ProjectIssue() throws Exception { Class clazz = MTable.getClass(I_C_ProjectIssue.Table_Name); @@ -292,96 +370,12 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception - { - Class clazz = MTable.getClass(I_C_Project.Table_Name); - I_C_Project result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Project. - @param C_Project_ID - Financial Project - */ - public void setC_Project_ID (int C_Project_ID) - { - if (C_Project_ID < 1) - throw new IllegalArgumentException ("C_Project_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); - } - - /** Get Project. - @return Financial Project - */ - public int getC_Project_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Committed Amount. - @param CommittedAmt - The (legal) commitment amount - */ - public void setCommittedAmt (BigDecimal CommittedAmt) - { - set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); - } - - /** Get Committed Amount. - @return The (legal) commitment amount - */ - public BigDecimal getCommittedAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Committed Quantity. - @param CommittedQty - The (legal) commitment Quantity - */ - public void setCommittedQty (BigDecimal CommittedQty) - { - set_Value (COLUMNNAME_CommittedQty, CommittedQty); - } - - /** Get Committed Quantity. - @return The (legal) commitment Quantity - */ - public BigDecimal getCommittedQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedQty); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -397,12 +391,6 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent @param DoPricing Pricing */ public void setDoPricing (String DoPricing) { - - if (DoPricing != null && DoPricing.length() > 1) - { - log.warning("Length > 1 - truncated"); - DoPricing = DoPricing.substring(0, 1); - } set_Value (COLUMNNAME_DoPricing, DoPricing); } diff --git a/base/src/org/compiere/model/X_C_ProjectPhase.java b/base/src/org/compiere/model/X_C_ProjectPhase.java index b6d1df5fa2..d89f166b8d 100644 --- a/base/src/org/compiere/model/X_C_ProjectPhase.java +++ b/base/src/org/compiere/model/X_C_ProjectPhase.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectPhase * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persistent { @@ -43,9 +43,9 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste super (ctx, C_ProjectPhase_ID, trxName); /** if (C_ProjectPhase_ID == 0) { - setC_ProjectPhase_ID (0); - setC_Project_ID (0); setCommittedAmt (Env.ZERO); + setC_Project_ID (0); + setC_ProjectPhase_ID (0); setIsCommitCeiling (false); setIsComplete (false); setName (null); @@ -85,6 +85,28 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste return sb.toString(); } + /** Set Committed Amount. + @param CommittedAmt + The (legal) commitment amount + */ + public void setCommittedAmt (BigDecimal CommittedAmt) + { + if (CommittedAmt == null) + throw new IllegalArgumentException ("CommittedAmt is mandatory."); + set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); + } + + /** Get Committed Amount. + @return The (legal) commitment amount + */ + public BigDecimal getCommittedAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_Order getC_Order() throws Exception { Class clazz = MTable.getClass(I_C_Order.Table_Name); @@ -163,28 +185,6 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste return ii.intValue(); } - /** Set Project Phase. - @param C_ProjectPhase_ID - Phase of a Project - */ - public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) - { - if (C_ProjectPhase_ID < 1) - throw new IllegalArgumentException ("C_ProjectPhase_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_ProjectPhase_ID, Integer.valueOf(C_ProjectPhase_ID)); - } - - /** Get Project Phase. - @return Phase of a Project - */ - public int getC_ProjectPhase_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectPhase_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -223,26 +223,26 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste return ii.intValue(); } - /** Set Committed Amount. - @param CommittedAmt - The (legal) commitment amount + /** Set Project Phase. + @param C_ProjectPhase_ID + Phase of a Project */ - public void setCommittedAmt (BigDecimal CommittedAmt) + public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { - if (CommittedAmt == null) - throw new IllegalArgumentException ("CommittedAmt is mandatory."); - set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); + if (C_ProjectPhase_ID < 1) + throw new IllegalArgumentException ("C_ProjectPhase_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_ProjectPhase_ID, Integer.valueOf(C_ProjectPhase_ID)); } - /** Get Committed Amount. - @return The (legal) commitment amount + /** Get Project Phase. + @return Phase of a Project */ - public BigDecimal getCommittedAmt () + public int getC_ProjectPhase_ID () { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); - if (bd == null) - return Env.ZERO; - return bd; + Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectPhase_ID); + if (ii == null) + return 0; + return ii.intValue(); } /** Set Description. @@ -251,12 +251,6 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -291,12 +285,6 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste */ public void setGenerateOrder (String GenerateOrder) { - - if (GenerateOrder != null && GenerateOrder.length() > 1) - { - log.warning("Length > 1 - truncated"); - GenerateOrder = GenerateOrder.substring(0, 1); - } set_Value (COLUMNNAME_GenerateOrder, GenerateOrder); } @@ -314,12 +302,6 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -426,12 +408,6 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -504,13 +480,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste public void setProjInvoiceRule (String ProjInvoiceRule) { if (ProjInvoiceRule == null) throw new IllegalArgumentException ("ProjInvoiceRule is mandatory"); - if (ProjInvoiceRule.equals("-") || ProjInvoiceRule.equals("C") || ProjInvoiceRule.equals("c") || ProjInvoiceRule.equals("T") || ProjInvoiceRule.equals("P")); else throw new IllegalArgumentException ("ProjInvoiceRule Invalid value - " + ProjInvoiceRule + " - Reference_ID=383 - - - C - c - T - P"); - if (ProjInvoiceRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - ProjInvoiceRule = ProjInvoiceRule.substring(0, 1); - } - set_Value (COLUMNNAME_ProjInvoiceRule, ProjInvoiceRule); + if (ProjInvoiceRule.equals("-") || ProjInvoiceRule.equals("C") || ProjInvoiceRule.equals("c") || ProjInvoiceRule.equals("T") || ProjInvoiceRule.equals("P")); else throw new IllegalArgumentException ("ProjInvoiceRule Invalid value - " + ProjInvoiceRule + " - Reference_ID=383 - - - C - c - T - P"); set_Value (COLUMNNAME_ProjInvoiceRule, ProjInvoiceRule); } /** Get Invoice Rule. diff --git a/base/src/org/compiere/model/X_C_ProjectTask.java b/base/src/org/compiere/model/X_C_ProjectTask.java index 67cc853f49..18c8f9c11f 100644 --- a/base/src/org/compiere/model/X_C_ProjectTask.java +++ b/base/src/org/compiere/model/X_C_ProjectTask.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectTask * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent { @@ -42,9 +42,9 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent super (ctx, C_ProjectTask_ID, trxName); /** if (C_ProjectTask_ID == 0) { + setCommittedAmt (Env.ZERO); setC_ProjectPhase_ID (0); setC_ProjectTask_ID (0); - setCommittedAmt (Env.ZERO); setName (null); setPlannedAmt (Env.ZERO); setProjInvoiceRule (null); @@ -82,6 +82,28 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent return sb.toString(); } + /** Set Committed Amount. + @param CommittedAmt + The (legal) commitment amount + */ + public void setCommittedAmt (BigDecimal CommittedAmt) + { + if (CommittedAmt == null) + throw new IllegalArgumentException ("CommittedAmt is mandatory."); + set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); + } + + /** Get Committed Amount. + @return The (legal) commitment amount + */ + public BigDecimal getCommittedAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_ProjectPhase getC_ProjectPhase() throws Exception { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); @@ -181,40 +203,12 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent return ii.intValue(); } - /** Set Committed Amount. - @param CommittedAmt - The (legal) commitment amount - */ - public void setCommittedAmt (BigDecimal CommittedAmt) - { - if (CommittedAmt == null) - throw new IllegalArgumentException ("CommittedAmt is mandatory."); - set_Value (COLUMNNAME_CommittedAmt, CommittedAmt); - } - - /** Get Committed Amount. - @return The (legal) commitment amount - */ - public BigDecimal getCommittedAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CommittedAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -232,12 +226,6 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -296,12 +284,6 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -354,13 +336,7 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent public void setProjInvoiceRule (String ProjInvoiceRule) { if (ProjInvoiceRule == null) throw new IllegalArgumentException ("ProjInvoiceRule is mandatory"); - if (ProjInvoiceRule.equals("-") || ProjInvoiceRule.equals("C") || ProjInvoiceRule.equals("c") || ProjInvoiceRule.equals("T") || ProjInvoiceRule.equals("P")); else throw new IllegalArgumentException ("ProjInvoiceRule Invalid value - " + ProjInvoiceRule + " - Reference_ID=383 - - - C - c - T - P"); - if (ProjInvoiceRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - ProjInvoiceRule = ProjInvoiceRule.substring(0, 1); - } - set_Value (COLUMNNAME_ProjInvoiceRule, ProjInvoiceRule); + if (ProjInvoiceRule.equals("-") || ProjInvoiceRule.equals("C") || ProjInvoiceRule.equals("c") || ProjInvoiceRule.equals("T") || ProjInvoiceRule.equals("P")); else throw new IllegalArgumentException ("ProjInvoiceRule Invalid value - " + ProjInvoiceRule + " - Reference_ID=383 - - - C - c - T - P"); set_Value (COLUMNNAME_ProjInvoiceRule, ProjInvoiceRule); } /** Get Invoice Rule. diff --git a/base/src/org/compiere/model/X_C_ProjectType.java b/base/src/org/compiere/model/X_C_ProjectType.java index e59454b90d..268a4a28f6 100644 --- a/base/src/org/compiere/model/X_C_ProjectType.java +++ b/base/src/org/compiere/model/X_C_ProjectType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent { @@ -101,12 +101,6 @@ public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -124,12 +118,6 @@ public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -149,12 +137,6 @@ public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -191,13 +173,7 @@ public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent public void setProjectCategory (String ProjectCategory) { if (ProjectCategory == null) throw new IllegalArgumentException ("ProjectCategory is mandatory"); - if (ProjectCategory.equals("N") || ProjectCategory.equals("A") || ProjectCategory.equals("W") || ProjectCategory.equals("S")); else throw new IllegalArgumentException ("ProjectCategory Invalid value - " + ProjectCategory + " - Reference_ID=288 - N - A - W - S"); - if (ProjectCategory.length() > 1) - { - log.warning("Length > 1 - truncated"); - ProjectCategory = ProjectCategory.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_ProjectCategory, ProjectCategory); + if (ProjectCategory.equals("N") || ProjectCategory.equals("A") || ProjectCategory.equals("W") || ProjectCategory.equals("S")); else throw new IllegalArgumentException ("ProjectCategory Invalid value - " + ProjectCategory + " - Reference_ID=288 - N - A - W - S"); set_ValueNoCheck (COLUMNNAME_ProjectCategory, ProjectCategory); } /** Get Project Category. diff --git a/base/src/org/compiere/model/X_C_Project_Acct.java b/base/src/org/compiere/model/X_C_Project_Acct.java index bd19237112..7ab3e01bd2 100644 --- a/base/src/org/compiere/model/X_C_Project_Acct.java +++ b/base/src/org/compiere/model/X_C_Project_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Project_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Recurring.java b/base/src/org/compiere/model/X_C_Recurring.java index 45aef37eaa..1a9719229d 100644 --- a/base/src/org/compiere/model/X_C_Recurring.java +++ b/base/src/org/compiere/model/X_C_Recurring.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Recurring * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent { @@ -42,7 +42,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent /** if (C_Recurring_ID == 0) { setC_Recurring_ID (0); - setDateNextRun (new Timestamp(System.currentTimeMillis())); + setDateNextRun (new Timestamp( System.currentTimeMillis() )); setFrequencyType (null); // M setName (null); @@ -300,12 +300,6 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -354,13 +348,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent public void setFrequencyType (String FrequencyType) { if (FrequencyType == null) throw new IllegalArgumentException ("FrequencyType is mandatory"); - if (FrequencyType.equals("D") || FrequencyType.equals("W") || FrequencyType.equals("M") || FrequencyType.equals("Q")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=283 - D - W - M - Q"); - if (FrequencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FrequencyType = FrequencyType.substring(0, 1); - } - set_Value (COLUMNNAME_FrequencyType, FrequencyType); + if (FrequencyType.equals("D") || FrequencyType.equals("W") || FrequencyType.equals("M") || FrequencyType.equals("Q")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=283 - D - W - M - Q"); set_Value (COLUMNNAME_FrequencyType, FrequencyType); } /** Get Frequency Type. @@ -416,12 +404,6 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -441,12 +423,6 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -504,13 +480,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent public void setRecurringType (String RecurringType) { if (RecurringType == null) throw new IllegalArgumentException ("RecurringType is mandatory"); - if (RecurringType.equals("I") || RecurringType.equals("O") || RecurringType.equals("G") || RecurringType.equals("J")); else throw new IllegalArgumentException ("RecurringType Invalid value - " + RecurringType + " - Reference_ID=282 - I - O - G - J"); - if (RecurringType.length() > 1) - { - log.warning("Length > 1 - truncated"); - RecurringType = RecurringType.substring(0, 1); - } - set_Value (COLUMNNAME_RecurringType, RecurringType); + if (RecurringType.equals("I") || RecurringType.equals("O") || RecurringType.equals("G") || RecurringType.equals("J")); else throw new IllegalArgumentException ("RecurringType Invalid value - " + RecurringType + " - Reference_ID=282 - I - O - G - J"); set_Value (COLUMNNAME_RecurringType, RecurringType); } /** Get Recurring Type. diff --git a/base/src/org/compiere/model/X_C_Recurring_Run.java b/base/src/org/compiere/model/X_C_Recurring_Run.java index d7b4420bac..2b2e2044ea 100644 --- a/base/src/org/compiere/model/X_C_Recurring_Run.java +++ b/base/src/org/compiere/model/X_C_Recurring_Run.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for C_Recurring_Run * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Region.java b/base/src/org/compiere/model/X_C_Region.java index 41875ec9b7..71c0d86044 100644 --- a/base/src/org/compiere/model/X_C_Region.java +++ b/base/src/org/compiere/model/X_C_Region.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Region * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Region extends PO implements I_C_Region, I_Persistent { @@ -140,12 +140,6 @@ public class X_C_Region extends PO implements I_C_Region, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -189,12 +183,6 @@ public class X_C_Region extends PO implements I_C_Region, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Remuneration.java b/base/src/org/compiere/model/X_C_Remuneration.java index ac81a0f32b..ddbf56ba94 100644 --- a/base/src/org/compiere/model/X_C_Remuneration.java +++ b/base/src/org/compiere/model/X_C_Remuneration.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Remuneration * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persistent { @@ -107,12 +107,6 @@ public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -174,12 +168,6 @@ public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -199,12 +187,6 @@ public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -289,13 +271,7 @@ public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persiste public void setRemunerationType (String RemunerationType) { if (RemunerationType == null) throw new IllegalArgumentException ("RemunerationType is mandatory"); - if (RemunerationType.equals("H") || RemunerationType.equals("D") || RemunerationType.equals("W") || RemunerationType.equals("M") || RemunerationType.equals("T") || RemunerationType.equals("B")); else throw new IllegalArgumentException ("RemunerationType Invalid value - " + RemunerationType + " - Reference_ID=346 - H - D - W - M - T - B"); - if (RemunerationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - RemunerationType = RemunerationType.substring(0, 1); - } - set_Value (COLUMNNAME_RemunerationType, RemunerationType); + if (RemunerationType.equals("H") || RemunerationType.equals("D") || RemunerationType.equals("W") || RemunerationType.equals("M") || RemunerationType.equals("T") || RemunerationType.equals("B")); else throw new IllegalArgumentException ("RemunerationType Invalid value - " + RemunerationType + " - Reference_ID=346 - H - D - W - M - T - B"); set_Value (COLUMNNAME_RemunerationType, RemunerationType); } /** Get Remuneration Type. diff --git a/base/src/org/compiere/model/X_C_RevenueRecognition.java b/base/src/org/compiere/model/X_C_RevenueRecognition.java index f8bc68c337..7f7ef9f264 100644 --- a/base/src/org/compiere/model/X_C_RevenueRecognition.java +++ b/base/src/org/compiere/model/X_C_RevenueRecognition.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecognition * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition, I_Persistent { @@ -101,12 +101,6 @@ public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -150,12 +144,6 @@ public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -205,13 +193,7 @@ public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition public void setRecognitionFrequency (String RecognitionFrequency) { if (RecognitionFrequency == null) throw new IllegalArgumentException ("RecognitionFrequency is mandatory"); - if (RecognitionFrequency.equals("M") || RecognitionFrequency.equals("Q") || RecognitionFrequency.equals("Y")); else throw new IllegalArgumentException ("RecognitionFrequency Invalid value - " + RecognitionFrequency + " - Reference_ID=196 - M - Q - Y"); - if (RecognitionFrequency.length() > 1) - { - log.warning("Length > 1 - truncated"); - RecognitionFrequency = RecognitionFrequency.substring(0, 1); - } - set_Value (COLUMNNAME_RecognitionFrequency, RecognitionFrequency); + if (RecognitionFrequency.equals("M") || RecognitionFrequency.equals("Q") || RecognitionFrequency.equals("Y")); else throw new IllegalArgumentException ("RecognitionFrequency Invalid value - " + RecognitionFrequency + " - Reference_ID=196 - M - Q - Y"); set_Value (COLUMNNAME_RecognitionFrequency, RecognitionFrequency); } /** Get Recognition frequency. diff --git a/base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java b/base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java index ce92c8da72..3335c0041a 100644 --- a/base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java +++ b/base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecognition_Plan * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecognition_Plan, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_RevenueRecognition_Run.java b/base/src/org/compiere/model/X_C_RevenueRecognition_Run.java index 8147c211ac..e0fa45489e 100644 --- a/base/src/org/compiere/model/X_C_RevenueRecognition_Run.java +++ b/base/src/org/compiere/model/X_C_RevenueRecognition_Run.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecognition_Run * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecognition_Run, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_RfQ.java b/base/src/org/compiere/model/X_C_RfQ.java index 98eade0156..03b59e1e42 100644 --- a/base/src/org/compiere/model/X_C_RfQ.java +++ b/base/src/org/compiere/model/X_C_RfQ.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent { @@ -47,7 +47,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent // @$C_Currency_ID @ setC_RfQ_ID (0); setC_RfQ_Topic_ID (0); - setDateResponse (new Timestamp(System.currentTimeMillis())); + setDateResponse (new Timestamp( System.currentTimeMillis() )); setDocumentNo (null); setIsInvitedVendorsOnly (false); setIsQuoteAllQty (false); @@ -247,6 +247,20 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return ii.intValue(); } + /** Set Copy Lines. + @param CopyLines Copy Lines */ + public void setCopyLines (String CopyLines) + { + set_Value (COLUMNNAME_CopyLines, CopyLines); + } + + /** Get Copy Lines. + @return Copy Lines */ + public String getCopyLines () + { + return (String)get_Value(COLUMNNAME_CopyLines); + } + public I_C_Order getC_Order() throws Exception { Class clazz = MTable.getClass(I_C_Order.Table_Name); @@ -286,6 +300,37 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return ii.intValue(); } + /** Set Create PO. + @param CreatePO + Create Purchase Order + */ + public void setCreatePO (String CreatePO) + { + set_Value (COLUMNNAME_CreatePO, CreatePO); + } + + /** Get Create PO. + @return Create Purchase Order + */ + public String getCreatePO () + { + return (String)get_Value(COLUMNNAME_CreatePO); + } + + /** Set Create SO. + @param CreateSO Create SO */ + public void setCreateSO (String CreateSO) + { + set_Value (COLUMNNAME_CreateSO, CreateSO); + } + + /** Get Create SO. + @return Create SO */ + public String getCreateSO () + { + return (String)get_Value(COLUMNNAME_CreateSO); + } + /** Set RfQ. @param C_RfQ_ID Request for Quotation @@ -346,69 +391,6 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return ii.intValue(); } - /** Set Copy Lines. - @param CopyLines Copy Lines */ - public void setCopyLines (String CopyLines) - { - - if (CopyLines != null && CopyLines.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyLines = CopyLines.substring(0, 1); - } - set_Value (COLUMNNAME_CopyLines, CopyLines); - } - - /** Get Copy Lines. - @return Copy Lines */ - public String getCopyLines () - { - return (String)get_Value(COLUMNNAME_CopyLines); - } - - /** Set Create PO. - @param CreatePO - Create Purchase Order - */ - public void setCreatePO (String CreatePO) - { - - if (CreatePO != null && CreatePO.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreatePO = CreatePO.substring(0, 1); - } - set_Value (COLUMNNAME_CreatePO, CreatePO); - } - - /** Get Create PO. - @return Create Purchase Order - */ - public String getCreatePO () - { - return (String)get_Value(COLUMNNAME_CreatePO); - } - - /** Set Create SO. - @param CreateSO Create SO */ - public void setCreateSO (String CreateSO) - { - - if (CreateSO != null && CreateSO.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateSO = CreateSO.substring(0, 1); - } - set_Value (COLUMNNAME_CreateSO, CreateSO); - } - - /** Get Create SO. - @return Create SO */ - public String getCreateSO () - { - return (String)get_Value(COLUMNNAME_CreateSO); - } - /** Set Response Date. @param DateResponse Date of the Response @@ -488,12 +470,6 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -513,12 +489,6 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -544,12 +514,6 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -709,12 +673,6 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -775,12 +733,6 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent @param PublishRfQ Publish RfQ */ public void setPublishRfQ (String PublishRfQ) { - - if (PublishRfQ != null && PublishRfQ.length() > 1) - { - log.warning("Length > 1 - truncated"); - PublishRfQ = PublishRfQ.substring(0, 1); - } set_Value (COLUMNNAME_PublishRfQ, PublishRfQ); } @@ -806,13 +758,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent public void setQuoteType (String QuoteType) { if (QuoteType == null) throw new IllegalArgumentException ("QuoteType is mandatory"); - if (QuoteType.equals("T") || QuoteType.equals("S") || QuoteType.equals("A")); else throw new IllegalArgumentException ("QuoteType Invalid value - " + QuoteType + " - Reference_ID=314 - T - S - A"); - if (QuoteType.length() > 1) - { - log.warning("Length > 1 - truncated"); - QuoteType = QuoteType.substring(0, 1); - } - set_Value (COLUMNNAME_QuoteType, QuoteType); + if (QuoteType.equals("T") || QuoteType.equals("S") || QuoteType.equals("A")); else throw new IllegalArgumentException ("QuoteType Invalid value - " + QuoteType + " - Reference_ID=314 - T - S - A"); set_Value (COLUMNNAME_QuoteType, QuoteType); } /** Get RfQ Type. @@ -827,12 +773,6 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent @param RankRfQ Rank RfQ */ public void setRankRfQ (String RankRfQ) { - - if (RankRfQ != null && RankRfQ.length() > 1) - { - log.warning("Length > 1 - truncated"); - RankRfQ = RankRfQ.substring(0, 1); - } set_Value (COLUMNNAME_RankRfQ, RankRfQ); } diff --git a/base/src/org/compiere/model/X_C_RfQLine.java b/base/src/org/compiere/model/X_C_RfQLine.java index 04b26537b8..57e59b599a 100644 --- a/base/src/org/compiere/model/X_C_RfQLine.java +++ b/base/src/org/compiere/model/X_C_RfQLine.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent { @@ -41,8 +41,8 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent super (ctx, C_RfQLine_ID, trxName); /** if (C_RfQLine_ID == 0) { - setC_RfQLine_ID (0); setC_RfQ_ID (0); + setC_RfQLine_ID (0); setLine (0); // @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_RfQLine WHERE C_RfQ_ID=@C_RfQ_ID@ setM_AttributeSetInstance_ID (0); @@ -77,28 +77,6 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent return sb.toString(); } - /** Set RfQ Line. - @param C_RfQLine_ID - Request for Quotation Line - */ - public void setC_RfQLine_ID (int C_RfQLine_ID) - { - if (C_RfQLine_ID < 1) - throw new IllegalArgumentException ("C_RfQLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_RfQLine_ID, Integer.valueOf(C_RfQLine_ID)); - } - - /** Get RfQ Line. - @return Request for Quotation Line - */ - public int getC_RfQLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_RfQ getC_RfQ() throws Exception { Class clazz = MTable.getClass(I_C_RfQ.Table_Name); @@ -145,6 +123,28 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getC_RfQ_ID())); } + /** Set RfQ Line. + @param C_RfQLine_ID + Request for Quotation Line + */ + public void setC_RfQLine_ID (int C_RfQLine_ID) + { + if (C_RfQLine_ID < 1) + throw new IllegalArgumentException ("C_RfQLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_RfQLine_ID, Integer.valueOf(C_RfQLine_ID)); + } + + /** Get RfQ Line. + @return Request for Quotation Line + */ + public int getC_RfQLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Work Complete. @param DateWorkComplete Date when work is (planned to be) complete @@ -205,12 +205,6 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -228,12 +222,6 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } diff --git a/base/src/org/compiere/model/X_C_RfQLineQty.java b/base/src/org/compiere/model/X_C_RfQLineQty.java index 9c682e0be1..fb85f8e160 100644 --- a/base/src/org/compiere/model/X_C_RfQLineQty.java +++ b/base/src/org/compiere/model/X_C_RfQLineQty.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQLineQty * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent { @@ -43,8 +43,8 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent /** if (C_RfQLineQty_ID == 0) { setBenchmarkPrice (Env.ZERO); - setC_RfQLineQty_ID (0); setC_RfQLine_ID (0); + setC_RfQLineQty_ID (0); setC_UOM_ID (0); setIsOfferQty (false); setIsPurchaseQty (false); @@ -125,28 +125,6 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent return bd; } - /** Set RfQ Line Quantity. - @param C_RfQLineQty_ID - Request for Quotation Line Quantity - */ - public void setC_RfQLineQty_ID (int C_RfQLineQty_ID) - { - if (C_RfQLineQty_ID < 1) - throw new IllegalArgumentException ("C_RfQLineQty_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_RfQLineQty_ID, Integer.valueOf(C_RfQLineQty_ID)); - } - - /** Get RfQ Line Quantity. - @return Request for Quotation Line Quantity - */ - public int getC_RfQLineQty_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQLineQty_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_RfQLine getC_RfQLine() throws Exception { Class clazz = MTable.getClass(I_C_RfQLine.Table_Name); @@ -185,6 +163,28 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent return ii.intValue(); } + /** Set RfQ Line Quantity. + @param C_RfQLineQty_ID + Request for Quotation Line Quantity + */ + public void setC_RfQLineQty_ID (int C_RfQLineQty_ID) + { + if (C_RfQLineQty_ID < 1) + throw new IllegalArgumentException ("C_RfQLineQty_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_RfQLineQty_ID, Integer.valueOf(C_RfQLineQty_ID)); + } + + /** Get RfQ Line Quantity. + @return Request for Quotation Line Quantity + */ + public int getC_RfQLineQty_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQLineQty_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_UOM getC_UOM() throws Exception { Class clazz = MTable.getClass(I_C_UOM.Table_Name); diff --git a/base/src/org/compiere/model/X_C_RfQResponse.java b/base/src/org/compiere/model/X_C_RfQResponse.java index 05babfa7cc..77925972f6 100644 --- a/base/src/org/compiere/model/X_C_RfQResponse.java +++ b/base/src/org/compiere/model/X_C_RfQResponse.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQResponse * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent { @@ -47,8 +47,8 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent setC_BPartner_Location_ID (0); setC_Currency_ID (0); // @C_Currency_ID@ - setC_RfQResponse_ID (0); setC_RfQ_ID (0); + setC_RfQResponse_ID (0); setIsComplete (false); setIsSelectedWinner (false); setIsSelfService (false); @@ -239,6 +239,20 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent return ii.intValue(); } + /** Set Check Complete. + @param CheckComplete Check Complete */ + public void setCheckComplete (String CheckComplete) + { + set_Value (COLUMNNAME_CheckComplete, CheckComplete); + } + + /** Get Check Complete. + @return Check Complete */ + public String getCheckComplete () + { + return (String)get_Value(COLUMNNAME_CheckComplete); + } + public I_C_Order getC_Order() throws Exception { Class clazz = MTable.getClass(I_C_Order.Table_Name); @@ -278,28 +292,6 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent return ii.intValue(); } - /** Set RfQ Response. - @param C_RfQResponse_ID - Request for Quotation Response from a potential Vendor - */ - public void setC_RfQResponse_ID (int C_RfQResponse_ID) - { - if (C_RfQResponse_ID < 1) - throw new IllegalArgumentException ("C_RfQResponse_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_RfQResponse_ID, Integer.valueOf(C_RfQResponse_ID)); - } - - /** Get RfQ Response. - @return Request for Quotation Response from a potential Vendor - */ - public int getC_RfQResponse_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQResponse_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_RfQ getC_RfQ() throws Exception { Class clazz = MTable.getClass(I_C_RfQ.Table_Name); @@ -338,24 +330,26 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent return ii.intValue(); } - /** Set Check Complete. - @param CheckComplete Check Complete */ - public void setCheckComplete (String CheckComplete) + /** Set RfQ Response. + @param C_RfQResponse_ID + Request for Quotation Response from a potential Vendor + */ + public void setC_RfQResponse_ID (int C_RfQResponse_ID) { - - if (CheckComplete != null && CheckComplete.length() > 1) - { - log.warning("Length > 1 - truncated"); - CheckComplete = CheckComplete.substring(0, 1); - } - set_Value (COLUMNNAME_CheckComplete, CheckComplete); + if (C_RfQResponse_ID < 1) + throw new IllegalArgumentException ("C_RfQResponse_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_RfQResponse_ID, Integer.valueOf(C_RfQResponse_ID)); } - /** Get Check Complete. - @return Check Complete */ - public String getCheckComplete () + /** Get RfQ Response. + @return Request for Quotation Response from a potential Vendor + */ + public int getC_RfQResponse_ID () { - return (String)get_Value(COLUMNNAME_CheckComplete); + Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQResponse_ID); + if (ii == null) + return 0; + return ii.intValue(); } /** Set Invited. @@ -452,12 +446,6 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -475,12 +463,6 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -572,12 +554,6 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_RfQResponseLine.java b/base/src/org/compiere/model/X_C_RfQResponseLine.java index 928f18b29f..d88ea5123a 100644 --- a/base/src/org/compiere/model/X_C_RfQResponseLine.java +++ b/base/src/org/compiere/model/X_C_RfQResponseLine.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for C_RfQResponseLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Persistent { @@ -41,8 +41,8 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe /** if (C_RfQResponseLine_ID == 0) { setC_RfQLine_ID (0); - setC_RfQResponseLine_ID (0); setC_RfQResponse_ID (0); + setC_RfQResponseLine_ID (0); setIsSelectedWinner (false); setIsSelfService (false); } */ @@ -114,28 +114,6 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe return ii.intValue(); } - /** Set RfQ Response Line. - @param C_RfQResponseLine_ID - Request for Quotation Response Line - */ - public void setC_RfQResponseLine_ID (int C_RfQResponseLine_ID) - { - if (C_RfQResponseLine_ID < 1) - throw new IllegalArgumentException ("C_RfQResponseLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_RfQResponseLine_ID, Integer.valueOf(C_RfQResponseLine_ID)); - } - - /** Get RfQ Response Line. - @return Request for Quotation Response Line - */ - public int getC_RfQResponseLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQResponseLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_RfQResponse getC_RfQResponse() throws Exception { Class clazz = MTable.getClass(I_C_RfQResponse.Table_Name); @@ -174,6 +152,28 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe return ii.intValue(); } + /** Set RfQ Response Line. + @param C_RfQResponseLine_ID + Request for Quotation Response Line + */ + public void setC_RfQResponseLine_ID (int C_RfQResponseLine_ID) + { + if (C_RfQResponseLine_ID < 1) + throw new IllegalArgumentException ("C_RfQResponseLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_RfQResponseLine_ID, Integer.valueOf(C_RfQResponseLine_ID)); + } + + /** Get RfQ Response Line. + @return Request for Quotation Response Line + */ + public int getC_RfQResponseLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQResponseLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Work Complete. @param DateWorkComplete Date when work is (planned to be) complete @@ -234,12 +234,6 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -257,12 +251,6 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } diff --git a/base/src/org/compiere/model/X_C_RfQResponseLineQty.java b/base/src/org/compiere/model/X_C_RfQResponseLineQty.java index f51161627f..84eeba0e0e 100644 --- a/base/src/org/compiere/model/X_C_RfQResponseLineQty.java +++ b/base/src/org/compiere/model/X_C_RfQResponseLineQty.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQResponseLineQty * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty, I_Persistent { @@ -43,8 +43,8 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty /** if (C_RfQResponseLineQty_ID == 0) { setC_RfQLineQty_ID (0); - setC_RfQResponseLineQty_ID (0); setC_RfQResponseLine_ID (0); + setC_RfQResponseLineQty_ID (0); setPrice (Env.ZERO); } */ } @@ -115,28 +115,6 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty return ii.intValue(); } - /** Set RfQ Response Line Qty. - @param C_RfQResponseLineQty_ID - Request for Quotation Response Line Quantity - */ - public void setC_RfQResponseLineQty_ID (int C_RfQResponseLineQty_ID) - { - if (C_RfQResponseLineQty_ID < 1) - throw new IllegalArgumentException ("C_RfQResponseLineQty_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_RfQResponseLineQty_ID, Integer.valueOf(C_RfQResponseLineQty_ID)); - } - - /** Get RfQ Response Line Qty. - @return Request for Quotation Response Line Quantity - */ - public int getC_RfQResponseLineQty_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQResponseLineQty_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_RfQResponseLine getC_RfQResponseLine() throws Exception { Class clazz = MTable.getClass(I_C_RfQResponseLine.Table_Name); @@ -183,6 +161,28 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty return new KeyNamePair(get_ID(), String.valueOf(getC_RfQResponseLine_ID())); } + /** Set RfQ Response Line Qty. + @param C_RfQResponseLineQty_ID + Request for Quotation Response Line Quantity + */ + public void setC_RfQResponseLineQty_ID (int C_RfQResponseLineQty_ID) + { + if (C_RfQResponseLineQty_ID < 1) + throw new IllegalArgumentException ("C_RfQResponseLineQty_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_RfQResponseLineQty_ID, Integer.valueOf(C_RfQResponseLineQty_ID)); + } + + /** Get RfQ Response Line Qty. + @return Request for Quotation Response Line Quantity + */ + public int getC_RfQResponseLineQty_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQResponseLineQty_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Discount %. @param Discount Discount in percent diff --git a/base/src/org/compiere/model/X_C_RfQ_Topic.java b/base/src/org/compiere/model/X_C_RfQ_Topic.java index 6dc86d85b1..8f79c0710a 100644 --- a/base/src/org/compiere/model/X_C_RfQ_Topic.java +++ b/base/src/org/compiere/model/X_C_RfQ_Topic.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ_Topic * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent { @@ -141,12 +141,6 @@ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -190,12 +184,6 @@ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java b/base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java index 429d8abe8b..cf7a4c2a45 100644 --- a/base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java +++ b/base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ_TopicSubscriber * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscriber, I_Persistent { @@ -43,8 +43,8 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib { setC_BPartner_ID (0); setC_BPartner_Location_ID (0); - setC_RfQ_TopicSubscriber_ID (0); setC_RfQ_Topic_ID (0); + setC_RfQ_TopicSubscriber_ID (0); } */ } @@ -191,28 +191,6 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib return ii.intValue(); } - /** Set RfQ Subscriber. - @param C_RfQ_TopicSubscriber_ID - Request for Quotation Topic Subscriber - */ - 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 (COLUMNNAME_C_RfQ_TopicSubscriber_ID, Integer.valueOf(C_RfQ_TopicSubscriber_ID)); - } - - /** Get RfQ Subscriber. - @return Request for Quotation Topic Subscriber - */ - public int getC_RfQ_TopicSubscriber_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQ_TopicSubscriber_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_RfQ_Topic getC_RfQ_Topic() throws Exception { Class clazz = MTable.getClass(I_C_RfQ_Topic.Table_Name); @@ -259,6 +237,28 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib return new KeyNamePair(get_ID(), String.valueOf(getC_RfQ_Topic_ID())); } + /** Set RfQ Subscriber. + @param C_RfQ_TopicSubscriber_ID + Request for Quotation Topic Subscriber + */ + 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 (COLUMNNAME_C_RfQ_TopicSubscriber_ID, Integer.valueOf(C_RfQ_TopicSubscriber_ID)); + } + + /** Get RfQ Subscriber. + @return Request for Quotation Topic Subscriber + */ + public int getC_RfQ_TopicSubscriber_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQ_TopicSubscriber_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Opt-out Date. @param OptOutDate Date the contact opted out diff --git a/base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java b/base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java index d811ec0da2..e5878addf5 100644 --- a/base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java +++ b/base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ_TopicSubscriberOnly * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubscriberOnly, I_Persistent { @@ -40,8 +40,8 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs super (ctx, C_RfQ_TopicSubscriberOnly_ID, trxName); /** if (C_RfQ_TopicSubscriberOnly_ID == 0) { - setC_RfQ_TopicSubscriberOnly_ID (0); setC_RfQ_TopicSubscriber_ID (0); + setC_RfQ_TopicSubscriberOnly_ID (0); } */ } @@ -73,28 +73,6 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs return sb.toString(); } - /** Set RfQ Topic Subscriber Restriction. - @param C_RfQ_TopicSubscriberOnly_ID - Include Subscriber only for certain products or product categories - */ - 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 (COLUMNNAME_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 - */ - public int getC_RfQ_TopicSubscriberOnly_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQ_TopicSubscriberOnly_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_RfQ_TopicSubscriber getC_RfQ_TopicSubscriber() throws Exception { Class clazz = MTable.getClass(I_C_RfQ_TopicSubscriber.Table_Name); @@ -133,18 +111,34 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs return ii.intValue(); } + /** Set RfQ Topic Subscriber Restriction. + @param C_RfQ_TopicSubscriberOnly_ID + Include Subscriber only for certain products or product categories + */ + 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 (COLUMNNAME_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 + */ + public int getC_RfQ_TopicSubscriberOnly_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_RfQ_TopicSubscriberOnly_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_SalesRegion.java b/base/src/org/compiere/model/X_C_SalesRegion.java index 52003a7ce6..932aaf70de 100644 --- a/base/src/org/compiere/model/X_C_SalesRegion.java +++ b/base/src/org/compiere/model/X_C_SalesRegion.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_SalesRegion * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent { @@ -102,12 +102,6 @@ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -175,12 +169,6 @@ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -233,12 +221,6 @@ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_ServiceLevel.java b/base/src/org/compiere/model/X_C_ServiceLevel.java index 486077b6bb..07e34e2b0f 100644 --- a/base/src/org/compiere/model/X_C_ServiceLevel.java +++ b/base/src/org/compiere/model/X_C_ServiceLevel.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ServiceLevel * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persistent { @@ -144,12 +144,6 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_ServiceLevelLine.java b/base/src/org/compiere/model/X_C_ServiceLevelLine.java index 6dca6796d6..6b0631086e 100644 --- a/base/src/org/compiere/model/X_C_ServiceLevelLine.java +++ b/base/src/org/compiere/model/X_C_ServiceLevelLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ServiceLevelLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_Persistent { @@ -43,9 +43,9 @@ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_ super (ctx, C_ServiceLevelLine_ID, trxName); /** if (C_ServiceLevelLine_ID == 0) { - setC_ServiceLevelLine_ID (0); setC_ServiceLevel_ID (0); - setServiceDate (new Timestamp(System.currentTimeMillis())); + setC_ServiceLevelLine_ID (0); + setServiceDate (new Timestamp( System.currentTimeMillis() )); setServiceLevelProvided (Env.ZERO); } */ } @@ -78,28 +78,6 @@ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_ return sb.toString(); } - /** Set Service Level Line. - @param C_ServiceLevelLine_ID - Product Revenue Recognition Service Level Line - */ - public void setC_ServiceLevelLine_ID (int C_ServiceLevelLine_ID) - { - if (C_ServiceLevelLine_ID < 1) - throw new IllegalArgumentException ("C_ServiceLevelLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_ServiceLevelLine_ID, Integer.valueOf(C_ServiceLevelLine_ID)); - } - - /** Get Service Level Line. - @return Product Revenue Recognition Service Level Line - */ - public int getC_ServiceLevelLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ServiceLevelLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_ServiceLevel getC_ServiceLevel() throws Exception { Class clazz = MTable.getClass(I_C_ServiceLevel.Table_Name); @@ -138,18 +116,34 @@ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_ return ii.intValue(); } + /** Set Service Level Line. + @param C_ServiceLevelLine_ID + Product Revenue Recognition Service Level Line + */ + public void setC_ServiceLevelLine_ID (int C_ServiceLevelLine_ID) + { + if (C_ServiceLevelLine_ID < 1) + throw new IllegalArgumentException ("C_ServiceLevelLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_ServiceLevelLine_ID, Integer.valueOf(C_ServiceLevelLine_ID)); + } + + /** Get Service Level Line. + @return Product Revenue Recognition Service Level Line + */ + public int getC_ServiceLevelLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ServiceLevelLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_SubAcct.java b/base/src/org/compiere/model/X_C_SubAcct.java index 340f3eac93..a804834913 100644 --- a/base/src/org/compiere/model/X_C_SubAcct.java +++ b/base/src/org/compiere/model/X_C_SubAcct.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_SubAcct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent { @@ -141,12 +141,6 @@ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -164,12 +158,6 @@ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -189,12 +177,6 @@ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -214,12 +196,6 @@ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_C_Subscription.java b/base/src/org/compiere/model/X_C_Subscription.java index d3145321dc..e4e69a8b23 100644 --- a/base/src/org/compiere/model/X_C_Subscription.java +++ b/base/src/org/compiere/model/X_C_Subscription.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Subscription * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persistent { @@ -42,14 +42,14 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste /** if (C_Subscription_ID == 0) { setC_BPartner_ID (0); - setC_SubscriptionType_ID (0); setC_Subscription_ID (0); + setC_SubscriptionType_ID (0); setIsDue (false); setM_Product_ID (0); setName (null); - setPaidUntilDate (new Timestamp(System.currentTimeMillis())); - setRenewalDate (new Timestamp(System.currentTimeMillis())); - setStartDate (new Timestamp(System.currentTimeMillis())); + setPaidUntilDate (new Timestamp( System.currentTimeMillis() )); + setRenewalDate (new Timestamp( System.currentTimeMillis() )); + setStartDate (new Timestamp( System.currentTimeMillis() )); } */ } @@ -119,6 +119,28 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste return ii.intValue(); } + /** Set Subscription. + @param C_Subscription_ID + Subscription of a Business Partner of a Product to renew + */ + public void setC_Subscription_ID (int C_Subscription_ID) + { + if (C_Subscription_ID < 1) + throw new IllegalArgumentException ("C_Subscription_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_Subscription_ID, Integer.valueOf(C_Subscription_ID)); + } + + /** Get Subscription. + @return Subscription of a Business Partner of a Product to renew + */ + public int getC_Subscription_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Subscription_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_SubscriptionType getC_SubscriptionType() throws Exception { Class clazz = MTable.getClass(I_C_SubscriptionType.Table_Name); @@ -157,28 +179,6 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste return ii.intValue(); } - /** Set Subscription. - @param C_Subscription_ID - Subscription of a Business Partner of a Product to renew - */ - public void setC_Subscription_ID (int C_Subscription_ID) - { - if (C_Subscription_ID < 1) - throw new IllegalArgumentException ("C_Subscription_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_Subscription_ID, Integer.valueOf(C_Subscription_ID)); - } - - /** Get Subscription. - @return Subscription of a Business Partner of a Product to renew - */ - public int getC_Subscription_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Subscription_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Due. @param IsDue Subscription Renewal is Due @@ -249,12 +249,6 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_SubscriptionType.java b/base/src/org/compiere/model/X_C_SubscriptionType.java index 5ccfb54837..620ab0a68c 100644 --- a/base/src/org/compiere/model/X_C_SubscriptionType.java +++ b/base/src/org/compiere/model/X_C_SubscriptionType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_SubscriptionType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_Persistent { @@ -101,12 +101,6 @@ public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -153,13 +147,7 @@ public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_ public void setFrequencyType (String FrequencyType) { if (FrequencyType == null) throw new IllegalArgumentException ("FrequencyType is mandatory"); - if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); - if (FrequencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FrequencyType = FrequencyType.substring(0, 1); - } - set_Value (COLUMNNAME_FrequencyType, FrequencyType); + if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); set_Value (COLUMNNAME_FrequencyType, FrequencyType); } /** Get Frequency Type. @@ -178,12 +166,6 @@ public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Subscription_Delivery.java b/base/src/org/compiere/model/X_C_Subscription_Delivery.java index 558856aa6d..aef4801e4c 100644 --- a/base/src/org/compiere/model/X_C_Subscription_Delivery.java +++ b/base/src/org/compiere/model/X_C_Subscription_Delivery.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Subscription_Delivery * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Subscription_Delivery extends PO implements I_C_Subscription_Delivery, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Task.java b/base/src/org/compiere/model/X_C_Task.java index 2511581d2f..be7e891733 100644 --- a/base/src/org/compiere/model/X_C_Task.java +++ b/base/src/org/compiere/model/X_C_Task.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Task * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Task extends PO implements I_C_Task, I_Persistent { @@ -146,12 +146,6 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -169,12 +163,6 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -233,12 +221,6 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Tax.java b/base/src/org/compiere/model/X_C_Tax.java index ba4baee1b5..5edc40267c 100644 --- a/base/src/org/compiere/model/X_C_Tax.java +++ b/base/src/org/compiere/model/X_C_Tax.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Tax * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent { @@ -56,7 +56,7 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent setRequiresTaxCertificate (false); setSOPOType (null); // B - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } @@ -240,12 +240,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -385,12 +379,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -496,13 +484,7 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent public void setSOPOType (String SOPOType) { if (SOPOType == null) throw new IllegalArgumentException ("SOPOType is mandatory"); - if (SOPOType.equals("B") || SOPOType.equals("S") || SOPOType.equals("P")); else throw new IllegalArgumentException ("SOPOType Invalid value - " + SOPOType + " - Reference_ID=287 - B - S - P"); - if (SOPOType.length() > 1) - { - log.warning("Length > 1 - truncated"); - SOPOType = SOPOType.substring(0, 1); - } - set_Value (COLUMNNAME_SOPOType, SOPOType); + if (SOPOType.equals("B") || SOPOType.equals("S") || SOPOType.equals("P")); else throw new IllegalArgumentException ("SOPOType Invalid value - " + SOPOType + " - Reference_ID=287 - B - S - P"); set_Value (COLUMNNAME_SOPOType, SOPOType); } /** Get SO/PO Type. @@ -519,12 +501,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent */ public void setTaxIndicator (String TaxIndicator) { - - if (TaxIndicator != null && TaxIndicator.length() > 10) - { - log.warning("Length > 10 - truncated"); - TaxIndicator = TaxIndicator.substring(0, 10); - } set_Value (COLUMNNAME_TaxIndicator, TaxIndicator); } diff --git a/base/src/org/compiere/model/X_C_TaxCategory.java b/base/src/org/compiere/model/X_C_TaxCategory.java index ac9e7f2541..cd8fc12ad0 100644 --- a/base/src/org/compiere/model/X_C_TaxCategory.java +++ b/base/src/org/compiere/model/X_C_TaxCategory.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxCategory * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent { @@ -72,6 +72,23 @@ public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent return sb.toString(); } + /** Set Commodity Code. + @param CommodityCode + Commodity code used for tax calculation + */ + public void setCommodityCode (String CommodityCode) + { + set_Value (COLUMNNAME_CommodityCode, CommodityCode); + } + + /** Get Commodity Code. + @return Commodity code used for tax calculation + */ + public String getCommodityCode () + { + return (String)get_Value(COLUMNNAME_CommodityCode); + } + /** Set Tax Category. @param C_TaxCategory_ID Tax Category @@ -94,41 +111,12 @@ public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent return ii.intValue(); } - /** Set Commodity Code. - @param CommodityCode - Commodity code used for tax calculation - */ - public void setCommodityCode (String CommodityCode) - { - - if (CommodityCode != null && CommodityCode.length() > 20) - { - log.warning("Length > 20 - truncated"); - CommodityCode = CommodityCode.substring(0, 20); - } - set_Value (COLUMNNAME_CommodityCode, CommodityCode); - } - - /** Get Commodity Code. - @return Commodity code used for tax calculation - */ - public String getCommodityCode () - { - return (String)get_Value(COLUMNNAME_CommodityCode); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -172,12 +160,6 @@ public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_TaxDeclaration.java b/base/src/org/compiere/model/X_C_TaxDeclaration.java index 8f46967319..dfecf50752 100644 --- a/base/src/org/compiere/model/X_C_TaxDeclaration.java +++ b/base/src/org/compiere/model/X_C_TaxDeclaration.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxDeclaration * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Persistent { @@ -40,9 +40,9 @@ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Pers /** if (C_TaxDeclaration_ID == 0) { setC_TaxDeclaration_ID (0); - setDateFrom (new Timestamp(System.currentTimeMillis())); - setDateTo (new Timestamp(System.currentTimeMillis())); - setDateTrx (new Timestamp(System.currentTimeMillis())); + setDateFrom (new Timestamp( System.currentTimeMillis() )); + setDateTo (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); setName (null); setProcessed (false); } */ @@ -161,12 +161,6 @@ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -186,12 +180,6 @@ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_TaxDeclarationAcct.java b/base/src/org/compiere/model/X_C_TaxDeclarationAcct.java index 386670064d..9992cb89e4 100644 --- a/base/src/org/compiere/model/X_C_TaxDeclarationAcct.java +++ b/base/src/org/compiere/model/X_C_TaxDeclarationAcct.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for C_TaxDeclarationAcct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct, I_Persistent { @@ -399,12 +399,6 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_TaxDeclarationLine.java b/base/src/org/compiere/model/X_C_TaxDeclarationLine.java index 3c2de22d61..e0b0678ad6 100644 --- a/base/src/org/compiere/model/X_C_TaxDeclarationLine.java +++ b/base/src/org/compiere/model/X_C_TaxDeclarationLine.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for C_TaxDeclarationLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine, I_Persistent { @@ -44,10 +44,10 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine { setC_BPartner_ID (0); setC_Currency_ID (0); - setC_TaxDeclarationLine_ID (0); setC_TaxDeclaration_ID (0); + setC_TaxDeclarationLine_ID (0); setC_Tax_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); setIsManual (true); // Y setLine (0); @@ -199,45 +199,6 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return ii.intValue(); } - public I_C_InvoiceLine getC_InvoiceLine() throws Exception - { - Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); - I_C_InvoiceLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_InvoiceLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoiceLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Invoice Line. - @param C_InvoiceLine_ID - Invoice Detail Line - */ - public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) - { - if (C_InvoiceLine_ID < 1) - set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, null); - else - set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); - } - - /** Get Invoice Line. - @return Invoice Detail Line - */ - public int getC_InvoiceLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -277,23 +238,40 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return ii.intValue(); } - /** Set Tax Declaration Line. - @param C_TaxDeclarationLine_ID - Tax Declaration Document Information + public I_C_InvoiceLine getC_InvoiceLine() throws Exception + { + Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); + I_C_InvoiceLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_InvoiceLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoiceLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Invoice Line. + @param C_InvoiceLine_ID + Invoice Detail Line */ - public void setC_TaxDeclarationLine_ID (int C_TaxDeclarationLine_ID) + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { - if (C_TaxDeclarationLine_ID < 1) - throw new IllegalArgumentException ("C_TaxDeclarationLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_TaxDeclarationLine_ID, Integer.valueOf(C_TaxDeclarationLine_ID)); + if (C_InvoiceLine_ID < 1) + set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); } - /** Get Tax Declaration Line. - @return Tax Declaration Document Information + /** Get Invoice Line. + @return Invoice Detail Line */ - public int getC_TaxDeclarationLine_ID () + public int getC_InvoiceLine_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_TaxDeclarationLine_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); if (ii == null) return 0; return ii.intValue(); @@ -337,6 +315,28 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return ii.intValue(); } + /** Set Tax Declaration Line. + @param C_TaxDeclarationLine_ID + Tax Declaration Document Information + */ + public void setC_TaxDeclarationLine_ID (int C_TaxDeclarationLine_ID) + { + if (C_TaxDeclarationLine_ID < 1) + throw new IllegalArgumentException ("C_TaxDeclarationLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_TaxDeclarationLine_ID, Integer.valueOf(C_TaxDeclarationLine_ID)); + } + + /** Get Tax Declaration Line. + @return Tax Declaration Document Information + */ + public int getC_TaxDeclarationLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_TaxDeclarationLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Tax getC_Tax() throws Exception { Class clazz = MTable.getClass(I_C_Tax.Table_Name); @@ -400,12 +400,6 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_TaxPostal.java b/base/src/org/compiere/model/X_C_TaxPostal.java index 0559e488b6..e74ef34ea3 100644 --- a/base/src/org/compiere/model/X_C_TaxPostal.java +++ b/base/src/org/compiere/model/X_C_TaxPostal.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxPostal * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent { @@ -40,8 +40,8 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent super (ctx, C_TaxPostal_ID, trxName); /** if (C_TaxPostal_ID == 0) { - setC_TaxPostal_ID (0); setC_Tax_ID (0); + setC_TaxPostal_ID (0); setPostal (null); } */ } @@ -74,28 +74,6 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent return sb.toString(); } - /** Set Tax ZIP. - @param C_TaxPostal_ID - Tax Postal/ZIP - */ - public void setC_TaxPostal_ID (int C_TaxPostal_ID) - { - if (C_TaxPostal_ID < 1) - throw new IllegalArgumentException ("C_TaxPostal_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_TaxPostal_ID, Integer.valueOf(C_TaxPostal_ID)); - } - - /** Get Tax ZIP. - @return Tax Postal/ZIP - */ - public int getC_TaxPostal_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_TaxPostal_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Tax getC_Tax() throws Exception { Class clazz = MTable.getClass(I_C_Tax.Table_Name); @@ -134,6 +112,28 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent return ii.intValue(); } + /** Set Tax ZIP. + @param C_TaxPostal_ID + Tax Postal/ZIP + */ + public void setC_TaxPostal_ID (int C_TaxPostal_ID) + { + if (C_TaxPostal_ID < 1) + throw new IllegalArgumentException ("C_TaxPostal_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_TaxPostal_ID, Integer.valueOf(C_TaxPostal_ID)); + } + + /** Get Tax ZIP. + @return Tax Postal/ZIP + */ + public int getC_TaxPostal_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_TaxPostal_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set ZIP. @param Postal Postal code @@ -142,12 +142,6 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent { if (Postal == null) throw new IllegalArgumentException ("Postal is mandatory."); - - if (Postal.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal = Postal.substring(0, 10); - } set_Value (COLUMNNAME_Postal, Postal); } @@ -173,12 +167,6 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent */ public void setPostal_To (String Postal_To) { - - if (Postal_To != null && Postal_To.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal_To = Postal_To.substring(0, 10); - } set_Value (COLUMNNAME_Postal_To, Postal_To); } diff --git a/base/src/org/compiere/model/X_C_Tax_Acct.java b/base/src/org/compiere/model/X_C_Tax_Acct.java index fe4e216eb6..974ea46409 100644 --- a/base/src/org/compiere/model/X_C_Tax_Acct.java +++ b/base/src/org/compiere/model/X_C_Tax_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Tax_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_UOM.java b/base/src/org/compiere/model/X_C_UOM.java index 773840f24c..89fdab30d8 100644 --- a/base/src/org/compiere/model/X_C_UOM.java +++ b/base/src/org/compiere/model/X_C_UOM.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_UOM * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent { @@ -38,8 +38,8 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent super (ctx, C_UOM_ID, trxName); /** if (C_UOM_ID == 0) { - setC_UOM_ID (0); setCostingPrecision (0); + setC_UOM_ID (0); setIsDefault (false); setName (null); setStdPrecision (0); @@ -75,6 +75,26 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent return sb.toString(); } + /** Set Costing Precision. + @param CostingPrecision + Rounding used costing calculations + */ + public void setCostingPrecision (int CostingPrecision) + { + set_Value (COLUMNNAME_CostingPrecision, Integer.valueOf(CostingPrecision)); + } + + /** Get Costing Precision. + @return Rounding used costing calculations + */ + public int getCostingPrecision () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CostingPrecision); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set UOM. @param C_UOM_ID Unit of Measure @@ -97,38 +117,12 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent return ii.intValue(); } - /** Set Costing Precision. - @param CostingPrecision - Rounding used costing calculations - */ - public void setCostingPrecision (int CostingPrecision) - { - set_Value (COLUMNNAME_CostingPrecision, Integer.valueOf(CostingPrecision)); - } - - /** Get Costing Precision. - @return Rounding used costing calculations - */ - public int getCostingPrecision () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CostingPrecision); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -172,12 +166,6 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -223,12 +211,6 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent */ public void setUOMSymbol (String UOMSymbol) { - - if (UOMSymbol != null && UOMSymbol.length() > 10) - { - log.warning("Length > 10 - truncated"); - UOMSymbol = UOMSymbol.substring(0, 10); - } set_Value (COLUMNNAME_UOMSymbol, UOMSymbol); } @@ -248,12 +230,6 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent { if (X12DE355 == null) throw new IllegalArgumentException ("X12DE355 is mandatory."); - - if (X12DE355.length() > 4) - { - log.warning("Length > 4 - truncated"); - X12DE355 = X12DE355.substring(0, 4); - } set_Value (COLUMNNAME_X12DE355, X12DE355); } diff --git a/base/src/org/compiere/model/X_C_UOM_Conversion.java b/base/src/org/compiere/model/X_C_UOM_Conversion.java index 231a7f4e18..b4431d99c1 100644 --- a/base/src/org/compiere/model/X_C_UOM_Conversion.java +++ b/base/src/org/compiere/model/X_C_UOM_Conversion.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_UOM_Conversion * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_UserRemuneration.java b/base/src/org/compiere/model/X_C_UserRemuneration.java index 71c77b9773..5bc3850393 100644 --- a/base/src/org/compiere/model/X_C_UserRemuneration.java +++ b/base/src/org/compiere/model/X_C_UserRemuneration.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_UserRemuneration * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_Persistent { @@ -50,7 +50,7 @@ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_ setGrossRCost (Env.ZERO); setOvertimeAmt (Env.ZERO); setOvertimeCost (Env.ZERO); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } @@ -194,12 +194,6 @@ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_C_ValidCombination.java b/base/src/org/compiere/model/X_C_ValidCombination.java index cc8cccd8c0..3f1441ea17 100644 --- a/base/src/org/compiere/model/X_C_ValidCombination.java +++ b/base/src/org/compiere/model/X_C_ValidCombination.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ValidCombination * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_Persistent { @@ -75,6 +75,30 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return sb.toString(); } + /** Account_ID AD_Reference_ID=362 */ + public static final int ACCOUNT_ID_AD_Reference_ID=362; + /** Set Account. + @param Account_ID + Account used + */ + public void setAccount_ID (int Account_ID) + { + if (Account_ID < 1) + throw new IllegalArgumentException ("Account_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_Account_ID, Integer.valueOf(Account_ID)); + } + + /** Get Account. + @return Account used + */ + public int getAccount_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Account_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** AD_OrgTrx_ID AD_Reference_ID=130 */ public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @@ -100,42 +124,12 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - /** Account_ID AD_Reference_ID=362 */ - public static final int ACCOUNT_ID_AD_Reference_ID=362; - /** Set Account. - @param Account_ID - Account used - */ - public void setAccount_ID (int Account_ID) - { - if (Account_ID < 1) - throw new IllegalArgumentException ("Account_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_Account_ID, Integer.valueOf(Account_ID)); - } - - /** Get Account. - @return Account used - */ - public int getAccount_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Account_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Alias. @param Alias Defines an alternate method of indicating an account combination. */ public void setAlias (String Alias) { - - if (Alias != null && Alias.length() > 40) - { - log.warning("Length > 40 - truncated"); - Alias = Alias.substring(0, 40); - } set_Value (COLUMNNAME_Alias, Alias); } @@ -310,6 +304,31 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } + /** Set Combination. + @param Combination + Unique combination of account elements + */ + public void setCombination (String Combination) + { + set_ValueNoCheck (COLUMNNAME_Combination, Combination); + } + + /** Get Combination. + @return Unique combination of account elements + */ + public String getCombination () + { + return (String)get_Value(COLUMNNAME_Combination); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), getCombination()); + } + /** C_Project_ID AD_Reference_ID=141 */ public static final int C_PROJECT_ID_AD_Reference_ID=141; /** Set Project. @@ -421,49 +440,12 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - /** Set Combination. - @param Combination - Unique combination of account elements - */ - public void setCombination (String Combination) - { - - if (Combination != null && Combination.length() > 60) - { - log.warning("Length > 60 - truncated"); - Combination = Combination.substring(0, 60); - } - set_ValueNoCheck (COLUMNNAME_Combination, Combination); - } - - /** Get Combination. - @return Unique combination of account elements - */ - public String getCombination () - { - return (String)get_Value(COLUMNNAME_Combination); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), getCombination()); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_Description, Description); } @@ -524,6 +506,52 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } + /** Set User Element 1. + @param UserElement1_ID + User defined accounting Element + */ + public void setUserElement1_ID (int UserElement1_ID) + { + if (UserElement1_ID < 1) + set_Value (COLUMNNAME_UserElement1_ID, null); + else + set_Value (COLUMNNAME_UserElement1_ID, Integer.valueOf(UserElement1_ID)); + } + + /** Get User Element 1. + @return User defined accounting Element + */ + public int getUserElement1_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UserElement1_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set User Element 2. + @param UserElement2_ID + User defined accounting Element + */ + public void setUserElement2_ID (int UserElement2_ID) + { + if (UserElement2_ID < 1) + set_Value (COLUMNNAME_UserElement2_ID, null); + else + set_Value (COLUMNNAME_UserElement2_ID, Integer.valueOf(UserElement2_ID)); + } + + /** Get User Element 2. + @return User defined accounting Element + */ + public int getUserElement2_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UserElement2_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** User1_ID AD_Reference_ID=134 */ public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @@ -573,50 +601,4 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return 0; return ii.intValue(); } - - /** Set User Element 1. - @param UserElement1_ID - User defined accounting Element - */ - public void setUserElement1_ID (int UserElement1_ID) - { - if (UserElement1_ID < 1) - set_Value (COLUMNNAME_UserElement1_ID, null); - else - set_Value (COLUMNNAME_UserElement1_ID, Integer.valueOf(UserElement1_ID)); - } - - /** Get User Element 1. - @return User defined accounting Element - */ - public int getUserElement1_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_UserElement1_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set User Element 2. - @param UserElement2_ID - User defined accounting Element - */ - public void setUserElement2_ID (int UserElement2_ID) - { - if (UserElement2_ID < 1) - set_Value (COLUMNNAME_UserElement2_ID, null); - else - set_Value (COLUMNNAME_UserElement2_ID, Integer.valueOf(UserElement2_ID)); - } - - /** Get User Element 2. - @return User defined accounting Element - */ - public int getUserElement2_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_UserElement2_ID); - if (ii == null) - return 0; - return ii.intValue(); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_C_Withholding.java b/base/src/org/compiere/model/X_C_Withholding.java index db01fc43b8..b90ac588a2 100644 --- a/base/src/org/compiere/model/X_C_Withholding.java +++ b/base/src/org/compiere/model/X_C_Withholding.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Withholding * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent { @@ -169,12 +169,6 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -350,12 +344,6 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_C_Withholding_Acct.java b/base/src/org/compiere/model/X_C_Withholding_Acct.java index c0d66f34e9..94b0572220 100644 --- a/base/src/org/compiere/model/X_C_Withholding_Acct.java +++ b/base/src/org/compiere/model/X_C_Withholding_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Withholding_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Year.java b/base/src/org/compiere/model/X_C_Year.java index ed558aea86..9015d418b1 100644 --- a/base/src/org/compiere/model/X_C_Year.java +++ b/base/src/org/compiere/model/X_C_Year.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Year * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_C_Year extends PO implements I_C_Year, I_Persistent { @@ -140,12 +140,6 @@ public class X_C_Year extends PO implements I_C_Year, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_C_Year extends PO implements I_C_Year, I_Persistent { if (FiscalYear == null) throw new IllegalArgumentException ("FiscalYear is mandatory."); - - if (FiscalYear.length() > 10) - { - log.warning("Length > 10 - truncated"); - FiscalYear = FiscalYear.substring(0, 10); - } set_Value (COLUMNNAME_FiscalYear, FiscalYear); } diff --git a/base/src/org/compiere/model/X_Fact_Acct.java b/base/src/org/compiere/model/X_Fact_Acct.java index 7a0c38bb8a..2c31278fee 100644 --- a/base/src/org/compiere/model/X_Fact_Acct.java +++ b/base/src/org/compiere/model/X_Fact_Acct.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for Fact_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent { @@ -43,8 +43,8 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent super (ctx, Fact_Acct_ID, trxName); /** if (Fact_Acct_ID == 0) { - setAD_Table_ID (0); setAccount_ID (0); + setAD_Table_ID (0); setAmtAcctCr (Env.ZERO); setAmtAcctDr (Env.ZERO); setAmtSourceCr (Env.ZERO); @@ -52,8 +52,8 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent setC_AcctSchema_ID (0); setC_Currency_ID (0); setC_Period_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); - setDateTrx (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); setFact_Acct_ID (0); setGL_Category_ID (0); setPostingType (null); @@ -89,6 +89,53 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return sb.toString(); } + /** Set Asset. + @param A_Asset_ID + Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID) + { + if (A_Asset_ID < 1) + set_Value (COLUMNNAME_A_Asset_ID, null); + else + set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + } + + /** Get Asset. + @return Asset used internally or by customers + */ + public int getA_Asset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Account_ID AD_Reference_ID=132 */ + public static final int ACCOUNT_ID_AD_Reference_ID=132; + /** Set Account. + @param Account_ID + Account used + */ + public void setAccount_ID (int Account_ID) + { + if (Account_ID < 1) + throw new IllegalArgumentException ("Account_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_Account_ID, Integer.valueOf(Account_ID)); + } + + /** Get Account. + @return Account used + */ + public int getAccount_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Account_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** AD_OrgTrx_ID AD_Reference_ID=130 */ public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @@ -152,53 +199,6 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - /** Set Asset. - @param A_Asset_ID - Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID) - { - if (A_Asset_ID < 1) - set_Value (COLUMNNAME_A_Asset_ID, null); - else - set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); - } - - /** Get Asset. - @return Asset used internally or by customers - */ - public int getA_Asset_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Account_ID AD_Reference_ID=132 */ - public static final int ACCOUNT_ID_AD_Reference_ID=132; - /** Set Account. - @param Account_ID - Account used - */ - public void setAccount_ID (int Account_ID) - { - if (Account_ID < 1) - throw new IllegalArgumentException ("Account_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_Account_ID, Integer.valueOf(Account_ID)); - } - - /** Get Account. - @return Account used - */ - public int getAccount_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Account_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Accounted Credit. @param AmtAcctCr Accounted Credit Amount @@ -568,6 +568,45 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } + public I_C_Project getC_Project() throws Exception + { + Class clazz = MTable.getClass(I_C_Project.Table_Name); + I_C_Project result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project. + @param C_Project_ID + Financial Project + */ + public void setC_Project_ID (int C_Project_ID) + { + if (C_Project_ID < 1) + set_ValueNoCheck (COLUMNNAME_C_Project_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); + } + + /** Get Project. + @return Financial Project + */ + public int getC_Project_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ProjectPhase getC_ProjectPhase() throws Exception { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); @@ -646,45 +685,6 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception - { - Class clazz = MTable.getClass(I_C_Project.Table_Name); - I_C_Project result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Project. - @param C_Project_ID - Financial Project - */ - public void setC_Project_ID (int C_Project_ID) - { - if (C_Project_ID < 1) - set_ValueNoCheck (COLUMNNAME_C_Project_ID, null); - else - set_ValueNoCheck (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); - } - - /** Get Project. - @return Financial Project - */ - public int getC_Project_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_SalesRegion getC_SalesRegion() throws Exception { Class clazz = MTable.getClass(I_C_SalesRegion.Table_Name); @@ -885,12 +885,6 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -1126,13 +1120,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_ValueNoCheck (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. @@ -1185,6 +1173,52 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } + /** Set User Element 1. + @param UserElement1_ID + User defined accounting Element + */ + public void setUserElement1_ID (int UserElement1_ID) + { + if (UserElement1_ID < 1) + set_ValueNoCheck (COLUMNNAME_UserElement1_ID, null); + else + set_ValueNoCheck (COLUMNNAME_UserElement1_ID, Integer.valueOf(UserElement1_ID)); + } + + /** Get User Element 1. + @return User defined accounting Element + */ + public int getUserElement1_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UserElement1_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set User Element 2. + @param UserElement2_ID + User defined accounting Element + */ + public void setUserElement2_ID (int UserElement2_ID) + { + if (UserElement2_ID < 1) + set_ValueNoCheck (COLUMNNAME_UserElement2_ID, null); + else + set_ValueNoCheck (COLUMNNAME_UserElement2_ID, Integer.valueOf(UserElement2_ID)); + } + + /** Get User Element 2. + @return User defined accounting Element + */ + public int getUserElement2_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UserElement2_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** User1_ID AD_Reference_ID=134 */ public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @@ -1234,50 +1268,4 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return 0; return ii.intValue(); } - - /** Set User Element 1. - @param UserElement1_ID - User defined accounting Element - */ - public void setUserElement1_ID (int UserElement1_ID) - { - if (UserElement1_ID < 1) - set_ValueNoCheck (COLUMNNAME_UserElement1_ID, null); - else - set_ValueNoCheck (COLUMNNAME_UserElement1_ID, Integer.valueOf(UserElement1_ID)); - } - - /** Get User Element 1. - @return User defined accounting Element - */ - public int getUserElement1_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_UserElement1_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set User Element 2. - @param UserElement2_ID - User defined accounting Element - */ - public void setUserElement2_ID (int UserElement2_ID) - { - if (UserElement2_ID < 1) - set_ValueNoCheck (COLUMNNAME_UserElement2_ID, null); - else - set_ValueNoCheck (COLUMNNAME_UserElement2_ID, Integer.valueOf(UserElement2_ID)); - } - - /** Get User Element 2. - @return User defined accounting Element - */ - public int getUserElement2_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_UserElement2_ID); - if (ii == null) - return 0; - return ii.intValue(); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_GL_Budget.java b/base/src/org/compiere/model/X_GL_Budget.java index 1c5366df41..e5501451f5 100644 --- a/base/src/org/compiere/model/X_GL_Budget.java +++ b/base/src/org/compiere/model/X_GL_Budget.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Budget * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent { @@ -85,13 +85,7 @@ public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent public void setBudgetStatus (String BudgetStatus) { - if (BudgetStatus == null || BudgetStatus.equals("D") || BudgetStatus.equals("A")); else throw new IllegalArgumentException ("BudgetStatus Invalid value - " + BudgetStatus + " - Reference_ID=178 - D - A"); - if (BudgetStatus != null && BudgetStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - BudgetStatus = BudgetStatus.substring(0, 1); - } - set_Value (COLUMNNAME_BudgetStatus, BudgetStatus); + if (BudgetStatus == null || BudgetStatus.equals("D") || BudgetStatus.equals("A")); else throw new IllegalArgumentException ("BudgetStatus Invalid value - " + BudgetStatus + " - Reference_ID=178 - D - A"); set_Value (COLUMNNAME_BudgetStatus, BudgetStatus); } /** Get Budget Status. @@ -108,12 +102,6 @@ public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -179,12 +167,6 @@ public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_GL_BudgetControl.java b/base/src/org/compiere/model/X_GL_BudgetControl.java index f90685e719..fb43cebaac 100644 --- a/base/src/org/compiere/model/X_GL_BudgetControl.java +++ b/base/src/org/compiere/model/X_GL_BudgetControl.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_BudgetControl * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Persistent { @@ -94,13 +94,7 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers public void setBudgetControlScope (String BudgetControlScope) { if (BudgetControlScope == null) throw new IllegalArgumentException ("BudgetControlScope is mandatory"); - if (BudgetControlScope.equals("P") || BudgetControlScope.equals("Y") || BudgetControlScope.equals("T")); else throw new IllegalArgumentException ("BudgetControlScope Invalid value - " + BudgetControlScope + " - Reference_ID=361 - P - Y - T"); - if (BudgetControlScope.length() > 1) - { - log.warning("Length > 1 - truncated"); - BudgetControlScope = BudgetControlScope.substring(0, 1); - } - set_Value (COLUMNNAME_BudgetControlScope, BudgetControlScope); + if (BudgetControlScope.equals("P") || BudgetControlScope.equals("Y") || BudgetControlScope.equals("T")); else throw new IllegalArgumentException ("BudgetControlScope Invalid value - " + BudgetControlScope + " - Reference_ID=361 - P - Y - T"); set_Value (COLUMNNAME_BudgetControlScope, BudgetControlScope); } /** Get Control Scope. @@ -170,13 +164,7 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers public void setCommitmentType (String CommitmentType) { if (CommitmentType == null) throw new IllegalArgumentException ("CommitmentType is mandatory"); - if (CommitmentType.equals("C") || CommitmentType.equals("B") || CommitmentType.equals("N") || CommitmentType.equals("A") || CommitmentType.equals("S") || CommitmentType.equals("O")); else throw new IllegalArgumentException ("CommitmentType Invalid value - " + CommitmentType + " - Reference_ID=359 - C - B - N - A - S - O"); - if (CommitmentType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CommitmentType = CommitmentType.substring(0, 1); - } - set_Value (COLUMNNAME_CommitmentType, CommitmentType); + if (CommitmentType.equals("C") || CommitmentType.equals("B") || CommitmentType.equals("N") || CommitmentType.equals("A") || CommitmentType.equals("S") || CommitmentType.equals("O")); else throw new IllegalArgumentException ("CommitmentType Invalid value - " + CommitmentType + " - Reference_ID=359 - C - B - N - A - S - O"); set_Value (COLUMNNAME_CommitmentType, CommitmentType); } /** Get Commitment Type. @@ -193,12 +181,6 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -276,12 +258,6 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -325,12 +301,6 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_GL_Category.java b/base/src/org/compiere/model/X_GL_Category.java index 04805838e9..b004b5f0dd 100644 --- a/base/src/org/compiere/model/X_GL_Category.java +++ b/base/src/org/compiere/model/X_GL_Category.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Category * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_Category extends PO implements I_GL_Category, I_Persistent { @@ -91,13 +91,7 @@ public class X_GL_Category extends PO implements I_GL_Category, I_Persistent public void setCategoryType (String CategoryType) { if (CategoryType == null) throw new IllegalArgumentException ("CategoryType is mandatory"); - if (CategoryType.equals("M") || CategoryType.equals("I") || CategoryType.equals("D") || CategoryType.equals("S")); else throw new IllegalArgumentException ("CategoryType Invalid value - " + CategoryType + " - Reference_ID=207 - M - I - D - S"); - if (CategoryType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CategoryType = CategoryType.substring(0, 1); - } - set_Value (COLUMNNAME_CategoryType, CategoryType); + if (CategoryType.equals("M") || CategoryType.equals("I") || CategoryType.equals("D") || CategoryType.equals("S")); else throw new IllegalArgumentException ("CategoryType Invalid value - " + CategoryType + " - Reference_ID=207 - M - I - D - S"); set_Value (COLUMNNAME_CategoryType, CategoryType); } /** Get Category Type. @@ -114,12 +108,6 @@ public class X_GL_Category extends PO implements I_GL_Category, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -185,12 +173,6 @@ public class X_GL_Category extends PO implements I_GL_Category, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_GL_Distribution.java b/base/src/org/compiere/model/X_GL_Distribution.java index a6914b0c06..d5ffd7ba4f 100644 --- a/base/src/org/compiere/model/X_GL_Distribution.java +++ b/base/src/org/compiere/model/X_GL_Distribution.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Distribution * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persistent { @@ -105,31 +105,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return sb.toString(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; - /** Set Trx Organization. - @param AD_OrgTrx_ID - Performing or initiating organization - */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) - { - if (AD_OrgTrx_ID < 1) - set_Value (COLUMNNAME_AD_OrgTrx_ID, null); - else - set_Value (COLUMNNAME_AD_OrgTrx_ID, Integer.valueOf(AD_OrgTrx_ID)); - } - - /** Get Trx Organization. - @return Performing or initiating organization - */ - public int getAD_OrgTrx_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_OrgTrx_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Account_ID AD_Reference_ID=132 */ public static final int ACCOUNT_ID_AD_Reference_ID=132; /** Set Account. @@ -155,6 +130,31 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } + /** AD_OrgTrx_ID AD_Reference_ID=130 */ + public static final int AD_ORGTRX_ID_AD_Reference_ID=130; + /** Set Trx Organization. + @param AD_OrgTrx_ID + Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) + { + if (AD_OrgTrx_ID < 1) + set_Value (COLUMNNAME_AD_OrgTrx_ID, null); + else + set_Value (COLUMNNAME_AD_OrgTrx_ID, Integer.valueOf(AD_OrgTrx_ID)); + } + + /** Get Trx Organization. + @return Performing or initiating organization + */ + public int getAD_OrgTrx_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_OrgTrx_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Any Account. @param AnyAcct Match any value of the Account segment @@ -795,12 +795,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -840,12 +834,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -928,12 +916,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1019,13 +1001,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_GL_DistributionLine.java b/base/src/org/compiere/model/X_GL_DistributionLine.java index ee39a25cb5..22600bee1c 100644 --- a/base/src/org/compiere/model/X_GL_DistributionLine.java +++ b/base/src/org/compiere/model/X_GL_DistributionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_DistributionLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, I_Persistent { @@ -42,8 +42,8 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, super (ctx, GL_DistributionLine_ID, trxName); /** if (GL_DistributionLine_ID == 0) { - setGL_DistributionLine_ID (0); setGL_Distribution_ID (0); + setGL_DistributionLine_ID (0); setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM GL_DistributionLine WHERE GL_Distribution_ID=@GL_Distribution_ID@ setOverwriteAcct (false); @@ -91,31 +91,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return sb.toString(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; - /** Set Trx Organization. - @param AD_OrgTrx_ID - Performing or initiating organization - */ - public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) - { - if (AD_OrgTrx_ID < 1) - set_Value (COLUMNNAME_AD_OrgTrx_ID, null); - else - set_Value (COLUMNNAME_AD_OrgTrx_ID, Integer.valueOf(AD_OrgTrx_ID)); - } - - /** Get Trx Organization. - @return Performing or initiating organization - */ - public int getAD_OrgTrx_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_OrgTrx_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Account_ID AD_Reference_ID=132 */ public static final int ACCOUNT_ID_AD_Reference_ID=132; /** Set Account. @@ -141,6 +116,31 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } + /** AD_OrgTrx_ID AD_Reference_ID=130 */ + public static final int AD_ORGTRX_ID_AD_Reference_ID=130; + /** Set Trx Organization. + @param AD_OrgTrx_ID + Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) + { + if (AD_OrgTrx_ID < 1) + set_Value (COLUMNNAME_AD_OrgTrx_ID, null); + else + set_Value (COLUMNNAME_AD_OrgTrx_ID, Integer.valueOf(AD_OrgTrx_ID)); + } + + /** Get Trx Organization. + @return Performing or initiating organization + */ + public int getAD_OrgTrx_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_OrgTrx_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Activity getC_Activity() throws Exception { Class clazz = MTable.getClass(I_C_Activity.Table_Name); @@ -392,12 +392,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -409,28 +403,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return (String)get_Value(COLUMNNAME_Description); } - /** Set GL Distribution Line. - @param GL_DistributionLine_ID - General Ledger Distribution Line - */ - public void setGL_DistributionLine_ID (int GL_DistributionLine_ID) - { - if (GL_DistributionLine_ID < 1) - throw new IllegalArgumentException ("GL_DistributionLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_GL_DistributionLine_ID, Integer.valueOf(GL_DistributionLine_ID)); - } - - /** Get GL Distribution Line. - @return General Ledger Distribution Line - */ - public int getGL_DistributionLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_GL_DistributionLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_GL_Distribution getGL_Distribution() throws Exception { Class clazz = MTable.getClass(I_GL_Distribution.Table_Name); @@ -469,6 +441,28 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } + /** Set GL Distribution Line. + @param GL_DistributionLine_ID + General Ledger Distribution Line + */ + public void setGL_DistributionLine_ID (int GL_DistributionLine_ID) + { + if (GL_DistributionLine_ID < 1) + throw new IllegalArgumentException ("GL_DistributionLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_GL_DistributionLine_ID, Integer.valueOf(GL_DistributionLine_ID)); + } + + /** Get GL Distribution Line. + @return General Ledger Distribution Line + */ + public int getGL_DistributionLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_GL_DistributionLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Line No. @param Line Unique line for this document diff --git a/base/src/org/compiere/model/X_GL_Fund.java b/base/src/org/compiere/model/X_GL_Fund.java index e4fdc4ccd2..12a7d7df87 100644 --- a/base/src/org/compiere/model/X_GL_Fund.java +++ b/base/src/org/compiere/model/X_GL_Fund.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Fund * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent { @@ -178,12 +178,6 @@ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -223,12 +217,6 @@ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -248,12 +236,6 @@ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_GL_FundRestriction.java b/base/src/org/compiere/model/X_GL_FundRestriction.java index 146a84c79c..6e4a6f40a2 100644 --- a/base/src/org/compiere/model/X_GL_FundRestriction.java +++ b/base/src/org/compiere/model/X_GL_FundRestriction.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_FundRestriction * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_Persistent { @@ -41,8 +41,8 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ /** if (GL_FundRestriction_ID == 0) { setC_ElementValue_ID (0); - setGL_FundRestriction_ID (0); setGL_Fund_ID (0); + setGL_FundRestriction_ID (0); setName (null); } */ } @@ -119,12 +119,6 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -136,28 +130,6 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ return (String)get_Value(COLUMNNAME_Description); } - /** Set Fund Restriction. - @param GL_FundRestriction_ID - Restriction of Funds - */ - public void setGL_FundRestriction_ID (int GL_FundRestriction_ID) - { - if (GL_FundRestriction_ID < 1) - throw new IllegalArgumentException ("GL_FundRestriction_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_GL_FundRestriction_ID, Integer.valueOf(GL_FundRestriction_ID)); - } - - /** Get Fund Restriction. - @return Restriction of Funds - */ - public int getGL_FundRestriction_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_GL_FundRestriction_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_GL_Fund getGL_Fund() throws Exception { Class clazz = MTable.getClass(I_GL_Fund.Table_Name); @@ -196,6 +168,28 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ return ii.intValue(); } + /** Set Fund Restriction. + @param GL_FundRestriction_ID + Restriction of Funds + */ + public void setGL_FundRestriction_ID (int GL_FundRestriction_ID) + { + if (GL_FundRestriction_ID < 1) + throw new IllegalArgumentException ("GL_FundRestriction_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_GL_FundRestriction_ID, Integer.valueOf(GL_FundRestriction_ID)); + } + + /** Get Fund Restriction. + @return Restriction of Funds + */ + public int getGL_FundRestriction_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_GL_FundRestriction_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -204,12 +198,6 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_GL_Journal.java b/base/src/org/compiere/model/X_GL_Journal.java index 9a811ef344..e86e2964f9 100644 --- a/base/src/org/compiere/model/X_GL_Journal.java +++ b/base/src/org/compiere/model/X_GL_Journal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Journal * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent { @@ -54,9 +54,9 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent // @C_Period_ID@ setCurrencyRate (Env.ZERO); // 1 - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @DateAcct@ - setDateDoc (new Timestamp(System.currentTimeMillis())); + setDateDoc (new Timestamp( System.currentTimeMillis() )); // @DateDoc@ setDescription (null); setDocAction (null); @@ -262,6 +262,26 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return ii.intValue(); } + /** Set Control Amount. + @param ControlAmt + If not zero, the Debit amount of the document must be equal this amount + */ + public void setControlAmt (BigDecimal ControlAmt) + { + set_Value (COLUMNNAME_ControlAmt, ControlAmt); + } + + /** Get Control Amount. + @return If not zero, the Debit amount of the document must be equal this amount + */ + public BigDecimal getControlAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ControlAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + /** C_Period_ID AD_Reference_ID=275 */ public static final int C_PERIOD_ID_AD_Reference_ID=275; /** Set Period. @@ -286,26 +306,6 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return ii.intValue(); } - /** Set Control Amount. - @param ControlAmt - If not zero, the Debit amount of the document must be equal this amount - */ - public void setControlAmt (BigDecimal ControlAmt) - { - set_Value (COLUMNNAME_ControlAmt, ControlAmt); - } - - /** Get Control Amount. - @return If not zero, the Debit amount of the document must be equal this amount - */ - public BigDecimal getControlAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ControlAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Rate. @param CurrencyRate Currency Conversion Rate @@ -374,12 +374,6 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -428,13 +422,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -478,13 +466,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -503,12 +485,6 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -757,13 +733,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_GL_JournalBatch.java b/base/src/org/compiere/model/X_GL_JournalBatch.java index 15b424e4b7..df22d02906 100644 --- a/base/src/org/compiere/model/X_GL_JournalBatch.java +++ b/base/src/org/compiere/model/X_GL_JournalBatch.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_JournalBatch * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persistent { @@ -165,31 +165,6 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis return ii.intValue(); } - /** C_Period_ID AD_Reference_ID=275 */ - public static final int C_PERIOD_ID_AD_Reference_ID=275; - /** Set Period. - @param C_Period_ID - Period of the Calendar - */ - public void setC_Period_ID (int C_Period_ID) - { - if (C_Period_ID < 1) - set_Value (COLUMNNAME_C_Period_ID, null); - else - set_Value (COLUMNNAME_C_Period_ID, Integer.valueOf(C_Period_ID)); - } - - /** Get Period. - @return Period of the Calendar - */ - public int getC_Period_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Period_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Control Amount. @param ControlAmt If not zero, the Debit amount of the document must be equal this amount @@ -216,12 +191,6 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis */ public void setCopyFrom (String CopyFrom) { - - if (CopyFrom != null && CopyFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyFrom = CopyFrom.substring(0, 1); - } set_Value (COLUMNNAME_CopyFrom, CopyFrom); } @@ -233,6 +202,31 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis return (String)get_Value(COLUMNNAME_CopyFrom); } + /** C_Period_ID AD_Reference_ID=275 */ + public static final int C_PERIOD_ID_AD_Reference_ID=275; + /** Set Period. + @param C_Period_ID + Period of the Calendar + */ + public void setC_Period_ID (int C_Period_ID) + { + if (C_Period_ID < 1) + set_Value (COLUMNNAME_C_Period_ID, null); + else + set_Value (COLUMNNAME_C_Period_ID, Integer.valueOf(C_Period_ID)); + } + + /** Get Period. + @return Period of the Calendar + */ + public int getC_Period_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Period_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Account Date. @param DateAcct Accounting Date @@ -275,12 +269,6 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -329,13 +317,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -379,13 +361,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -404,12 +380,6 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -533,13 +503,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_GL_JournalLine.java b/base/src/org/compiere/model/X_GL_JournalLine.java index 6f721cee38..3ecf69b2fc 100644 --- a/base/src/org/compiere/model/X_GL_JournalLine.java +++ b/base/src/org/compiere/model/X_GL_JournalLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_JournalLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persistent { @@ -50,13 +50,13 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste setC_ConversionType_ID (0); setC_Currency_ID (0); // @C_Currency_ID@ - setC_ValidCombination_ID (0); setCurrencyRate (Env.ZERO); // @CurrencyRate@;1 - setDateAcct (new Timestamp(System.currentTimeMillis())); + setC_ValidCombination_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @DateAcct@ - setGL_JournalLine_ID (0); setGL_Journal_ID (0); + setGL_JournalLine_ID (0); setIsGenerated (false); setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM GL_JournalLine WHERE GL_Journal_ID=@GL_Journal_ID@ @@ -177,27 +177,6 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return false; } - /** Set A_Processed. - @param A_Processed A_Processed */ - public void setA_Processed (boolean A_Processed) - { - set_Value (COLUMNNAME_A_Processed, Boolean.valueOf(A_Processed)); - } - - /** Get A_Processed. - @return A_Processed */ - public boolean isA_Processed () - { - Object oo = get_Value(COLUMNNAME_A_Processed); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Accounted Credit. @param AmtAcctCr Accounted Credit Amount @@ -286,6 +265,27 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return bd; } + /** Set A_Processed. + @param A_Processed A_Processed */ + public void setA_Processed (boolean A_Processed) + { + set_Value (COLUMNNAME_A_Processed, Boolean.valueOf(A_Processed)); + } + + /** Get A_Processed. + @return A_Processed */ + public boolean isA_Processed () + { + Object oo = get_Value(COLUMNNAME_A_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + public I_C_ConversionType getC_ConversionType() throws Exception { Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); @@ -401,28 +401,6 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return ii.intValue(); } - /** Set Combination. - @param C_ValidCombination_ID - Valid Account Combination - */ - public void setC_ValidCombination_ID (int C_ValidCombination_ID) - { - if (C_ValidCombination_ID < 1) - throw new IllegalArgumentException ("C_ValidCombination_ID is mandatory."); - set_Value (COLUMNNAME_C_ValidCombination_ID, Integer.valueOf(C_ValidCombination_ID)); - } - - /** Get Combination. - @return Valid Account Combination - */ - public int getC_ValidCombination_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ValidCombination_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Rate. @param CurrencyRate Currency Conversion Rate @@ -445,6 +423,28 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return bd; } + /** Set Combination. + @param C_ValidCombination_ID + Valid Account Combination + */ + public void setC_ValidCombination_ID (int C_ValidCombination_ID) + { + if (C_ValidCombination_ID < 1) + throw new IllegalArgumentException ("C_ValidCombination_ID is mandatory."); + set_Value (COLUMNNAME_C_ValidCombination_ID, Integer.valueOf(C_ValidCombination_ID)); + } + + /** Get Combination. + @return Valid Account Combination + */ + public int getC_ValidCombination_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ValidCombination_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Account Date. @param DateAcct Accounting Date @@ -470,12 +470,6 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -487,28 +481,6 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return (String)get_Value(COLUMNNAME_Description); } - /** Set Journal Line. - @param GL_JournalLine_ID - General Ledger Journal Line - */ - public void setGL_JournalLine_ID (int GL_JournalLine_ID) - { - if (GL_JournalLine_ID < 1) - throw new IllegalArgumentException ("GL_JournalLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_GL_JournalLine_ID, Integer.valueOf(GL_JournalLine_ID)); - } - - /** Get Journal Line. - @return General Ledger Journal Line - */ - public int getGL_JournalLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_GL_JournalLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_GL_Journal getGL_Journal() throws Exception { Class clazz = MTable.getClass(I_GL_Journal.Table_Name); @@ -547,6 +519,28 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return ii.intValue(); } + /** Set Journal Line. + @param GL_JournalLine_ID + General Ledger Journal Line + */ + public void setGL_JournalLine_ID (int GL_JournalLine_ID) + { + if (GL_JournalLine_ID < 1) + throw new IllegalArgumentException ("GL_JournalLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_GL_JournalLine_ID, Integer.valueOf(GL_JournalLine_ID)); + } + + /** Get Journal Line. + @return General Ledger Journal Line + */ + public int getGL_JournalLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_GL_JournalLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Generated. @param IsGenerated This Line is generated diff --git a/base/src/org/compiere/model/X_I_Asset.java b/base/src/org/compiere/model/X_I_Asset.java index 6f8fa02e11..26a06a3a41 100644 --- a/base/src/org/compiere/model/X_I_Asset.java +++ b/base/src/org/compiere/model/X_I_Asset.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_Asset * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent { @@ -75,29 +75,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return sb.toString(); } - /** Set User/Contact. - @param AD_User_ID - User within the system - Internal or Business Partner Contact - */ - public void setAD_User_ID (int AD_User_ID) - { - if (AD_User_ID < 1) - set_Value (COLUMNNAME_AD_User_ID, null); - else - set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); - } - - /** Get User/Contact. - @return User within the system - Internal or Business Partner Contact - */ - public int getAD_User_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set A_Accumdepreciation_Acct. @param A_Accumdepreciation_Acct A_Accumdepreciation_Acct */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) @@ -415,13 +392,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) { - if (A_Depreciation_Manual_Period == null || A_Depreciation_Manual_Period.equals("PR") || A_Depreciation_Manual_Period.equals("YR")); else throw new IllegalArgumentException ("A_Depreciation_Manual_Period Invalid value - " + A_Depreciation_Manual_Period + " - Reference_ID=53256 - PR - YR"); - if (A_Depreciation_Manual_Period != null && A_Depreciation_Manual_Period.length() > 2) - { - log.warning("Length > 2 - truncated"); - A_Depreciation_Manual_Period = A_Depreciation_Manual_Period.substring(0, 2); - } - set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); + if (A_Depreciation_Manual_Period == null || A_Depreciation_Manual_Period.equals("PR") || A_Depreciation_Manual_Period.equals("YR")); else throw new IllegalArgumentException ("A_Depreciation_Manual_Period Invalid value - " + A_Depreciation_Manual_Period + " - Reference_ID=53256 - PR - YR"); set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); } /** Get A_Depreciation_Manual_Period. @@ -504,6 +475,29 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } + /** Set User/Contact. + @param AD_User_ID + User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID) + { + if (AD_User_ID < 1) + set_Value (COLUMNNAME_AD_User_ID, null); + else + set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); + } + + /** Get User/Contact. + @return User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set A_Life_Period. @param A_Life_Period A_Life_Period */ public void setA_Life_Period (int A_Life_Period) @@ -690,13 +684,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { - if (A_Reval_Cal_Method == null || A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); - if (A_Reval_Cal_Method != null && A_Reval_Cal_Method.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Reval_Cal_Method = A_Reval_Cal_Method.substring(0, 3); - } - set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); + if (A_Reval_Cal_Method == null || A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } /** Get A_Reval_Cal_Method. @@ -1062,12 +1050,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } @@ -1102,12 +1084,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -1152,12 +1128,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -1336,12 +1306,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent */ public void setLocationComment (String LocationComment) { - - if (LocationComment != null && LocationComment.length() > 255) - { - log.warning("Length > 255 - truncated"); - LocationComment = LocationComment.substring(0, 255); - } set_Value (COLUMNNAME_LocationComment, LocationComment); } @@ -1359,12 +1323,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent */ public void setLot (String Lot) { - - if (Lot != null && Lot.length() > 20) - { - log.warning("Length > 20 - truncated"); - Lot = Lot.substring(0, 20); - } set_Value (COLUMNNAME_Lot, Lot); } @@ -1483,12 +1441,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1519,13 +1471,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 10) - { - log.warning("Length > 10 - truncated"); - PostingType = PostingType.substring(0, 10); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. @@ -1587,12 +1533,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent */ public void setSerNo (String SerNo) { - - if (SerNo != null && SerNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - SerNo = SerNo.substring(0, 20); - } set_Value (COLUMNNAME_SerNo, SerNo); } @@ -1670,12 +1610,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -1693,12 +1627,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent */ public void setVersionNo (String VersionNo) { - - if (VersionNo != null && VersionNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - VersionNo = VersionNo.substring(0, 20); - } set_Value (COLUMNNAME_VersionNo, VersionNo); } diff --git a/base/src/org/compiere/model/X_I_BPartner.java b/base/src/org/compiere/model/X_I_BPartner.java index 0cb6b3b0f8..4f21180e55 100644 --- a/base/src/org/compiere/model/X_I_BPartner.java +++ b/base/src/org/compiere/model/X_I_BPartner.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_BPartner * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent { @@ -75,6 +75,40 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return sb.toString(); } + /** Set Address 1. + @param Address1 + Address line 1 for this location + */ + public void setAddress1 (String Address1) + { + set_Value (COLUMNNAME_Address1, Address1); + } + + /** Get Address 1. + @return Address line 1 for this location + */ + public String getAddress1 () + { + return (String)get_Value(COLUMNNAME_Address1); + } + + /** Set Address 2. + @param Address2 + Address line 2 for this location + */ + public void setAddress2 (String Address2) + { + set_Value (COLUMNNAME_Address2, Address2); + } + + /** Get Address 2. + @return Address line 2 for this location + */ + public String getAddress2 () + { + return (String)get_Value(COLUMNNAME_Address2); + } + public I_AD_User getAD_User() throws Exception { Class clazz = MTable.getClass(I_AD_User.Table_Name); @@ -114,75 +148,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return ii.intValue(); } - /** Set Address 1. - @param Address1 - Address line 1 for this location - */ - public void setAddress1 (String Address1) - { - - if (Address1 != null && Address1.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address1 = Address1.substring(0, 60); - } - set_Value (COLUMNNAME_Address1, Address1); - } - - /** Get Address 1. - @return Address line 1 for this location - */ - public String getAddress1 () - { - return (String)get_Value(COLUMNNAME_Address1); - } - - /** Set Address 2. - @param Address2 - Address line 2 for this location - */ - public void setAddress2 (String Address2) - { - - if (Address2 != null && Address2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address2 = Address2.substring(0, 60); - } - set_Value (COLUMNNAME_Address2, Address2); - } - - /** Get Address 2. - @return Address line 2 for this location - */ - public String getAddress2 () - { - return (String)get_Value(COLUMNNAME_Address2); - } - - /** Set BP Contact Greeting. - @param BPContactGreeting - Greeting for Business Partner Contact - */ - public void setBPContactGreeting (String BPContactGreeting) - { - - if (BPContactGreeting != null && BPContactGreeting.length() > 60) - { - log.warning("Length > 60 - truncated"); - BPContactGreeting = BPContactGreeting.substring(0, 60); - } - set_Value (COLUMNNAME_BPContactGreeting, BPContactGreeting); - } - - /** Get BP Contact Greeting. - @return Greeting for Business Partner Contact - */ - public String getBPContactGreeting () - { - return (String)get_Value(COLUMNNAME_BPContactGreeting); - } - /** Set Birthday. @param Birthday Birthday or Anniversary day @@ -200,43 +165,21 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return (Timestamp)get_Value(COLUMNNAME_Birthday); } - public I_C_BP_Group getC_BP_Group() throws Exception - { - Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); - I_C_BP_Group result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Business Partner Group. - @param C_BP_Group_ID - Business Partner Group + /** Set BP Contact Greeting. + @param BPContactGreeting + Greeting for Business Partner Contact */ - public void setC_BP_Group_ID (int C_BP_Group_ID) + public void setBPContactGreeting (String BPContactGreeting) { - if (C_BP_Group_ID < 1) - set_Value (COLUMNNAME_C_BP_Group_ID, null); - else - set_Value (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); + set_Value (COLUMNNAME_BPContactGreeting, BPContactGreeting); } - /** Get Business Partner Group. - @return Business Partner Group + /** Get BP Contact Greeting. + @return Greeting for Business Partner Contact */ - public int getC_BP_Group_ID () + public String getBPContactGreeting () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); - if (ii == null) - return 0; - return ii.intValue(); + return (String)get_Value(COLUMNNAME_BPContactGreeting); } public I_C_BPartner getC_BPartner() throws Exception @@ -317,6 +260,45 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return ii.intValue(); } + public I_C_BP_Group getC_BP_Group() throws Exception + { + Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); + I_C_BP_Group result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Business Partner Group. + @param C_BP_Group_ID + Business Partner Group + */ + public void setC_BP_Group_ID (int C_BP_Group_ID) + { + if (C_BP_Group_ID < 1) + set_Value (COLUMNNAME_C_BP_Group_ID, null); + else + set_Value (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); + } + + /** Get Business Partner Group. + @return Business Partner Group + */ + public int getC_BP_Group_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Country getC_Country() throws Exception { Class clazz = MTable.getClass(I_C_Country.Table_Name); @@ -395,6 +377,91 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return ii.intValue(); } + /** Set City. + @param City + Identifies a City + */ + public void setCity (String City) + { + set_Value (COLUMNNAME_City, City); + } + + /** Get City. + @return Identifies a City + */ + public String getCity () + { + return (String)get_Value(COLUMNNAME_City); + } + + /** Set Comments. + @param Comments + Comments or additional information + */ + public void setComments (String Comments) + { + set_Value (COLUMNNAME_Comments, Comments); + } + + /** Get Comments. + @return Comments or additional information + */ + public String getComments () + { + return (String)get_Value(COLUMNNAME_Comments); + } + + /** Set Contact Description. + @param ContactDescription + Description of Contact + */ + public void setContactDescription (String ContactDescription) + { + set_Value (COLUMNNAME_ContactDescription, ContactDescription); + } + + /** Get Contact Description. + @return Description of Contact + */ + public String getContactDescription () + { + return (String)get_Value(COLUMNNAME_ContactDescription); + } + + /** Set Contact Name. + @param ContactName + Business Partner Contact Name + */ + public void setContactName (String ContactName) + { + set_Value (COLUMNNAME_ContactName, ContactName); + } + + /** Get Contact Name. + @return Business Partner Contact Name + */ + public String getContactName () + { + return (String)get_Value(COLUMNNAME_ContactName); + } + + /** Set ISO Country Code. + @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 (String CountryCode) + { + set_Value (COLUMNNAME_CountryCode, 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 + */ + public String getCountryCode () + { + return (String)get_Value(COLUMNNAME_CountryCode); + } + public I_C_Region getC_Region() throws Exception { Class clazz = MTable.getClass(I_C_Region.Table_Name); @@ -434,156 +501,12 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return ii.intValue(); } - /** Set City. - @param City - Identifies a City - */ - public void setCity (String City) - { - - if (City != null && City.length() > 60) - { - log.warning("Length > 60 - truncated"); - City = City.substring(0, 60); - } - set_Value (COLUMNNAME_City, City); - } - - /** Get City. - @return Identifies a City - */ - public String getCity () - { - return (String)get_Value(COLUMNNAME_City); - } - - /** Set Comments. - @param Comments - Comments or additional information - */ - public void setComments (String Comments) - { - - if (Comments != null && Comments.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Comments = Comments.substring(0, 2000); - } - set_Value (COLUMNNAME_Comments, Comments); - } - - /** Get Comments. - @return Comments or additional information - */ - public String getComments () - { - return (String)get_Value(COLUMNNAME_Comments); - } - - /** Set Contact Description. - @param ContactDescription - Description of Contact - */ - public void setContactDescription (String ContactDescription) - { - - if (ContactDescription != null && ContactDescription.length() > 255) - { - log.warning("Length > 255 - truncated"); - ContactDescription = ContactDescription.substring(0, 255); - } - set_Value (COLUMNNAME_ContactDescription, ContactDescription); - } - - /** Get Contact Description. - @return Description of Contact - */ - public String getContactDescription () - { - return (String)get_Value(COLUMNNAME_ContactDescription); - } - - /** Set Contact Name. - @param ContactName - Business Partner Contact Name - */ - public void setContactName (String ContactName) - { - - if (ContactName != null && ContactName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ContactName = ContactName.substring(0, 60); - } - set_Value (COLUMNNAME_ContactName, ContactName); - } - - /** Get Contact Name. - @return Business Partner Contact Name - */ - public String getContactName () - { - return (String)get_Value(COLUMNNAME_ContactName); - } - - /** Set ISO Country Code. - @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 (String CountryCode) - { - - if (CountryCode != null && CountryCode.length() > 2) - { - log.warning("Length > 2 - truncated"); - CountryCode = CountryCode.substring(0, 2); - } - set_Value (COLUMNNAME_CountryCode, 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 - */ - public String getCountryCode () - { - return (String)get_Value(COLUMNNAME_CountryCode); - } - - /** Set D-U-N-S. - @param DUNS - Dun & Bradstreet Number - */ - public void setDUNS (String DUNS) - { - - if (DUNS != null && DUNS.length() > 11) - { - log.warning("Length > 11 - truncated"); - DUNS = DUNS.substring(0, 11); - } - set_Value (COLUMNNAME_DUNS, DUNS); - } - - /** Get D-U-N-S. - @return Dun & Bradstreet Number - */ - public String getDUNS () - { - return (String)get_Value(COLUMNNAME_DUNS); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -595,18 +518,29 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_Description); } + /** Set D-U-N-S. + @param DUNS + Dun & Bradstreet Number + */ + public void setDUNS (String DUNS) + { + set_Value (COLUMNNAME_DUNS, DUNS); + } + + /** Get D-U-N-S. + @return Dun & Bradstreet Number + */ + public String getDUNS () + { + return (String)get_Value(COLUMNNAME_DUNS); + } + /** Set EMail Address. @param EMail Electronic Mail Address */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -624,12 +558,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setFax (String Fax) { - - if (Fax != null && Fax.length() > 40) - { - log.warning("Length > 40 - truncated"); - Fax = Fax.substring(0, 40); - } set_Value (COLUMNNAME_Fax, Fax); } @@ -647,12 +575,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setGroupValue (String GroupValue) { - - if (GroupValue != null && GroupValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - GroupValue = GroupValue.substring(0, 40); - } set_Value (COLUMNNAME_GroupValue, GroupValue); } @@ -689,12 +611,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -736,12 +652,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setInterestAreaName (String InterestAreaName) { - - if (InterestAreaName != null && InterestAreaName.length() > 40) - { - log.warning("Length > 40 - truncated"); - InterestAreaName = InterestAreaName.substring(0, 40); - } set_Value (COLUMNNAME_InterestAreaName, InterestAreaName); } @@ -759,12 +669,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setNAICS (String NAICS) { - - if (NAICS != null && NAICS.length() > 6) - { - log.warning("Length > 6 - truncated"); - NAICS = NAICS.substring(0, 6); - } set_Value (COLUMNNAME_NAICS, NAICS); } @@ -782,12 +686,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -805,12 +703,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setName2 (String Name2) { - - if (Name2 != null && Name2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name2 = Name2.substring(0, 60); - } set_Value (COLUMNNAME_Name2, Name2); } @@ -828,12 +720,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setPassword (String Password) { - - if (Password != null && Password.length() > 20) - { - log.warning("Length > 20 - truncated"); - Password = Password.substring(0, 20); - } set_Value (COLUMNNAME_Password, Password); } @@ -851,12 +737,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setPhone (String Phone) { - - if (Phone != null && Phone.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone = Phone.substring(0, 40); - } set_Value (COLUMNNAME_Phone, Phone); } @@ -874,12 +754,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setPhone2 (String Phone2) { - - if (Phone2 != null && Phone2.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone2 = Phone2.substring(0, 40); - } set_Value (COLUMNNAME_Phone2, Phone2); } @@ -897,12 +771,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setPostal (String Postal) { - - if (Postal != null && Postal.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal = Postal.substring(0, 10); - } set_Value (COLUMNNAME_Postal, Postal); } @@ -920,12 +788,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setPostal_Add (String Postal_Add) { - - if (Postal_Add != null && Postal_Add.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal_Add = Postal_Add.substring(0, 10); - } set_Value (COLUMNNAME_Postal_Add, Postal_Add); } @@ -982,6 +844,23 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return false; } + /** Set Region. + @param RegionName + Name of the Region + */ + public void setRegionName (String RegionName) + { + set_Value (COLUMNNAME_RegionName, RegionName); + } + + /** Get Region. + @return Name of the Region + */ + public String getRegionName () + { + return (String)get_Value(COLUMNNAME_RegionName); + } + public I_R_InterestArea getR_InterestArea() throws Exception { Class clazz = MTable.getClass(I_R_InterestArea.Table_Name); @@ -1021,41 +900,12 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return ii.intValue(); } - /** Set Region. - @param RegionName - Name of the Region - */ - public void setRegionName (String RegionName) - { - - if (RegionName != null && RegionName.length() > 60) - { - log.warning("Length > 60 - truncated"); - RegionName = RegionName.substring(0, 60); - } - set_Value (COLUMNNAME_RegionName, RegionName); - } - - /** Get Region. - @return Name of the Region - */ - public String getRegionName () - { - return (String)get_Value(COLUMNNAME_RegionName); - } - /** Set Tax ID. @param TaxID Tax Identification */ public void setTaxID (String TaxID) { - - if (TaxID != null && TaxID.length() > 20) - { - log.warning("Length > 20 - truncated"); - TaxID = TaxID.substring(0, 20); - } set_Value (COLUMNNAME_TaxID, TaxID); } @@ -1073,12 +923,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setTitle (String Title) { - - if (Title != null && Title.length() > 40) - { - log.warning("Length > 40 - truncated"); - Title = Title.substring(0, 40); - } set_Value (COLUMNNAME_Title, Title); } @@ -1096,12 +940,6 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_I_BankStatement.java b/base/src/org/compiere/model/X_I_BankStatement.java index a5e669f612..cc084e5830 100644 --- a/base/src/org/compiere/model/X_I_BankStatement.java +++ b/base/src/org/compiere/model/X_I_BankStatement.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for I_BankStatement * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persistent { @@ -75,41 +75,12 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return sb.toString(); } - /** Set Business Partner Key. - @param BPartnerValue - Key of the Business Partner - */ - public void setBPartnerValue (String BPartnerValue) - { - - if (BPartnerValue != null && BPartnerValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - BPartnerValue = BPartnerValue.substring(0, 40); - } - set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); - } - - /** Get Business Partner Key. - @return Key of the Business Partner - */ - public String getBPartnerValue () - { - return (String)get_Value(COLUMNNAME_BPartnerValue); - } - /** Set Bank Account No. @param BankAccountNo Bank Account Number */ public void setBankAccountNo (String BankAccountNo) { - - if (BankAccountNo != null && BankAccountNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - BankAccountNo = BankAccountNo.substring(0, 20); - } set_Value (COLUMNNAME_BankAccountNo, BankAccountNo); } @@ -121,43 +92,21 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return (String)get_Value(COLUMNNAME_BankAccountNo); } - public I_C_BPartner getC_BPartner() throws Exception - { - Class clazz = MTable.getClass(I_C_BPartner.Table_Name); - I_C_BPartner result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BPartner)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Business Partner . - @param C_BPartner_ID - Identifies a Business Partner + /** Set Business Partner Key. + @param BPartnerValue + Key of the Business Partner */ - public void setC_BPartner_ID (int C_BPartner_ID) + public void setBPartnerValue (String BPartnerValue) { - if (C_BPartner_ID < 1) - set_Value (COLUMNNAME_C_BPartner_ID, null); - else - set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID)); + set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); } - /** Get Business Partner . - @return Identifies a Business Partner + /** Get Business Partner Key. + @return Key of the Business Partner */ - public int getC_BPartner_ID () + public String getBPartnerValue () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID); - if (ii == null) - return 0; - return ii.intValue(); + return (String)get_Value(COLUMNNAME_BPartnerValue); } public I_C_BankAccount getC_BankAccount() throws Exception @@ -199,6 +148,45 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } + public I_C_BankStatement getC_BankStatement() throws Exception + { + Class clazz = MTable.getClass(I_C_BankStatement.Table_Name); + I_C_BankStatement result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_BankStatement)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BankStatement_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Bank Statement. + @param C_BankStatement_ID + Bank Statement of account + */ + public void setC_BankStatement_ID (int C_BankStatement_ID) + { + if (C_BankStatement_ID < 1) + set_Value (COLUMNNAME_C_BankStatement_ID, null); + else + set_Value (COLUMNNAME_C_BankStatement_ID, Integer.valueOf(C_BankStatement_ID)); + } + + /** Get Bank Statement. + @return Bank Statement of account + */ + public int getC_BankStatement_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BankStatement_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_BankStatementLine getC_BankStatementLine() throws Exception { Class clazz = MTable.getClass(I_C_BankStatementLine.Table_Name); @@ -238,14 +226,14 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } - public I_C_BankStatement getC_BankStatement() throws Exception + public I_C_BPartner getC_BPartner() throws Exception { - Class clazz = MTable.getClass(I_C_BankStatement.Table_Name); - I_C_BankStatement result = null; + Class clazz = MTable.getClass(I_C_BPartner.Table_Name); + I_C_BPartner result = null; try { Constructor constructor = null; constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BankStatement)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BankStatement_ID()), get_TrxName()}); + result = (I_C_BPartner)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_ID()), get_TrxName()}); } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); @@ -254,24 +242,24 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return result; } - /** Set Bank Statement. - @param C_BankStatement_ID - Bank Statement of account + /** Set Business Partner . + @param C_BPartner_ID + Identifies a Business Partner */ - public void setC_BankStatement_ID (int C_BankStatement_ID) + public void setC_BPartner_ID (int C_BPartner_ID) { - if (C_BankStatement_ID < 1) - set_Value (COLUMNNAME_C_BankStatement_ID, null); + if (C_BPartner_ID < 1) + set_Value (COLUMNNAME_C_BPartner_ID, null); else - set_Value (COLUMNNAME_C_BankStatement_ID, Integer.valueOf(C_BankStatement_ID)); + set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID)); } - /** Get Bank Statement. - @return Bank Statement of account + /** Get Business Partner . + @return Identifies a Business Partner */ - public int getC_BankStatement_ID () + public int getC_BPartner_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BankStatement_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID); if (ii == null) return 0; return ii.intValue(); @@ -355,6 +343,43 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Charge Name. + @param ChargeName + Name of the Charge + */ + public void setChargeName (String ChargeName) + { + set_Value (COLUMNNAME_ChargeName, ChargeName); + } + + /** Get Charge Name. + @return Name of the Charge + */ + public String getChargeName () + { + return (String)get_Value(COLUMNNAME_ChargeName); + } + public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -433,59 +458,10 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Charge Name. - @param ChargeName - Name of the Charge - */ - public void setChargeName (String ChargeName) - { - - if (ChargeName != null && ChargeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ChargeName = ChargeName.substring(0, 60); - } - set_Value (COLUMNNAME_ChargeName, ChargeName); - } - - /** Get Charge Name. - @return Name of the Charge - */ - public String getChargeName () - { - return (String)get_Value(COLUMNNAME_ChargeName); - } - /** Set Create Payment. @param CreatePayment Create Payment */ public void setCreatePayment (String CreatePayment) { - - if (CreatePayment != null && CreatePayment.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreatePayment = CreatePayment.substring(0, 1); - } set_Value (COLUMNNAME_CreatePayment, CreatePayment); } @@ -519,12 +495,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -562,12 +532,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setEftCheckNo (String EftCheckNo) { - - if (EftCheckNo != null && EftCheckNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - EftCheckNo = EftCheckNo.substring(0, 20); - } set_Value (COLUMNNAME_EftCheckNo, EftCheckNo); } @@ -585,12 +549,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setEftCurrency (String EftCurrency) { - - if (EftCurrency != null && EftCurrency.length() > 20) - { - log.warning("Length > 20 - truncated"); - EftCurrency = EftCurrency.substring(0, 20); - } set_Value (COLUMNNAME_EftCurrency, EftCurrency); } @@ -608,12 +566,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setEftMemo (String EftMemo) { - - if (EftMemo != null && EftMemo.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - EftMemo = EftMemo.substring(0, 2000); - } set_Value (COLUMNNAME_EftMemo, EftMemo); } @@ -631,12 +583,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setEftPayee (String EftPayee) { - - if (EftPayee != null && EftPayee.length() > 255) - { - log.warning("Length > 255 - truncated"); - EftPayee = EftPayee.substring(0, 255); - } set_Value (COLUMNNAME_EftPayee, EftPayee); } @@ -654,12 +600,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setEftPayeeAccount (String EftPayeeAccount) { - - if (EftPayeeAccount != null && EftPayeeAccount.length() > 40) - { - log.warning("Length > 40 - truncated"); - EftPayeeAccount = EftPayeeAccount.substring(0, 40); - } set_Value (COLUMNNAME_EftPayeeAccount, EftPayeeAccount); } @@ -677,12 +617,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setEftReference (String EftReference) { - - if (EftReference != null && EftReference.length() > 60) - { - log.warning("Length > 60 - truncated"); - EftReference = EftReference.substring(0, 60); - } set_Value (COLUMNNAME_EftReference, EftReference); } @@ -734,12 +668,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setEftStatementReference (String EftStatementReference) { - - if (EftStatementReference != null && EftStatementReference.length() > 60) - { - log.warning("Length > 60 - truncated"); - EftStatementReference = EftStatementReference.substring(0, 60); - } set_Value (COLUMNNAME_EftStatementReference, EftStatementReference); } @@ -757,12 +685,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setEftTrxID (String EftTrxID) { - - if (EftTrxID != null && EftTrxID.length() > 40) - { - log.warning("Length > 40 - truncated"); - EftTrxID = EftTrxID.substring(0, 40); - } set_Value (COLUMNNAME_EftTrxID, EftTrxID); } @@ -780,12 +702,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setEftTrxType (String EftTrxType) { - - if (EftTrxType != null && EftTrxType.length() > 20) - { - log.warning("Length > 20 - truncated"); - EftTrxType = EftTrxType.substring(0, 20); - } set_Value (COLUMNNAME_EftTrxType, EftTrxType); } @@ -814,29 +730,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return (Timestamp)get_Value(COLUMNNAME_EftValutaDate); } - /** Set ISO Currency Code. - @param ISO_Code - Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code) - { - - if (ISO_Code != null && ISO_Code.length() > 3) - { - log.warning("Length > 3 - truncated"); - ISO_Code = ISO_Code.substring(0, 3); - } - set_Value (COLUMNNAME_ISO_Code, ISO_Code); - } - - /** Get ISO Currency Code. - @return Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code () - { - return (String)get_Value(COLUMNNAME_ISO_Code); - } - /** Set Import Bank Statement. @param I_BankStatement_ID Import of the Bank Statement @@ -865,12 +758,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -932,12 +819,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setInvoiceDocumentNo (String InvoiceDocumentNo) { - - if (InvoiceDocumentNo != null && InvoiceDocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - InvoiceDocumentNo = InvoiceDocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_InvoiceDocumentNo, InvoiceDocumentNo); } @@ -949,6 +830,23 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return (String)get_Value(COLUMNNAME_InvoiceDocumentNo); } + /** Set ISO Currency Code. + @param ISO_Code + Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code) + { + set_Value (COLUMNNAME_ISO_Code, ISO_Code); + } + + /** Get ISO Currency Code. + @return Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code () + { + return (String)get_Value(COLUMNNAME_ISO_Code); + } + /** Set Reversal. @param IsReversal This is a reversing transaction @@ -999,12 +897,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setLineDescription (String LineDescription) { - - if (LineDescription != null && LineDescription.length() > 255) - { - log.warning("Length > 255 - truncated"); - LineDescription = LineDescription.substring(0, 255); - } set_Value (COLUMNNAME_LineDescription, LineDescription); } @@ -1020,12 +912,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis @param MatchStatement Match Statement */ public void setMatchStatement (String MatchStatement) { - - if (MatchStatement != null && MatchStatement.length() > 1) - { - log.warning("Length > 1 - truncated"); - MatchStatement = MatchStatement.substring(0, 1); - } set_Value (COLUMNNAME_MatchStatement, MatchStatement); } @@ -1042,12 +928,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setMemo (String Memo) { - - if (Memo != null && Memo.length() > 255) - { - log.warning("Length > 255 - truncated"); - Memo = Memo.substring(0, 255); - } set_Value (COLUMNNAME_Memo, Memo); } @@ -1065,12 +945,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1088,12 +962,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setPaymentDocumentNo (String PaymentDocumentNo) { - - if (PaymentDocumentNo != null && PaymentDocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - PaymentDocumentNo = PaymentDocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_PaymentDocumentNo, PaymentDocumentNo); } @@ -1156,12 +1024,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setReferenceNo (String ReferenceNo) { - - if (ReferenceNo != null && ReferenceNo.length() > 40) - { - log.warning("Length > 40 - truncated"); - ReferenceNo = ReferenceNo.substring(0, 40); - } set_Value (COLUMNNAME_ReferenceNo, ReferenceNo); } @@ -1179,12 +1041,6 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis */ public void setRoutingNo (String RoutingNo) { - - if (RoutingNo != null && RoutingNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - RoutingNo = RoutingNo.substring(0, 20); - } set_Value (COLUMNNAME_RoutingNo, RoutingNo); } @@ -1291,13 +1147,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis public void setTrxType (String TrxType) { - if (TrxType == null || TrxType.equals("S") || TrxType.equals("D") || TrxType.equals("C") || TrxType.equals("F") || TrxType.equals("A") || TrxType.equals("V")); else throw new IllegalArgumentException ("TrxType Invalid value - " + TrxType + " - Reference_ID=215 - S - D - C - F - A - V"); - if (TrxType != null && TrxType.length() > 20) - { - log.warning("Length > 20 - truncated"); - TrxType = TrxType.substring(0, 20); - } - set_Value (COLUMNNAME_TrxType, TrxType); + if (TrxType == null || TrxType.equals("S") || TrxType.equals("D") || TrxType.equals("C") || TrxType.equals("F") || TrxType.equals("A") || TrxType.equals("V")); else throw new IllegalArgumentException ("TrxType Invalid value - " + TrxType + " - Reference_ID=215 - S - D - C - F - A - V"); set_Value (COLUMNNAME_TrxType, TrxType); } /** Get Transaction Type. diff --git a/base/src/org/compiere/model/X_I_Conversion_Rate.java b/base/src/org/compiere/model/X_I_Conversion_Rate.java index 71fed922e8..d8bde5d0c0 100644 --- a/base/src/org/compiere/model/X_I_Conversion_Rate.java +++ b/base/src/org/compiere/model/X_I_Conversion_Rate.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_Conversion_Rate * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Persistent { @@ -75,45 +75,6 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe return sb.toString(); } - public I_C_ConversionType getC_ConversionType() throws Exception - { - Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); - I_C_ConversionType result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_ConversionType)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ConversionType_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Currency Type. - @param C_ConversionType_ID - Currency Conversion Rate Type - */ - public void setC_ConversionType_ID (int C_ConversionType_ID) - { - if (C_ConversionType_ID < 1) - set_Value (COLUMNNAME_C_ConversionType_ID, null); - else - set_Value (COLUMNNAME_C_ConversionType_ID, Integer.valueOf(C_ConversionType_ID)); - } - - /** Get Currency Type. - @return Currency Conversion Rate Type - */ - public int getC_ConversionType_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ConversionType_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Conversion_Rate getC_Conversion_Rate() throws Exception { Class clazz = MTable.getClass(I_C_Conversion_Rate.Table_Name); @@ -153,6 +114,45 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe return ii.intValue(); } + public I_C_ConversionType getC_ConversionType() throws Exception + { + Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); + I_C_ConversionType result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_ConversionType)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ConversionType_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Currency Type. + @param C_ConversionType_ID + Currency Conversion Rate Type + */ + public void setC_ConversionType_ID (int C_ConversionType_ID) + { + if (C_ConversionType_ID < 1) + set_Value (COLUMNNAME_C_ConversionType_ID, null); + else + set_Value (COLUMNNAME_C_ConversionType_ID, Integer.valueOf(C_ConversionType_ID)); + } + + /** Get Currency Type. + @return Currency Conversion Rate Type + */ + public int getC_ConversionType_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ConversionType_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Currency getC_Currency() throws Exception { Class clazz = MTable.getClass(I_C_Currency.Table_Name); @@ -220,12 +220,6 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe */ public void setConversionTypeValue (String ConversionTypeValue) { - - if (ConversionTypeValue != null && ConversionTypeValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ConversionTypeValue = ConversionTypeValue.substring(0, 40); - } set_Value (COLUMNNAME_ConversionTypeValue, ConversionTypeValue); } @@ -281,52 +275,6 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe return bd; } - /** Set ISO Currency Code. - @param ISO_Code - Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code) - { - - if (ISO_Code != null && ISO_Code.length() > 3) - { - log.warning("Length > 3 - truncated"); - ISO_Code = ISO_Code.substring(0, 3); - } - set_Value (COLUMNNAME_ISO_Code, ISO_Code); - } - - /** Get ISO Currency Code. - @return Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code () - { - return (String)get_Value(COLUMNNAME_ISO_Code); - } - - /** Set ISO Currency To Code. - @param ISO_Code_To - Three letter ISO 4217 Code of the To Currency - */ - public void setISO_Code_To (String ISO_Code_To) - { - - if (ISO_Code_To != null && ISO_Code_To.length() > 3) - { - log.warning("Length > 3 - truncated"); - ISO_Code_To = ISO_Code_To.substring(0, 3); - } - set_Value (COLUMNNAME_ISO_Code_To, ISO_Code_To); - } - - /** Get ISO Currency To Code. - @return Three letter ISO 4217 Code of the To Currency - */ - public String getISO_Code_To () - { - return (String)get_Value(COLUMNNAME_ISO_Code_To); - } - /** Set Import Conversion Rate. @param I_Conversion_Rate_ID Import Currency Conversion Rate @@ -363,12 +311,6 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -404,6 +346,40 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe return false; } + /** Set ISO Currency Code. + @param ISO_Code + Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code) + { + set_Value (COLUMNNAME_ISO_Code, ISO_Code); + } + + /** Get ISO Currency Code. + @return Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code () + { + return (String)get_Value(COLUMNNAME_ISO_Code); + } + + /** Set ISO Currency To Code. + @param ISO_Code_To + Three letter ISO 4217 Code of the To Currency + */ + public void setISO_Code_To (String ISO_Code_To) + { + set_Value (COLUMNNAME_ISO_Code_To, ISO_Code_To); + } + + /** Get ISO Currency To Code. + @return Three letter ISO 4217 Code of the To Currency + */ + public String getISO_Code_To () + { + return (String)get_Value(COLUMNNAME_ISO_Code_To); + } + /** Set Multiply Rate. @param MultiplyRate Rate to multiple the source by to calculate the target. diff --git a/base/src/org/compiere/model/X_I_ElementValue.java b/base/src/org/compiere/model/X_I_ElementValue.java index 7d4f7ce819..d94203a69c 100644 --- a/base/src/org/compiere/model/X_I_ElementValue.java +++ b/base/src/org/compiere/model/X_I_ElementValue.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_ElementValue * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persistent { @@ -73,31 +73,6 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste return sb.toString(); } - /** AD_Column_ID AD_Reference_ID=272 */ - public static final int AD_COLUMN_ID_AD_Reference_ID=272; - /** Set Column. - @param AD_Column_ID - Column in the table - */ - public void setAD_Column_ID (int AD_Column_ID) - { - if (AD_Column_ID < 1) - set_Value (COLUMNNAME_AD_Column_ID, null); - else - set_Value (COLUMNNAME_AD_Column_ID, Integer.valueOf(AD_Column_ID)); - } - - /** Get Column. - @return Column in the table - */ - public int getAD_Column_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_Column_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** AccountSign AD_Reference_ID=118 */ public static final int ACCOUNTSIGN_AD_Reference_ID=118; /** Natural = N */ @@ -113,13 +88,7 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public void setAccountSign (String AccountSign) { - if (AccountSign == null || AccountSign.equals("N") || AccountSign.equals("D") || AccountSign.equals("C")); else throw new IllegalArgumentException ("AccountSign Invalid value - " + AccountSign + " - Reference_ID=118 - N - D - C"); - if (AccountSign != null && AccountSign.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccountSign = AccountSign.substring(0, 1); - } - set_Value (COLUMNNAME_AccountSign, AccountSign); + if (AccountSign == null || AccountSign.equals("N") || AccountSign.equals("D") || AccountSign.equals("C")); else throw new IllegalArgumentException ("AccountSign Invalid value - " + AccountSign + " - Reference_ID=118 - N - D - C"); set_Value (COLUMNNAME_AccountSign, AccountSign); } /** Get Account Sign. @@ -151,13 +120,7 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public void setAccountType (String AccountType) { - if (AccountType == null || AccountType.equals("A") || AccountType.equals("L") || AccountType.equals("R") || AccountType.equals("E") || AccountType.equals("O") || AccountType.equals("M")); else throw new IllegalArgumentException ("AccountType Invalid value - " + AccountType + " - Reference_ID=117 - A - L - R - E - O - M"); - if (AccountType != null && AccountType.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccountType = AccountType.substring(0, 1); - } - set_Value (COLUMNNAME_AccountType, AccountType); + if (AccountType == null || AccountType.equals("A") || AccountType.equals("L") || AccountType.equals("R") || AccountType.equals("E") || AccountType.equals("O") || AccountType.equals("M")); else throw new IllegalArgumentException ("AccountType Invalid value - " + AccountType + " - Reference_ID=117 - A - L - R - E - O - M"); set_Value (COLUMNNAME_AccountType, AccountType); } /** Get Account Type. @@ -168,40 +131,26 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste return (String)get_Value(COLUMNNAME_AccountType); } - public I_C_ElementValue getC_ElementValue() throws Exception - { - Class clazz = MTable.getClass(I_C_ElementValue.Table_Name); - I_C_ElementValue result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_ElementValue)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ElementValue_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Account Element. - @param C_ElementValue_ID - Account Element + /** AD_Column_ID AD_Reference_ID=272 */ + public static final int AD_COLUMN_ID_AD_Reference_ID=272; + /** Set Column. + @param AD_Column_ID + Column in the table */ - public void setC_ElementValue_ID (int C_ElementValue_ID) + public void setAD_Column_ID (int AD_Column_ID) { - if (C_ElementValue_ID < 1) - set_Value (COLUMNNAME_C_ElementValue_ID, null); + if (AD_Column_ID < 1) + set_Value (COLUMNNAME_AD_Column_ID, null); else - set_Value (COLUMNNAME_C_ElementValue_ID, Integer.valueOf(C_ElementValue_ID)); + set_Value (COLUMNNAME_AD_Column_ID, Integer.valueOf(AD_Column_ID)); } - /** Get Account Element. - @return Account Element + /** Get Column. + @return Column in the table */ - public int getC_ElementValue_ID () + public int getAD_Column_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ElementValue_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Column_ID); if (ii == null) return 0; return ii.intValue(); @@ -246,18 +195,51 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste return ii.intValue(); } + public I_C_ElementValue getC_ElementValue() throws Exception + { + Class clazz = MTable.getClass(I_C_ElementValue.Table_Name); + I_C_ElementValue result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_ElementValue)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ElementValue_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Account Element. + @param C_ElementValue_ID + Account Element + */ + public void setC_ElementValue_ID (int C_ElementValue_ID) + { + if (C_ElementValue_ID < 1) + set_Value (COLUMNNAME_C_ElementValue_ID, null); + else + set_Value (COLUMNNAME_C_ElementValue_ID, Integer.valueOf(C_ElementValue_ID)); + } + + /** Get Account Element. + @return Account Element + */ + public int getC_ElementValue_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ElementValue_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Default Account. @param Default_Account Name of the Default Account Column */ public void setDefault_Account (String Default_Account) { - - if (Default_Account != null && Default_Account.length() > 30) - { - log.warning("Length > 30 - truncated"); - Default_Account = Default_Account.substring(0, 30); - } set_Value (COLUMNNAME_Default_Account, Default_Account); } @@ -275,12 +257,6 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -298,12 +274,6 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste */ public void setElementName (String ElementName) { - - if (ElementName != null && ElementName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ElementName = ElementName.substring(0, 60); - } set_Value (COLUMNNAME_ElementName, ElementName); } @@ -343,12 +313,6 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -438,12 +402,6 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -486,12 +444,6 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste */ public void setParentValue (String ParentValue) { - - if (ParentValue != null && ParentValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ParentValue = ParentValue.substring(0, 40); - } set_Value (COLUMNNAME_ParentValue, ParentValue); } @@ -650,12 +602,6 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_I_FAJournal.java b/base/src/org/compiere/model/X_I_FAJournal.java index e311cd64ec..fa05fc78e7 100644 --- a/base/src/org/compiere/model/X_I_FAJournal.java +++ b/base/src/org/compiere/model/X_I_FAJournal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_FAJournal * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent { @@ -76,6 +76,88 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return sb.toString(); } + /** Set Asset. + @param A_Asset_ID + Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID) + { + if (A_Asset_ID < 1) + set_Value (COLUMNNAME_A_Asset_ID, null); + else + set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + } + + /** Get Asset. + @return Asset used internally or by customers + */ + public int getA_Asset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Account_ID AD_Reference_ID=331 */ + public static final int ACCOUNT_ID_AD_Reference_ID=331; + /** Set Account. + @param Account_ID + Account used + */ + public void setAccount_ID (int Account_ID) + { + if (Account_ID < 1) + set_Value (COLUMNNAME_Account_ID, null); + else + set_Value (COLUMNNAME_Account_ID, Integer.valueOf(Account_ID)); + } + + /** Get Account. + @return Account used + */ + public int getAccount_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Account_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Account Key. + @param AccountValue + Key of Account Element + */ + public void setAccountValue (String AccountValue) + { + set_Value (COLUMNNAME_AccountValue, AccountValue); + } + + /** Get Account Key. + @return Key of Account Element + */ + public String getAccountValue () + { + return (String)get_Value(COLUMNNAME_AccountValue); + } + + /** Set Account Schema Name. + @param AcctSchemaName + Name of the Accounting Schema + */ + public void setAcctSchemaName (String AcctSchemaName) + { + set_Value (COLUMNNAME_AcctSchemaName, AcctSchemaName); + } + + /** Get Account Schema Name. + @return Name of the Accounting Schema + */ + public String getAcctSchemaName () + { + return (String)get_Value(COLUMNNAME_AcctSchemaName); + } + /** AD_OrgDoc_ID AD_Reference_ID=130 */ public static final int AD_ORGDOC_ID_AD_Reference_ID=130; /** Set Document Org. @@ -126,39 +208,10 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - /** Set Asset. - @param A_Asset_ID - Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID) - { - if (A_Asset_ID < 1) - set_Value (COLUMNNAME_A_Asset_ID, null); - else - set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); - } - - /** Get Asset. - @return Asset used internally or by customers - */ - public int getA_Asset_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set A_Entry_Type. @param A_Entry_Type A_Entry_Type */ public void setA_Entry_Type (String A_Entry_Type) { - - if (A_Entry_Type != null && A_Entry_Type.length() > 3) - { - log.warning("Length > 3 - truncated"); - A_Entry_Type = A_Entry_Type.substring(0, 3); - } set_Value (COLUMNNAME_A_Entry_Type, A_Entry_Type); } @@ -169,77 +222,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_A_Entry_Type); } - /** Set Account Key. - @param AccountValue - Key of Account Element - */ - public void setAccountValue (String AccountValue) - { - - if (AccountValue != null && AccountValue.length() > 80) - { - log.warning("Length > 80 - truncated"); - AccountValue = AccountValue.substring(0, 80); - } - set_Value (COLUMNNAME_AccountValue, AccountValue); - } - - /** Get Account Key. - @return Key of Account Element - */ - public String getAccountValue () - { - return (String)get_Value(COLUMNNAME_AccountValue); - } - - /** Account_ID AD_Reference_ID=331 */ - public static final int ACCOUNT_ID_AD_Reference_ID=331; - /** Set Account. - @param Account_ID - Account used - */ - public void setAccount_ID (int Account_ID) - { - if (Account_ID < 1) - set_Value (COLUMNNAME_Account_ID, null); - else - set_Value (COLUMNNAME_Account_ID, Integer.valueOf(Account_ID)); - } - - /** Get Account. - @return Account used - */ - public int getAccount_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Account_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Account Schema Name. - @param AcctSchemaName - Name of the Accounting Schema - */ - public void setAcctSchemaName (String AcctSchemaName) - { - - if (AcctSchemaName != null && AcctSchemaName.length() > 120) - { - log.warning("Length > 120 - truncated"); - AcctSchemaName = AcctSchemaName.substring(0, 120); - } - set_Value (COLUMNNAME_AcctSchemaName, AcctSchemaName); - } - - /** Get Account Schema Name. - @return Name of the Accounting Schema - */ - public String getAcctSchemaName () - { - return (String)get_Value(COLUMNNAME_AcctSchemaName); - } - /** Set Accounted Credit. @param AmtAcctCr Accounted Credit Amount @@ -320,41 +302,12 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return bd; } - /** Set Business Partner Key. - @param BPartnerValue - Key of the Business Partner - */ - public void setBPartnerValue (String BPartnerValue) - { - - if (BPartnerValue != null && BPartnerValue.length() > 80) - { - log.warning("Length > 80 - truncated"); - BPartnerValue = BPartnerValue.substring(0, 80); - } - set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); - } - - /** Get Business Partner Key. - @return Key of the Business Partner - */ - public String getBPartnerValue () - { - return (String)get_Value(COLUMNNAME_BPartnerValue); - } - /** Set Batch Description. @param BatchDescription Description of the Batch */ public void setBatchDescription (String BatchDescription) { - - if (BatchDescription != null && BatchDescription.length() > 510) - { - log.warning("Length > 510 - truncated"); - BatchDescription = BatchDescription.substring(0, 510); - } set_Value (COLUMNNAME_BatchDescription, BatchDescription); } @@ -372,12 +325,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setBatchDocumentNo (String BatchDocumentNo) { - - if (BatchDocumentNo != null && BatchDocumentNo.length() > 60) - { - log.warning("Length > 60 - truncated"); - BatchDocumentNo = BatchDocumentNo.substring(0, 60); - } set_Value (COLUMNNAME_BatchDocumentNo, BatchDocumentNo); } @@ -389,6 +336,23 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_BatchDocumentNo); } + /** Set Business Partner Key. + @param BPartnerValue + Key of the Business Partner + */ + public void setBPartnerValue (String BPartnerValue) + { + set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); + } + + /** Get Business Partner Key. + @return Key of the Business Partner + */ + public String getBPartnerValue () + { + return (String)get_Value(COLUMNNAME_BPartnerValue); + } + public I_C_AcctSchema getC_AcctSchema() throws Exception { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); @@ -467,6 +431,23 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } + /** Set Category Name. + @param CategoryName + Name of the Category + */ + public void setCategoryName (String CategoryName) + { + set_Value (COLUMNNAME_CategoryName, CategoryName); + } + + /** Get Category Name. + @return Name of the Category + */ + public String getCategoryName () + { + return (String)get_Value(COLUMNNAME_CategoryName); + } + public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -646,6 +627,23 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } + /** Set Client Key. + @param ClientValue + Key of the Client + */ + public void setClientValue (String ClientValue) + { + set_Value (COLUMNNAME_ClientValue, ClientValue); + } + + /** Get Client Key. + @return Key of the Client + */ + public String getClientValue () + { + return (String)get_Value(COLUMNNAME_ClientValue); + } + /** Set Location From. @param C_LocFrom_ID Location that inventory was moved from @@ -692,6 +690,23 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } + /** Set Currency Type Key. + @param ConversionTypeValue + Key value for the Currency Conversion Rate Type + */ + public void setConversionTypeValue (String ConversionTypeValue) + { + set_Value (COLUMNNAME_ConversionTypeValue, ConversionTypeValue); + } + + /** Get Currency Type Key. + @return Key value for the Currency Conversion Rate Type + */ + public String getConversionTypeValue () + { + return (String)get_Value(COLUMNNAME_ConversionTypeValue); + } + public I_C_Period getC_Period() throws Exception { Class clazz = MTable.getClass(I_C_Period.Table_Name); @@ -871,114 +886,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_C_ValidCombination getC_ValidCombination() throws Exception - { - Class clazz = MTable.getClass(I_C_ValidCombination.Table_Name); - I_C_ValidCombination result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_ValidCombination)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ValidCombination_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Combination. - @param C_ValidCombination_ID - Valid Account Combination - */ - public void setC_ValidCombination_ID (int C_ValidCombination_ID) - { - if (C_ValidCombination_ID < 1) - set_Value (COLUMNNAME_C_ValidCombination_ID, null); - else - set_Value (COLUMNNAME_C_ValidCombination_ID, Integer.valueOf(C_ValidCombination_ID)); - } - - /** Get Combination. - @return Valid Account Combination - */ - public int getC_ValidCombination_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ValidCombination_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Category Name. - @param CategoryName - Name of the Category - */ - public void setCategoryName (String CategoryName) - { - - if (CategoryName != null && CategoryName.length() > 120) - { - log.warning("Length > 120 - truncated"); - CategoryName = CategoryName.substring(0, 120); - } - set_Value (COLUMNNAME_CategoryName, CategoryName); - } - - /** Get Category Name. - @return Name of the Category - */ - public String getCategoryName () - { - return (String)get_Value(COLUMNNAME_CategoryName); - } - - /** Set Client Key. - @param ClientValue - Key of the Client - */ - public void setClientValue (String ClientValue) - { - - if (ClientValue != null && ClientValue.length() > 80) - { - log.warning("Length > 80 - truncated"); - ClientValue = ClientValue.substring(0, 80); - } - set_Value (COLUMNNAME_ClientValue, ClientValue); - } - - /** Get Client Key. - @return Key of the Client - */ - public String getClientValue () - { - return (String)get_Value(COLUMNNAME_ClientValue); - } - - /** Set Currency Type Key. - @param ConversionTypeValue - Key value for the Currency Conversion Rate Type - */ - public void setConversionTypeValue (String ConversionTypeValue) - { - - if (ConversionTypeValue != null && ConversionTypeValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ConversionTypeValue = ConversionTypeValue.substring(0, 40); - } - set_Value (COLUMNNAME_ConversionTypeValue, ConversionTypeValue); - } - - /** Get Currency Type Key. - @return Key value for the Currency Conversion Rate Type - */ - public String getConversionTypeValue () - { - return (String)get_Value(COLUMNNAME_ConversionTypeValue); - } - /** Set Rate. @param CurrencyRate Currency Conversion Rate @@ -1022,13 +929,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent public void setCurrencyRateType (String CurrencyRateType) { - if (CurrencyRateType == null || CurrencyRateType.equals("S") || CurrencyRateType.equals("P") || CurrencyRateType.equals("N") || CurrencyRateType.equals("F") || CurrencyRateType.equals("A") || CurrencyRateType.equals("C") || CurrencyRateType.equals("U") || CurrencyRateType.equals("M")); else throw new IllegalArgumentException ("CurrencyRateType Invalid value - " + CurrencyRateType + " - Reference_ID=111 - S - P - N - F - A - C - U - M"); - if (CurrencyRateType != null && CurrencyRateType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CurrencyRateType = CurrencyRateType.substring(0, 1); - } - set_Value (COLUMNNAME_CurrencyRateType, CurrencyRateType); + if (CurrencyRateType == null || CurrencyRateType.equals("S") || CurrencyRateType.equals("P") || CurrencyRateType.equals("N") || CurrencyRateType.equals("F") || CurrencyRateType.equals("A") || CurrencyRateType.equals("C") || CurrencyRateType.equals("U") || CurrencyRateType.equals("M")); else throw new IllegalArgumentException ("CurrencyRateType Invalid value - " + CurrencyRateType + " - Reference_ID=111 - S - P - N - F - A - C - U - M"); set_Value (COLUMNNAME_CurrencyRateType, CurrencyRateType); } /** Get CurrencyRateType. @@ -1038,6 +939,45 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_CurrencyRateType); } + public I_C_ValidCombination getC_ValidCombination() throws Exception + { + Class clazz = MTable.getClass(I_C_ValidCombination.Table_Name); + I_C_ValidCombination result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_ValidCombination)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ValidCombination_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Combination. + @param C_ValidCombination_ID + Valid Account Combination + */ + public void setC_ValidCombination_ID (int C_ValidCombination_ID) + { + if (C_ValidCombination_ID < 1) + set_Value (COLUMNNAME_C_ValidCombination_ID, null); + else + set_Value (COLUMNNAME_C_ValidCombination_ID, Integer.valueOf(C_ValidCombination_ID)); + } + + /** Get Combination. + @return Valid Account Combination + */ + public int getC_ValidCombination_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ValidCombination_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Account Date. @param DateAcct Accounting Date @@ -1061,12 +1001,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } @@ -1084,12 +1018,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setDocTypeName (String DocTypeName) { - - if (DocTypeName != null && DocTypeName.length() > 120) - { - log.warning("Length > 120 - truncated"); - DocTypeName = DocTypeName.substring(0, 120); - } set_Value (COLUMNNAME_DocTypeName, DocTypeName); } @@ -1218,45 +1146,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_GL_JournalLine getGL_JournalLine() throws Exception - { - Class clazz = MTable.getClass(I_GL_JournalLine.Table_Name); - I_GL_JournalLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_GL_JournalLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getGL_JournalLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Journal Line. - @param GL_JournalLine_ID - General Ledger Journal Line - */ - public void setGL_JournalLine_ID (int GL_JournalLine_ID) - { - if (GL_JournalLine_ID < 1) - set_Value (COLUMNNAME_GL_JournalLine_ID, null); - else - set_Value (COLUMNNAME_GL_JournalLine_ID, Integer.valueOf(GL_JournalLine_ID)); - } - - /** Get Journal Line. - @return General Ledger Journal Line - */ - public int getGL_JournalLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_GL_JournalLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_GL_Journal getGL_Journal() throws Exception { Class clazz = MTable.getClass(I_GL_Journal.Table_Name); @@ -1296,27 +1185,43 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - /** Set ISO Currency Code. - @param ISO_Code - Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code) - { + public I_GL_JournalLine getGL_JournalLine() throws Exception + { + Class clazz = MTable.getClass(I_GL_JournalLine.Table_Name); + I_GL_JournalLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_GL_JournalLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getGL_JournalLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } - if (ISO_Code != null && ISO_Code.length() > 3) - { - log.warning("Length > 3 - truncated"); - ISO_Code = ISO_Code.substring(0, 3); - } - set_Value (COLUMNNAME_ISO_Code, ISO_Code); + /** Set Journal Line. + @param GL_JournalLine_ID + General Ledger Journal Line + */ + public void setGL_JournalLine_ID (int GL_JournalLine_ID) + { + if (GL_JournalLine_ID < 1) + set_Value (COLUMNNAME_GL_JournalLine_ID, null); + else + set_Value (COLUMNNAME_GL_JournalLine_ID, Integer.valueOf(GL_JournalLine_ID)); } - /** Get ISO Currency Code. - @return Three letter ISO 4217 Code of the Currency + /** Get Journal Line. + @return General Ledger Journal Line */ - public String getISO_Code () + public int getGL_JournalLine_ID () { - return (String)get_Value(COLUMNNAME_ISO_Code); + Integer ii = (Integer)get_Value(COLUMNNAME_GL_JournalLine_ID); + if (ii == null) + return 0; + return ii.intValue(); } /** Set Import Error Message. @@ -1325,12 +1230,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -1399,12 +1298,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setIsDepreciated (String IsDepreciated) { - - if (IsDepreciated != null && IsDepreciated.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsDepreciated = IsDepreciated.substring(0, 1); - } set_Value (COLUMNNAME_IsDepreciated, IsDepreciated); } @@ -1416,18 +1309,29 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_IsDepreciated); } + /** Set ISO Currency Code. + @param ISO_Code + Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code) + { + set_Value (COLUMNNAME_ISO_Code, ISO_Code); + } + + /** Get ISO Currency Code. + @return Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code () + { + return (String)get_Value(COLUMNNAME_ISO_Code); + } + /** Set Journal Document No. @param JournalDocumentNo Document number of the Journal */ public void setJournalDocumentNo (String JournalDocumentNo) { - - if (JournalDocumentNo != null && JournalDocumentNo.length() > 60) - { - log.warning("Length > 60 - truncated"); - JournalDocumentNo = JournalDocumentNo.substring(0, 60); - } set_Value (COLUMNNAME_JournalDocumentNo, JournalDocumentNo); } @@ -1504,12 +1408,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setOrgTrxValue (String OrgTrxValue) { - - if (OrgTrxValue != null && OrgTrxValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - OrgTrxValue = OrgTrxValue.substring(0, 40); - } set_Value (COLUMNNAME_OrgTrxValue, OrgTrxValue); } @@ -1527,12 +1425,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setOrgValue (String OrgValue) { - - if (OrgValue != null && OrgValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - OrgValue = OrgValue.substring(0, 40); - } set_Value (COLUMNNAME_OrgValue, OrgValue); } @@ -1563,13 +1455,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. @@ -1631,12 +1517,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setProductValue (String ProductValue) { - - if (ProductValue != null && ProductValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ProductValue = ProductValue.substring(0, 40); - } set_Value (COLUMNNAME_ProductValue, ProductValue); } @@ -1654,12 +1534,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setProjectValue (String ProjectValue) { - - if (ProjectValue != null && ProjectValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ProjectValue = ProjectValue.substring(0, 40); - } set_Value (COLUMNNAME_ProjectValue, ProjectValue); } @@ -1697,12 +1571,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setSKU (String SKU) { - - if (SKU != null && SKU.length() > 30) - { - log.warning("Length > 30 - truncated"); - SKU = SKU.substring(0, 30); - } set_Value (COLUMNNAME_SKU, SKU); } @@ -1720,12 +1588,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent */ public void setUPC (String UPC) { - - if (UPC != null && UPC.length() > 30) - { - log.warning("Length > 30 - truncated"); - UPC = UPC.substring(0, 30); - } set_Value (COLUMNNAME_UPC, UPC); } @@ -1737,6 +1599,52 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_UPC); } + /** Set User Element 1. + @param UserElement1_ID + User defined accounting Element + */ + public void setUserElement1_ID (int UserElement1_ID) + { + if (UserElement1_ID < 1) + set_Value (COLUMNNAME_UserElement1_ID, null); + else + set_Value (COLUMNNAME_UserElement1_ID, Integer.valueOf(UserElement1_ID)); + } + + /** Get User Element 1. + @return User defined accounting Element + */ + public int getUserElement1_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UserElement1_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set User Element 2. + @param UserElement2_ID + User defined accounting Element + */ + public void setUserElement2_ID (int UserElement2_ID) + { + if (UserElement2_ID < 1) + set_Value (COLUMNNAME_UserElement2_ID, null); + else + set_Value (COLUMNNAME_UserElement2_ID, Integer.valueOf(UserElement2_ID)); + } + + /** Get User Element 2. + @return User defined accounting Element + */ + public int getUserElement2_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_UserElement2_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** User1_ID AD_Reference_ID=134 */ public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @@ -1786,50 +1694,4 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return 0; return ii.intValue(); } - - /** Set User Element 1. - @param UserElement1_ID - User defined accounting Element - */ - public void setUserElement1_ID (int UserElement1_ID) - { - if (UserElement1_ID < 1) - set_Value (COLUMNNAME_UserElement1_ID, null); - else - set_Value (COLUMNNAME_UserElement1_ID, Integer.valueOf(UserElement1_ID)); - } - - /** Get User Element 1. - @return User defined accounting Element - */ - public int getUserElement1_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_UserElement1_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set User Element 2. - @param UserElement2_ID - User defined accounting Element - */ - public void setUserElement2_ID (int UserElement2_ID) - { - if (UserElement2_ID < 1) - set_Value (COLUMNNAME_UserElement2_ID, null); - else - set_Value (COLUMNNAME_UserElement2_ID, Integer.valueOf(UserElement2_ID)); - } - - /** Get User Element 2. - @return User defined accounting Element - */ - public int getUserElement2_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_UserElement2_ID); - if (ii == null) - return 0; - return ii.intValue(); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_I_GLJournal.java b/base/src/org/compiere/model/X_I_GLJournal.java index 2b76cf046e..622ca9aee7 100644 --- a/base/src/org/compiere/model/X_I_GLJournal.java +++ b/base/src/org/compiere/model/X_I_GLJournal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_GLJournal * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent { @@ -76,6 +76,65 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return sb.toString(); } + /** Account_ID AD_Reference_ID=132 */ + public static final int ACCOUNT_ID_AD_Reference_ID=132; + /** Set Account. + @param Account_ID + Account used + */ + public void setAccount_ID (int Account_ID) + { + if (Account_ID < 1) + set_Value (COLUMNNAME_Account_ID, null); + else + set_Value (COLUMNNAME_Account_ID, Integer.valueOf(Account_ID)); + } + + /** Get Account. + @return Account used + */ + public int getAccount_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Account_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Account Key. + @param AccountValue + Key of Account Element + */ + public void setAccountValue (String AccountValue) + { + set_Value (COLUMNNAME_AccountValue, AccountValue); + } + + /** Get Account Key. + @return Key of Account Element + */ + public String getAccountValue () + { + return (String)get_Value(COLUMNNAME_AccountValue); + } + + /** Set Account Schema Name. + @param AcctSchemaName + Name of the Accounting Schema + */ + public void setAcctSchemaName (String AcctSchemaName) + { + set_Value (COLUMNNAME_AcctSchemaName, AcctSchemaName); + } + + /** Get Account Schema Name. + @return Name of the Accounting Schema + */ + public String getAcctSchemaName () + { + return (String)get_Value(COLUMNNAME_AcctSchemaName); + } + /** AD_OrgDoc_ID AD_Reference_ID=130 */ public static final int AD_ORGDOC_ID_AD_Reference_ID=130; /** Set Document Org. @@ -126,77 +185,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return ii.intValue(); } - /** Set Account Key. - @param AccountValue - Key of Account Element - */ - public void setAccountValue (String AccountValue) - { - - if (AccountValue != null && AccountValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - AccountValue = AccountValue.substring(0, 40); - } - set_Value (COLUMNNAME_AccountValue, AccountValue); - } - - /** Get Account Key. - @return Key of Account Element - */ - public String getAccountValue () - { - return (String)get_Value(COLUMNNAME_AccountValue); - } - - /** Account_ID AD_Reference_ID=132 */ - public static final int ACCOUNT_ID_AD_Reference_ID=132; - /** Set Account. - @param Account_ID - Account used - */ - public void setAccount_ID (int Account_ID) - { - if (Account_ID < 1) - set_Value (COLUMNNAME_Account_ID, null); - else - set_Value (COLUMNNAME_Account_ID, Integer.valueOf(Account_ID)); - } - - /** Get Account. - @return Account used - */ - public int getAccount_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Account_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Account Schema Name. - @param AcctSchemaName - Name of the Accounting Schema - */ - public void setAcctSchemaName (String AcctSchemaName) - { - - if (AcctSchemaName != null && AcctSchemaName.length() > 60) - { - log.warning("Length > 60 - truncated"); - AcctSchemaName = AcctSchemaName.substring(0, 60); - } - set_Value (COLUMNNAME_AcctSchemaName, AcctSchemaName); - } - - /** Get Account Schema Name. - @return Name of the Accounting Schema - */ - public String getAcctSchemaName () - { - return (String)get_Value(COLUMNNAME_AcctSchemaName); - } - /** Set Accounted Credit. @param AmtAcctCr Accounted Credit Amount @@ -277,41 +265,12 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return bd; } - /** Set Business Partner Key. - @param BPartnerValue - Key of the Business Partner - */ - public void setBPartnerValue (String BPartnerValue) - { - - if (BPartnerValue != null && BPartnerValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - BPartnerValue = BPartnerValue.substring(0, 40); - } - set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); - } - - /** Get Business Partner Key. - @return Key of the Business Partner - */ - public String getBPartnerValue () - { - return (String)get_Value(COLUMNNAME_BPartnerValue); - } - /** Set Batch Description. @param BatchDescription Description of the Batch */ public void setBatchDescription (String BatchDescription) { - - if (BatchDescription != null && BatchDescription.length() > 255) - { - log.warning("Length > 255 - truncated"); - BatchDescription = BatchDescription.substring(0, 255); - } set_Value (COLUMNNAME_BatchDescription, BatchDescription); } @@ -329,12 +288,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setBatchDocumentNo (String BatchDocumentNo) { - - if (BatchDocumentNo != null && BatchDocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - BatchDocumentNo = BatchDocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_BatchDocumentNo, BatchDocumentNo); } @@ -346,6 +299,23 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return (String)get_Value(COLUMNNAME_BatchDocumentNo); } + /** Set Business Partner Key. + @param BPartnerValue + Key of the Business Partner + */ + public void setBPartnerValue (String BPartnerValue) + { + set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); + } + + /** Get Business Partner Key. + @return Key of the Business Partner + */ + public String getBPartnerValue () + { + return (String)get_Value(COLUMNNAME_BPartnerValue); + } + public I_C_AcctSchema getC_AcctSchema() throws Exception { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); @@ -424,6 +394,23 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return ii.intValue(); } + /** Set Category Name. + @param CategoryName + Name of the Category + */ + public void setCategoryName (String CategoryName) + { + set_Value (COLUMNNAME_CategoryName, CategoryName); + } + + /** Get Category Name. + @return Name of the Category + */ + public String getCategoryName () + { + return (String)get_Value(COLUMNNAME_CategoryName); + } + public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -619,6 +606,23 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return ii.intValue(); } + /** Set Client Key. + @param ClientValue + Key of the Client + */ + public void setClientValue (String ClientValue) + { + set_Value (COLUMNNAME_ClientValue, ClientValue); + } + + /** Get Client Key. + @return Key of the Client + */ + public String getClientValue () + { + return (String)get_Value(COLUMNNAME_ClientValue); + } + /** C_LocFrom_ID AD_Reference_ID=133 */ public static final int C_LOCFROM_ID_AD_Reference_ID=133; /** Set Location From. @@ -669,6 +673,23 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return ii.intValue(); } + /** Set Currency Type Key. + @param ConversionTypeValue + Key value for the Currency Conversion Rate Type + */ + public void setConversionTypeValue (String ConversionTypeValue) + { + set_Value (COLUMNNAME_ConversionTypeValue, ConversionTypeValue); + } + + /** Get Currency Type Key. + @return Key value for the Currency Conversion Rate Type + */ + public String getConversionTypeValue () + { + return (String)get_Value(COLUMNNAME_ConversionTypeValue); + } + public I_C_Period getC_Period() throws Exception { Class clazz = MTable.getClass(I_C_Period.Table_Name); @@ -825,6 +846,26 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return ii.intValue(); } + /** Set Rate. + @param CurrencyRate + Currency Conversion Rate + */ + public void setCurrencyRate (BigDecimal CurrencyRate) + { + set_Value (COLUMNNAME_CurrencyRate, CurrencyRate); + } + + /** Get Rate. + @return Currency Conversion Rate + */ + public BigDecimal getCurrencyRate () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrencyRate); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_ValidCombination getC_ValidCombination() throws Exception { Class clazz = MTable.getClass(I_C_ValidCombination.Table_Name); @@ -864,95 +905,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return ii.intValue(); } - /** Set Category Name. - @param CategoryName - Name of the Category - */ - public void setCategoryName (String CategoryName) - { - - if (CategoryName != null && CategoryName.length() > 60) - { - log.warning("Length > 60 - truncated"); - CategoryName = CategoryName.substring(0, 60); - } - set_Value (COLUMNNAME_CategoryName, CategoryName); - } - - /** Get Category Name. - @return Name of the Category - */ - public String getCategoryName () - { - return (String)get_Value(COLUMNNAME_CategoryName); - } - - /** Set Client Key. - @param ClientValue - Key of the Client - */ - public void setClientValue (String ClientValue) - { - - if (ClientValue != null && ClientValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ClientValue = ClientValue.substring(0, 40); - } - set_Value (COLUMNNAME_ClientValue, ClientValue); - } - - /** Get Client Key. - @return Key of the Client - */ - public String getClientValue () - { - return (String)get_Value(COLUMNNAME_ClientValue); - } - - /** Set Currency Type Key. - @param ConversionTypeValue - Key value for the Currency Conversion Rate Type - */ - public void setConversionTypeValue (String ConversionTypeValue) - { - - if (ConversionTypeValue != null && ConversionTypeValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ConversionTypeValue = ConversionTypeValue.substring(0, 40); - } - set_Value (COLUMNNAME_ConversionTypeValue, ConversionTypeValue); - } - - /** Get Currency Type Key. - @return Key value for the Currency Conversion Rate Type - */ - public String getConversionTypeValue () - { - return (String)get_Value(COLUMNNAME_ConversionTypeValue); - } - - /** Set Rate. - @param CurrencyRate - Currency Conversion Rate - */ - public void setCurrencyRate (BigDecimal CurrencyRate) - { - set_Value (COLUMNNAME_CurrencyRate, CurrencyRate); - } - - /** Get Rate. - @return Currency Conversion Rate - */ - public BigDecimal getCurrencyRate () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrencyRate); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Account Date. @param DateAcct Accounting Date @@ -976,12 +928,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -999,12 +945,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setDocTypeName (String DocTypeName) { - - if (DocTypeName != null && DocTypeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - DocTypeName = DocTypeName.substring(0, 60); - } set_Value (COLUMNNAME_DocTypeName, DocTypeName); } @@ -1133,45 +1073,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return ii.intValue(); } - public I_GL_JournalLine getGL_JournalLine() throws Exception - { - Class clazz = MTable.getClass(I_GL_JournalLine.Table_Name); - I_GL_JournalLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_GL_JournalLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getGL_JournalLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Journal Line. - @param GL_JournalLine_ID - General Ledger Journal Line - */ - public void setGL_JournalLine_ID (int GL_JournalLine_ID) - { - if (GL_JournalLine_ID < 1) - set_Value (COLUMNNAME_GL_JournalLine_ID, null); - else - set_Value (COLUMNNAME_GL_JournalLine_ID, Integer.valueOf(GL_JournalLine_ID)); - } - - /** Get Journal Line. - @return General Ledger Journal Line - */ - public int getGL_JournalLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_GL_JournalLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_GL_Journal getGL_Journal() throws Exception { Class clazz = MTable.getClass(I_GL_Journal.Table_Name); @@ -1211,27 +1112,43 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return ii.intValue(); } - /** Set ISO Currency Code. - @param ISO_Code - Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code) - { + public I_GL_JournalLine getGL_JournalLine() throws Exception + { + Class clazz = MTable.getClass(I_GL_JournalLine.Table_Name); + I_GL_JournalLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_GL_JournalLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getGL_JournalLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } - if (ISO_Code != null && ISO_Code.length() > 3) - { - log.warning("Length > 3 - truncated"); - ISO_Code = ISO_Code.substring(0, 3); - } - set_Value (COLUMNNAME_ISO_Code, ISO_Code); + /** Set Journal Line. + @param GL_JournalLine_ID + General Ledger Journal Line + */ + public void setGL_JournalLine_ID (int GL_JournalLine_ID) + { + if (GL_JournalLine_ID < 1) + set_Value (COLUMNNAME_GL_JournalLine_ID, null); + else + set_Value (COLUMNNAME_GL_JournalLine_ID, Integer.valueOf(GL_JournalLine_ID)); } - /** Get ISO Currency Code. - @return Three letter ISO 4217 Code of the Currency + /** Get Journal Line. + @return General Ledger Journal Line */ - public String getISO_Code () + public int getGL_JournalLine_ID () { - return (String)get_Value(COLUMNNAME_ISO_Code); + Integer ii = (Integer)get_Value(COLUMNNAME_GL_JournalLine_ID); + if (ii == null) + return 0; + return ii.intValue(); } /** Set Import Error Message. @@ -1240,12 +1157,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -1359,18 +1270,29 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return false; } + /** Set ISO Currency Code. + @param ISO_Code + Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code) + { + set_Value (COLUMNNAME_ISO_Code, ISO_Code); + } + + /** Get ISO Currency Code. + @return Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code () + { + return (String)get_Value(COLUMNNAME_ISO_Code); + } + /** Set Journal Document No. @param JournalDocumentNo Document number of the Journal */ public void setJournalDocumentNo (String JournalDocumentNo) { - - if (JournalDocumentNo != null && JournalDocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - JournalDocumentNo = JournalDocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_JournalDocumentNo, JournalDocumentNo); } @@ -1447,12 +1369,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setOrgTrxValue (String OrgTrxValue) { - - if (OrgTrxValue != null && OrgTrxValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - OrgTrxValue = OrgTrxValue.substring(0, 40); - } set_Value (COLUMNNAME_OrgTrxValue, OrgTrxValue); } @@ -1470,12 +1386,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setOrgValue (String OrgValue) { - - if (OrgValue != null && OrgValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - OrgValue = OrgValue.substring(0, 40); - } set_Value (COLUMNNAME_OrgValue, OrgValue); } @@ -1506,13 +1416,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. @@ -1574,12 +1478,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setProductValue (String ProductValue) { - - if (ProductValue != null && ProductValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ProductValue = ProductValue.substring(0, 40); - } set_Value (COLUMNNAME_ProductValue, ProductValue); } @@ -1597,12 +1495,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setProjectValue (String ProjectValue) { - - if (ProjectValue != null && ProjectValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ProjectValue = ProjectValue.substring(0, 40); - } set_Value (COLUMNNAME_ProjectValue, ProjectValue); } @@ -1640,12 +1532,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setSKU (String SKU) { - - if (SKU != null && SKU.length() > 30) - { - log.warning("Length > 30 - truncated"); - SKU = SKU.substring(0, 30); - } set_Value (COLUMNNAME_SKU, SKU); } @@ -1663,12 +1549,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent */ public void setUPC (String UPC) { - - if (UPC != null && UPC.length() > 30) - { - log.warning("Length > 30 - truncated"); - UPC = UPC.substring(0, 30); - } set_Value (COLUMNNAME_UPC, UPC); } diff --git a/base/src/org/compiere/model/X_I_InOutLineConfirm.java b/base/src/org/compiere/model/X_I_InOutLineConfirm.java index 5c16162fd3..4e6193bc80 100644 --- a/base/src/org/compiere/model/X_I_InOutLineConfirm.java +++ b/base/src/org/compiere/model/X_I_InOutLineConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_InOutLineConfirm * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_Persistent { @@ -88,12 +88,6 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ { if (ConfirmationNo == null) throw new IllegalArgumentException ("ConfirmationNo is mandatory."); - - if (ConfirmationNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - ConfirmationNo = ConfirmationNo.substring(0, 20); - } set_Value (COLUMNNAME_ConfirmationNo, ConfirmationNo); } @@ -133,12 +127,6 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -178,12 +166,6 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } diff --git a/base/src/org/compiere/model/X_I_Inventory.java b/base/src/org/compiere/model/X_I_Inventory.java index 1360af21dd..e3bf8773b3 100644 --- a/base/src/org/compiere/model/X_I_Inventory.java +++ b/base/src/org/compiere/model/X_I_Inventory.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_Inventory * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent { @@ -82,12 +82,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -105,12 +99,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -182,12 +170,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setLocatorValue (String LocatorValue) { - - if (LocatorValue != null && LocatorValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - LocatorValue = LocatorValue.substring(0, 40); - } set_Value (COLUMNNAME_LocatorValue, LocatorValue); } @@ -205,12 +187,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setLot (String Lot) { - - if (Lot != null && Lot.length() > 20) - { - log.warning("Length > 20 - truncated"); - Lot = Lot.substring(0, 20); - } set_Value (COLUMNNAME_Lot, Lot); } @@ -222,45 +198,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent return (String)get_Value(COLUMNNAME_Lot); } - public I_M_InventoryLine getM_InventoryLine() throws Exception - { - Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); - I_M_InventoryLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_InventoryLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_InventoryLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Phys.Inventory Line. - @param M_InventoryLine_ID - Unique line in an Inventory document - */ - public void setM_InventoryLine_ID (int M_InventoryLine_ID) - { - if (M_InventoryLine_ID < 1) - set_Value (COLUMNNAME_M_InventoryLine_ID, null); - else - set_Value (COLUMNNAME_M_InventoryLine_ID, Integer.valueOf(M_InventoryLine_ID)); - } - - /** Get Phys.Inventory Line. - @return Unique line in an Inventory document - */ - public int getM_InventoryLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_InventoryLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Inventory getM_Inventory() throws Exception { Class clazz = MTable.getClass(I_M_Inventory.Table_Name); @@ -300,6 +237,45 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent return ii.intValue(); } + public I_M_InventoryLine getM_InventoryLine() throws Exception + { + Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); + I_M_InventoryLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_InventoryLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_InventoryLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Phys.Inventory Line. + @param M_InventoryLine_ID + Unique line in an Inventory document + */ + public void setM_InventoryLine_ID (int M_InventoryLine_ID) + { + if (M_InventoryLine_ID < 1) + set_Value (COLUMNNAME_M_InventoryLine_ID, null); + else + set_Value (COLUMNNAME_M_InventoryLine_ID, Integer.valueOf(M_InventoryLine_ID)); + } + + /** Get Phys.Inventory Line. + @return Unique line in an Inventory document + */ + public int getM_InventoryLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InventoryLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_Locator getM_Locator() throws Exception { Class clazz = MTable.getClass(I_M_Locator.Table_Name); @@ -339,6 +315,23 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent return ii.intValue(); } + /** Set Movement Date. + @param MovementDate + Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate) + { + set_Value (COLUMNNAME_MovementDate, MovementDate); + } + + /** Get Movement Date. + @return Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate () + { + return (Timestamp)get_Value(COLUMNNAME_MovementDate); + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -417,23 +410,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent return ii.intValue(); } - /** Set Movement Date. - @param MovementDate - Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate) - { - set_Value (COLUMNNAME_MovementDate, MovementDate); - } - - /** Get Movement Date. - @return Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate () - { - return (Timestamp)get_Value(COLUMNNAME_MovementDate); - } - /** Set Processed. @param Processed The document has been processed @@ -525,12 +501,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setSerNo (String SerNo) { - - if (SerNo != null && SerNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - SerNo = SerNo.substring(0, 20); - } set_Value (COLUMNNAME_SerNo, SerNo); } @@ -548,12 +518,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setUPC (String UPC) { - - if (UPC != null && UPC.length() > 30) - { - log.warning("Length > 30 - truncated"); - UPC = UPC.substring(0, 30); - } set_Value (COLUMNNAME_UPC, UPC); } @@ -571,12 +535,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -594,12 +552,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setWarehouseValue (String WarehouseValue) { - - if (WarehouseValue != null && WarehouseValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - WarehouseValue = WarehouseValue.substring(0, 40); - } set_Value (COLUMNNAME_WarehouseValue, WarehouseValue); } @@ -617,12 +569,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setX (String X) { - - if (X != null && X.length() > 60) - { - log.warning("Length > 60 - truncated"); - X = X.substring(0, 60); - } set_Value (COLUMNNAME_X, X); } @@ -640,12 +586,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setY (String Y) { - - if (Y != null && Y.length() > 60) - { - log.warning("Length > 60 - truncated"); - Y = Y.substring(0, 60); - } set_Value (COLUMNNAME_Y, Y); } @@ -663,12 +603,6 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent */ public void setZ (String Z) { - - if (Z != null && Z.length() > 60) - { - log.warning("Length > 60 - truncated"); - Z = Z.substring(0, 60); - } set_Value (COLUMNNAME_Z, Z); } diff --git a/base/src/org/compiere/model/X_I_Invoice.java b/base/src/org/compiere/model/X_I_Invoice.java index 33ba1fe50a..d38e7fe1d9 100644 --- a/base/src/org/compiere/model/X_I_Invoice.java +++ b/base/src/org/compiere/model/X_I_Invoice.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for I_Invoice * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent { @@ -75,6 +75,54 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return sb.toString(); } + /** Set ActivityValue. + @param ActivityValue ActivityValue */ + public void setActivityValue (String ActivityValue) + { + set_Value (COLUMNNAME_ActivityValue, ActivityValue); + } + + /** Get ActivityValue. + @return ActivityValue */ + public String getActivityValue () + { + return (String)get_Value(COLUMNNAME_ActivityValue); + } + + /** Set Address 1. + @param Address1 + Address line 1 for this location + */ + public void setAddress1 (String Address1) + { + set_Value (COLUMNNAME_Address1, Address1); + } + + /** Get Address 1. + @return Address line 1 for this location + */ + public String getAddress1 () + { + return (String)get_Value(COLUMNNAME_Address1); + } + + /** Set Address 2. + @param Address2 + Address line 2 for this location + */ + public void setAddress2 (String Address2) + { + set_Value (COLUMNNAME_Address2, Address2); + } + + /** Get Address 2. + @return Address line 2 for this location + */ + public String getAddress2 () + { + return (String)get_Value(COLUMNNAME_Address2); + } + /** AD_OrgTrx_ID AD_Reference_ID=130 */ public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @@ -139,84 +187,12 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return ii.intValue(); } - /** Set ActivityValue. - @param ActivityValue ActivityValue */ - public void setActivityValue (String ActivityValue) - { - - if (ActivityValue != null && ActivityValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ActivityValue = ActivityValue.substring(0, 40); - } - set_Value (COLUMNNAME_ActivityValue, ActivityValue); - } - - /** Get ActivityValue. - @return ActivityValue */ - public String getActivityValue () - { - return (String)get_Value(COLUMNNAME_ActivityValue); - } - - /** Set Address 1. - @param Address1 - Address line 1 for this location - */ - public void setAddress1 (String Address1) - { - - if (Address1 != null && Address1.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address1 = Address1.substring(0, 60); - } - set_Value (COLUMNNAME_Address1, Address1); - } - - /** Get Address 1. - @return Address line 1 for this location - */ - public String getAddress1 () - { - return (String)get_Value(COLUMNNAME_Address1); - } - - /** Set Address 2. - @param Address2 - Address line 2 for this location - */ - public void setAddress2 (String Address2) - { - - if (Address2 != null && Address2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address2 = Address2.substring(0, 60); - } - set_Value (COLUMNNAME_Address2, Address2); - } - - /** Get Address 2. - @return Address line 2 for this location - */ - public String getAddress2 () - { - return (String)get_Value(COLUMNNAME_Address2); - } - /** Set Business Partner Key. @param BPartnerValue Key of the Business Partner */ public void setBPartnerValue (String BPartnerValue) { - - if (BPartnerValue != null && BPartnerValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - BPartnerValue = BPartnerValue.substring(0, 40); - } set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); } @@ -540,43 +516,21 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return ii.intValue(); } - public I_C_InvoiceLine getC_InvoiceLine() throws Exception - { - Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); - I_C_InvoiceLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_InvoiceLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoiceLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Invoice Line. - @param C_InvoiceLine_ID - Invoice Detail Line + /** Set Charge Name. + @param ChargeName + Name of the Charge */ - public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) + public void setChargeName (String ChargeName) { - if (C_InvoiceLine_ID < 1) - set_Value (COLUMNNAME_C_InvoiceLine_ID, null); - else - set_Value (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); + set_Value (COLUMNNAME_ChargeName, ChargeName); } - /** Get Invoice Line. - @return Invoice Detail Line + /** Get Charge Name. + @return Name of the Charge */ - public int getC_InvoiceLine_ID () + public String getChargeName () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); - if (ii == null) - return 0; - return ii.intValue(); + return (String)get_Value(COLUMNNAME_ChargeName); } public I_C_Invoice getC_Invoice() throws Exception @@ -618,6 +572,62 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return ii.intValue(); } + public I_C_InvoiceLine getC_InvoiceLine() throws Exception + { + Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); + I_C_InvoiceLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_InvoiceLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoiceLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Invoice Line. + @param C_InvoiceLine_ID + Invoice Detail Line + */ + public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) + { + if (C_InvoiceLine_ID < 1) + set_Value (COLUMNNAME_C_InvoiceLine_ID, null); + else + set_Value (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID)); + } + + /** Get Invoice Line. + @return Invoice Detail Line + */ + public int getC_InvoiceLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set City. + @param City + Identifies a City + */ + public void setCity (String City) + { + set_Value (COLUMNNAME_City, City); + } + + /** Get City. + @return Identifies a City + */ + public String getCity () + { + return (String)get_Value(COLUMNNAME_City); + } + public I_C_Location getC_Location() throws Exception { Class clazz = MTable.getClass(I_C_Location.Table_Name); @@ -657,6 +667,47 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return ii.intValue(); } + /** Set Contact Name. + @param ContactName + Business Partner Contact Name + */ + public void setContactName (String ContactName) + { + set_Value (COLUMNNAME_ContactName, ContactName); + } + + /** Get Contact Name. + @return Business Partner Contact Name + */ + public String getContactName () + { + return (String)get_Value(COLUMNNAME_ContactName); + } + + /** Set ISO Country Code. + @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 (COLUMNNAME_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 + */ + public boolean isCountryCode () + { + Object oo = get_Value(COLUMNNAME_CountryCode); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + public I_C_PaymentTerm getC_PaymentTerm() throws Exception { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); @@ -813,99 +864,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return ii.intValue(); } - /** Set Charge Name. - @param ChargeName - Name of the Charge - */ - public void setChargeName (String ChargeName) - { - - if (ChargeName != null && ChargeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ChargeName = ChargeName.substring(0, 60); - } - set_Value (COLUMNNAME_ChargeName, ChargeName); - } - - /** Get Charge Name. - @return Name of the Charge - */ - public String getChargeName () - { - return (String)get_Value(COLUMNNAME_ChargeName); - } - - /** Set City. - @param City - Identifies a City - */ - public void setCity (String City) - { - - if (City != null && City.length() > 60) - { - log.warning("Length > 60 - truncated"); - City = City.substring(0, 60); - } - set_Value (COLUMNNAME_City, City); - } - - /** Get City. - @return Identifies a City - */ - public String getCity () - { - return (String)get_Value(COLUMNNAME_City); - } - - /** Set Contact Name. - @param ContactName - Business Partner Contact Name - */ - public void setContactName (String ContactName) - { - - if (ContactName != null && ContactName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ContactName = ContactName.substring(0, 60); - } - set_Value (COLUMNNAME_ContactName, ContactName); - } - - /** Get Contact Name. - @return Business Partner Contact Name - */ - public String getContactName () - { - return (String)get_Value(COLUMNNAME_ContactName); - } - - /** Set ISO Country Code. - @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 (COLUMNNAME_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 - */ - public boolean isCountryCode () - { - Object oo = get_Value(COLUMNNAME_CountryCode); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Account Date. @param DateAcct Accounting Date @@ -946,12 +904,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -969,12 +921,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setDocTypeName (String DocTypeName) { - - if (DocTypeName != null && DocTypeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - DocTypeName = DocTypeName.substring(0, 60); - } set_Value (COLUMNNAME_DocTypeName, DocTypeName); } @@ -992,12 +938,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -1015,12 +955,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -1038,12 +972,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -1131,12 +1059,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setLineDescription (String LineDescription) { - - if (LineDescription != null && LineDescription.length() > 255) - { - log.warning("Length > 255 - truncated"); - LineDescription = LineDescription.substring(0, 255); - } set_Value (COLUMNNAME_LineDescription, LineDescription); } @@ -1232,12 +1154,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1255,12 +1171,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setPaymentTermValue (String PaymentTermValue) { - - if (PaymentTermValue != null && PaymentTermValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - PaymentTermValue = PaymentTermValue.substring(0, 40); - } set_Value (COLUMNNAME_PaymentTermValue, PaymentTermValue); } @@ -1278,12 +1188,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setPhone (String Phone) { - - if (Phone != null && Phone.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone = Phone.substring(0, 40); - } set_Value (COLUMNNAME_Phone, Phone); } @@ -1301,12 +1205,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setPostal (String Postal) { - - if (Postal != null && Postal.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal = Postal.substring(0, 10); - } set_Value (COLUMNNAME_Postal, Postal); } @@ -1389,12 +1287,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setProductValue (String ProductValue) { - - if (ProductValue != null && ProductValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ProductValue = ProductValue.substring(0, 40); - } set_Value (COLUMNNAME_ProductValue, ProductValue); } @@ -1412,12 +1304,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setProjectValue (String ProjectValue) { - - if (ProjectValue != null && ProjectValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ProjectValue = ProjectValue.substring(0, 40); - } set_Value (COLUMNNAME_ProjectValue, ProjectValue); } @@ -1455,12 +1341,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setRegionName (String RegionName) { - - if (RegionName != null && RegionName.length() > 60) - { - log.warning("Length > 60 - truncated"); - RegionName = RegionName.substring(0, 60); - } set_Value (COLUMNNAME_RegionName, RegionName); } @@ -1472,29 +1352,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return (String)get_Value(COLUMNNAME_RegionName); } - /** Set SKU. - @param SKU - Stock Keeping Unit - */ - public void setSKU (String SKU) - { - - if (SKU != null && SKU.length() > 30) - { - log.warning("Length > 30 - truncated"); - SKU = SKU.substring(0, 30); - } - set_Value (COLUMNNAME_SKU, SKU); - } - - /** Get SKU. - @return Stock Keeping Unit - */ - public String getSKU () - { - return (String)get_Value(COLUMNNAME_SKU); - } - /** SalesRep_ID AD_Reference_ID=190 */ public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @@ -1520,6 +1377,23 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return ii.intValue(); } + /** Set SKU. + @param SKU + Stock Keeping Unit + */ + public void setSKU (String SKU) + { + set_Value (COLUMNNAME_SKU, SKU); + } + + /** Get SKU. + @return Stock Keeping Unit + */ + public String getSKU () + { + return (String)get_Value(COLUMNNAME_SKU); + } + /** Set Tax Amount. @param TaxAmt Tax Amount for a document @@ -1546,12 +1420,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setTaxIndicator (String TaxIndicator) { - - if (TaxIndicator != null && TaxIndicator.length() > 10) - { - log.warning("Length > 10 - truncated"); - TaxIndicator = TaxIndicator.substring(0, 10); - } set_Value (COLUMNNAME_TaxIndicator, TaxIndicator); } @@ -1569,12 +1437,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent */ public void setUPC (String UPC) { - - if (UPC != null && UPC.length() > 30) - { - log.warning("Length > 30 - truncated"); - UPC = UPC.substring(0, 30); - } set_Value (COLUMNNAME_UPC, UPC); } diff --git a/base/src/org/compiere/model/X_I_Order.java b/base/src/org/compiere/model/X_I_Order.java index d06a58f4ab..fe0d3ab292 100644 --- a/base/src/org/compiere/model/X_I_Order.java +++ b/base/src/org/compiere/model/X_I_Order.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for I_Order * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_Order extends PO implements I_I_Order, I_Persistent { @@ -75,6 +75,40 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return sb.toString(); } + /** Set Address 1. + @param Address1 + Address line 1 for this location + */ + public void setAddress1 (String Address1) + { + set_Value (COLUMNNAME_Address1, Address1); + } + + /** Get Address 1. + @return Address line 1 for this location + */ + public String getAddress1 () + { + return (String)get_Value(COLUMNNAME_Address1); + } + + /** Set Address 2. + @param Address2 + Address line 2 for this location + */ + public void setAddress2 (String Address2) + { + set_Value (COLUMNNAME_Address2, Address2); + } + + /** Get Address 2. + @return Address line 2 for this location + */ + public String getAddress2 () + { + return (String)get_Value(COLUMNNAME_Address2); + } + /** AD_OrgTrx_ID AD_Reference_ID=130 */ public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @@ -139,75 +173,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return ii.intValue(); } - /** Set Address 1. - @param Address1 - Address line 1 for this location - */ - public void setAddress1 (String Address1) - { - - if (Address1 != null && Address1.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address1 = Address1.substring(0, 60); - } - set_Value (COLUMNNAME_Address1, Address1); - } - - /** Get Address 1. - @return Address line 1 for this location - */ - public String getAddress1 () - { - return (String)get_Value(COLUMNNAME_Address1); - } - - /** Set Address 2. - @param Address2 - Address line 2 for this location - */ - public void setAddress2 (String Address2) - { - - if (Address2 != null && Address2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address2 = Address2.substring(0, 60); - } - set_Value (COLUMNNAME_Address2, Address2); - } - - /** Get Address 2. - @return Address line 2 for this location - */ - public String getAddress2 () - { - return (String)get_Value(COLUMNNAME_Address2); - } - - /** Set Business Partner Key. - @param BPartnerValue - Key of the Business Partner - */ - public void setBPartnerValue (String BPartnerValue) - { - - if (BPartnerValue != null && BPartnerValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - BPartnerValue = BPartnerValue.substring(0, 40); - } - set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); - } - - /** Get Business Partner Key. - @return Key of the Business Partner - */ - public String getBPartnerValue () - { - return (String)get_Value(COLUMNNAME_BPartnerValue); - } - /** BillTo_ID AD_Reference_ID=159 */ public static final int BILLTO_ID_AD_Reference_ID=159; /** Set Invoice To. @@ -233,6 +198,23 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return ii.intValue(); } + /** Set Business Partner Key. + @param BPartnerValue + Key of the Business Partner + */ + public void setBPartnerValue (String BPartnerValue) + { + set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); + } + + /** Get Business Partner Key. + @return Key of the Business Partner + */ + public String getBPartnerValue () + { + return (String)get_Value(COLUMNNAME_BPartnerValue); + } + public I_C_Activity getC_Activity() throws Exception { Class clazz = MTable.getClass(I_C_Activity.Table_Name); @@ -506,6 +488,23 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return ii.intValue(); } + /** Set City. + @param City + Identifies a City + */ + public void setCity (String City) + { + set_Value (COLUMNNAME_City, City); + } + + /** Get City. + @return Identifies a City + */ + public String getCity () + { + return (String)get_Value(COLUMNNAME_City); + } + public I_C_Location getC_Location() throws Exception { Class clazz = MTable.getClass(I_C_Location.Table_Name); @@ -545,6 +544,62 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return ii.intValue(); } + /** Set Contact Name. + @param ContactName + Business Partner Contact Name + */ + public void setContactName (String ContactName) + { + set_Value (COLUMNNAME_ContactName, ContactName); + } + + /** Get Contact Name. + @return Business Partner Contact Name + */ + public String getContactName () + { + return (String)get_Value(COLUMNNAME_ContactName); + } + + public I_C_Order getC_Order() throws Exception + { + Class clazz = MTable.getClass(I_C_Order.Table_Name); + I_C_Order result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Order_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Order. + @param C_Order_ID + Order + */ + public void setC_Order_ID (int C_Order_ID) + { + if (C_Order_ID < 1) + set_Value (COLUMNNAME_C_Order_ID, null); + else + set_Value (COLUMNNAME_C_Order_ID, Integer.valueOf(C_Order_ID)); + } + + /** Get Order. + @return Order + */ + public int getC_Order_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Order_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_OrderLine getC_OrderLine() throws Exception { Class clazz = MTable.getClass(I_C_OrderLine.Table_Name); @@ -584,43 +639,21 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return ii.intValue(); } - public I_C_Order getC_Order() throws Exception - { - Class clazz = MTable.getClass(I_C_Order.Table_Name); - I_C_Order result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Order_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Order. - @param C_Order_ID - Order + /** Set ISO Country Code. + @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 setC_Order_ID (int C_Order_ID) + public void setCountryCode (String CountryCode) { - if (C_Order_ID < 1) - set_Value (COLUMNNAME_C_Order_ID, null); - else - set_Value (COLUMNNAME_C_Order_ID, Integer.valueOf(C_Order_ID)); + set_Value (COLUMNNAME_CountryCode, CountryCode); } - /** Get Order. - @return Order + /** 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 */ - public int getC_Order_ID () + public String getCountryCode () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Order_ID); - if (ii == null) - return 0; - return ii.intValue(); + return (String)get_Value(COLUMNNAME_CountryCode); } public I_C_PaymentTerm getC_PaymentTerm() throws Exception @@ -818,75 +851,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return ii.intValue(); } - /** Set City. - @param City - Identifies a City - */ - public void setCity (String City) - { - - if (City != null && City.length() > 60) - { - log.warning("Length > 60 - truncated"); - City = City.substring(0, 60); - } - set_Value (COLUMNNAME_City, City); - } - - /** Get City. - @return Identifies a City - */ - public String getCity () - { - return (String)get_Value(COLUMNNAME_City); - } - - /** Set Contact Name. - @param ContactName - Business Partner Contact Name - */ - public void setContactName (String ContactName) - { - - if (ContactName != null && ContactName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ContactName = ContactName.substring(0, 60); - } - set_Value (COLUMNNAME_ContactName, ContactName); - } - - /** Get Contact Name. - @return Business Partner Contact Name - */ - public String getContactName () - { - return (String)get_Value(COLUMNNAME_ContactName); - } - - /** Set ISO Country Code. - @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 (String CountryCode) - { - - if (CountryCode != null && CountryCode.length() > 2) - { - log.warning("Length > 2 - truncated"); - CountryCode = CountryCode.substring(0, 2); - } - set_Value (COLUMNNAME_CountryCode, 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 - */ - public String getCountryCode () - { - return (String)get_Value(COLUMNNAME_CountryCode); - } - /** Set Account Date. @param DateAcct Accounting Date @@ -927,12 +891,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -950,12 +908,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setDocTypeName (String DocTypeName) { - - if (DocTypeName != null && DocTypeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - DocTypeName = DocTypeName.substring(0, 60); - } set_Value (COLUMNNAME_DocTypeName, DocTypeName); } @@ -973,12 +925,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -996,12 +942,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -1039,12 +979,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -1132,12 +1066,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setLineDescription (String LineDescription) { - - if (LineDescription != null && LineDescription.length() > 255) - { - log.warning("Length > 255 - truncated"); - LineDescription = LineDescription.substring(0, 255); - } set_Value (COLUMNNAME_LineDescription, LineDescription); } @@ -1311,12 +1239,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1334,12 +1256,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setPaymentTermValue (String PaymentTermValue) { - - if (PaymentTermValue != null && PaymentTermValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - PaymentTermValue = PaymentTermValue.substring(0, 40); - } set_Value (COLUMNNAME_PaymentTermValue, PaymentTermValue); } @@ -1357,12 +1273,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setPhone (String Phone) { - - if (Phone != null && Phone.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone = Phone.substring(0, 40); - } set_Value (COLUMNNAME_Phone, Phone); } @@ -1380,12 +1290,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setPostal (String Postal) { - - if (Postal != null && Postal.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal = Postal.substring(0, 10); - } set_Value (COLUMNNAME_Postal, Postal); } @@ -1468,12 +1372,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setProductValue (String ProductValue) { - - if (ProductValue != null && ProductValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ProductValue = ProductValue.substring(0, 40); - } set_Value (COLUMNNAME_ProductValue, ProductValue); } @@ -1511,12 +1409,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setRegionName (String RegionName) { - - if (RegionName != null && RegionName.length() > 60) - { - log.warning("Length > 60 - truncated"); - RegionName = RegionName.substring(0, 60); - } set_Value (COLUMNNAME_RegionName, RegionName); } @@ -1528,29 +1420,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return (String)get_Value(COLUMNNAME_RegionName); } - /** Set SKU. - @param SKU - Stock Keeping Unit - */ - public void setSKU (String SKU) - { - - if (SKU != null && SKU.length() > 30) - { - log.warning("Length > 30 - truncated"); - SKU = SKU.substring(0, 30); - } - set_Value (COLUMNNAME_SKU, SKU); - } - - /** Get SKU. - @return Stock Keeping Unit - */ - public String getSKU () - { - return (String)get_Value(COLUMNNAME_SKU); - } - /** SalesRep_ID AD_Reference_ID=190 */ public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @@ -1576,6 +1445,23 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return ii.intValue(); } + /** Set SKU. + @param SKU + Stock Keeping Unit + */ + public void setSKU (String SKU) + { + set_Value (COLUMNNAME_SKU, SKU); + } + + /** Get SKU. + @return Stock Keeping Unit + */ + public String getSKU () + { + return (String)get_Value(COLUMNNAME_SKU); + } + /** Set Tax Amount. @param TaxAmt Tax Amount for a document @@ -1602,12 +1488,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setTaxIndicator (String TaxIndicator) { - - if (TaxIndicator != null && TaxIndicator.length() > 10) - { - log.warning("Length > 10 - truncated"); - TaxIndicator = TaxIndicator.substring(0, 10); - } set_Value (COLUMNNAME_TaxIndicator, TaxIndicator); } @@ -1625,12 +1505,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent */ public void setUPC (String UPC) { - - if (UPC != null && UPC.length() > 30) - { - log.warning("Length > 30 - truncated"); - UPC = UPC.substring(0, 30); - } set_Value (COLUMNNAME_UPC, UPC); } diff --git a/base/src/org/compiere/model/X_I_Payment.java b/base/src/org/compiere/model/X_I_Payment.java index e38b5ddf4b..c0b6a59138 100644 --- a/base/src/org/compiere/model/X_I_Payment.java +++ b/base/src/org/compiere/model/X_I_Payment.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for I_Payment * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent { @@ -75,18 +75,29 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return sb.toString(); } + /** Set Account No. + @param AccountNo + Account Number + */ + public void setAccountNo (String AccountNo) + { + set_Value (COLUMNNAME_AccountNo, AccountNo); + } + + /** Get Account No. + @return Account Number + */ + public String getAccountNo () + { + return (String)get_Value(COLUMNNAME_AccountNo); + } + /** Set Account City. @param A_City City or the Credit Card or Account Holder */ public void setA_City (String A_City) { - - if (A_City != null && A_City.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_City = A_City.substring(0, 60); - } set_Value (COLUMNNAME_A_City, A_City); } @@ -104,12 +115,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setA_Country (String A_Country) { - - if (A_Country != null && A_Country.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_Country = A_Country.substring(0, 40); - } set_Value (COLUMNNAME_A_Country, A_Country); } @@ -127,12 +132,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setA_EMail (String A_EMail) { - - if (A_EMail != null && A_EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_EMail = A_EMail.substring(0, 60); - } set_Value (COLUMNNAME_A_EMail, A_EMail); } @@ -150,12 +149,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setA_Ident_DL (String A_Ident_DL) { - - if (A_Ident_DL != null && A_Ident_DL.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Ident_DL = A_Ident_DL.substring(0, 20); - } set_Value (COLUMNNAME_A_Ident_DL, A_Ident_DL); } @@ -173,12 +166,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setA_Ident_SSN (String A_Ident_SSN) { - - if (A_Ident_SSN != null && A_Ident_SSN.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Ident_SSN = A_Ident_SSN.substring(0, 20); - } set_Value (COLUMNNAME_A_Ident_SSN, A_Ident_SSN); } @@ -196,12 +183,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setA_Name (String A_Name) { - - if (A_Name != null && A_Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_Name = A_Name.substring(0, 60); - } set_Value (COLUMNNAME_A_Name, A_Name); } @@ -219,12 +200,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setA_State (String A_State) { - - if (A_State != null && A_State.length() > 40) - { - log.warning("Length > 40 - truncated"); - A_State = A_State.substring(0, 40); - } set_Value (COLUMNNAME_A_State, A_State); } @@ -242,12 +217,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setA_Street (String A_Street) { - - if (A_Street != null && A_Street.length() > 60) - { - log.warning("Length > 60 - truncated"); - A_Street = A_Street.substring(0, 60); - } set_Value (COLUMNNAME_A_Street, A_Street); } @@ -265,12 +234,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setA_Zip (String A_Zip) { - - if (A_Zip != null && A_Zip.length() > 20) - { - log.warning("Length > 20 - truncated"); - A_Zip = A_Zip.substring(0, 20); - } set_Value (COLUMNNAME_A_Zip, A_Zip); } @@ -282,64 +245,12 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return (String)get_Value(COLUMNNAME_A_Zip); } - /** Set Account No. - @param AccountNo - Account Number - */ - public void setAccountNo (String AccountNo) - { - - if (AccountNo != null && AccountNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - AccountNo = AccountNo.substring(0, 20); - } - set_Value (COLUMNNAME_AccountNo, AccountNo); - } - - /** Get Account No. - @return Account Number - */ - public String getAccountNo () - { - return (String)get_Value(COLUMNNAME_AccountNo); - } - - /** Set Business Partner Key. - @param BPartnerValue - Key of the Business Partner - */ - public void setBPartnerValue (String BPartnerValue) - { - - if (BPartnerValue != null && BPartnerValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - BPartnerValue = BPartnerValue.substring(0, 40); - } - set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); - } - - /** Get Business Partner Key. - @return Key of the Business Partner - */ - public String getBPartnerValue () - { - return (String)get_Value(COLUMNNAME_BPartnerValue); - } - /** Set Bank Account No. @param BankAccountNo Bank Account Number */ public void setBankAccountNo (String BankAccountNo) { - - if (BankAccountNo != null && BankAccountNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - BankAccountNo = BankAccountNo.substring(0, 20); - } set_Value (COLUMNNAME_BankAccountNo, BankAccountNo); } @@ -351,43 +262,21 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return (String)get_Value(COLUMNNAME_BankAccountNo); } - public I_C_BPartner getC_BPartner() throws Exception - { - Class clazz = MTable.getClass(I_C_BPartner.Table_Name); - I_C_BPartner result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BPartner)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Business Partner . - @param C_BPartner_ID - Identifies a Business Partner + /** Set Business Partner Key. + @param BPartnerValue + Key of the Business Partner */ - public void setC_BPartner_ID (int C_BPartner_ID) + public void setBPartnerValue (String BPartnerValue) { - if (C_BPartner_ID < 1) - set_Value (COLUMNNAME_C_BPartner_ID, null); - else - set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID)); + set_Value (COLUMNNAME_BPartnerValue, BPartnerValue); } - /** Get Business Partner . - @return Identifies a Business Partner + /** Get Business Partner Key. + @return Key of the Business Partner */ - public int getC_BPartner_ID () + public String getBPartnerValue () { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID); - if (ii == null) - return 0; - return ii.intValue(); + return (String)get_Value(COLUMNNAME_BPartnerValue); } public I_C_BankAccount getC_BankAccount() throws Exception @@ -429,6 +318,45 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return ii.intValue(); } + public I_C_BPartner getC_BPartner() throws Exception + { + Class clazz = MTable.getClass(I_C_BPartner.Table_Name); + I_C_BPartner result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_BPartner)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Business Partner . + @param C_BPartner_ID + Identifies a Business Partner + */ + public void setC_BPartner_ID (int C_BPartner_ID) + { + if (C_BPartner_ID < 1) + set_Value (COLUMNNAME_C_BPartner_ID, null); + else + set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID)); + } + + /** Get Business Partner . + @return Identifies a Business Partner + */ + public int getC_BPartner_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Charge getC_Charge() throws Exception { Class clazz = MTable.getClass(I_C_Charge.Table_Name); @@ -546,6 +474,60 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return ii.intValue(); } + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Charge Name. + @param ChargeName + Name of the Charge + */ + public void setChargeName (String ChargeName) + { + set_Value (COLUMNNAME_ChargeName, ChargeName); + } + + /** Get Charge Name. + @return Name of the Charge + */ + public String getChargeName () + { + return (String)get_Value(COLUMNNAME_ChargeName); + } + + /** Set Check No. + @param CheckNo + Check Number + */ + public void setCheckNo (String CheckNo) + { + set_Value (COLUMNNAME_CheckNo, CheckNo); + } + + /** Get Check No. + @return Check Number + */ + public String getCheckNo () + { + return (String)get_Value(COLUMNNAME_CheckNo); + } + public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -624,72 +606,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Charge Name. - @param ChargeName - Name of the Charge - */ - public void setChargeName (String ChargeName) - { - - if (ChargeName != null && ChargeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ChargeName = ChargeName.substring(0, 60); - } - set_Value (COLUMNNAME_ChargeName, ChargeName); - } - - /** Get Charge Name. - @return Name of the Charge - */ - public String getChargeName () - { - return (String)get_Value(COLUMNNAME_ChargeName); - } - - /** Set Check No. - @param CheckNo - Check Number - */ - public void setCheckNo (String CheckNo) - { - - if (CheckNo != null && CheckNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - CheckNo = CheckNo.substring(0, 20); - } - set_Value (COLUMNNAME_CheckNo, CheckNo); - } - - /** Get Check No. - @return Check Number - */ - public String getCheckNo () - { - return (String)get_Value(COLUMNNAME_CheckNo); - } - /** Set Exp. Month. @param CreditCardExpMM Expiry Month @@ -736,12 +652,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setCreditCardNumber (String CreditCardNumber) { - - if (CreditCardNumber != null && CreditCardNumber.length() > 20) - { - log.warning("Length > 20 - truncated"); - CreditCardNumber = CreditCardNumber.substring(0, 20); - } set_Value (COLUMNNAME_CreditCardNumber, CreditCardNumber); } @@ -776,13 +686,7 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public void setCreditCardType (String CreditCardType) { - if (CreditCardType == null || CreditCardType.equals("A") || CreditCardType.equals("M") || CreditCardType.equals("V") || CreditCardType.equals("C") || CreditCardType.equals("D") || CreditCardType.equals("N") || CreditCardType.equals("P")); else throw new IllegalArgumentException ("CreditCardType Invalid value - " + CreditCardType + " - Reference_ID=149 - A - M - V - C - D - N - P"); - if (CreditCardType != null && CreditCardType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreditCardType = CreditCardType.substring(0, 1); - } - set_Value (COLUMNNAME_CreditCardType, CreditCardType); + if (CreditCardType == null || CreditCardType.equals("A") || CreditCardType.equals("M") || CreditCardType.equals("V") || CreditCardType.equals("C") || CreditCardType.equals("D") || CreditCardType.equals("N") || CreditCardType.equals("P")); else throw new IllegalArgumentException ("CreditCardType Invalid value - " + CreditCardType + " - Reference_ID=149 - A - M - V - C - D - N - P"); set_Value (COLUMNNAME_CreditCardType, CreditCardType); } /** Get Credit Card. @@ -799,12 +703,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setCreditCardVV (String CreditCardVV) { - - if (CreditCardVV != null && CreditCardVV.length() > 4) - { - log.warning("Length > 4 - truncated"); - CreditCardVV = CreditCardVV.substring(0, 4); - } set_Value (COLUMNNAME_CreditCardVV, CreditCardVV); } @@ -876,12 +774,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setDocTypeName (String DocTypeName) { - - if (DocTypeName != null && DocTypeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - DocTypeName = DocTypeName.substring(0, 60); - } set_Value (COLUMNNAME_DocTypeName, DocTypeName); } @@ -899,12 +791,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -916,41 +802,12 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return (String)get_Value(COLUMNNAME_DocumentNo); } - /** Set ISO Currency Code. - @param ISO_Code - Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code) - { - - if (ISO_Code != null && ISO_Code.length() > 3) - { - log.warning("Length > 3 - truncated"); - ISO_Code = ISO_Code.substring(0, 3); - } - set_Value (COLUMNNAME_ISO_Code, ISO_Code); - } - - /** Get ISO Currency Code. - @return Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code () - { - return (String)get_Value(COLUMNNAME_ISO_Code); - } - /** Set Import Error Message. @param I_ErrorMsg Messages generated from import process */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -986,6 +843,23 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return false; } + /** Set Invoice Document No. + @param InvoiceDocumentNo + Document Number of the Invoice + */ + public void setInvoiceDocumentNo (String InvoiceDocumentNo) + { + set_Value (COLUMNNAME_InvoiceDocumentNo, InvoiceDocumentNo); + } + + /** Get Invoice Document No. + @return Document Number of the Invoice + */ + public String getInvoiceDocumentNo () + { + return (String)get_Value(COLUMNNAME_InvoiceDocumentNo); + } + /** Set Import Payment. @param I_Payment_ID Import Payment @@ -1008,29 +882,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return ii.intValue(); } - /** Set Invoice Document No. - @param InvoiceDocumentNo - Document Number of the Invoice - */ - public void setInvoiceDocumentNo (String InvoiceDocumentNo) - { - - if (InvoiceDocumentNo != null && InvoiceDocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - InvoiceDocumentNo = InvoiceDocumentNo.substring(0, 30); - } - set_Value (COLUMNNAME_InvoiceDocumentNo, InvoiceDocumentNo); - } - - /** Get Invoice Document No. - @return Document Number of the Invoice - */ - public String getInvoiceDocumentNo () - { - return (String)get_Value(COLUMNNAME_InvoiceDocumentNo); - } - /** Set Approved. @param IsApproved Indicates if this document requires approval @@ -1079,6 +930,23 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return false; } + /** Set ISO Currency Code. + @param ISO_Code + Three letter ISO 4217 Code of the Currency + */ + public void setISO_Code (String ISO_Code) + { + set_Value (COLUMNNAME_ISO_Code, ISO_Code); + } + + /** Get ISO Currency Code. + @return Three letter ISO 4217 Code of the Currency + */ + public String getISO_Code () + { + return (String)get_Value(COLUMNNAME_ISO_Code); + } + /** Set Over/Under Payment. @param IsOverUnderPayment Over-Payment (unallocated) or Under-Payment (partial payment) @@ -1157,12 +1025,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setMicr (String Micr) { - - if (Micr != null && Micr.length() > 20) - { - log.warning("Length > 20 - truncated"); - Micr = Micr.substring(0, 20); - } set_Value (COLUMNNAME_Micr, Micr); } @@ -1180,12 +1042,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setOrig_TrxID (String Orig_TrxID) { - - if (Orig_TrxID != null && Orig_TrxID.length() > 20) - { - log.warning("Length > 20 - truncated"); - Orig_TrxID = Orig_TrxID.substring(0, 20); - } set_Value (COLUMNNAME_Orig_TrxID, Orig_TrxID); } @@ -1217,29 +1073,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return bd; } - /** Set PO Number. - @param PONum - Purchase Order Number - */ - public void setPONum (String PONum) - { - - if (PONum != null && PONum.length() > 60) - { - log.warning("Length > 60 - truncated"); - PONum = PONum.substring(0, 60); - } - set_Value (COLUMNNAME_PONum, PONum); - } - - /** Get PO Number. - @return Purchase Order Number - */ - public String getPONum () - { - return (String)get_Value(COLUMNNAME_PONum); - } - /** Set Payment amount. @param PayAmt Amount being paid @@ -1260,6 +1093,23 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return bd; } + /** Set PO Number. + @param PONum + Purchase Order Number + */ + public void setPONum (String PONum) + { + set_Value (COLUMNNAME_PONum, PONum); + } + + /** Get PO Number. + @return Purchase Order Number + */ + public String getPONum () + { + return (String)get_Value(COLUMNNAME_PONum); + } + /** Set Processed. @param Processed The document has been processed @@ -1311,12 +1161,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setR_AuthCode (String R_AuthCode) { - - if (R_AuthCode != null && R_AuthCode.length() > 20) - { - log.warning("Length > 20 - truncated"); - R_AuthCode = R_AuthCode.substring(0, 20); - } set_Value (COLUMNNAME_R_AuthCode, R_AuthCode); } @@ -1334,12 +1178,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setR_Info (String R_Info) { - - if (R_Info != null && R_Info.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - R_Info = R_Info.substring(0, 2000); - } set_Value (COLUMNNAME_R_Info, R_Info); } @@ -1351,18 +1189,29 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return (String)get_Value(COLUMNNAME_R_Info); } + /** Set Routing No. + @param RoutingNo + Bank Routing Number + */ + public void setRoutingNo (String RoutingNo) + { + set_Value (COLUMNNAME_RoutingNo, RoutingNo); + } + + /** Get Routing No. + @return Bank Routing Number + */ + public String getRoutingNo () + { + return (String)get_Value(COLUMNNAME_RoutingNo); + } + /** Set Reference. @param R_PnRef Payment reference */ public void setR_PnRef (String R_PnRef) { - - if (R_PnRef != null && R_PnRef.length() > 20) - { - log.warning("Length > 20 - truncated"); - R_PnRef = R_PnRef.substring(0, 20); - } set_Value (COLUMNNAME_R_PnRef, R_PnRef); } @@ -1380,12 +1229,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setR_RespMsg (String R_RespMsg) { - - if (R_RespMsg != null && R_RespMsg.length() > 60) - { - log.warning("Length > 60 - truncated"); - R_RespMsg = R_RespMsg.substring(0, 60); - } set_Value (COLUMNNAME_R_RespMsg, R_RespMsg); } @@ -1403,12 +1246,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setR_Result (String R_Result) { - - if (R_Result != null && R_Result.length() > 20) - { - log.warning("Length > 20 - truncated"); - R_Result = R_Result.substring(0, 20); - } set_Value (COLUMNNAME_R_Result, R_Result); } @@ -1420,41 +1257,12 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent return (String)get_Value(COLUMNNAME_R_Result); } - /** Set Routing No. - @param RoutingNo - Bank Routing Number - */ - public void setRoutingNo (String RoutingNo) - { - - if (RoutingNo != null && RoutingNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - RoutingNo = RoutingNo.substring(0, 20); - } - set_Value (COLUMNNAME_RoutingNo, RoutingNo); - } - - /** Get Routing No. - @return Bank Routing Number - */ - public String getRoutingNo () - { - return (String)get_Value(COLUMNNAME_RoutingNo); - } - /** Set Swipe. @param Swipe Track 1 and 2 of the Credit Card */ public void setSwipe (String Swipe) { - - if (Swipe != null && Swipe.length() > 80) - { - log.warning("Length > 80 - truncated"); - Swipe = Swipe.substring(0, 80); - } set_Value (COLUMNNAME_Swipe, Swipe); } @@ -1505,13 +1313,7 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public void setTenderType (String TenderType) { - if (TenderType == null || TenderType.equals("C") || TenderType.equals("K") || TenderType.equals("A") || TenderType.equals("D") || TenderType.equals("T")); else throw new IllegalArgumentException ("TenderType Invalid value - " + TenderType + " - Reference_ID=214 - C - K - A - D - T"); - if (TenderType != null && TenderType.length() > 1) - { - log.warning("Length > 1 - truncated"); - TenderType = TenderType.substring(0, 1); - } - set_Value (COLUMNNAME_TenderType, TenderType); + if (TenderType == null || TenderType.equals("C") || TenderType.equals("K") || TenderType.equals("A") || TenderType.equals("D") || TenderType.equals("T")); else throw new IllegalArgumentException ("TenderType Invalid value - " + TenderType + " - Reference_ID=214 - C - K - A - D - T"); set_Value (COLUMNNAME_TenderType, TenderType); } /** Get Tender type. @@ -1543,13 +1345,7 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public void setTrxType (String TrxType) { - if (TrxType == null || TrxType.equals("S") || TrxType.equals("D") || TrxType.equals("C") || TrxType.equals("F") || TrxType.equals("A") || TrxType.equals("V")); else throw new IllegalArgumentException ("TrxType Invalid value - " + TrxType + " - Reference_ID=215 - S - D - C - F - A - V"); - if (TrxType != null && TrxType.length() > 1) - { - log.warning("Length > 1 - truncated"); - TrxType = TrxType.substring(0, 1); - } - set_Value (COLUMNNAME_TrxType, TrxType); + if (TrxType == null || TrxType.equals("S") || TrxType.equals("D") || TrxType.equals("C") || TrxType.equals("F") || TrxType.equals("A") || TrxType.equals("V")); else throw new IllegalArgumentException ("TrxType Invalid value - " + TrxType + " - Reference_ID=215 - S - D - C - F - A - V"); set_Value (COLUMNNAME_TrxType, TrxType); } /** Get Transaction Type. @@ -1566,12 +1362,6 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent */ public void setVoiceAuthCode (String VoiceAuthCode) { - - if (VoiceAuthCode != null && VoiceAuthCode.length() > 20) - { - log.warning("Length > 20 - truncated"); - VoiceAuthCode = VoiceAuthCode.substring(0, 20); - } set_Value (COLUMNNAME_VoiceAuthCode, VoiceAuthCode); } diff --git a/base/src/org/compiere/model/X_I_Product.java b/base/src/org/compiere/model/X_I_Product.java index 586b51633f..2ea7a80c1d 100644 --- a/base/src/org/compiere/model/X_I_Product.java +++ b/base/src/org/compiere/model/X_I_Product.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_Product * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_Product extends PO implements I_I_Product, I_Persistent { @@ -82,12 +82,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent */ public void setBPartner_Value (String BPartner_Value) { - - if (BPartner_Value != null && BPartner_Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - BPartner_Value = BPartner_Value.substring(0, 40); - } set_Value (COLUMNNAME_BPartner_Value, BPartner_Value); } @@ -177,6 +171,43 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return ii.intValue(); } + /** Set Classification. + @param Classification + Classification for grouping + */ + public void setClassification (String Classification) + { + set_Value (COLUMNNAME_Classification, Classification); + } + + /** Get Classification. + @return Classification for grouping + */ + public String getClassification () + { + return (String)get_Value(COLUMNNAME_Classification); + } + + /** Set Cost per Order. + @param CostPerOrder + Fixed Cost Per Order + */ + public void setCostPerOrder (BigDecimal CostPerOrder) + { + set_Value (COLUMNNAME_CostPerOrder, CostPerOrder); + } + + /** Get Cost per Order. + @return Fixed Cost Per Order + */ + public BigDecimal getCostPerOrder () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CostPerOrder); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_UOM getC_UOM() throws Exception { Class clazz = MTable.getClass(I_C_UOM.Table_Name); @@ -216,49 +247,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return ii.intValue(); } - /** Set Classification. - @param Classification - Classification for grouping - */ - public void setClassification (String Classification) - { - - if (Classification != null && Classification.length() > 1) - { - log.warning("Length > 1 - truncated"); - Classification = Classification.substring(0, 1); - } - set_Value (COLUMNNAME_Classification, Classification); - } - - /** Get Classification. - @return Classification for grouping - */ - public String getClassification () - { - return (String)get_Value(COLUMNNAME_Classification); - } - - /** Set Cost per Order. - @param CostPerOrder - Fixed Cost Per Order - */ - public void setCostPerOrder (BigDecimal CostPerOrder) - { - set_Value (COLUMNNAME_CostPerOrder, CostPerOrder); - } - - /** Get Cost per Order. - @return Fixed Cost Per Order - */ - public BigDecimal getCostPerOrder () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CostPerOrder); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Promised Delivery Time. @param DeliveryTime_Promised Promised days between order and delivery @@ -285,12 +273,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -308,12 +290,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent */ public void setDescriptionURL (String DescriptionURL) { - - if (DescriptionURL != null && DescriptionURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - DescriptionURL = DescriptionURL.substring(0, 120); - } set_Value (COLUMNNAME_DescriptionURL, DescriptionURL); } @@ -372,12 +348,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent */ public void setDocumentNote (String DocumentNote) { - - if (DocumentNote != null && DocumentNote.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DocumentNote = DocumentNote.substring(0, 2000); - } set_Value (COLUMNNAME_DocumentNote, DocumentNote); } @@ -395,12 +365,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -412,41 +376,12 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return (String)get_Value(COLUMNNAME_Help); } - /** Set ISO Currency Code. - @param ISO_Code - Three letter ISO 4217 Code of the Currency - */ - public void setISO_Code (String ISO_Code) - { - - if (ISO_Code != null && ISO_Code.length() > 3) - { - log.warning("Length > 3 - truncated"); - ISO_Code = ISO_Code.substring(0, 3); - } - set_Value (COLUMNNAME_ISO_Code, ISO_Code); - } - - /** Get ISO Currency Code. - @return Three letter ISO 4217 Code of the Currency - */ - public String getISO_Code () - { - return (String)get_Value(COLUMNNAME_ISO_Code); - } - /** Set Import Error Message. @param I_ErrorMsg Messages generated from import process */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -482,6 +417,23 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return false; } + /** Set Image URL. + @param ImageURL + URL of image + */ + public void setImageURL (String ImageURL) + { + set_Value (COLUMNNAME_ImageURL, ImageURL); + } + + /** Get Image URL. + @return URL of image + */ + public String getImageURL () + { + return (String)get_Value(COLUMNNAME_ImageURL); + } + /** Set Import Product. @param I_Product_ID Import Item or Service @@ -504,27 +456,38 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return ii.intValue(); } - /** Set Image URL. - @param ImageURL - URL of image + /** Set ISO Currency Code. + @param ISO_Code + Three letter ISO 4217 Code of the Currency */ - public void setImageURL (String ImageURL) + public void setISO_Code (String ISO_Code) { - - if (ImageURL != null && ImageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - ImageURL = ImageURL.substring(0, 120); - } - set_Value (COLUMNNAME_ImageURL, ImageURL); + set_Value (COLUMNNAME_ISO_Code, ISO_Code); } - /** Get Image URL. - @return URL of image + /** Get ISO Currency Code. + @return Three letter ISO 4217 Code of the Currency */ - public String getImageURL () + public String getISO_Code () { - return (String)get_Value(COLUMNNAME_ImageURL); + return (String)get_Value(COLUMNNAME_ISO_Code); + } + + /** Set Manufacturer. + @param Manufacturer + Manufacturer of the Product + */ + public void setManufacturer (String Manufacturer) + { + set_Value (COLUMNNAME_Manufacturer, Manufacturer); + } + + /** Get Manufacturer. + @return Manufacturer of the Product + */ + public String getManufacturer () + { + return (String)get_Value(COLUMNNAME_Manufacturer); } public I_M_Product_Category getM_Product_Category() throws Exception @@ -605,41 +568,12 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return ii.intValue(); } - /** Set Manufacturer. - @param Manufacturer - Manufacturer of the Product - */ - public void setManufacturer (String Manufacturer) - { - - if (Manufacturer != null && Manufacturer.length() > 30) - { - log.warning("Length > 30 - truncated"); - Manufacturer = Manufacturer.substring(0, 30); - } - set_Value (COLUMNNAME_Manufacturer, Manufacturer); - } - - /** Get Manufacturer. - @return Manufacturer of the Product - */ - public String getManufacturer () - { - return (String)get_Value(COLUMNNAME_Manufacturer); - } - /** Set Name. @param Name Alphanumeric identifier of the entity */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -837,12 +771,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent @param ProductCategory_Value Product Category Key */ public void setProductCategory_Value (String ProductCategory_Value) { - - if (ProductCategory_Value != null && ProductCategory_Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - ProductCategory_Value = ProductCategory_Value.substring(0, 40); - } set_Value (COLUMNNAME_ProductCategory_Value, ProductCategory_Value); } @@ -872,13 +800,7 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent public void setProductType (String ProductType) { - if (ProductType == null || ProductType.equals("I") || ProductType.equals("S") || ProductType.equals("R") || ProductType.equals("E") || ProductType.equals("O")); else throw new IllegalArgumentException ("ProductType Invalid value - " + ProductType + " - Reference_ID=270 - I - S - R - E - O"); - if (ProductType != null && ProductType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ProductType = ProductType.substring(0, 1); - } - set_Value (COLUMNNAME_ProductType, ProductType); + if (ProductType == null || ProductType.equals("I") || ProductType.equals("S") || ProductType.equals("R") || ProductType.equals("E") || ProductType.equals("O")); else throw new IllegalArgumentException ("ProductType Invalid value - " + ProductType + " - Reference_ID=270 - I - S - R - E - O"); set_Value (COLUMNNAME_ProductType, ProductType); } /** Get Product Type. @@ -909,29 +831,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return bd; } - /** Set SKU. - @param SKU - Stock Keeping Unit - */ - public void setSKU (String SKU) - { - - if (SKU != null && SKU.length() > 30) - { - log.warning("Length > 30 - truncated"); - SKU = SKU.substring(0, 30); - } - set_Value (COLUMNNAME_SKU, SKU); - } - - /** Get SKU. - @return Stock Keeping Unit - */ - public String getSKU () - { - return (String)get_Value(COLUMNNAME_SKU); - } - /** Set Shelf Depth. @param ShelfDepth Shelf depth required @@ -992,27 +891,21 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return ii.intValue(); } - /** Set UPC/EAN. - @param UPC - Bar Code (Universal Product Code or its superset European Article Number) + /** Set SKU. + @param SKU + Stock Keeping Unit */ - public void setUPC (String UPC) + public void setSKU (String SKU) { - - if (UPC != null && UPC.length() > 30) - { - log.warning("Length > 30 - truncated"); - UPC = UPC.substring(0, 30); - } - set_Value (COLUMNNAME_UPC, UPC); + set_Value (COLUMNNAME_SKU, SKU); } - /** Get UPC/EAN. - @return Bar Code (Universal Product Code or its superset European Article Number) + /** Get SKU. + @return Stock Keeping Unit */ - public String getUPC () + public String getSKU () { - return (String)get_Value(COLUMNNAME_UPC); + return (String)get_Value(COLUMNNAME_SKU); } /** Set Units Per Pallet. @@ -1035,18 +928,29 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return ii.intValue(); } + /** Set UPC/EAN. + @param UPC + Bar Code (Universal Product Code or its superset European Article Number) + */ + public void setUPC (String UPC) + { + set_Value (COLUMNNAME_UPC, UPC); + } + + /** Get UPC/EAN. + @return Bar Code (Universal Product Code or its superset European Article Number) + */ + public String getUPC () + { + return (String)get_Value(COLUMNNAME_UPC); + } + /** Set Search Key. @param Value Search key for the record in the format required - must be unique */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -1072,12 +976,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent */ public void setVendorCategory (String VendorCategory) { - - if (VendorCategory != null && VendorCategory.length() > 30) - { - log.warning("Length > 30 - truncated"); - VendorCategory = VendorCategory.substring(0, 30); - } set_Value (COLUMNNAME_VendorCategory, VendorCategory); } @@ -1095,12 +993,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent */ public void setVendorProductNo (String VendorProductNo) { - - if (VendorProductNo != null && VendorProductNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - VendorProductNo = VendorProductNo.substring(0, 30); - } set_Value (COLUMNNAME_VendorProductNo, VendorProductNo); } @@ -1158,12 +1050,6 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent */ public void setX12DE355 (String X12DE355) { - - if (X12DE355 != null && X12DE355.length() > 4) - { - log.warning("Length > 4 - truncated"); - X12DE355 = X12DE355.substring(0, 4); - } set_Value (COLUMNNAME_X12DE355, X12DE355); } diff --git a/base/src/org/compiere/model/X_I_ReportLine.java b/base/src/org/compiere/model/X_I_ReportLine.java index 9c4e5f7ee0..6b3ec198ae 100644 --- a/base/src/org/compiere/model/X_I_ReportLine.java +++ b/base/src/org/compiere/model/X_I_ReportLine.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_ReportLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent { @@ -106,13 +106,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public void setAmountType (String AmountType) { - if (AmountType == null || AmountType.equals("DT") || AmountType.equals("CT") || AmountType.equals("BT") || AmountType.equals("BP") || AmountType.equals("CP") || AmountType.equals("DP") || AmountType.equals("QP") || AmountType.equals("QT") || AmountType.equals("BY") || AmountType.equals("CY") || AmountType.equals("DY") || AmountType.equals("QY")); else throw new IllegalArgumentException ("AmountType Invalid value - " + AmountType + " - Reference_ID=235 - DT - CT - BT - BP - CP - DP - QP - QT - BY - CY - DY - QY"); - if (AmountType != null && AmountType.length() > 2) - { - log.warning("Length > 2 - truncated"); - AmountType = AmountType.substring(0, 2); - } - set_Value (COLUMNNAME_AmountType, AmountType); + if (AmountType == null || AmountType.equals("DT") || AmountType.equals("CT") || AmountType.equals("BT") || AmountType.equals("BP") || AmountType.equals("CP") || AmountType.equals("DP") || AmountType.equals("QP") || AmountType.equals("QT") || AmountType.equals("BY") || AmountType.equals("CY") || AmountType.equals("DY") || AmountType.equals("QY")); else throw new IllegalArgumentException ("AmountType Invalid value - " + AmountType + " - Reference_ID=235 - DT - CT - BT - BP - CP - DP - QP - QT - BY - CY - DY - QY"); set_Value (COLUMNNAME_AmountType, AmountType); } /** Get Amount Type. @@ -123,6 +117,31 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent return (String)get_Value(COLUMNNAME_AmountType); } + /** CalculationType AD_Reference_ID=236 */ + public static final int CALCULATIONTYPE_AD_Reference_ID=236; + /** Add (Op1+Op2) = A */ + public static final String CALCULATIONTYPE_AddOp1PlusOp2 = "A"; + /** Subtract (Op1-Op2) = S */ + public static final String CALCULATIONTYPE_SubtractOp1_Op2 = "S"; + /** Percentage (Op1 of Op2) = P */ + public static final String CALCULATIONTYPE_PercentageOp1OfOp2 = "P"; + /** Add Range (Op1 to Op2) = R */ + public static final String CALCULATIONTYPE_AddRangeOp1ToOp2 = "R"; + /** Set Calculation. + @param CalculationType Calculation */ + public void setCalculationType (String CalculationType) + { + + if (CalculationType == null || CalculationType.equals("A") || CalculationType.equals("S") || CalculationType.equals("P") || CalculationType.equals("R")); else throw new IllegalArgumentException ("CalculationType Invalid value - " + CalculationType + " - Reference_ID=236 - A - S - P - R"); set_Value (COLUMNNAME_CalculationType, CalculationType); + } + + /** Get Calculation. + @return Calculation */ + public String getCalculationType () + { + return (String)get_Value(COLUMNNAME_CalculationType); + } + public I_C_ElementValue getC_ElementValue() throws Exception { Class clazz = MTable.getClass(I_C_ElementValue.Table_Name); @@ -162,49 +181,12 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent return ii.intValue(); } - /** CalculationType AD_Reference_ID=236 */ - public static final int CALCULATIONTYPE_AD_Reference_ID=236; - /** Add (Op1+Op2) = A */ - public static final String CALCULATIONTYPE_AddOp1PlusOp2 = "A"; - /** Subtract (Op1-Op2) = S */ - public static final String CALCULATIONTYPE_SubtractOp1_Op2 = "S"; - /** Percentage (Op1 of Op2) = P */ - public static final String CALCULATIONTYPE_PercentageOp1OfOp2 = "P"; - /** Add Range (Op1 to Op2) = R */ - public static final String CALCULATIONTYPE_AddRangeOp1ToOp2 = "R"; - /** Set Calculation. - @param CalculationType Calculation */ - public void setCalculationType (String CalculationType) - { - - if (CalculationType == null || CalculationType.equals("A") || CalculationType.equals("S") || CalculationType.equals("P") || CalculationType.equals("R")); else throw new IllegalArgumentException ("CalculationType Invalid value - " + CalculationType + " - Reference_ID=236 - A - S - P - R"); - if (CalculationType != null && CalculationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CalculationType = CalculationType.substring(0, 1); - } - set_Value (COLUMNNAME_CalculationType, CalculationType); - } - - /** Get Calculation. - @return Calculation */ - public String getCalculationType () - { - return (String)get_Value(COLUMNNAME_CalculationType); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -222,12 +204,6 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent */ public void setElementValue (String ElementValue) { - - if (ElementValue != null && ElementValue.length() > 40) - { - log.warning("Length > 40 - truncated"); - ElementValue = ElementValue.substring(0, 40); - } set_Value (COLUMNNAME_ElementValue, ElementValue); } @@ -245,12 +221,6 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent */ public void setI_ErrorMsg (String I_ErrorMsg) { - - if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - I_ErrorMsg = I_ErrorMsg.substring(0, 2000); - } set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg); } @@ -367,13 +337,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public void setLineType (String LineType) { - if (LineType == null || LineType.equals("S") || LineType.equals("C")); else throw new IllegalArgumentException ("LineType Invalid value - " + LineType + " - Reference_ID=241 - S - C"); - if (LineType != null && LineType.length() > 1) - { - log.warning("Length > 1 - truncated"); - LineType = LineType.substring(0, 1); - } - set_Value (COLUMNNAME_LineType, LineType); + if (LineType == null || LineType.equals("S") || LineType.equals("C")); else throw new IllegalArgumentException ("LineType Invalid value - " + LineType + " - Reference_ID=241 - S - C"); set_Value (COLUMNNAME_LineType, LineType); } /** Get Line Type. @@ -389,12 +353,6 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -414,42 +372,6 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent return new KeyNamePair(get_ID(), getName()); } - public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception - { - Class clazz = MTable.getClass(I_PA_ReportLineSet.Table_Name); - I_PA_ReportLineSet result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_PA_ReportLineSet)constructor.newInstance(new Object[] {getCtx(), new Integer(getPA_ReportLineSet_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Report Line Set. - @param PA_ReportLineSet_ID Report Line Set */ - public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID) - { - if (PA_ReportLineSet_ID < 1) - set_Value (COLUMNNAME_PA_ReportLineSet_ID, null); - else - set_Value (COLUMNNAME_PA_ReportLineSet_ID, Integer.valueOf(PA_ReportLineSet_ID)); - } - - /** Get Report Line Set. - @return Report Line Set */ - public int getPA_ReportLineSet_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportLineSet_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_PA_ReportLine getPA_ReportLine() throws Exception { Class clazz = MTable.getClass(I_PA_ReportLine.Table_Name); @@ -486,6 +408,42 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent return ii.intValue(); } + public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception + { + Class clazz = MTable.getClass(I_PA_ReportLineSet.Table_Name); + I_PA_ReportLineSet result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_PA_ReportLineSet)constructor.newInstance(new Object[] {getCtx(), new Integer(getPA_ReportLineSet_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Report Line Set. + @param PA_ReportLineSet_ID Report Line Set */ + public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID) + { + if (PA_ReportLineSet_ID < 1) + set_Value (COLUMNNAME_PA_ReportLineSet_ID, null); + else + set_Value (COLUMNNAME_PA_ReportLineSet_ID, Integer.valueOf(PA_ReportLineSet_ID)); + } + + /** Get Report Line Set. + @return Report Line Set */ + public int getPA_ReportLineSet_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportLineSet_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_PA_ReportSource getPA_ReportSource() throws Exception { Class clazz = MTable.getClass(I_PA_ReportSource.Table_Name); @@ -544,13 +502,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. @@ -612,12 +564,6 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent */ public void setReportLineSetName (String ReportLineSetName) { - - if (ReportLineSetName != null && ReportLineSetName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ReportLineSetName = ReportLineSetName.substring(0, 60); - } set_Value (COLUMNNAME_ReportLineSetName, ReportLineSetName); } diff --git a/base/src/org/compiere/model/X_K_Category.java b/base/src/org/compiere/model/X_K_Category.java index ebc2a7ba1b..07d5ab2650 100644 --- a/base/src/org/compiere/model/X_K_Category.java +++ b/base/src/org/compiere/model/X_K_Category.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Category * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_Category extends PO implements I_K_Category, I_Persistent { @@ -77,12 +77,6 @@ public class X_K_Category extends PO implements I_K_Category, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -100,12 +94,6 @@ public class X_K_Category extends PO implements I_K_Category, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -147,12 +135,6 @@ public class X_K_Category extends PO implements I_K_Category, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_K_CategoryValue.java b/base/src/org/compiere/model/X_K_CategoryValue.java index 98f04a73a8..f01edb5758 100644 --- a/base/src/org/compiere/model/X_K_CategoryValue.java +++ b/base/src/org/compiere/model/X_K_CategoryValue.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_CategoryValue * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_CategoryValue extends PO implements I_K_CategoryValue, I_Persistent { @@ -40,8 +40,8 @@ public class X_K_CategoryValue extends PO implements I_K_CategoryValue, I_Persis super (ctx, K_CategoryValue_ID, trxName); /** if (K_CategoryValue_ID == 0) { - setK_CategoryValue_ID (0); setK_Category_ID (0); + setK_CategoryValue_ID (0); setName (null); } */ } @@ -80,12 +80,6 @@ public class X_K_CategoryValue extends PO implements I_K_CategoryValue, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -97,28 +91,6 @@ public class X_K_CategoryValue extends PO implements I_K_CategoryValue, I_Persis return (String)get_Value(COLUMNNAME_Description); } - /** Set Category Value. - @param K_CategoryValue_ID - The value of the category - */ - public void setK_CategoryValue_ID (int K_CategoryValue_ID) - { - if (K_CategoryValue_ID < 1) - throw new IllegalArgumentException ("K_CategoryValue_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_K_CategoryValue_ID, Integer.valueOf(K_CategoryValue_ID)); - } - - /** Get Category Value. - @return The value of the category - */ - public int getK_CategoryValue_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_K_CategoryValue_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_K_Category getK_Category() throws Exception { Class clazz = MTable.getClass(I_K_Category.Table_Name); @@ -157,6 +129,28 @@ public class X_K_CategoryValue extends PO implements I_K_CategoryValue, I_Persis return ii.intValue(); } + /** Set Category Value. + @param K_CategoryValue_ID + The value of the category + */ + public void setK_CategoryValue_ID (int K_CategoryValue_ID) + { + if (K_CategoryValue_ID < 1) + throw new IllegalArgumentException ("K_CategoryValue_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_K_CategoryValue_ID, Integer.valueOf(K_CategoryValue_ID)); + } + + /** Get Category Value. + @return The value of the category + */ + public int getK_CategoryValue_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_K_CategoryValue_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -165,12 +159,6 @@ public class X_K_CategoryValue extends PO implements I_K_CategoryValue, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_K_Comment.java b/base/src/org/compiere/model/X_K_Comment.java index 946c35eae5..1303de1392 100644 --- a/base/src/org/compiere/model/X_K_Comment.java +++ b/base/src/org/compiere/model/X_K_Comment.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Comment * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_Comment extends PO implements I_K_Comment, I_Persistent { @@ -236,12 +236,6 @@ public class X_K_Comment extends PO implements I_K_Comment, I_Persistent { if (TextMsg == null) throw new IllegalArgumentException ("TextMsg is mandatory."); - - if (TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_K_Entry.java b/base/src/org/compiere/model/X_K_Entry.java index 5cb1584ea5..d7b70f2c55 100644 --- a/base/src/org/compiere/model/X_K_Entry.java +++ b/base/src/org/compiere/model/X_K_Entry.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Entry * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_Entry extends PO implements I_K_Entry, I_Persistent { @@ -124,12 +124,6 @@ public class X_K_Entry extends PO implements I_K_Entry, I_Persistent */ public void setDescriptionURL (String DescriptionURL) { - - if (DescriptionURL != null && DescriptionURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - DescriptionURL = DescriptionURL.substring(0, 120); - } set_Value (COLUMNNAME_DescriptionURL, DescriptionURL); } @@ -187,6 +181,23 @@ public class X_K_Entry extends PO implements I_K_Entry, I_Persistent return ii.intValue(); } + /** Set Keywords. + @param Keywords + List of Keywords - separated by space, comma or semicolon + */ + public void setKeywords (String Keywords) + { + set_Value (COLUMNNAME_Keywords, Keywords); + } + + /** Get Keywords. + @return List of Keywords - separated by space, comma or semicolon + */ + public String getKeywords () + { + return (String)get_Value(COLUMNNAME_Keywords); + } + public I_K_Source getK_Source() throws Exception { Class clazz = MTable.getClass(I_K_Source.Table_Name); @@ -264,29 +275,6 @@ public class X_K_Entry extends PO implements I_K_Entry, I_Persistent return ii.intValue(); } - /** Set Keywords. - @param Keywords - List of Keywords - separated by space, comma or semicolon - */ - public void setKeywords (String Keywords) - { - - if (Keywords != null && Keywords.length() > 255) - { - log.warning("Length > 255 - truncated"); - Keywords = Keywords.substring(0, 255); - } - set_Value (COLUMNNAME_Keywords, Keywords); - } - - /** Get Keywords. - @return List of Keywords - separated by space, comma or semicolon - */ - public String getKeywords () - { - return (String)get_Value(COLUMNNAME_Keywords); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -295,12 +283,6 @@ public class X_K_Entry extends PO implements I_K_Entry, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -348,12 +330,6 @@ public class X_K_Entry extends PO implements I_K_Entry, I_Persistent { if (TextMsg == null) throw new IllegalArgumentException ("TextMsg is mandatory."); - - if (TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_K_EntryCategory.java b/base/src/org/compiere/model/X_K_EntryCategory.java index 94852ca722..c132092125 100644 --- a/base/src/org/compiere/model/X_K_EntryCategory.java +++ b/base/src/org/compiere/model/X_K_EntryCategory.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_EntryCategory * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, I_Persistent { @@ -40,8 +40,8 @@ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, I_Persis super (ctx, K_EntryCategory_ID, trxName); /** if (K_EntryCategory_ID == 0) { - setK_CategoryValue_ID (0); setK_Category_ID (0); + setK_CategoryValue_ID (0); setK_Entry_ID (0); } */ } @@ -74,6 +74,44 @@ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, I_Persis return sb.toString(); } + public I_K_Category getK_Category() throws Exception + { + Class clazz = MTable.getClass(I_K_Category.Table_Name); + I_K_Category result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_K_Category)constructor.newInstance(new Object[] {getCtx(), new Integer(getK_Category_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Knowledge Category. + @param K_Category_ID + Knowledge Category + */ + public void setK_Category_ID (int K_Category_ID) + { + if (K_Category_ID < 1) + throw new IllegalArgumentException ("K_Category_ID is mandatory."); + set_Value (COLUMNNAME_K_Category_ID, Integer.valueOf(K_Category_ID)); + } + + /** Get Knowledge Category. + @return Knowledge Category + */ + public int getK_Category_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_K_Category_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_K_CategoryValue getK_CategoryValue() throws Exception { Class clazz = MTable.getClass(I_K_CategoryValue.Table_Name); @@ -120,44 +158,6 @@ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, I_Persis return new KeyNamePair(get_ID(), String.valueOf(getK_CategoryValue_ID())); } - public I_K_Category getK_Category() throws Exception - { - Class clazz = MTable.getClass(I_K_Category.Table_Name); - I_K_Category result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_K_Category)constructor.newInstance(new Object[] {getCtx(), new Integer(getK_Category_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Knowledge Category. - @param K_Category_ID - Knowledge Category - */ - public void setK_Category_ID (int K_Category_ID) - { - if (K_Category_ID < 1) - throw new IllegalArgumentException ("K_Category_ID is mandatory."); - set_Value (COLUMNNAME_K_Category_ID, Integer.valueOf(K_Category_ID)); - } - - /** Get Knowledge Category. - @return Knowledge Category - */ - public int getK_Category_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_K_Category_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_K_Entry getK_Entry() throws Exception { Class clazz = MTable.getClass(I_K_Entry.Table_Name); diff --git a/base/src/org/compiere/model/X_K_EntryRelated.java b/base/src/org/compiere/model/X_K_EntryRelated.java index 708db05687..f40f57269a 100644 --- a/base/src/org/compiere/model/X_K_EntryRelated.java +++ b/base/src/org/compiere/model/X_K_EntryRelated.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_EntryRelated * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_EntryRelated extends PO implements I_K_EntryRelated, I_Persistent { @@ -40,8 +40,8 @@ public class X_K_EntryRelated extends PO implements I_K_EntryRelated, I_Persiste super (ctx, K_EntryRelated_ID, trxName); /** if (K_EntryRelated_ID == 0) { - setK_EntryRelated_ID (0); setK_Entry_ID (0); + setK_EntryRelated_ID (0); } */ } @@ -73,38 +73,6 @@ public class X_K_EntryRelated extends PO implements I_K_EntryRelated, I_Persiste return sb.toString(); } - /** K_EntryRelated_ID AD_Reference_ID=285 */ - public static final int K_ENTRYRELATED_ID_AD_Reference_ID=285; - /** Set Related Entry. - @param K_EntryRelated_ID - Related Entry for this Enntry - */ - public void setK_EntryRelated_ID (int K_EntryRelated_ID) - { - if (K_EntryRelated_ID < 1) - throw new IllegalArgumentException ("K_EntryRelated_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_K_EntryRelated_ID, Integer.valueOf(K_EntryRelated_ID)); - } - - /** Get Related Entry. - @return Related Entry for this Enntry - */ - public int getK_EntryRelated_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_K_EntryRelated_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getK_EntryRelated_ID())); - } - public I_K_Entry getK_Entry() throws Exception { Class clazz = MTable.getClass(I_K_Entry.Table_Name); @@ -143,18 +111,44 @@ public class X_K_EntryRelated extends PO implements I_K_EntryRelated, I_Persiste return ii.intValue(); } + /** K_EntryRelated_ID AD_Reference_ID=285 */ + public static final int K_ENTRYRELATED_ID_AD_Reference_ID=285; + /** Set Related Entry. + @param K_EntryRelated_ID + Related Entry for this Enntry + */ + public void setK_EntryRelated_ID (int K_EntryRelated_ID) + { + if (K_EntryRelated_ID < 1) + throw new IllegalArgumentException ("K_EntryRelated_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_K_EntryRelated_ID, Integer.valueOf(K_EntryRelated_ID)); + } + + /** Get Related Entry. + @return Related Entry for this Enntry + */ + public int getK_EntryRelated_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_K_EntryRelated_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getK_EntryRelated_ID())); + } + /** Set Name. @param Name Alphanumeric identifier of the entity */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_K_Index.java b/base/src/org/compiere/model/X_K_Index.java index e6abb89efd..fd9e4585a8 100644 --- a/base/src/org/compiere/model/X_K_Index.java +++ b/base/src/org/compiere/model/X_K_Index.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Index * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_Index extends PO implements I_K_Index, I_Persistent { @@ -42,10 +42,10 @@ public class X_K_Index extends PO implements I_K_Index, I_Persistent /** if (K_Index_ID == 0) { setAD_Table_ID (0); - setK_INDEX_ID (0); setKeyword (null); + setK_INDEX_ID (0); setRecord_ID (0); - setSourceUpdated (new Timestamp(System.currentTimeMillis())); + setSourceUpdated (new Timestamp( System.currentTimeMillis() )); } */ } @@ -115,45 +115,6 @@ public class X_K_Index extends PO implements I_K_Index, I_Persistent return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception - { - Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); - I_CM_WebProject result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_CM_WebProject)constructor.newInstance(new Object[] {getCtx(), new Integer(getCM_WebProject_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Web Project. - @param CM_WebProject_ID - A web project is the main data container for Containers, URLs, Ads, Media etc. - */ - public void setCM_WebProject_ID (int CM_WebProject_ID) - { - if (CM_WebProject_ID < 1) - set_ValueNoCheck (COLUMNNAME_CM_WebProject_ID, null); - else - set_ValueNoCheck (COLUMNNAME_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. - */ - public int getCM_WebProject_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_WebProject_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_DocType getC_DocType() throws Exception { Class clazz = MTable.getClass(I_C_DocType.Table_Name); @@ -193,18 +154,51 @@ public class X_K_Index extends PO implements I_K_Index, I_Persistent return ii.intValue(); } + public I_CM_WebProject getCM_WebProject() throws Exception + { + Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); + I_CM_WebProject result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_CM_WebProject)constructor.newInstance(new Object[] {getCtx(), new Integer(getCM_WebProject_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Web Project. + @param CM_WebProject_ID + A web project is the main data container for Containers, URLs, Ads, Media etc. + */ + public void setCM_WebProject_ID (int CM_WebProject_ID) + { + if (CM_WebProject_ID < 1) + set_ValueNoCheck (COLUMNNAME_CM_WebProject_ID, null); + else + set_ValueNoCheck (COLUMNNAME_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. + */ + public int getCM_WebProject_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_WebProject_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Excerpt. @param Excerpt Surrounding text of the keyword */ public void setExcerpt (String Excerpt) { - - if (Excerpt != null && Excerpt.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Excerpt = Excerpt.substring(0, 2000); - } set_ValueNoCheck (COLUMNNAME_Excerpt, Excerpt); } @@ -216,6 +210,33 @@ public class X_K_Index extends PO implements I_K_Index, I_Persistent return (String)get_Value(COLUMNNAME_Excerpt); } + /** Set Keyword. + @param Keyword + Case insensitive keyword + */ + public void setKeyword (String Keyword) + { + if (Keyword == null) + throw new IllegalArgumentException ("Keyword is mandatory."); + set_ValueNoCheck (COLUMNNAME_Keyword, Keyword); + } + + /** Get Keyword. + @return Case insensitive keyword + */ + public String getKeyword () + { + return (String)get_Value(COLUMNNAME_Keyword); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), getKeyword()); + } + /** Set Index. @param K_INDEX_ID Text Search Index @@ -238,39 +259,28 @@ public class X_K_Index extends PO implements I_K_Index, I_Persistent return ii.intValue(); } - /** Set Keyword. - @param Keyword - Case insensitive keyword + /** Set Record ID. + @param Record_ID + Direct internal record ID */ - public void setKeyword (String Keyword) + public void setRecord_ID (int Record_ID) { - if (Keyword == null) - throw new IllegalArgumentException ("Keyword is mandatory."); - - if (Keyword.length() > 255) - { - log.warning("Length > 255 - truncated"); - Keyword = Keyword.substring(0, 255); - } - set_ValueNoCheck (COLUMNNAME_Keyword, Keyword); + if (Record_ID < 0) + throw new IllegalArgumentException ("Record_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_Record_ID, Integer.valueOf(Record_ID)); } - /** Get Keyword. - @return Case insensitive keyword + /** Get Record ID. + @return Direct internal record ID */ - public String getKeyword () + public int getRecord_ID () { - return (String)get_Value(COLUMNNAME_Keyword); + Integer ii = (Integer)get_Value(COLUMNNAME_Record_ID); + if (ii == null) + return 0; + return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), getKeyword()); - } - public I_R_RequestType getR_RequestType() throws Exception { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); @@ -310,28 +320,6 @@ public class X_K_Index extends PO implements I_K_Index, I_Persistent return ii.intValue(); } - /** Set Record ID. - @param Record_ID - Direct internal record ID - */ - public void setRecord_ID (int Record_ID) - { - if (Record_ID < 0) - throw new IllegalArgumentException ("Record_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_Record_ID, Integer.valueOf(Record_ID)); - } - - /** Get Record ID. - @return Direct internal record ID - */ - public int getRecord_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Record_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Source Updated. @param SourceUpdated Date the source document was updated diff --git a/base/src/org/compiere/model/X_K_IndexLog.java b/base/src/org/compiere/model/X_K_IndexLog.java index 7eb2176f5e..2de52d04c6 100644 --- a/base/src/org/compiere/model/X_K_IndexLog.java +++ b/base/src/org/compiere/model/X_K_IndexLog.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_IndexLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_IndexLog extends PO implements I_K_IndexLog, I_Persistent { @@ -81,12 +81,6 @@ public class X_K_IndexLog extends PO implements I_K_IndexLog, I_Persistent { if (IndexQuery == null) throw new IllegalArgumentException ("IndexQuery is mandatory."); - - if (IndexQuery.length() > 255) - { - log.warning("Length > 255 - truncated"); - IndexQuery = IndexQuery.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_IndexQuery, IndexQuery); } @@ -165,13 +159,7 @@ public class X_K_IndexLog extends PO implements I_K_IndexLog, I_Persistent public void setQuerySource (String QuerySource) { if (QuerySource == null) throw new IllegalArgumentException ("QuerySource is mandatory"); - if (QuerySource.equals("C") || QuerySource.equals("J") || QuerySource.equals("H") || QuerySource.equals("W")); else throw new IllegalArgumentException ("QuerySource Invalid value - " + QuerySource + " - Reference_ID=391 - C - J - H - W"); - if (QuerySource.length() > 1) - { - log.warning("Length > 1 - truncated"); - QuerySource = QuerySource.substring(0, 1); - } - set_Value (COLUMNNAME_QuerySource, QuerySource); + if (QuerySource.equals("C") || QuerySource.equals("J") || QuerySource.equals("H") || QuerySource.equals("W")); else throw new IllegalArgumentException ("QuerySource Invalid value - " + QuerySource + " - Reference_ID=391 - C - J - H - W"); set_Value (COLUMNNAME_QuerySource, QuerySource); } /** Get Query Source. diff --git a/base/src/org/compiere/model/X_K_IndexStop.java b/base/src/org/compiere/model/X_K_IndexStop.java index 366e913f13..2ba4f5565e 100644 --- a/base/src/org/compiere/model/X_K_IndexStop.java +++ b/base/src/org/compiere/model/X_K_IndexStop.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_IndexStop * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_IndexStop extends PO implements I_K_IndexStop, I_Persistent { @@ -42,8 +42,8 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, I_Persistent { setIsManual (true); // Y - setK_IndexStop_ID (0); setKeyword (null); + setK_IndexStop_ID (0); } */ } @@ -75,45 +75,6 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, I_Persistent return sb.toString(); } - public I_CM_WebProject getCM_WebProject() throws Exception - { - Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); - I_CM_WebProject result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_CM_WebProject)constructor.newInstance(new Object[] {getCtx(), new Integer(getCM_WebProject_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Web Project. - @param CM_WebProject_ID - A web project is the main data container for Containers, URLs, Ads, Media etc. - */ - public void setCM_WebProject_ID (int CM_WebProject_ID) - { - if (CM_WebProject_ID < 1) - set_Value (COLUMNNAME_CM_WebProject_ID, null); - else - set_Value (COLUMNNAME_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. - */ - public int getCM_WebProject_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CM_WebProject_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_DocType getC_DocType() throws Exception { Class clazz = MTable.getClass(I_C_DocType.Table_Name); @@ -153,6 +114,45 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, I_Persistent return ii.intValue(); } + public I_CM_WebProject getCM_WebProject() throws Exception + { + Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); + I_CM_WebProject result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_CM_WebProject)constructor.newInstance(new Object[] {getCtx(), new Integer(getCM_WebProject_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Web Project. + @param CM_WebProject_ID + A web project is the main data container for Containers, URLs, Ads, Media etc. + */ + public void setCM_WebProject_ID (int CM_WebProject_ID) + { + if (CM_WebProject_ID < 1) + set_Value (COLUMNNAME_CM_WebProject_ID, null); + else + set_Value (COLUMNNAME_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. + */ + public int getCM_WebProject_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CM_WebProject_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Manual. @param IsManual This is a manual process @@ -177,6 +177,33 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, I_Persistent return false; } + /** Set Keyword. + @param Keyword + Case insensitive keyword + */ + public void setKeyword (String Keyword) + { + if (Keyword == null) + throw new IllegalArgumentException ("Keyword is mandatory."); + set_Value (COLUMNNAME_Keyword, Keyword); + } + + /** Get Keyword. + @return Case insensitive keyword + */ + public String getKeyword () + { + return (String)get_Value(COLUMNNAME_Keyword); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), getKeyword()); + } + /** Set Index Stop. @param K_IndexStop_ID Keyword not to be indexed @@ -199,39 +226,6 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, I_Persistent return ii.intValue(); } - /** Set Keyword. - @param Keyword - Case insensitive keyword - */ - public void setKeyword (String Keyword) - { - if (Keyword == null) - throw new IllegalArgumentException ("Keyword is mandatory."); - - if (Keyword.length() > 255) - { - log.warning("Length > 255 - truncated"); - Keyword = Keyword.substring(0, 255); - } - set_Value (COLUMNNAME_Keyword, Keyword); - } - - /** Get Keyword. - @return Case insensitive keyword - */ - public String getKeyword () - { - return (String)get_Value(COLUMNNAME_Keyword); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), getKeyword()); - } - public I_R_RequestType getR_RequestType() throws Exception { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); diff --git a/base/src/org/compiere/model/X_K_Source.java b/base/src/org/compiere/model/X_K_Source.java index d2d0095d20..e11bc7e258 100644 --- a/base/src/org/compiere/model/X_K_Source.java +++ b/base/src/org/compiere/model/X_K_Source.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Source * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_Source extends PO implements I_K_Source, I_Persistent { @@ -77,12 +77,6 @@ public class X_K_Source extends PO implements I_K_Source, I_Persistent */ public void setDescriptionURL (String DescriptionURL) { - - if (DescriptionURL != null && DescriptionURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - DescriptionURL = DescriptionURL.substring(0, 120); - } set_Value (COLUMNNAME_DescriptionURL, DescriptionURL); } @@ -124,12 +118,6 @@ public class X_K_Source extends PO implements I_K_Source, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_K_Synonym.java b/base/src/org/compiere/model/X_K_Synonym.java index 0aa61e16a4..599a7a2e36 100644 --- a/base/src/org/compiere/model/X_K_Synonym.java +++ b/base/src/org/compiere/model/X_K_Synonym.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Synonym * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_Synonym extends PO implements I_K_Synonym, I_Persistent { @@ -81,12 +81,6 @@ public class X_K_Synonym extends PO implements I_K_Synonym, I_Persistent */ public void setAD_Language (String AD_Language) { - - if (AD_Language.length() > 6) - { - log.warning("Length > 6 - truncated"); - AD_Language = AD_Language.substring(0, 6); - } set_Value (COLUMNNAME_AD_Language, AD_Language); } @@ -128,12 +122,6 @@ public class X_K_Synonym extends PO implements I_K_Synonym, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -161,12 +149,6 @@ public class X_K_Synonym extends PO implements I_K_Synonym, I_Persistent { if (SynonymName == null) throw new IllegalArgumentException ("SynonymName is mandatory."); - - if (SynonymName.length() > 60) - { - log.warning("Length > 60 - truncated"); - SynonymName = SynonymName.substring(0, 60); - } set_Value (COLUMNNAME_SynonymName, SynonymName); } diff --git a/base/src/org/compiere/model/X_K_Topic.java b/base/src/org/compiere/model/X_K_Topic.java index 12904be77e..adea125d92 100644 --- a/base/src/org/compiere/model/X_K_Topic.java +++ b/base/src/org/compiere/model/X_K_Topic.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Topic * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_Topic extends PO implements I_K_Topic, I_Persistent { @@ -84,12 +84,6 @@ public class X_K_Topic extends PO implements I_K_Topic, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -107,12 +101,6 @@ public class X_K_Topic extends PO implements I_K_Topic, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -240,12 +228,6 @@ public class X_K_Topic extends PO implements I_K_Topic, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_K_Type.java b/base/src/org/compiere/model/X_K_Type.java index c1b717557f..3af9853072 100644 --- a/base/src/org/compiere/model/X_K_Type.java +++ b/base/src/org/compiere/model/X_K_Type.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Type * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_K_Type extends PO implements I_K_Type, I_Persistent { @@ -81,12 +81,6 @@ public class X_K_Type extends PO implements I_K_Type, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -104,12 +98,6 @@ public class X_K_Type extends PO implements I_K_Type, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -199,12 +187,6 @@ public class X_K_Type extends PO implements I_K_Type, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_Attribute.java b/base/src/org/compiere/model/X_M_Attribute.java index 1d673b209b..c1a6c7a623 100644 --- a/base/src/org/compiere/model/X_M_Attribute.java +++ b/base/src/org/compiere/model/X_M_Attribute.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Attribute * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent { @@ -92,13 +92,7 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent public void setAttributeValueType (String AttributeValueType) { if (AttributeValueType == null) throw new IllegalArgumentException ("AttributeValueType is mandatory"); - if (AttributeValueType.equals("S") || AttributeValueType.equals("N") || AttributeValueType.equals("L")); else throw new IllegalArgumentException ("AttributeValueType Invalid value - " + AttributeValueType + " - Reference_ID=326 - S - N - L"); - if (AttributeValueType.length() > 1) - { - log.warning("Length > 1 - truncated"); - AttributeValueType = AttributeValueType.substring(0, 1); - } - set_Value (COLUMNNAME_AttributeValueType, AttributeValueType); + if (AttributeValueType.equals("S") || AttributeValueType.equals("N") || AttributeValueType.equals("L")); else throw new IllegalArgumentException ("AttributeValueType Invalid value - " + AttributeValueType + " - Reference_ID=326 - S - N - L"); set_Value (COLUMNNAME_AttributeValueType, AttributeValueType); } /** Get Attribute Value Type. @@ -115,12 +109,6 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -180,6 +168,28 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent return false; } + /** Set Attribute. + @param M_Attribute_ID + Product Attribute + */ + public void setM_Attribute_ID (int M_Attribute_ID) + { + if (M_Attribute_ID < 1) + throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_Attribute_ID, Integer.valueOf(M_Attribute_ID)); + } + + /** Get Attribute. + @return Product Attribute + */ + public int getM_Attribute_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Attribute_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_AttributeSearch getM_AttributeSearch() throws Exception { Class clazz = MTable.getClass(I_M_AttributeSearch.Table_Name); @@ -219,28 +229,6 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent return ii.intValue(); } - /** Set Attribute. - @param M_Attribute_ID - Product Attribute - */ - public void setM_Attribute_ID (int M_Attribute_ID) - { - if (M_Attribute_ID < 1) - throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_Attribute_ID, Integer.valueOf(M_Attribute_ID)); - } - - /** Get Attribute. - @return Product Attribute - */ - public int getM_Attribute_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Attribute_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -249,12 +237,6 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_AttributeInstance.java b/base/src/org/compiere/model/X_M_AttributeInstance.java index f8d53b11de..6a0459a4df 100644 --- a/base/src/org/compiere/model/X_M_AttributeInstance.java +++ b/base/src/org/compiere/model/X_M_AttributeInstance.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeInstance * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, I_Persistent { @@ -42,8 +42,8 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, super (ctx, M_AttributeInstance_ID, trxName); /** if (M_AttributeInstance_ID == 0) { - setM_AttributeSetInstance_ID (0); setM_Attribute_ID (0); + setM_AttributeSetInstance_ID (0); } */ } @@ -75,6 +75,44 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, return sb.toString(); } + public I_M_Attribute getM_Attribute() throws Exception + { + Class clazz = MTable.getClass(I_M_Attribute.Table_Name); + I_M_Attribute result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_Attribute)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Attribute_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Attribute. + @param M_Attribute_ID + Product Attribute + */ + public void setM_Attribute_ID (int M_Attribute_ID) + { + if (M_Attribute_ID < 1) + throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_Attribute_ID, Integer.valueOf(M_Attribute_ID)); + } + + /** Get Attribute. + @return Product Attribute + */ + public int getM_Attribute_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Attribute_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Attribute Set Instance. @param M_AttributeSetInstance_ID Product Attribute Set Instance @@ -144,56 +182,12 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeValue_ID())); } - public I_M_Attribute getM_Attribute() throws Exception - { - Class clazz = MTable.getClass(I_M_Attribute.Table_Name); - I_M_Attribute result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_Attribute)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Attribute_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Attribute. - @param M_Attribute_ID - Product Attribute - */ - public void setM_Attribute_ID (int M_Attribute_ID) - { - if (M_Attribute_ID < 1) - throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_Attribute_ID, Integer.valueOf(M_Attribute_ID)); - } - - /** Get Attribute. - @return Product Attribute - */ - public int getM_Attribute_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Attribute_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Search Key. @param Value Search key for the record in the format required - must be unique */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_M_AttributeSearch.java b/base/src/org/compiere/model/X_M_AttributeSearch.java index 1e21d68d11..9df65d425b 100644 --- a/base/src/org/compiere/model/X_M_AttributeSearch.java +++ b/base/src/org/compiere/model/X_M_AttributeSearch.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeSearch * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_AttributeSearch extends PO implements I_M_AttributeSearch, I_Persistent { @@ -77,12 +77,6 @@ public class X_M_AttributeSearch extends PO implements I_M_AttributeSearch, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -124,12 +118,6 @@ public class X_M_AttributeSearch extends PO implements I_M_AttributeSearch, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_AttributeSet.java b/base/src/org/compiere/model/X_M_AttributeSet.java index c0d0b34c19..2b68e7722c 100644 --- a/base/src/org/compiere/model/X_M_AttributeSet.java +++ b/base/src/org/compiere/model/X_M_AttributeSet.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeSet * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persistent { @@ -47,8 +47,8 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste setIsLotMandatory (false); setIsSerNo (false); setIsSerNoMandatory (false); - setM_AttributeSet_ID (0); setMandatoryType (null); + setM_AttributeSet_ID (0); setName (null); } */ } @@ -87,12 +87,6 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -298,12 +292,6 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste */ public void setLotCharEOverwrite (String LotCharEOverwrite) { - - if (LotCharEOverwrite != null && LotCharEOverwrite.length() > 1) - { - log.warning("Length > 1 - truncated"); - LotCharEOverwrite = LotCharEOverwrite.substring(0, 1); - } set_Value (COLUMNNAME_LotCharEOverwrite, LotCharEOverwrite); } @@ -321,12 +309,6 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste */ public void setLotCharSOverwrite (String LotCharSOverwrite) { - - if (LotCharSOverwrite != null && LotCharSOverwrite.length() > 1) - { - log.warning("Length > 1 - truncated"); - LotCharSOverwrite = LotCharSOverwrite.substring(0, 1); - } set_Value (COLUMNNAME_LotCharSOverwrite, LotCharSOverwrite); } @@ -338,6 +320,32 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste return (String)get_Value(COLUMNNAME_LotCharSOverwrite); } + /** MandatoryType AD_Reference_ID=324 */ + public static final int MANDATORYTYPE_AD_Reference_ID=324; + /** Not Mandatary = N */ + public static final String MANDATORYTYPE_NotMandatary = "N"; + /** Always Mandatory = Y */ + public static final String MANDATORYTYPE_AlwaysMandatory = "Y"; + /** When Shipping = S */ + public static final String MANDATORYTYPE_WhenShipping = "S"; + /** Set Mandatory Type. + @param MandatoryType + The specification of a Product Attribute Instance is mandatory + */ + public void setMandatoryType (String MandatoryType) + { + if (MandatoryType == null) throw new IllegalArgumentException ("MandatoryType is mandatory"); + if (MandatoryType.equals("N") || MandatoryType.equals("Y") || MandatoryType.equals("S")); else throw new IllegalArgumentException ("MandatoryType Invalid value - " + MandatoryType + " - Reference_ID=324 - N - Y - S"); set_Value (COLUMNNAME_MandatoryType, MandatoryType); + } + + /** Get Mandatory Type. + @return The specification of a Product Attribute Instance is mandatory + */ + public String getMandatoryType () + { + return (String)get_Value(COLUMNNAME_MandatoryType); + } + /** Set Attribute Set. @param M_AttributeSet_ID Product Attribute Set @@ -438,38 +446,6 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste return ii.intValue(); } - /** MandatoryType AD_Reference_ID=324 */ - public static final int MANDATORYTYPE_AD_Reference_ID=324; - /** Not Mandatary = N */ - public static final String MANDATORYTYPE_NotMandatary = "N"; - /** Always Mandatory = Y */ - public static final String MANDATORYTYPE_AlwaysMandatory = "Y"; - /** When Shipping = S */ - public static final String MANDATORYTYPE_WhenShipping = "S"; - /** Set Mandatory Type. - @param MandatoryType - The specification of a Product Attribute Instance is mandatory - */ - public void setMandatoryType (String MandatoryType) - { - if (MandatoryType == null) throw new IllegalArgumentException ("MandatoryType is mandatory"); - if (MandatoryType.equals("N") || MandatoryType.equals("Y") || MandatoryType.equals("S")); else throw new IllegalArgumentException ("MandatoryType Invalid value - " + MandatoryType + " - Reference_ID=324 - N - Y - S"); - if (MandatoryType.length() > 1) - { - log.warning("Length > 1 - truncated"); - MandatoryType = MandatoryType.substring(0, 1); - } - set_Value (COLUMNNAME_MandatoryType, MandatoryType); - } - - /** Get Mandatory Type. - @return The specification of a Product Attribute Instance is mandatory - */ - public String getMandatoryType () - { - return (String)get_Value(COLUMNNAME_MandatoryType); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -478,12 +454,6 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -509,12 +479,6 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste */ public void setSerNoCharEOverwrite (String SerNoCharEOverwrite) { - - if (SerNoCharEOverwrite != null && SerNoCharEOverwrite.length() > 1) - { - log.warning("Length > 1 - truncated"); - SerNoCharEOverwrite = SerNoCharEOverwrite.substring(0, 1); - } set_Value (COLUMNNAME_SerNoCharEOverwrite, SerNoCharEOverwrite); } @@ -532,12 +496,6 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste */ public void setSerNoCharSOverwrite (String SerNoCharSOverwrite) { - - if (SerNoCharSOverwrite != null && SerNoCharSOverwrite.length() > 1) - { - log.warning("Length > 1 - truncated"); - SerNoCharSOverwrite = SerNoCharSOverwrite.substring(0, 1); - } set_Value (COLUMNNAME_SerNoCharSOverwrite, SerNoCharSOverwrite); } diff --git a/base/src/org/compiere/model/X_M_AttributeSetExclude.java b/base/src/org/compiere/model/X_M_AttributeSetExclude.java index c58ffbc988..002ccf15c8 100644 --- a/base/src/org/compiere/model/X_M_AttributeSetExclude.java +++ b/base/src/org/compiere/model/X_M_AttributeSetExclude.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_AttributeSetExclude * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclude, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_AttributeSetInstance.java b/base/src/org/compiere/model/X_M_AttributeSetInstance.java index b03e9e337c..ba8d71c8d4 100644 --- a/base/src/org/compiere/model/X_M_AttributeSetInstance.java +++ b/base/src/org/compiere/model/X_M_AttributeSetInstance.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeSetInstance * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInstance, I_Persistent { @@ -41,8 +41,8 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst super (ctx, M_AttributeSetInstance_ID, trxName); /** if (M_AttributeSetInstance_ID == 0) { - setM_AttributeSetInstance_ID (0); setM_AttributeSet_ID (0); + setM_AttributeSetInstance_ID (0); } */ } @@ -80,12 +80,6 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -120,12 +114,6 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst */ public void setLot (String Lot) { - - if (Lot != null && Lot.length() > 40) - { - log.warning("Length > 40 - truncated"); - Lot = Lot.substring(0, 40); - } set_Value (COLUMNNAME_Lot, Lot); } @@ -137,36 +125,6 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst return (String)get_Value(COLUMNNAME_Lot); } - /** Set Attribute Set Instance. - @param M_AttributeSetInstance_ID - Product Attribute Set Instance - */ - public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) - { - if (M_AttributeSetInstance_ID < 0) - throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID)); - } - - /** Get Attribute Set Instance. - @return Product Attribute Set Instance - */ - public int getM_AttributeSetInstance_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeSetInstance_ID())); - } - public I_M_AttributeSet getM_AttributeSet() throws Exception { Class clazz = MTable.getClass(I_M_AttributeSet.Table_Name); @@ -205,6 +163,36 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst return ii.intValue(); } + /** Set Attribute Set Instance. + @param M_AttributeSetInstance_ID + Product Attribute Set Instance + */ + public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) + { + if (M_AttributeSetInstance_ID < 0) + throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID)); + } + + /** Get Attribute Set Instance. + @return Product Attribute Set Instance + */ + public int getM_AttributeSetInstance_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeSetInstance_ID())); + } + public I_M_Lot getM_Lot() throws Exception { Class clazz = MTable.getClass(I_M_Lot.Table_Name); @@ -250,12 +238,6 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst */ public void setSerNo (String SerNo) { - - if (SerNo != null && SerNo.length() > 40) - { - log.warning("Length > 40 - truncated"); - SerNo = SerNo.substring(0, 40); - } set_Value (COLUMNNAME_SerNo, SerNo); } diff --git a/base/src/org/compiere/model/X_M_AttributeUse.java b/base/src/org/compiere/model/X_M_AttributeUse.java index 5c33b47cd3..eabf18d02c 100644 --- a/base/src/org/compiere/model/X_M_AttributeUse.java +++ b/base/src/org/compiere/model/X_M_AttributeUse.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeUse * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persistent { @@ -40,8 +40,8 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persiste super (ctx, M_AttributeUse_ID, trxName); /** if (M_AttributeUse_ID == 0) { - setM_AttributeSet_ID (0); setM_Attribute_ID (0); + setM_AttributeSet_ID (0); setSeqNo (0); // @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM M_AttributeUse WHERE M_AttributeSet_ID=@M_AttributeSet_ID@ } */ @@ -75,6 +75,44 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persiste return sb.toString(); } + public I_M_Attribute getM_Attribute() throws Exception + { + Class clazz = MTable.getClass(I_M_Attribute.Table_Name); + I_M_Attribute result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_Attribute)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Attribute_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Attribute. + @param M_Attribute_ID + Product Attribute + */ + public void setM_Attribute_ID (int M_Attribute_ID) + { + if (M_Attribute_ID < 1) + throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_Attribute_ID, Integer.valueOf(M_Attribute_ID)); + } + + /** Get Attribute. + @return Product Attribute + */ + public int getM_Attribute_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Attribute_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_AttributeSet getM_AttributeSet() throws Exception { Class clazz = MTable.getClass(I_M_AttributeSet.Table_Name); @@ -121,44 +159,6 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persiste return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeSet_ID())); } - public I_M_Attribute getM_Attribute() throws Exception - { - Class clazz = MTable.getClass(I_M_Attribute.Table_Name); - I_M_Attribute result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_Attribute)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Attribute_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Attribute. - @param M_Attribute_ID - Product Attribute - */ - public void setM_Attribute_ID (int M_Attribute_ID) - { - if (M_Attribute_ID < 1) - throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_Attribute_ID, Integer.valueOf(M_Attribute_ID)); - } - - /** Get Attribute. - @return Product Attribute - */ - public int getM_Attribute_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Attribute_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Sequence. @param SeqNo Method of ordering records; lowest number comes first diff --git a/base/src/org/compiere/model/X_M_AttributeValue.java b/base/src/org/compiere/model/X_M_AttributeValue.java index 0e57813259..995b0c3bbc 100644 --- a/base/src/org/compiere/model/X_M_AttributeValue.java +++ b/base/src/org/compiere/model/X_M_AttributeValue.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeValue * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Persistent { @@ -40,8 +40,8 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers super (ctx, M_AttributeValue_ID, trxName); /** if (M_AttributeValue_ID == 0) { - setM_AttributeValue_ID (0); setM_Attribute_ID (0); + setM_AttributeValue_ID (0); setName (null); setValue (null); } */ @@ -81,12 +81,6 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -98,28 +92,6 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers return (String)get_Value(COLUMNNAME_Description); } - /** Set Attribute Value. - @param M_AttributeValue_ID - Product Attribute Value - */ - public void setM_AttributeValue_ID (int M_AttributeValue_ID) - { - if (M_AttributeValue_ID < 1) - throw new IllegalArgumentException ("M_AttributeValue_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_AttributeValue_ID, Integer.valueOf(M_AttributeValue_ID)); - } - - /** Get Attribute Value. - @return Product Attribute Value - */ - public int getM_AttributeValue_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeValue_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Attribute getM_Attribute() throws Exception { Class clazz = MTable.getClass(I_M_Attribute.Table_Name); @@ -158,6 +130,28 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers return ii.intValue(); } + /** Set Attribute Value. + @param M_AttributeValue_ID + Product Attribute Value + */ + public void setM_AttributeValue_ID (int M_AttributeValue_ID) + { + if (M_AttributeValue_ID < 1) + throw new IllegalArgumentException ("M_AttributeValue_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_AttributeValue_ID, Integer.valueOf(M_AttributeValue_ID)); + } + + /** Get Attribute Value. + @return Product Attribute Value + */ + public int getM_AttributeValue_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeValue_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -166,12 +160,6 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -199,12 +187,6 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_M_BOM.java b/base/src/org/compiere/model/X_M_BOM.java index 369e73853a..79a0398fb5 100644 --- a/base/src/org/compiere/model/X_M_BOM.java +++ b/base/src/org/compiere/model/X_M_BOM.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_BOM * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent { @@ -103,13 +103,7 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent public void setBOMType (String BOMType) { if (BOMType == null) throw new IllegalArgumentException ("BOMType is mandatory"); - if (BOMType.equals("A") || BOMType.equals("O") || BOMType.equals("P") || BOMType.equals("S") || BOMType.equals("F") || BOMType.equals("M") || BOMType.equals("R") || BOMType.equals("C")); else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=347 - A - O - P - S - F - M - R - C"); - if (BOMType.length() > 1) - { - log.warning("Length > 1 - truncated"); - BOMType = BOMType.substring(0, 1); - } - set_Value (COLUMNNAME_BOMType, BOMType); + if (BOMType.equals("A") || BOMType.equals("O") || BOMType.equals("P") || BOMType.equals("S") || BOMType.equals("F") || BOMType.equals("M") || BOMType.equals("R") || BOMType.equals("C")); else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=347 - A - O - P - S - F - M - R - C"); set_Value (COLUMNNAME_BOMType, BOMType); } /** Get BOM Type. @@ -139,13 +133,7 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent public void setBOMUse (String BOMUse) { if (BOMUse == null) throw new IllegalArgumentException ("BOMUse is mandatory"); - if (BOMUse.equals("A") || BOMUse.equals("E") || BOMUse.equals("M") || BOMUse.equals("P") || BOMUse.equals("Q")); else throw new IllegalArgumentException ("BOMUse Invalid value - " + BOMUse + " - Reference_ID=348 - A - E - M - P - Q"); - if (BOMUse.length() > 1) - { - log.warning("Length > 1 - truncated"); - BOMUse = BOMUse.substring(0, 1); - } - set_Value (COLUMNNAME_BOMUse, BOMUse); + if (BOMUse.equals("A") || BOMUse.equals("E") || BOMUse.equals("M") || BOMUse.equals("P") || BOMUse.equals("Q")); else throw new IllegalArgumentException ("BOMUse Invalid value - " + BOMUse + " - Reference_ID=348 - A - E - M - P - Q"); set_Value (COLUMNNAME_BOMUse, BOMUse); } /** Get BOM Use. @@ -162,12 +150,6 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -185,12 +167,6 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -309,12 +285,6 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_BOMAlternative.java b/base/src/org/compiere/model/X_M_BOMAlternative.java index 55a2cb3f97..cc3b99377c 100644 --- a/base/src/org/compiere/model/X_M_BOMAlternative.java +++ b/base/src/org/compiere/model/X_M_BOMAlternative.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_BOMAlternative * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Persistent { @@ -80,12 +80,6 @@ public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_BOMProduct.java b/base/src/org/compiere/model/X_M_BOMProduct.java index a6bff3f117..f351ff8e3d 100644 --- a/base/src/org/compiere/model/X_M_BOMProduct.java +++ b/base/src/org/compiere/model/X_M_BOMProduct.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_BOMProduct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent { @@ -50,8 +50,8 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent setLeadTimeOffset (0); setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_BOMProduct WHERE M_BOM_ID=@M_BOM_ID@ - setM_BOMProduct_ID (0); setM_BOM_ID (0); + setM_BOMProduct_ID (0); } */ } @@ -102,13 +102,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent public void setBOMProductType (String BOMProductType) { if (BOMProductType == null) throw new IllegalArgumentException ("BOMProductType is mandatory"); - if (BOMProductType.equals("S") || BOMProductType.equals("O") || BOMProductType.equals("A") || BOMProductType.equals("D") || BOMProductType.equals("X")); else throw new IllegalArgumentException ("BOMProductType Invalid value - " + BOMProductType + " - Reference_ID=349 - S - O - A - D - X"); - if (BOMProductType.length() > 1) - { - log.warning("Length > 1 - truncated"); - BOMProductType = BOMProductType.substring(0, 1); - } - set_Value (COLUMNNAME_BOMProductType, BOMProductType); + if (BOMProductType.equals("S") || BOMProductType.equals("O") || BOMProductType.equals("A") || BOMProductType.equals("D") || BOMProductType.equals("X")); else throw new IllegalArgumentException ("BOMProductType Invalid value - " + BOMProductType + " - Reference_ID=349 - S - O - A - D - X"); set_Value (COLUMNNAME_BOMProductType, BOMProductType); } /** Get Component Type. @@ -147,12 +141,6 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -170,12 +158,6 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -321,28 +303,6 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent return ii.intValue(); } - /** Set BOM Component. - @param M_BOMProduct_ID - Bill of Material Component (Product) - */ - public void setM_BOMProduct_ID (int M_BOMProduct_ID) - { - if (M_BOMProduct_ID < 1) - throw new IllegalArgumentException ("M_BOMProduct_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_BOMProduct_ID, Integer.valueOf(M_BOMProduct_ID)); - } - - /** Get BOM Component. - @return Bill of Material Component (Product) - */ - public int getM_BOMProduct_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_BOMProduct_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_BOM getM_BOM() throws Exception { Class clazz = MTable.getClass(I_M_BOM.Table_Name); @@ -381,6 +341,28 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent return ii.intValue(); } + /** Set BOM Component. + @param M_BOMProduct_ID + Bill of Material Component (Product) + */ + public void setM_BOMProduct_ID (int M_BOMProduct_ID) + { + if (M_BOMProduct_ID < 1) + throw new IllegalArgumentException ("M_BOMProduct_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_BOMProduct_ID, Integer.valueOf(M_BOMProduct_ID)); + } + + /** Get BOM Component. + @return Bill of Material Component (Product) + */ + public int getM_BOMProduct_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_BOMProduct_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_ChangeNotice getM_ChangeNotice() throws Exception { Class clazz = MTable.getClass(I_M_ChangeNotice.Table_Name); diff --git a/base/src/org/compiere/model/X_M_ChangeNotice.java b/base/src/org/compiere/model/X_M_ChangeNotice.java index 3ccea6ff69..9c23a92c27 100644 --- a/base/src/org/compiere/model/X_M_ChangeNotice.java +++ b/base/src/org/compiere/model/X_M_ChangeNotice.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ChangeNotice * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persistent { @@ -80,12 +80,6 @@ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -120,12 +114,6 @@ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -191,12 +179,6 @@ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_ChangeRequest.java b/base/src/org/compiere/model/X_M_ChangeRequest.java index ab3556a06c..fac0c7dc06 100644 --- a/base/src/org/compiere/model/X_M_ChangeRequest.java +++ b/base/src/org/compiere/model/X_M_ChangeRequest.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ChangeRequest * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persistent { @@ -83,12 +83,6 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -125,12 +119,6 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -156,12 +144,6 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -330,12 +312,6 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_Cost.java b/base/src/org/compiere/model/X_M_Cost.java index 41b9a64ec4..1f033dbc16 100644 --- a/base/src/org/compiere/model/X_M_Cost.java +++ b/base/src/org/compiere/model/X_M_Cost.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_Cost * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent { @@ -43,6 +43,7 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent { setC_AcctSchema_ID (0); setCurrentCostPrice (Env.ZERO); + setCurrentCostPriceLL (Env.ZERO); setCurrentQty (Env.ZERO); setFutureCostPrice (Env.ZERO); setM_AttributeSetInstance_ID (0); @@ -217,18 +218,17 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent return bd; } - /** Set Current Cost Price Low Level. - @param CurrentCostPriceLL - The low level cost is using to accumulation the cost for low level in a bill of material or formula. - */ + /** Set CurrentCostPriceLL. + @param CurrentCostPriceLL CurrentCostPriceLL */ public void setCurrentCostPriceLL (BigDecimal CurrentCostPriceLL) { - set_ValueNoCheck (COLUMNNAME_CurrentCostPriceLL, CurrentCostPriceLL); + if (CurrentCostPriceLL == null) + throw new IllegalArgumentException ("CurrentCostPriceLL is mandatory."); + set_Value (COLUMNNAME_CurrentCostPriceLL, CurrentCostPriceLL); } - /** Get Current Cost Price Low Level. - @return The low level cost is using to accumulation the cost for low level in a bill of material or formula. - */ + /** Get CurrentCostPriceLL. + @return CurrentCostPriceLL */ public BigDecimal getCurrentCostPriceLL () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrentCostPriceLL); @@ -265,12 +265,6 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_M_CostDetail.java b/base/src/org/compiere/model/X_M_CostDetail.java index 75dc9a40a9..b931ba4f1d 100644 --- a/base/src/org/compiere/model/X_M_CostDetail.java +++ b/base/src/org/compiere/model/X_M_CostDetail.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_CostDetail * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent { @@ -303,12 +303,6 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_M_CostElement.java b/base/src/org/compiere/model/X_M_CostElement.java index 03a579026d..0642ba98ee 100644 --- a/base/src/org/compiere/model/X_M_CostElement.java +++ b/base/src/org/compiere/model/X_M_CostElement.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_CostElement * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent { @@ -92,13 +92,7 @@ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent public void setCostElementType (String CostElementType) { if (CostElementType == null) throw new IllegalArgumentException ("CostElementType is mandatory"); - if (CostElementType.equals("M") || CostElementType.equals("O") || CostElementType.equals("B") || CostElementType.equals("X") || CostElementType.equals("R")); else throw new IllegalArgumentException ("CostElementType Invalid value - " + CostElementType + " - Reference_ID=338 - M - O - B - X - R"); - if (CostElementType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CostElementType = CostElementType.substring(0, 1); - } - set_Value (COLUMNNAME_CostElementType, CostElementType); + if (CostElementType.equals("M") || CostElementType.equals("O") || CostElementType.equals("B") || CostElementType.equals("X") || CostElementType.equals("R")); else throw new IllegalArgumentException ("CostElementType Invalid value - " + CostElementType + " - Reference_ID=338 - M - O - B - X - R"); set_Value (COLUMNNAME_CostElementType, CostElementType); } /** Get Cost Element Type. @@ -136,13 +130,7 @@ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent public void setCostingMethod (String CostingMethod) { - if (CostingMethod == null || CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x")); else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x"); - if (CostingMethod != null && CostingMethod.length() > 1) - { - log.warning("Length > 1 - truncated"); - CostingMethod = CostingMethod.substring(0, 1); - } - set_Value (COLUMNNAME_CostingMethod, CostingMethod); + if (CostingMethod == null || CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x")); else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x"); set_Value (COLUMNNAME_CostingMethod, CostingMethod); } /** Get Costing Method. @@ -159,12 +147,6 @@ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -230,12 +212,6 @@ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_CostQueue.java b/base/src/org/compiere/model/X_M_CostQueue.java index 69c5acae74..7e769e4844 100644 --- a/base/src/org/compiere/model/X_M_CostQueue.java +++ b/base/src/org/compiere/model/X_M_CostQueue.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_CostQueue * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_CostQueue extends PO implements I_M_CostQueue, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_CostType.java b/base/src/org/compiere/model/X_M_CostType.java index eda6737d58..0b841fc9d6 100644 --- a/base/src/org/compiere/model/X_M_CostType.java +++ b/base/src/org/compiere/model/X_M_CostType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_CostType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_CostType extends PO implements I_M_CostType, I_Persistent { @@ -77,12 +77,6 @@ public class X_M_CostType extends PO implements I_M_CostType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -100,12 +94,6 @@ public class X_M_CostType extends PO implements I_M_CostType, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -147,12 +135,6 @@ public class X_M_CostType extends PO implements I_M_CostType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_Demand.java b/base/src/org/compiere/model/X_M_Demand.java index aafbedc081..81aa3339e3 100644 --- a/base/src/org/compiere/model/X_M_Demand.java +++ b/base/src/org/compiere/model/X_M_Demand.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Demand * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent { @@ -158,12 +158,6 @@ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -181,12 +175,6 @@ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -252,12 +240,6 @@ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_DemandDetail.java b/base/src/org/compiere/model/X_M_DemandDetail.java index f2994ce8fd..c89673775e 100644 --- a/base/src/org/compiere/model/X_M_DemandDetail.java +++ b/base/src/org/compiere/model/X_M_DemandDetail.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DemandDetail * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_DemandLine.java b/base/src/org/compiere/model/X_M_DemandLine.java index 38a84d92fa..ee86e6abd4 100644 --- a/base/src/org/compiere/model/X_M_DemandLine.java +++ b/base/src/org/compiere/model/X_M_DemandLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DemandLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent { @@ -43,8 +43,8 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent /** if (M_DemandLine_ID == 0) { setC_Period_ID (0); - setM_DemandLine_ID (0); setM_Demand_ID (0); + setM_DemandLine_ID (0); setM_Product_ID (0); setQty (Env.ZERO); setQtyCalculated (Env.ZERO); @@ -125,28 +125,6 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getC_Period_ID())); } - /** Set Demand Line. - @param M_DemandLine_ID - Material Demand Line - */ - public void setM_DemandLine_ID (int M_DemandLine_ID) - { - if (M_DemandLine_ID < 1) - throw new IllegalArgumentException ("M_DemandLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_DemandLine_ID, Integer.valueOf(M_DemandLine_ID)); - } - - /** Get Demand Line. - @return Material Demand Line - */ - public int getM_DemandLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_DemandLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Demand getM_Demand() throws Exception { Class clazz = MTable.getClass(I_M_Demand.Table_Name); @@ -185,6 +163,28 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent return ii.intValue(); } + /** Set Demand Line. + @param M_DemandLine_ID + Material Demand Line + */ + public void setM_DemandLine_ID (int M_DemandLine_ID) + { + if (M_DemandLine_ID < 1) + throw new IllegalArgumentException ("M_DemandLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_DemandLine_ID, Integer.valueOf(M_DemandLine_ID)); + } + + /** Get Demand Line. + @return Material Demand Line + */ + public int getM_DemandLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_DemandLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); diff --git a/base/src/org/compiere/model/X_M_DiscountSchema.java b/base/src/org/compiere/model/X_M_DiscountSchema.java index b5c1f7c1f3..86fb836c37 100644 --- a/base/src/org/compiere/model/X_M_DiscountSchema.java +++ b/base/src/org/compiere/model/X_M_DiscountSchema.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DiscountSchema * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Persistent { @@ -47,7 +47,7 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers // Y setM_DiscountSchema_ID (0); setName (null); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } @@ -90,13 +90,7 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers public void setCumulativeLevel (String CumulativeLevel) { - if (CumulativeLevel == null || CumulativeLevel.equals("L")); else throw new IllegalArgumentException ("CumulativeLevel Invalid value - " + CumulativeLevel + " - Reference_ID=246 - L"); - if (CumulativeLevel != null && CumulativeLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - CumulativeLevel = CumulativeLevel.substring(0, 1); - } - set_Value (COLUMNNAME_CumulativeLevel, CumulativeLevel); + if (CumulativeLevel == null || CumulativeLevel.equals("L")); else throw new IllegalArgumentException ("CumulativeLevel Invalid value - " + CumulativeLevel + " - Reference_ID=246 - L"); set_Value (COLUMNNAME_CumulativeLevel, CumulativeLevel); } /** Get Accumulation Level. @@ -113,12 +107,6 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -147,13 +135,7 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers public void setDiscountType (String DiscountType) { if (DiscountType == null) throw new IllegalArgumentException ("DiscountType is mandatory"); - if (DiscountType.equals("F") || DiscountType.equals("S") || DiscountType.equals("B") || DiscountType.equals("P")); else throw new IllegalArgumentException ("DiscountType Invalid value - " + DiscountType + " - Reference_ID=247 - F - S - B - P"); - if (DiscountType.length() > 1) - { - log.warning("Length > 1 - truncated"); - DiscountType = DiscountType.substring(0, 1); - } - set_Value (COLUMNNAME_DiscountType, DiscountType); + if (DiscountType.equals("F") || DiscountType.equals("S") || DiscountType.equals("B") || DiscountType.equals("P")); else throw new IllegalArgumentException ("DiscountType Invalid value - " + DiscountType + " - Reference_ID=247 - F - S - B - P"); set_Value (COLUMNNAME_DiscountType, DiscountType); } /** Get Discount Type. @@ -262,12 +244,6 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -314,12 +290,6 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers */ public void setScript (String Script) { - - if (Script != null && Script.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Script = Script.substring(0, 2000); - } set_Value (COLUMNNAME_Script, Script); } diff --git a/base/src/org/compiere/model/X_M_DiscountSchemaBreak.java b/base/src/org/compiere/model/X_M_DiscountSchemaBreak.java index 4bba5b017c..05e6a1b154 100644 --- a/base/src/org/compiere/model/X_M_DiscountSchemaBreak.java +++ b/base/src/org/compiere/model/X_M_DiscountSchemaBreak.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DiscountSchemaBreak * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBreak, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_DiscountSchemaLine.java b/base/src/org/compiere/model/X_M_DiscountSchemaLine.java index 9d74606fb1..6a364b5287 100644 --- a/base/src/org/compiere/model/X_M_DiscountSchemaLine.java +++ b/base/src/org/compiere/model/X_M_DiscountSchemaLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DiscountSchemaLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine, I_Persistent { @@ -44,7 +44,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine /** if (M_DiscountSchemaLine_ID == 0) { setC_ConversionType_ID (0); - setConversionDate (new Timestamp(System.currentTimeMillis())); + setConversionDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ setLimit_AddAmt (Env.ZERO); setLimit_Base (null); @@ -62,8 +62,8 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine setList_MinAmt (Env.ZERO); setList_Rounding (null); // C - setM_DiscountSchemaLine_ID (0); setM_DiscountSchema_ID (0); + setM_DiscountSchemaLine_ID (0); setSeqNo (0); // @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM M_DiscountSchemaLine WHERE M_DiscountSchema_ID=@M_DiscountSchema_ID@ setStd_AddAmt (Env.ZERO); @@ -188,12 +188,6 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine */ public void setClassification (String Classification) { - - if (Classification != null && Classification.length() > 12) - { - log.warning("Length > 12 - truncated"); - Classification = Classification.substring(0, 12); - } set_Value (COLUMNNAME_Classification, Classification); } @@ -228,12 +222,6 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine @param Group1 Group1 */ public void setGroup1 (String Group1) { - - if (Group1 != null && Group1.length() > 255) - { - log.warning("Length > 255 - truncated"); - Group1 = Group1.substring(0, 255); - } set_Value (COLUMNNAME_Group1, Group1); } @@ -248,12 +236,6 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine @param Group2 Group2 */ public void setGroup2 (String Group2) { - - if (Group2 != null && Group2.length() > 255) - { - log.warning("Length > 255 - truncated"); - Group2 = Group2.substring(0, 255); - } set_Value (COLUMNNAME_Group2, Group2); } @@ -303,13 +285,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine public void setLimit_Base (String Limit_Base) { if (Limit_Base == null) throw new IllegalArgumentException ("Limit_Base is mandatory"); - if (Limit_Base.equals("L") || Limit_Base.equals("S") || Limit_Base.equals("X") || Limit_Base.equals("F")); else throw new IllegalArgumentException ("Limit_Base Invalid value - " + Limit_Base + " - Reference_ID=194 - L - S - X - F"); - if (Limit_Base.length() > 1) - { - log.warning("Length > 1 - truncated"); - Limit_Base = Limit_Base.substring(0, 1); - } - set_Value (COLUMNNAME_Limit_Base, Limit_Base); + if (Limit_Base.equals("L") || Limit_Base.equals("S") || Limit_Base.equals("X") || Limit_Base.equals("F")); else throw new IllegalArgumentException ("Limit_Base Invalid value - " + Limit_Base + " - Reference_ID=194 - L - S - X - F"); set_Value (COLUMNNAME_Limit_Base, Limit_Base); } /** Get Limit price Base. @@ -431,13 +407,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine public void setLimit_Rounding (String Limit_Rounding) { if (Limit_Rounding == null) throw new IllegalArgumentException ("Limit_Rounding is mandatory"); - if (Limit_Rounding.equals("0") || Limit_Rounding.equals("N") || Limit_Rounding.equals("Q") || Limit_Rounding.equals("D") || Limit_Rounding.equals("5") || Limit_Rounding.equals("T") || Limit_Rounding.equals("C") || Limit_Rounding.equals("9")); else throw new IllegalArgumentException ("Limit_Rounding Invalid value - " + Limit_Rounding + " - Reference_ID=155 - 0 - N - Q - D - 5 - T - C - 9"); - if (Limit_Rounding.length() > 1) - { - log.warning("Length > 1 - truncated"); - Limit_Rounding = Limit_Rounding.substring(0, 1); - } - set_Value (COLUMNNAME_Limit_Rounding, Limit_Rounding); + if (Limit_Rounding.equals("0") || Limit_Rounding.equals("N") || Limit_Rounding.equals("Q") || Limit_Rounding.equals("D") || Limit_Rounding.equals("5") || Limit_Rounding.equals("T") || Limit_Rounding.equals("C") || Limit_Rounding.equals("9")); else throw new IllegalArgumentException ("Limit_Rounding Invalid value - " + Limit_Rounding + " - Reference_ID=155 - 0 - N - Q - D - 5 - T - C - 9"); set_Value (COLUMNNAME_Limit_Rounding, Limit_Rounding); } /** Get Limit price Rounding. @@ -487,13 +457,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine public void setList_Base (String List_Base) { if (List_Base == null) throw new IllegalArgumentException ("List_Base is mandatory"); - if (List_Base.equals("L") || List_Base.equals("S") || List_Base.equals("X") || List_Base.equals("F")); else throw new IllegalArgumentException ("List_Base Invalid value - " + List_Base + " - Reference_ID=194 - L - S - X - F"); - if (List_Base.length() > 1) - { - log.warning("Length > 1 - truncated"); - List_Base = List_Base.substring(0, 1); - } - set_Value (COLUMNNAME_List_Base, List_Base); + if (List_Base.equals("L") || List_Base.equals("S") || List_Base.equals("X") || List_Base.equals("F")); else throw new IllegalArgumentException ("List_Base Invalid value - " + List_Base + " - Reference_ID=194 - L - S - X - F"); set_Value (COLUMNNAME_List_Base, List_Base); } /** Get List price Base. @@ -615,13 +579,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine public void setList_Rounding (String List_Rounding) { if (List_Rounding == null) throw new IllegalArgumentException ("List_Rounding is mandatory"); - if (List_Rounding.equals("0") || List_Rounding.equals("N") || List_Rounding.equals("Q") || List_Rounding.equals("D") || List_Rounding.equals("5") || List_Rounding.equals("T") || List_Rounding.equals("C") || List_Rounding.equals("9")); else throw new IllegalArgumentException ("List_Rounding Invalid value - " + List_Rounding + " - Reference_ID=155 - 0 - N - Q - D - 5 - T - C - 9"); - if (List_Rounding.length() > 1) - { - log.warning("Length > 1 - truncated"); - List_Rounding = List_Rounding.substring(0, 1); - } - set_Value (COLUMNNAME_List_Rounding, List_Rounding); + if (List_Rounding.equals("0") || List_Rounding.equals("N") || List_Rounding.equals("Q") || List_Rounding.equals("D") || List_Rounding.equals("5") || List_Rounding.equals("T") || List_Rounding.equals("C") || List_Rounding.equals("9")); else throw new IllegalArgumentException ("List_Rounding Invalid value - " + List_Rounding + " - Reference_ID=155 - 0 - N - Q - D - 5 - T - C - 9"); set_Value (COLUMNNAME_List_Rounding, List_Rounding); } /** Get List price Rounding. @@ -632,28 +590,6 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine return (String)get_Value(COLUMNNAME_List_Rounding); } - /** Set Discount Pricelist. - @param M_DiscountSchemaLine_ID - Line of the pricelist trade discount schema - */ - public void setM_DiscountSchemaLine_ID (int M_DiscountSchemaLine_ID) - { - if (M_DiscountSchemaLine_ID < 1) - throw new IllegalArgumentException ("M_DiscountSchemaLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_DiscountSchemaLine_ID, Integer.valueOf(M_DiscountSchemaLine_ID)); - } - - /** Get Discount Pricelist. - @return Line of the pricelist trade discount schema - */ - public int getM_DiscountSchemaLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_DiscountSchemaLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_DiscountSchema getM_DiscountSchema() throws Exception { Class clazz = MTable.getClass(I_M_DiscountSchema.Table_Name); @@ -692,6 +628,28 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine return ii.intValue(); } + /** Set Discount Pricelist. + @param M_DiscountSchemaLine_ID + Line of the pricelist trade discount schema + */ + public void setM_DiscountSchemaLine_ID (int M_DiscountSchemaLine_ID) + { + if (M_DiscountSchemaLine_ID < 1) + throw new IllegalArgumentException ("M_DiscountSchemaLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_DiscountSchemaLine_ID, Integer.valueOf(M_DiscountSchemaLine_ID)); + } + + /** Get Discount Pricelist. + @return Line of the pricelist trade discount schema + */ + public int getM_DiscountSchemaLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_DiscountSchemaLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_Product_Category getM_Product_Category() throws Exception { Class clazz = MTable.getClass(I_M_Product_Category.Table_Name); @@ -837,13 +795,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine public void setStd_Base (String Std_Base) { if (Std_Base == null) throw new IllegalArgumentException ("Std_Base is mandatory"); - if (Std_Base.equals("L") || Std_Base.equals("S") || Std_Base.equals("X") || Std_Base.equals("F")); else throw new IllegalArgumentException ("Std_Base Invalid value - " + Std_Base + " - Reference_ID=194 - L - S - X - F"); - if (Std_Base.length() > 1) - { - log.warning("Length > 1 - truncated"); - Std_Base = Std_Base.substring(0, 1); - } - set_Value (COLUMNNAME_Std_Base, Std_Base); + if (Std_Base.equals("L") || Std_Base.equals("S") || Std_Base.equals("X") || Std_Base.equals("F")); else throw new IllegalArgumentException ("Std_Base Invalid value - " + Std_Base + " - Reference_ID=194 - L - S - X - F"); set_Value (COLUMNNAME_Std_Base, Std_Base); } /** Get Standard price Base. @@ -965,13 +917,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine public void setStd_Rounding (String Std_Rounding) { if (Std_Rounding == null) throw new IllegalArgumentException ("Std_Rounding is mandatory"); - if (Std_Rounding.equals("0") || Std_Rounding.equals("N") || Std_Rounding.equals("Q") || Std_Rounding.equals("D") || Std_Rounding.equals("5") || Std_Rounding.equals("T") || Std_Rounding.equals("C") || Std_Rounding.equals("9")); else throw new IllegalArgumentException ("Std_Rounding Invalid value - " + Std_Rounding + " - Reference_ID=155 - 0 - N - Q - D - 5 - T - C - 9"); - if (Std_Rounding.length() > 1) - { - log.warning("Length > 1 - truncated"); - Std_Rounding = Std_Rounding.substring(0, 1); - } - set_Value (COLUMNNAME_Std_Rounding, Std_Rounding); + if (Std_Rounding.equals("0") || Std_Rounding.equals("N") || Std_Rounding.equals("Q") || Std_Rounding.equals("D") || Std_Rounding.equals("5") || Std_Rounding.equals("T") || Std_Rounding.equals("C") || Std_Rounding.equals("9")); else throw new IllegalArgumentException ("Std_Rounding Invalid value - " + Std_Rounding + " - Reference_ID=155 - 0 - N - Q - D - 5 - T - C - 9"); set_Value (COLUMNNAME_Std_Rounding, Std_Rounding); } /** Get Standard price Rounding. diff --git a/base/src/org/compiere/model/X_M_DistributionList.java b/base/src/org/compiere/model/X_M_DistributionList.java index f9cc322b8c..31f4f266a4 100644 --- a/base/src/org/compiere/model/X_M_DistributionList.java +++ b/base/src/org/compiere/model/X_M_DistributionList.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionList * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_DistributionList extends PO implements I_M_DistributionList, I_Persistent { @@ -79,12 +79,6 @@ public class X_M_DistributionList extends PO implements I_M_DistributionList, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -102,12 +96,6 @@ public class X_M_DistributionList extends PO implements I_M_DistributionList, I_ */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -149,12 +137,6 @@ public class X_M_DistributionList extends PO implements I_M_DistributionList, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_DistributionListLine.java b/base/src/org/compiere/model/X_M_DistributionListLine.java index 43f85e2727..83c60458d6 100644 --- a/base/src/org/compiere/model/X_M_DistributionListLine.java +++ b/base/src/org/compiere/model/X_M_DistributionListLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionListLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_DistributionListLine extends PO implements I_M_DistributionListLine, I_Persistent { @@ -44,8 +44,8 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList { setC_BPartner_ID (0); setC_BPartner_Location_ID (0); - setM_DistributionListLine_ID (0); setM_DistributionList_ID (0); + setM_DistributionListLine_ID (0); setMinQty (Env.ZERO); } */ } @@ -160,12 +160,6 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -177,28 +171,6 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList return (String)get_Value(COLUMNNAME_Description); } - /** Set Distribution List Line. - @param M_DistributionListLine_ID - Distribution List Line with Business Partner and Quantity/Percentage - */ - public void setM_DistributionListLine_ID (int M_DistributionListLine_ID) - { - if (M_DistributionListLine_ID < 1) - throw new IllegalArgumentException ("M_DistributionListLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_DistributionListLine_ID, Integer.valueOf(M_DistributionListLine_ID)); - } - - /** Get Distribution List Line. - @return Distribution List Line with Business Partner and Quantity/Percentage - */ - public int getM_DistributionListLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_DistributionListLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_DistributionList getM_DistributionList() throws Exception { Class clazz = MTable.getClass(I_M_DistributionList.Table_Name); @@ -245,6 +217,28 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList return new KeyNamePair(get_ID(), String.valueOf(getM_DistributionList_ID())); } + /** Set Distribution List Line. + @param M_DistributionListLine_ID + Distribution List Line with Business Partner and Quantity/Percentage + */ + public void setM_DistributionListLine_ID (int M_DistributionListLine_ID) + { + if (M_DistributionListLine_ID < 1) + throw new IllegalArgumentException ("M_DistributionListLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_DistributionListLine_ID, Integer.valueOf(M_DistributionListLine_ID)); + } + + /** Get Distribution List Line. + @return Distribution List Line with Business Partner and Quantity/Percentage + */ + public int getM_DistributionListLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_DistributionListLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Minimum Quantity. @param MinQty Minimum quantity for the business partner diff --git a/base/src/org/compiere/model/X_M_DistributionRun.java b/base/src/org/compiere/model/X_M_DistributionRun.java index e8452732d5..ab18dba59d 100644 --- a/base/src/org/compiere/model/X_M_DistributionRun.java +++ b/base/src/org/compiere/model/X_M_DistributionRun.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionRun * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Persistent { @@ -159,12 +159,6 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -230,12 +224,6 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_DistributionRunLine.java b/base/src/org/compiere/model/X_M_DistributionRunLine.java index 2998b1b5f0..4d5942c952 100644 --- a/base/src/org/compiere/model/X_M_DistributionRunLine.java +++ b/base/src/org/compiere/model/X_M_DistributionRunLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionRunLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLine, I_Persistent { @@ -45,11 +45,11 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_DistributionRunLine WHERE M_DistributionRun_ID=@M_DistributionRun_ID@ setM_DistributionList_ID (0); - setM_DistributionRunLine_ID (0); setM_DistributionRun_ID (0); - setM_Product_ID (0); + setM_DistributionRunLine_ID (0); setMinQty (Env.ZERO); // 0 + setM_Product_ID (0); setTotalQty (Env.ZERO); } */ } @@ -88,12 +88,6 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -163,28 +157,6 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi return ii.intValue(); } - /** Set Distribution Run Line. - @param M_DistributionRunLine_ID - Distribution Run Lines define Distribution List, the Product and Quantiries - */ - public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID) - { - if (M_DistributionRunLine_ID < 1) - throw new IllegalArgumentException ("M_DistributionRunLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_DistributionRunLine_ID, Integer.valueOf(M_DistributionRunLine_ID)); - } - - /** Get Distribution Run Line. - @return Distribution Run Lines define Distribution List, the Product and Quantiries - */ - public int getM_DistributionRunLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_DistributionRunLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_DistributionRun getM_DistributionRun() throws Exception { Class clazz = MTable.getClass(I_M_DistributionRun.Table_Name); @@ -231,6 +203,50 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi return new KeyNamePair(get_ID(), String.valueOf(getM_DistributionRun_ID())); } + /** Set Distribution Run Line. + @param M_DistributionRunLine_ID + Distribution Run Lines define Distribution List, the Product and Quantiries + */ + public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID) + { + if (M_DistributionRunLine_ID < 1) + throw new IllegalArgumentException ("M_DistributionRunLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_DistributionRunLine_ID, Integer.valueOf(M_DistributionRunLine_ID)); + } + + /** Get Distribution Run Line. + @return Distribution Run Lines define Distribution List, the Product and Quantiries + */ + public int getM_DistributionRunLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_DistributionRunLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Minimum Quantity. + @param MinQty + Minimum quantity for the business partner + */ + public void setMinQty (BigDecimal MinQty) + { + if (MinQty == null) + throw new IllegalArgumentException ("MinQty is mandatory."); + set_Value (COLUMNNAME_MinQty, MinQty); + } + + /** Get Minimum Quantity. + @return Minimum quantity for the business partner + */ + public BigDecimal getMinQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MinQty); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -269,28 +285,6 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi return ii.intValue(); } - /** Set Minimum Quantity. - @param MinQty - Minimum quantity for the business partner - */ - public void setMinQty (BigDecimal MinQty) - { - if (MinQty == null) - throw new IllegalArgumentException ("MinQty is mandatory."); - set_Value (COLUMNNAME_MinQty, MinQty); - } - - /** Get Minimum Quantity. - @return Minimum quantity for the business partner - */ - public BigDecimal getMinQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MinQty); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Total Quantity. @param TotalQty Total Quantity diff --git a/base/src/org/compiere/model/X_M_EDI.java b/base/src/org/compiere/model/X_M_EDI.java index d8c7e37711..f4563c725a 100644 --- a/base/src/org/compiere/model/X_M_EDI.java +++ b/base/src/org/compiere/model/X_M_EDI.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_EDI * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_EDI extends PO implements I_M_EDI, I_Persistent { @@ -52,8 +52,8 @@ public class X_M_EDI extends PO implements I_M_EDI, I_Persistent setM_Warehouse_ID (0); setProcessed (false); setRequest_Qty (Env.ZERO); - setRequest_Shipdate (new Timestamp(System.currentTimeMillis())); - setTrxSent (new Timestamp(System.currentTimeMillis())); + setRequest_Shipdate (new Timestamp( System.currentTimeMillis() )); + setTrxSent (new Timestamp( System.currentTimeMillis() )); setTrxType (null); } */ } @@ -132,11 +132,12 @@ public class X_M_EDI extends PO implements I_M_EDI, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); + int fieldLength = p_info.getFieldLength( COLUMNNAME_DocumentNo ); - if (DocumentNo.length() > 30) + if (DocumentNo.length() > fieldLength ) { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); + log.warning("Length > " + fieldLength + " - truncated"); + DocumentNo = DocumentNo.substring(0, fieldLength ); } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -172,11 +173,12 @@ public class X_M_EDI extends PO implements I_M_EDI, I_Persistent public void setEDIStatus (String EDIStatus) { if (EDIStatus == null) throw new IllegalArgumentException ("EDIStatus is mandatory"); - if (EDIStatus.equals("D") || EDIStatus.equals("S") || EDIStatus.equals("A") || EDIStatus.equals("C")); else throw new IllegalArgumentException ("EDIStatus Invalid value - " + EDIStatus + " - Reference_ID=202 - D - S - A - C"); - if (EDIStatus.length() > 1) + if (EDIStatus.equals("D") || EDIStatus.equals("S") || EDIStatus.equals("A") || EDIStatus.equals("C")); else throw new IllegalArgumentException ("EDIStatus Invalid value - " + EDIStatus + " - Reference_ID=202 - D - S - A - C"); int fieldLength = p_info.getFieldLength( COLUMNNAME_EDIStatus ); + + if (EDIStatus.length() > fieldLength ) { - log.warning("Length > 1 - truncated"); - EDIStatus = EDIStatus.substring(0, 1); + log.warning("Length > " + fieldLength + " - truncated"); + EDIStatus = EDIStatus.substring(0, fieldLength ); } set_ValueNoCheck (COLUMNNAME_EDIStatus, EDIStatus); } @@ -399,11 +401,12 @@ public class X_M_EDI extends PO implements I_M_EDI, I_Persistent @param Reply_Remarks Reply Remarks */ public void setReply_Remarks (String Reply_Remarks) { + int fieldLength = p_info.getFieldLength( COLUMNNAME_Reply_Remarks ); - if (Reply_Remarks != null && Reply_Remarks.length() > 2000) + if (Reply_Remarks != null && Reply_Remarks.length() > fieldLength ) { - log.warning("Length > 2000 - truncated"); - Reply_Remarks = Reply_Remarks.substring(0, 2000); + log.warning("Length > " + fieldLength + " - truncated"); + Reply_Remarks = Reply_Remarks.substring(0, fieldLength ); } set_Value (COLUMNNAME_Reply_Remarks, Reply_Remarks); } @@ -524,11 +527,12 @@ public class X_M_EDI extends PO implements I_M_EDI, I_Persistent public void setTrxType (String TrxType) { if (TrxType == null) throw new IllegalArgumentException ("TrxType is mandatory"); - if (TrxType.equals("I") || TrxType.equals("O")); else throw new IllegalArgumentException ("TrxType Invalid value - " + TrxType + " - Reference_ID=203 - I - O"); - if (TrxType.length() > 1) + if (TrxType.equals("I") || TrxType.equals("O")); else throw new IllegalArgumentException ("TrxType Invalid value - " + TrxType + " - Reference_ID=203 - I - O"); int fieldLength = p_info.getFieldLength( COLUMNNAME_TrxType ); + + if (TrxType.length() > fieldLength ) { - log.warning("Length > 1 - truncated"); - TrxType = TrxType.substring(0, 1); + log.warning("Length > " + fieldLength + " - truncated"); + TrxType = TrxType.substring(0, fieldLength ); } set_ValueNoCheck (COLUMNNAME_TrxType, TrxType); } diff --git a/base/src/org/compiere/model/X_M_EDI_Info.java b/base/src/org/compiere/model/X_M_EDI_Info.java index 13f92d9cd6..2f5675ea69 100644 --- a/base/src/org/compiere/model/X_M_EDI_Info.java +++ b/base/src/org/compiere/model/X_M_EDI_Info.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_EDI_Info * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_EDI_Info extends PO implements I_M_EDI_Info, I_Persistent { @@ -82,11 +82,12 @@ public class X_M_EDI_Info extends PO implements I_M_EDI_Info, I_Persistent { if (Info == null) throw new IllegalArgumentException ("Info is mandatory."); + int fieldLength = p_info.getFieldLength( COLUMNNAME_Info ); - if (Info.length() > 4000) + if (Info.length() > fieldLength ) { - log.warning("Length > 4000 - truncated"); - Info = Info.substring(0, 4000); + log.warning("Length > " + fieldLength + " - truncated"); + Info = Info.substring(0, fieldLength ); } set_Value (COLUMNNAME_Info, Info); } diff --git a/base/src/org/compiere/model/X_M_Forecast.java b/base/src/org/compiere/model/X_M_Forecast.java index 6f4a54d7d1..69885141a5 100644 --- a/base/src/org/compiere/model/X_M_Forecast.java +++ b/base/src/org/compiere/model/X_M_Forecast.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Forecast * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent { @@ -158,12 +158,6 @@ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -181,12 +175,6 @@ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -252,12 +240,6 @@ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_ForecastLine.java b/base/src/org/compiere/model/X_M_ForecastLine.java index 47df7a1b4a..d48faf1e42 100644 --- a/base/src/org/compiere/model/X_M_ForecastLine.java +++ b/base/src/org/compiere/model/X_M_ForecastLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ForecastLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persistent { @@ -44,9 +44,9 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste /** if (M_ForecastLine_ID == 0) { setC_Period_ID (0); - setDatePromised (new Timestamp(System.currentTimeMillis())); - setM_ForecastLine_ID (0); + setDatePromised (new Timestamp( System.currentTimeMillis() )); setM_Forecast_ID (0); + setM_ForecastLine_ID (0); setM_Product_ID (0); setM_Warehouse_ID (0); setQty (Env.ZERO); @@ -147,28 +147,6 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste return (Timestamp)get_Value(COLUMNNAME_DatePromised); } - /** Set Forecast Line. - @param M_ForecastLine_ID - Forecast Line - */ - public void setM_ForecastLine_ID (int M_ForecastLine_ID) - { - if (M_ForecastLine_ID < 1) - throw new IllegalArgumentException ("M_ForecastLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_ForecastLine_ID, Integer.valueOf(M_ForecastLine_ID)); - } - - /** Get Forecast Line. - @return Forecast Line - */ - public int getM_ForecastLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_ForecastLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Forecast getM_Forecast() throws Exception { Class clazz = MTable.getClass(I_M_Forecast.Table_Name); @@ -207,6 +185,28 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste return ii.intValue(); } + /** Set Forecast Line. + @param M_ForecastLine_ID + Forecast Line + */ + public void setM_ForecastLine_ID (int M_ForecastLine_ID) + { + if (M_ForecastLine_ID < 1) + throw new IllegalArgumentException ("M_ForecastLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_ForecastLine_ID, Integer.valueOf(M_ForecastLine_ID)); + } + + /** Get Forecast Line. + @return Forecast Line + */ + public int getM_ForecastLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_ForecastLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); diff --git a/base/src/org/compiere/model/X_M_Freight.java b/base/src/org/compiere/model/X_M_Freight.java index e16385eb41..08fdc10b5a 100644 --- a/base/src/org/compiere/model/X_M_Freight.java +++ b/base/src/org/compiere/model/X_M_Freight.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Freight * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Freight extends PO implements I_M_Freight, I_Persistent { @@ -48,7 +48,7 @@ public class X_M_Freight extends PO implements I_M_Freight, I_Persistent setM_FreightCategory_ID (0); setM_Freight_ID (0); setM_Shipper_ID (0); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } diff --git a/base/src/org/compiere/model/X_M_FreightCategory.java b/base/src/org/compiere/model/X_M_FreightCategory.java index 66d5d6c7c2..78007bfa90 100644 --- a/base/src/org/compiere/model/X_M_FreightCategory.java +++ b/base/src/org/compiere/model/X_M_FreightCategory.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_FreightCategory * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Persistent { @@ -78,12 +78,6 @@ public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -101,12 +95,6 @@ public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Pe */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -148,12 +136,6 @@ public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -181,12 +163,6 @@ public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Pe { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_M_InOut.java b/base/src/org/compiere/model/X_M_InOut.java index 34787f5cb1..ecbd9d3e36 100644 --- a/base/src/org/compiere/model/X_M_InOut.java +++ b/base/src/org/compiere/model/X_M_InOut.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOut * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent { @@ -46,7 +46,7 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent setC_BPartner_ID (0); setC_BPartner_Location_ID (0); setC_DocType_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @#Date@ setDeliveryRule (null); // A @@ -66,10 +66,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent setIsSOTrx (false); // @IsSOTrx@ setM_InOut_ID (0); - setM_Warehouse_ID (0); - setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ setMovementType (null); + setM_Warehouse_ID (0); setPosted (false); setPriorityRule (null); // 5 @@ -373,6 +373,26 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return ii.intValue(); } + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -490,36 +510,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Create Confirm. @param CreateConfirm Create Confirm */ public void setCreateConfirm (String CreateConfirm) { - - if (CreateConfirm != null && CreateConfirm.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateConfirm = CreateConfirm.substring(0, 1); - } set_Value (COLUMNNAME_CreateConfirm, CreateConfirm); } @@ -536,12 +530,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent */ public void setCreateFrom (String CreateFrom) { - - if (CreateFrom != null && CreateFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateFrom = CreateFrom.substring(0, 1); - } set_Value (COLUMNNAME_CreateFrom, CreateFrom); } @@ -557,12 +545,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent @param CreatePackage Create Package */ public void setCreatePackage (String CreatePackage) { - - if (CreatePackage != null && CreatePackage.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreatePackage = CreatePackage.substring(0, 1); - } set_Value (COLUMNNAME_CreatePackage, CreatePackage); } @@ -664,13 +646,7 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public void setDeliveryRule (String DeliveryRule) { if (DeliveryRule == null) throw new IllegalArgumentException ("DeliveryRule is mandatory"); - if (DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); - if (DeliveryRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryRule = DeliveryRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); + if (DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); } /** Get Delivery Rule. @@ -696,13 +672,7 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public void setDeliveryViaRule (String DeliveryViaRule) { if (DeliveryViaRule == null) throw new IllegalArgumentException ("DeliveryViaRule is mandatory"); - if (DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); - if (DeliveryViaRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryViaRule = DeliveryViaRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); + if (DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); } /** Get Delivery Via. @@ -719,12 +689,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -773,13 +737,7 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -823,13 +781,7 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -848,12 +800,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -910,13 +856,7 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public void setFreightCostRule (String FreightCostRule) { if (FreightCostRule == null) throw new IllegalArgumentException ("FreightCostRule is mandatory"); - if (FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); - if (FreightCostRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - FreightCostRule = FreightCostRule.substring(0, 1); - } - set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); + if (FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); } /** Get Freight Cost Rule. @@ -933,12 +873,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent */ public void setGenerateTo (String GenerateTo) { - - if (GenerateTo != null && GenerateTo.length() > 1) - { - log.warning("Length > 1 - truncated"); - GenerateTo = GenerateTo.substring(0, 1); - } set_Value (COLUMNNAME_GenerateTo, GenerateTo); } @@ -1092,6 +1026,69 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return ii.intValue(); } + /** Set Movement Date. + @param MovementDate + Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate) + { + if (MovementDate == null) + throw new IllegalArgumentException ("MovementDate is mandatory."); + set_Value (COLUMNNAME_MovementDate, MovementDate); + } + + /** Get Movement Date. + @return Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate () + { + return (Timestamp)get_Value(COLUMNNAME_MovementDate); + } + + /** MovementType AD_Reference_ID=189 */ + public static final int MOVEMENTTYPE_AD_Reference_ID=189; + /** Customer Shipment = C- */ + public static final String MOVEMENTTYPE_CustomerShipment = "C-"; + /** Customer Returns = C+ */ + public static final String MOVEMENTTYPE_CustomerReturns = "C+"; + /** Vendor Receipts = V+ */ + public static final String MOVEMENTTYPE_VendorReceipts = "V+"; + /** Vendor Returns = V- */ + public static final String MOVEMENTTYPE_VendorReturns = "V-"; + /** Inventory Out = I- */ + public static final String MOVEMENTTYPE_InventoryOut = "I-"; + /** Inventory In = I+ */ + public static final String MOVEMENTTYPE_InventoryIn = "I+"; + /** Movement From = M- */ + public static final String MOVEMENTTYPE_MovementFrom = "M-"; + /** Movement To = M+ */ + public static final String MOVEMENTTYPE_MovementTo = "M+"; + /** Production + = P+ */ + public static final String MOVEMENTTYPE_ProductionPlus = "P+"; + /** Production - = P- */ + public static final String MOVEMENTTYPE_Production_ = "P-"; + /** Work Order + = W+ */ + public static final String MOVEMENTTYPE_WorkOrderPlus = "W+"; + /** Work Order - = W- */ + public static final String MOVEMENTTYPE_WorkOrder_ = "W-"; + /** Set Movement Type. + @param MovementType + Method of moving the inventory + */ + public void setMovementType (String MovementType) + { + if (MovementType == null) throw new IllegalArgumentException ("MovementType is mandatory"); + if (MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); set_ValueNoCheck (COLUMNNAME_MovementType, MovementType); + } + + /** Get Movement Type. + @return Method of moving the inventory + */ + public String getMovementType () + { + return (String)get_Value(COLUMNNAME_MovementType); + } + public I_M_RMA getM_RMA() throws Exception { Class clazz = MTable.getClass(I_M_RMA.Table_Name); @@ -1208,75 +1205,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return ii.intValue(); } - /** Set Movement Date. - @param MovementDate - Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate) - { - if (MovementDate == null) - throw new IllegalArgumentException ("MovementDate is mandatory."); - set_Value (COLUMNNAME_MovementDate, MovementDate); - } - - /** Get Movement Date. - @return Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate () - { - return (Timestamp)get_Value(COLUMNNAME_MovementDate); - } - - /** MovementType AD_Reference_ID=189 */ - public static final int MOVEMENTTYPE_AD_Reference_ID=189; - /** Customer Shipment = C- */ - public static final String MOVEMENTTYPE_CustomerShipment = "C-"; - /** Customer Returns = C+ */ - public static final String MOVEMENTTYPE_CustomerReturns = "C+"; - /** Vendor Receipts = V+ */ - public static final String MOVEMENTTYPE_VendorReceipts = "V+"; - /** Vendor Returns = V- */ - public static final String MOVEMENTTYPE_VendorReturns = "V-"; - /** Inventory Out = I- */ - public static final String MOVEMENTTYPE_InventoryOut = "I-"; - /** Inventory In = I+ */ - public static final String MOVEMENTTYPE_InventoryIn = "I+"; - /** Movement From = M- */ - public static final String MOVEMENTTYPE_MovementFrom = "M-"; - /** Movement To = M+ */ - public static final String MOVEMENTTYPE_MovementTo = "M+"; - /** Production + = P+ */ - public static final String MOVEMENTTYPE_ProductionPlus = "P+"; - /** Production - = P- */ - public static final String MOVEMENTTYPE_Production_ = "P-"; - /** Work Order + = W+ */ - public static final String MOVEMENTTYPE_WorkOrderPlus = "W+"; - /** Work Order - = W- */ - public static final String MOVEMENTTYPE_WorkOrder_ = "W-"; - /** Set Movement Type. - @param MovementType - Method of moving the inventory - */ - public void setMovementType (String MovementType) - { - if (MovementType == null) throw new IllegalArgumentException ("MovementType is mandatory"); - if (MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); - if (MovementType.length() > 2) - { - log.warning("Length > 2 - truncated"); - MovementType = MovementType.substring(0, 2); - } - set_ValueNoCheck (COLUMNNAME_MovementType, MovementType); - } - - /** Get Movement Type. - @return Method of moving the inventory - */ - public String getMovementType () - { - return (String)get_Value(COLUMNNAME_MovementType); - } - /** Set No Packages. @param NoPackages Number of packages shipped @@ -1297,29 +1225,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return ii.intValue(); } - /** Set Order Reference. - @param POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference) - { - - if (POReference != null && POReference.length() > 20) - { - log.warning("Length > 20 - truncated"); - POReference = POReference.substring(0, 20); - } - set_Value (COLUMNNAME_POReference, POReference); - } - - /** Get Order Reference. - @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference () - { - return (String)get_Value(COLUMNNAME_POReference); - } - /** Set Pick Date. @param PickDate Date/Time when picked for Shipment @@ -1337,6 +1242,23 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return (Timestamp)get_Value(COLUMNNAME_PickDate); } + /** Set Order Reference. + @param POReference + Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference) + { + set_Value (COLUMNNAME_POReference, POReference); + } + + /** Get Order Reference. + @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference () + { + return (String)get_Value(COLUMNNAME_POReference); + } + /** Set Posted. @param Posted Posting status @@ -1380,13 +1302,7 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public void setPriorityRule (String PriorityRule) { if (PriorityRule == null) throw new IllegalArgumentException ("PriorityRule is mandatory"); - if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (PriorityRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PriorityRule = PriorityRule.substring(0, 1); - } - set_Value (COLUMNNAME_PriorityRule, PriorityRule); + if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_Value (COLUMNNAME_PriorityRule, PriorityRule); } /** Get Priority. @@ -1559,12 +1475,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent */ public void setTrackingNo (String TrackingNo) { - - if (TrackingNo != null && TrackingNo.length() > 60) - { - log.warning("Length > 60 - truncated"); - TrackingNo = TrackingNo.substring(0, 60); - } set_Value (COLUMNNAME_TrackingNo, TrackingNo); } diff --git a/base/src/org/compiere/model/X_M_InOutConfirm.java b/base/src/org/compiere/model/X_M_InOutConfirm.java index 6c7ae9d4d5..249db5b751 100644 --- a/base/src/org/compiere/model/X_M_InOutConfirm.java +++ b/base/src/org/compiere/model/X_M_InOutConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutConfirm * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persistent { @@ -145,6 +145,23 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste return ii.intValue(); } + /** Set Confirmation No. + @param ConfirmationNo + Confirmation Number + */ + public void setConfirmationNo (String ConfirmationNo) + { + set_Value (COLUMNNAME_ConfirmationNo, ConfirmationNo); + } + + /** Get Confirmation No. + @return Confirmation Number + */ + public String getConfirmationNo () + { + return (String)get_Value(COLUMNNAME_ConfirmationNo); + } + /** ConfirmType AD_Reference_ID=320 */ public static final int CONFIRMTYPE_AD_Reference_ID=320; /** Vendor Confirmation = XV */ @@ -164,13 +181,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste public void setConfirmType (String ConfirmType) { if (ConfirmType == null) throw new IllegalArgumentException ("ConfirmType is mandatory"); - if (ConfirmType.equals("XV") || ConfirmType.equals("XC") || ConfirmType.equals("DS") || ConfirmType.equals("SC") || ConfirmType.equals("PC")); else throw new IllegalArgumentException ("ConfirmType Invalid value - " + ConfirmType + " - Reference_ID=320 - XV - XC - DS - SC - PC"); - if (ConfirmType.length() > 2) - { - log.warning("Length > 2 - truncated"); - ConfirmType = ConfirmType.substring(0, 2); - } - set_Value (COLUMNNAME_ConfirmType, ConfirmType); + if (ConfirmType.equals("XV") || ConfirmType.equals("XC") || ConfirmType.equals("DS") || ConfirmType.equals("SC") || ConfirmType.equals("PC")); else throw new IllegalArgumentException ("ConfirmType Invalid value - " + ConfirmType + " - Reference_ID=320 - XV - XC - DS - SC - PC"); set_Value (COLUMNNAME_ConfirmType, ConfirmType); } /** Get Confirmation Type. @@ -181,39 +192,10 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste return (String)get_Value(COLUMNNAME_ConfirmType); } - /** Set Confirmation No. - @param ConfirmationNo - Confirmation Number - */ - public void setConfirmationNo (String ConfirmationNo) - { - - if (ConfirmationNo != null && ConfirmationNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - ConfirmationNo = ConfirmationNo.substring(0, 20); - } - set_Value (COLUMNNAME_ConfirmationNo, ConfirmationNo); - } - - /** Get Confirmation No. - @return Confirmation Number - */ - public String getConfirmationNo () - { - return (String)get_Value(COLUMNNAME_ConfirmationNo); - } - /** Set Create Package. @param CreatePackage Create Package */ public void setCreatePackage (String CreatePackage) { - - if (CreatePackage != null && CreatePackage.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreatePackage = CreatePackage.substring(0, 1); - } set_Value (COLUMNNAME_CreatePackage, CreatePackage); } @@ -230,12 +212,6 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -284,13 +260,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -334,13 +304,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -359,12 +323,6 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_M_InOutLine.java b/base/src/org/compiere/model/X_M_InOutLine.java index 034c5f2af2..23387768b6 100644 --- a/base/src/org/compiere/model/X_M_InOutLine.java +++ b/base/src/org/compiere/model/X_M_InOutLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent { @@ -50,8 +50,8 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_InOutLine WHERE M_InOut_ID=@M_InOut_ID@ setM_AttributeSetInstance_ID (0); - setM_InOutLine_ID (0); setM_InOut_ID (0); + setM_InOutLine_ID (0); setM_Locator_ID (0); // @M_Locator_ID@ setMovementQty (Env.ZERO); @@ -232,6 +232,26 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } + /** Set Confirmed Quantity. + @param ConfirmedQty + Confirmation of a received quantity + */ + public void setConfirmedQty (BigDecimal ConfirmedQty) + { + set_Value (COLUMNNAME_ConfirmedQty, ConfirmedQty); + } + + /** Get Confirmed Quantity. + @return Confirmation of a received quantity + */ + public BigDecimal getConfirmedQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConfirmedQty); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_OrderLine getC_OrderLine() throws Exception { Class clazz = MTable.getClass(I_C_OrderLine.Table_Name); @@ -271,6 +291,45 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } + public I_C_Project getC_Project() throws Exception + { + Class clazz = MTable.getClass(I_C_Project.Table_Name); + I_C_Project result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project. + @param C_Project_ID + Financial Project + */ + public void setC_Project_ID (int C_Project_ID) + { + if (C_Project_ID < 1) + set_Value (COLUMNNAME_C_Project_ID, null); + else + set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); + } + + /** Get Project. + @return Financial Project + */ + public int getC_Project_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ProjectPhase getC_ProjectPhase() throws Exception { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); @@ -349,45 +408,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception - { - Class clazz = MTable.getClass(I_C_Project.Table_Name); - I_C_Project result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Project. - @param C_Project_ID - Financial Project - */ - public void setC_Project_ID (int C_Project_ID) - { - if (C_Project_ID < 1) - set_Value (COLUMNNAME_C_Project_ID, null); - else - set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); - } - - /** Get Project. - @return Financial Project - */ - public int getC_Project_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_UOM getC_UOM() throws Exception { Class clazz = MTable.getClass(I_C_UOM.Table_Name); @@ -426,38 +446,12 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - /** Set Confirmed Quantity. - @param ConfirmedQty - Confirmation of a received quantity - */ - public void setConfirmedQty (BigDecimal ConfirmedQty) - { - set_Value (COLUMNNAME_ConfirmedQty, ConfirmedQty); - } - - /** Get Confirmed Quantity. - @return Confirmation of a received quantity - */ - public BigDecimal getConfirmedQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConfirmedQty); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -567,28 +561,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - /** Set Shipment/Receipt Line. - @param M_InOutLine_ID - Line on Shipment or Receipt document - */ - public void setM_InOutLine_ID (int M_InOutLine_ID) - { - if (M_InOutLine_ID < 1) - throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_InOutLine_ID, Integer.valueOf(M_InOutLine_ID)); - } - - /** Get Shipment/Receipt Line. - @return Line on Shipment or Receipt document - */ - public int getM_InOutLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_InOutLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_InOut getM_InOut() throws Exception { Class clazz = MTable.getClass(I_M_InOut.Table_Name); @@ -627,6 +599,28 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } + /** Set Shipment/Receipt Line. + @param M_InOutLine_ID + Line on Shipment or Receipt document + */ + public void setM_InOutLine_ID (int M_InOutLine_ID) + { + if (M_InOutLine_ID < 1) + throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_InOutLine_ID, Integer.valueOf(M_InOutLine_ID)); + } + + /** Get Shipment/Receipt Line. + @return Line on Shipment or Receipt document + */ + public int getM_InOutLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InOutLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Locator. @param M_Locator_ID Warehouse Locator @@ -649,6 +643,28 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } + /** Set Movement Quantity. + @param MovementQty + Quantity of a product moved. + */ + public void setMovementQty (BigDecimal MovementQty) + { + if (MovementQty == null) + throw new IllegalArgumentException ("MovementQty is mandatory."); + set_Value (COLUMNNAME_MovementQty, MovementQty); + } + + /** Get Movement Quantity. + @return Quantity of a product moved. + */ + public BigDecimal getMovementQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -727,28 +743,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - /** Set Movement Quantity. - @param MovementQty - Quantity of a product moved. - */ - public void setMovementQty (BigDecimal MovementQty) - { - if (MovementQty == null) - throw new IllegalArgumentException ("MovementQty is mandatory."); - set_Value (COLUMNNAME_MovementQty, MovementQty); - } - - /** Get Movement Quantity. - @return Quantity of a product moved. - */ - public BigDecimal getMovementQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Picked Quantity. @param PickedQty Picked Quantity */ public void setPickedQty (BigDecimal PickedQty) diff --git a/base/src/org/compiere/model/X_M_InOutLineConfirm.java b/base/src/org/compiere/model/X_M_InOutLineConfirm.java index bc7590f647..6209f8da54 100644 --- a/base/src/org/compiere/model/X_M_InOutLineConfirm.java +++ b/base/src/org/compiere/model/X_M_InOutLineConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutLineConfirm * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_Persistent { @@ -124,12 +124,6 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ */ public void setConfirmationNo (String ConfirmationNo) { - - if (ConfirmationNo != null && ConfirmationNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - ConfirmationNo = ConfirmationNo.substring(0, 20); - } set_Value (COLUMNNAME_ConfirmationNo, ConfirmationNo); } @@ -169,12 +163,6 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_M_InOutLineMA.java b/base/src/org/compiere/model/X_M_InOutLineMA.java index 477769461e..466f20ebbf 100644 --- a/base/src/org/compiere/model/X_M_InOutLineMA.java +++ b/base/src/org/compiere/model/X_M_InOutLineMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutLineMA * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Inventory.java b/base/src/org/compiere/model/X_M_Inventory.java index f8f5debef9..a3d782f022 100644 --- a/base/src/org/compiere/model/X_M_Inventory.java +++ b/base/src/org/compiere/model/X_M_Inventory.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Inventory * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent { @@ -51,9 +51,9 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent setDocumentNo (null); setIsApproved (false); setM_Inventory_ID (0); - setM_Warehouse_ID (0); - setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ + setM_Warehouse_ID (0); setPosted (false); setProcessed (false); } */ @@ -293,12 +293,6 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -347,13 +341,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -397,13 +385,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -422,12 +404,6 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -453,12 +429,6 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent */ public void setGenerateList (String GenerateList) { - - if (GenerateList != null && GenerateList.length() > 1) - { - log.warning("Length > 1 - truncated"); - GenerateList = GenerateList.substring(0, 1); - } set_Value (COLUMNNAME_GenerateList, GenerateList); } @@ -516,6 +486,25 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent return ii.intValue(); } + /** Set Movement Date. + @param MovementDate + Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate) + { + if (MovementDate == null) + throw new IllegalArgumentException ("MovementDate is mandatory."); + set_Value (COLUMNNAME_MovementDate, MovementDate); + } + + /** Get Movement Date. + @return Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate () + { + return (Timestamp)get_Value(COLUMNNAME_MovementDate); + } + public I_M_PerpetualInv getM_PerpetualInv() throws Exception { Class clazz = MTable.getClass(I_M_PerpetualInv.Table_Name); @@ -593,25 +582,6 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent return ii.intValue(); } - /** Set Movement Date. - @param MovementDate - Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate) - { - if (MovementDate == null) - throw new IllegalArgumentException ("MovementDate is mandatory."); - set_Value (COLUMNNAME_MovementDate, MovementDate); - } - - /** Get Movement Date. - @return Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate () - { - return (Timestamp)get_Value(COLUMNNAME_MovementDate); - } - /** Set Posted. @param Posted Posting status @@ -710,12 +680,6 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent @param UpdateQty Update Quantities */ public void setUpdateQty (String UpdateQty) { - - if (UpdateQty != null && UpdateQty.length() > 1) - { - log.warning("Length > 1 - truncated"); - UpdateQty = UpdateQty.substring(0, 1); - } set_Value (COLUMNNAME_UpdateQty, UpdateQty); } diff --git a/base/src/org/compiere/model/X_M_InventoryLine.java b/base/src/org/compiere/model/X_M_InventoryLine.java index bf8de01455..51a3bb3646 100644 --- a/base/src/org/compiere/model/X_M_InventoryLine.java +++ b/base/src/org/compiere/model/X_M_InventoryLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InventoryLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persistent { @@ -45,8 +45,8 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis setInventoryType (null); // D setM_AttributeSetInstance_ID (0); - setM_InventoryLine_ID (0); setM_Inventory_ID (0); + setM_InventoryLine_ID (0); setM_Locator_ID (0); // @M_Locator_ID@ setM_Product_ID (0); @@ -129,12 +129,6 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -159,13 +153,7 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis public void setInventoryType (String InventoryType) { if (InventoryType == null) throw new IllegalArgumentException ("InventoryType is mandatory"); - if (InventoryType.equals("D") || InventoryType.equals("C")); else throw new IllegalArgumentException ("InventoryType Invalid value - " + InventoryType + " - Reference_ID=292 - D - C"); - if (InventoryType.length() > 1) - { - log.warning("Length > 1 - truncated"); - InventoryType = InventoryType.substring(0, 1); - } - set_Value (COLUMNNAME_InventoryType, InventoryType); + if (InventoryType.equals("D") || InventoryType.equals("C")); else throw new IllegalArgumentException ("InventoryType Invalid value - " + InventoryType + " - Reference_ID=292 - D - C"); set_Value (COLUMNNAME_InventoryType, InventoryType); } /** Get Inventory Type. @@ -226,28 +214,6 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis return ii.intValue(); } - /** Set Phys.Inventory Line. - @param M_InventoryLine_ID - Unique line in an Inventory document - */ - public void setM_InventoryLine_ID (int M_InventoryLine_ID) - { - if (M_InventoryLine_ID < 1) - throw new IllegalArgumentException ("M_InventoryLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_InventoryLine_ID, Integer.valueOf(M_InventoryLine_ID)); - } - - /** Get Phys.Inventory Line. - @return Unique line in an Inventory document - */ - public int getM_InventoryLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_InventoryLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Inventory getM_Inventory() throws Exception { Class clazz = MTable.getClass(I_M_Inventory.Table_Name); @@ -286,6 +252,28 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis return ii.intValue(); } + /** Set Phys.Inventory Line. + @param M_InventoryLine_ID + Unique line in an Inventory document + */ + public void setM_InventoryLine_ID (int M_InventoryLine_ID) + { + if (M_InventoryLine_ID < 1) + throw new IllegalArgumentException ("M_InventoryLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_InventoryLine_ID, Integer.valueOf(M_InventoryLine_ID)); + } + + /** Get Phys.Inventory Line. + @return Unique line in an Inventory document + */ + public int getM_InventoryLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InventoryLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Locator. @param M_Locator_ID Warehouse Locator diff --git a/base/src/org/compiere/model/X_M_InventoryLineMA.java b/base/src/org/compiere/model/X_M_InventoryLineMA.java index 074c5882de..8f6d9cc81f 100644 --- a/base/src/org/compiere/model/X_M_InventoryLineMA.java +++ b/base/src/org/compiere/model/X_M_InventoryLineMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InventoryLineMA * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Locator.java b/base/src/org/compiere/model/X_M_Locator.java index d33b4b13fc..806b87d58f 100644 --- a/base/src/org/compiere/model/X_M_Locator.java +++ b/base/src/org/compiere/model/X_M_Locator.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Locator * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent { @@ -192,12 +192,6 @@ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -225,12 +219,6 @@ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent { if (X == null) throw new IllegalArgumentException ("X is mandatory."); - - if (X.length() > 60) - { - log.warning("Length > 60 - truncated"); - X = X.substring(0, 60); - } set_Value (COLUMNNAME_X, X); } @@ -250,12 +238,6 @@ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent { if (Y == null) throw new IllegalArgumentException ("Y is mandatory."); - - if (Y.length() > 60) - { - log.warning("Length > 60 - truncated"); - Y = Y.substring(0, 60); - } set_Value (COLUMNNAME_Y, Y); } @@ -275,12 +257,6 @@ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent { if (Z == null) throw new IllegalArgumentException ("Z is mandatory."); - - if (Z.length() > 60) - { - log.warning("Length > 60 - truncated"); - Z = Z.substring(0, 60); - } set_Value (COLUMNNAME_Z, Z); } diff --git a/base/src/org/compiere/model/X_M_Lot.java b/base/src/org/compiere/model/X_M_Lot.java index 3f292eaf6d..cfc92d138c 100644 --- a/base/src/org/compiere/model/X_M_Lot.java +++ b/base/src/org/compiere/model/X_M_Lot.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Lot * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Lot extends PO implements I_M_Lot, I_Persistent { @@ -115,12 +115,6 @@ public class X_M_Lot extends PO implements I_M_Lot, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -138,12 +132,6 @@ public class X_M_Lot extends PO implements I_M_Lot, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -270,12 +258,6 @@ public class X_M_Lot extends PO implements I_M_Lot, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_LotCtl.java b/base/src/org/compiere/model/X_M_LotCtl.java index e220828ec7..b4897f4631 100644 --- a/base/src/org/compiere/model/X_M_LotCtl.java +++ b/base/src/org/compiere/model/X_M_LotCtl.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_LotCtl * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent { @@ -103,12 +103,6 @@ public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -170,12 +164,6 @@ public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -201,12 +189,6 @@ public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent */ public void setPrefix (String Prefix) { - - if (Prefix != null && Prefix.length() > 10) - { - log.warning("Length > 10 - truncated"); - Prefix = Prefix.substring(0, 10); - } set_Value (COLUMNNAME_Prefix, Prefix); } @@ -244,12 +226,6 @@ public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent */ public void setSuffix (String Suffix) { - - if (Suffix != null && Suffix.length() > 10) - { - log.warning("Length > 10 - truncated"); - Suffix = Suffix.substring(0, 10); - } set_Value (COLUMNNAME_Suffix, Suffix); } diff --git a/base/src/org/compiere/model/X_M_LotCtlExclude.java b/base/src/org/compiere/model/X_M_LotCtlExclude.java index be33f0149e..c9b7800883 100644 --- a/base/src/org/compiere/model/X_M_LotCtlExclude.java +++ b/base/src/org/compiere/model/X_M_LotCtlExclude.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_LotCtlExclude * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_MatchInv.java b/base/src/org/compiere/model/X_M_MatchInv.java index f4d244758a..e8a66b0b5c 100644 --- a/base/src/org/compiere/model/X_M_MatchInv.java +++ b/base/src/org/compiere/model/X_M_MatchInv.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MatchInv * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent { @@ -44,8 +44,8 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent /** if (M_MatchInv_ID == 0) { setC_InvoiceLine_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); - setDateTrx (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); setM_InOutLine_ID (0); setM_MatchInv_ID (0); setM_Product_ID (0); @@ -166,12 +166,6 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -189,12 +183,6 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_M_MatchPO.java b/base/src/org/compiere/model/X_M_MatchPO.java index e744d46f1f..cb5cca2b57 100644 --- a/base/src/org/compiere/model/X_M_MatchPO.java +++ b/base/src/org/compiere/model/X_M_MatchPO.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MatchPO * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent { @@ -44,8 +44,8 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent /** if (M_MatchPO_ID == 0) { setC_OrderLine_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); - setDateTrx (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); setM_InOutLine_ID (0); setM_MatchPO_ID (0); setM_Product_ID (0); @@ -205,12 +205,6 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -228,12 +222,6 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_M_Movement.java b/base/src/org/compiere/model/X_M_Movement.java index 25ec057e03..07b10d7b57 100644 --- a/base/src/org/compiere/model/X_M_Movement.java +++ b/base/src/org/compiere/model/X_M_Movement.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Movement * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent { @@ -52,7 +52,7 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent setIsApproved (false); setIsInTransit (false); setM_Movement_ID (0); - setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ setPosted (false); setProcessed (false); @@ -374,6 +374,26 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -413,38 +433,12 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Create lines from. @param CreateFrom Process which will generate a new document lines based on an existing document */ public void setCreateFrom (String CreateFrom) { - - if (CreateFrom != null && CreateFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateFrom = CreateFrom.substring(0, 1); - } set_Value (COLUMNNAME_CreateFrom, CreateFrom); } @@ -456,6 +450,23 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return (String)get_Value(COLUMNNAME_CreateFrom); } + /** Set Date received. + @param DateReceived + Date a product was received + */ + public void setDateReceived (Timestamp DateReceived) + { + set_Value (COLUMNNAME_DateReceived, DateReceived); + } + + /** Get Date received. + @return Date a product was received + */ + public Timestamp getDateReceived () + { + return (Timestamp)get_Value(COLUMNNAME_DateReceived); + } + public org.eevolution.model.I_DD_Order getDD_Order() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name); @@ -492,23 +503,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } - /** Set Date received. - @param DateReceived - Date a product was received - */ - public void setDateReceived (Timestamp DateReceived) - { - set_Value (COLUMNNAME_DateReceived, DateReceived); - } - - /** Get Date received. - @return Date a product was received - */ - public Timestamp getDateReceived () - { - return (Timestamp)get_Value(COLUMNNAME_DateReceived); - } - /** DeliveryRule AD_Reference_ID=151 */ public static final int DELIVERYRULE_AD_Reference_ID=151; /** After Receipt = R */ @@ -530,13 +524,7 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public void setDeliveryRule (String DeliveryRule) { - if (DeliveryRule == null || DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); - if (DeliveryRule != null && DeliveryRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryRule = DeliveryRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); + if (DeliveryRule == null || DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); } /** Get Delivery Rule. @@ -562,13 +550,7 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public void setDeliveryViaRule (String DeliveryViaRule) { - if (DeliveryViaRule == null || DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); - if (DeliveryViaRule != null && DeliveryViaRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryViaRule = DeliveryViaRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); + if (DeliveryViaRule == null || DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); } /** Get Delivery Via. @@ -585,12 +567,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -639,13 +615,7 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -689,13 +659,7 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -714,12 +678,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -776,13 +734,7 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public void setFreightCostRule (String FreightCostRule) { - if (FreightCostRule == null || FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); - if (FreightCostRule != null && FreightCostRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - FreightCostRule = FreightCostRule.substring(0, 1); - } - set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); + if (FreightCostRule == null || FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); } /** Get Freight Cost Rule. @@ -863,6 +815,25 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } + /** Set Movement Date. + @param MovementDate + Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate) + { + if (MovementDate == null) + throw new IllegalArgumentException ("MovementDate is mandatory."); + set_Value (COLUMNNAME_MovementDate, MovementDate); + } + + /** Get Movement Date. + @return Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate () + { + return (Timestamp)get_Value(COLUMNNAME_MovementDate); + } + public I_M_Shipper getM_Shipper() throws Exception { Class clazz = MTable.getClass(I_M_Shipper.Table_Name); @@ -902,23 +873,21 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } - /** Set Movement Date. - @param MovementDate - Date a product was moved in or out of inventory + /** Set Order Reference. + @param POReference + Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public void setMovementDate (Timestamp MovementDate) + public void setPOReference (String POReference) { - if (MovementDate == null) - throw new IllegalArgumentException ("MovementDate is mandatory."); - set_Value (COLUMNNAME_MovementDate, MovementDate); + set_Value (COLUMNNAME_POReference, POReference); } - /** Get Movement Date. - @return Date a product was moved in or out of inventory + /** Get Order Reference. + @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public Timestamp getMovementDate () + public String getPOReference () { - return (Timestamp)get_Value(COLUMNNAME_MovementDate); + return (String)get_Value(COLUMNNAME_POReference); } /** Set Posted. @@ -964,13 +933,7 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public void setPriorityRule (String PriorityRule) { - if (PriorityRule == null || PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (PriorityRule != null && PriorityRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PriorityRule = PriorityRule.substring(0, 1); - } - set_Value (COLUMNNAME_PriorityRule, PriorityRule); + if (PriorityRule == null || PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_Value (COLUMNNAME_PriorityRule, PriorityRule); } /** Get Priority. diff --git a/base/src/org/compiere/model/X_M_MovementConfirm.java b/base/src/org/compiere/model/X_M_MovementConfirm.java index 051066c474..f698ac9edc 100644 --- a/base/src/org/compiere/model/X_M_MovementConfirm.java +++ b/base/src/org/compiere/model/X_M_MovementConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementConfirm * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Persistent { @@ -107,12 +107,6 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -161,13 +155,7 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -211,13 +199,7 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -236,12 +218,6 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_M_MovementLine.java b/base/src/org/compiere/model/X_M_MovementLine.java index f870321fd9..9252400929 100644 --- a/base/src/org/compiere/model/X_M_MovementLine.java +++ b/base/src/org/compiere/model/X_M_MovementLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persistent { @@ -44,15 +44,15 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste { setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_MovementLine WHERE M_Movement_ID=@M_Movement_ID@ - setM_LocatorTo_ID (0); -// @M_LocatorTo_ID@ setM_Locator_ID (0); // @M_Locator_ID@ - setM_MovementLine_ID (0); + setM_LocatorTo_ID (0); +// @M_LocatorTo_ID@ setM_Movement_ID (0); - setM_Product_ID (0); + setM_MovementLine_ID (0); setMovementQty (Env.ZERO); // 1 + setM_Product_ID (0); setProcessed (false); setTargetQty (Env.ZERO); // 0 @@ -149,12 +149,6 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -194,29 +188,6 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return new KeyNamePair(get_ID(), String.valueOf(getLine())); } - /** Set Attribute Set Instance To. - @param M_AttributeSetInstanceTo_ID - Target Product Attribute Set Instance - */ - public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID) - { - if (M_AttributeSetInstanceTo_ID < 1) - set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, null); - else - set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID)); - } - - /** Get Attribute Set Instance To. - @return Target Product Attribute Set Instance - */ - public int getM_AttributeSetInstanceTo_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Attribute Set Instance. @param M_AttributeSetInstance_ID Product Attribute Set Instance @@ -240,25 +211,24 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return ii.intValue(); } - /** M_LocatorTo_ID AD_Reference_ID=191 */ - public static final int M_LOCATORTO_ID_AD_Reference_ID=191; - /** Set Locator To. - @param M_LocatorTo_ID - Location inventory is moved to + /** Set Attribute Set Instance To. + @param M_AttributeSetInstanceTo_ID + Target Product Attribute Set Instance */ - public void setM_LocatorTo_ID (int M_LocatorTo_ID) + public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID) { - if (M_LocatorTo_ID < 1) - throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory."); - set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID)); + if (M_AttributeSetInstanceTo_ID < 1) + set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, null); + else + set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID)); } - /** Get Locator To. - @return Location inventory is moved to + /** Get Attribute Set Instance To. + @return Target Product Attribute Set Instance */ - public int getM_LocatorTo_ID () + public int getM_AttributeSetInstanceTo_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID); if (ii == null) return 0; return ii.intValue(); @@ -286,23 +256,25 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return ii.intValue(); } - /** Set Move Line. - @param M_MovementLine_ID - Inventory Move document Line + /** M_LocatorTo_ID AD_Reference_ID=191 */ + public static final int M_LOCATORTO_ID_AD_Reference_ID=191; + /** Set Locator To. + @param M_LocatorTo_ID + Location inventory is moved to */ - public void setM_MovementLine_ID (int M_MovementLine_ID) + public void setM_LocatorTo_ID (int M_LocatorTo_ID) { - if (M_MovementLine_ID < 1) - throw new IllegalArgumentException ("M_MovementLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_MovementLine_ID, Integer.valueOf(M_MovementLine_ID)); + if (M_LocatorTo_ID < 1) + throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory."); + set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID)); } - /** Get Move Line. - @return Inventory Move document Line + /** Get Locator To. + @return Location inventory is moved to */ - public int getM_MovementLine_ID () + public int getM_LocatorTo_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_MovementLine_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID); if (ii == null) return 0; return ii.intValue(); @@ -346,25 +318,23 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return ii.intValue(); } - /** M_Product_ID AD_Reference_ID=171 */ - public static final int M_PRODUCT_ID_AD_Reference_ID=171; - /** Set Product. - @param M_Product_ID - Product, Service, Item + /** Set Move Line. + @param M_MovementLine_ID + Inventory Move document Line */ - public void setM_Product_ID (int M_Product_ID) + public void setM_MovementLine_ID (int M_MovementLine_ID) { - if (M_Product_ID < 1) - throw new IllegalArgumentException ("M_Product_ID is mandatory."); - set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + if (M_MovementLine_ID < 1) + throw new IllegalArgumentException ("M_MovementLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_MovementLine_ID, Integer.valueOf(M_MovementLine_ID)); } - /** Get Product. - @return Product, Service, Item + /** Get Move Line. + @return Inventory Move document Line */ - public int getM_Product_ID () + public int getM_MovementLine_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_MovementLine_ID); if (ii == null) return 0; return ii.intValue(); @@ -392,6 +362,30 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return bd; } + /** M_Product_ID AD_Reference_ID=171 */ + public static final int M_PRODUCT_ID_AD_Reference_ID=171; + /** Set Product. + @param M_Product_ID + Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID) + { + if (M_Product_ID < 1) + throw new IllegalArgumentException ("M_Product_ID is mandatory."); + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + } + + /** Get Product. + @return Product, Service, Item + */ + public int getM_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Processed. @param Processed The document has been processed diff --git a/base/src/org/compiere/model/X_M_MovementLineConfirm.java b/base/src/org/compiere/model/X_M_MovementLineConfirm.java index 4bc73199ee..5a3791702d 100644 --- a/base/src/org/compiere/model/X_M_MovementLineConfirm.java +++ b/base/src/org/compiere/model/X_M_MovementLineConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementLineConfirm * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfirm, I_Persistent { @@ -109,12 +109,6 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_M_MovementLineMA.java b/base/src/org/compiere/model/X_M_MovementLineMA.java index bec04859ce..b95e101660 100644 --- a/base/src/org/compiere/model/X_M_MovementLineMA.java +++ b/base/src/org/compiere/model/X_M_MovementLineMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementLineMA * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_OperationResource.java b/base/src/org/compiere/model/X_M_OperationResource.java index d9df2aacbd..a4dec476b6 100644 --- a/base/src/org/compiere/model/X_M_OperationResource.java +++ b/base/src/org/compiere/model/X_M_OperationResource.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_OperationResource * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_OperationResource extends PO implements I_M_OperationResource, I_Persistent { @@ -163,12 +163,6 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -186,12 +180,6 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -271,12 +259,6 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_Package.java b/base/src/org/compiere/model/X_M_Package.java index a53bbe1194..4c2b1f9ea8 100644 --- a/base/src/org/compiere/model/X_M_Package.java +++ b/base/src/org/compiere/model/X_M_Package.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for M_Package * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Package extends PO implements I_M_Package, I_Persistent { @@ -98,12 +98,6 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -123,12 +117,6 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -244,12 +232,6 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent */ public void setReceivedInfo (String ReceivedInfo) { - - if (ReceivedInfo != null && ReceivedInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - ReceivedInfo = ReceivedInfo.substring(0, 255); - } set_Value (COLUMNNAME_ReceivedInfo, ReceivedInfo); } @@ -282,12 +264,6 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent @param TrackingInfo Tracking Info */ public void setTrackingInfo (String TrackingInfo) { - - if (TrackingInfo != null && TrackingInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - TrackingInfo = TrackingInfo.substring(0, 255); - } set_Value (COLUMNNAME_TrackingInfo, TrackingInfo); } diff --git a/base/src/org/compiere/model/X_M_PackageLine.java b/base/src/org/compiere/model/X_M_PackageLine.java index cd5e611a5d..e4ed42e6cb 100644 --- a/base/src/org/compiere/model/X_M_PackageLine.java +++ b/base/src/org/compiere/model/X_M_PackageLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_PackageLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent { @@ -43,8 +43,8 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent /** if (M_PackageLine_ID == 0) { setM_InOutLine_ID (0); - setM_PackageLine_ID (0); setM_Package_ID (0); + setM_PackageLine_ID (0); setQty (Env.ZERO); } */ } @@ -83,12 +83,6 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -138,28 +132,6 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent return ii.intValue(); } - /** Set Package Line. - @param M_PackageLine_ID - The detail content of the Package - */ - public void setM_PackageLine_ID (int M_PackageLine_ID) - { - if (M_PackageLine_ID < 1) - throw new IllegalArgumentException ("M_PackageLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_PackageLine_ID, Integer.valueOf(M_PackageLine_ID)); - } - - /** Get Package Line. - @return The detail content of the Package - */ - public int getM_PackageLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_PackageLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Package getM_Package() throws Exception { Class clazz = MTable.getClass(I_M_Package.Table_Name); @@ -206,6 +178,28 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getM_Package_ID())); } + /** Set Package Line. + @param M_PackageLine_ID + The detail content of the Package + */ + public void setM_PackageLine_ID (int M_PackageLine_ID) + { + if (M_PackageLine_ID < 1) + throw new IllegalArgumentException ("M_PackageLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_PackageLine_ID, Integer.valueOf(M_PackageLine_ID)); + } + + /** Get Package Line. + @return The detail content of the Package + */ + public int getM_PackageLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_PackageLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Quantity. @param Qty Quantity diff --git a/base/src/org/compiere/model/X_M_PerpetualInv.java b/base/src/org/compiere/model/X_M_PerpetualInv.java index 92262992b3..4ba8f17c2d 100644 --- a/base/src/org/compiere/model/X_M_PerpetualInv.java +++ b/base/src/org/compiere/model/X_M_PerpetualInv.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_PerpetualInv * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persistent { @@ -42,7 +42,7 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste /** if (M_PerpetualInv_ID == 0) { setCountHighMovement (false); - setDateNextRun (new Timestamp(System.currentTimeMillis())); + setDateNextRun (new Timestamp( System.currentTimeMillis() )); setM_PerpetualInv_ID (0); setName (null); setNoInventoryCount (0); @@ -148,12 +148,6 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -273,12 +267,6 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_PriceList.java b/base/src/org/compiere/model/X_M_PriceList.java index 61ac3e7f61..2a7f9c1e0a 100644 --- a/base/src/org/compiere/model/X_M_PriceList.java +++ b/base/src/org/compiere/model/X_M_PriceList.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_PriceList * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent { @@ -151,12 +151,6 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -294,12 +288,6 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_PriceList_Version.java b/base/src/org/compiere/model/X_M_PriceList_Version.java index c16e019914..18ecdf50d8 100644 --- a/base/src/org/compiere/model/X_M_PriceList_Version.java +++ b/base/src/org/compiere/model/X_M_PriceList_Version.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_PriceList_Version * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, I_Persistent { @@ -46,7 +46,7 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, setM_PriceList_Version_ID (0); setName (null); // @#Date@ - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); // @#Date@ } */ } @@ -85,12 +85,6 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -178,28 +172,6 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, return ii.intValue(); } - /** Set Price List Version. - @param M_PriceList_Version_ID - Identifies a unique instance of a Price List - */ - 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 (COLUMNNAME_M_PriceList_Version_ID, Integer.valueOf(M_PriceList_Version_ID)); - } - - /** Get Price List Version. - @return Identifies a unique instance of a Price List - */ - public int getM_PriceList_Version_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_PriceList_Version_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** M_Pricelist_Version_Base_ID AD_Reference_ID=188 */ public static final int M_PRICELIST_VERSION_BASE_ID_AD_Reference_ID=188; /** Set Base Price List. @@ -225,6 +197,28 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, return ii.intValue(); } + /** Set Price List Version. + @param M_PriceList_Version_ID + Identifies a unique instance of a Price List + */ + 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 (COLUMNNAME_M_PriceList_Version_ID, Integer.valueOf(M_PriceList_Version_ID)); + } + + /** Get Price List Version. + @return Identifies a unique instance of a Price List + */ + public int getM_PriceList_Version_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_PriceList_Version_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -233,12 +227,6 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -262,12 +250,6 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, @param ProcCreate Create */ public void setProcCreate (String ProcCreate) { - - if (ProcCreate != null && ProcCreate.length() > 1) - { - log.warning("Length > 1 - truncated"); - ProcCreate = ProcCreate.substring(0, 1); - } set_Value (COLUMNNAME_ProcCreate, ProcCreate); } diff --git a/base/src/org/compiere/model/X_M_Product.java b/base/src/org/compiere/model/X_M_Product.java index cd3d872f66..0150c38387 100644 --- a/base/src/org/compiere/model/X_M_Product.java +++ b/base/src/org/compiere/model/X_M_Product.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Product * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Product extends PO implements I_M_Product, I_Persistent { @@ -102,6 +102,23 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return sb.toString(); } + /** Set Classification. + @param Classification + Classification for grouping + */ + public void setClassification (String Classification) + { + set_Value (COLUMNNAME_Classification, Classification); + } + + /** Get Classification. + @return Classification for grouping + */ + public String getClassification () + { + return (String)get_Value(COLUMNNAME_Classification); + } + public I_C_RevenueRecognition getC_RevenueRecognition() throws Exception { Class clazz = MTable.getClass(I_C_RevenueRecognition.Table_Name); @@ -240,41 +257,12 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } - /** Set Classification. - @param Classification - Classification for grouping - */ - public void setClassification (String Classification) - { - - if (Classification != null && Classification.length() > 12) - { - log.warning("Length > 12 - truncated"); - Classification = Classification.substring(0, 12); - } - set_Value (COLUMNNAME_Classification, Classification); - } - - /** Get Classification. - @return Classification for grouping - */ - public String getClassification () - { - return (String)get_Value(COLUMNNAME_Classification); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -292,12 +280,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent */ public void setDescriptionURL (String DescriptionURL) { - - if (DescriptionURL != null && DescriptionURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - DescriptionURL = DescriptionURL.substring(0, 120); - } set_Value (COLUMNNAME_DescriptionURL, DescriptionURL); } @@ -356,12 +338,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent */ public void setDocumentNote (String DocumentNote) { - - if (DocumentNote != null && DocumentNote.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DocumentNote = DocumentNote.substring(0, 2000); - } set_Value (COLUMNNAME_DocumentNote, DocumentNote); } @@ -377,12 +353,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent @param Group1 Group1 */ public void setGroup1 (String Group1) { - - if (Group1 != null && Group1.length() > 255) - { - log.warning("Length > 255 - truncated"); - Group1 = Group1.substring(0, 255); - } set_Value (COLUMNNAME_Group1, Group1); } @@ -397,12 +367,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent @param Group2 Group2 */ public void setGroup2 (String Group2) { - - if (Group2 != null && Group2.length() > 255) - { - log.warning("Length > 255 - truncated"); - Group2 = Group2.substring(0, 255); - } set_Value (COLUMNNAME_Group2, Group2); } @@ -459,12 +423,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -482,12 +440,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent */ public void setImageURL (String ImageURL) { - - if (ImageURL != null && ImageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - ImageURL = ImageURL.substring(0, 120); - } set_Value (COLUMNNAME_ImageURL, ImageURL); } @@ -804,28 +756,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } - /** Set Attribute Set Instance. - @param M_AttributeSetInstance_ID - Product Attribute Set Instance - */ - public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) - { - if (M_AttributeSetInstance_ID < 0) - throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); - set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID)); - } - - /** Get Attribute Set Instance. - @return Product Attribute Set Instance - */ - public int getM_AttributeSetInstance_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_AttributeSet getM_AttributeSet() throws Exception { Class clazz = MTable.getClass(I_M_AttributeSet.Table_Name); @@ -865,6 +795,28 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } + /** Set Attribute Set Instance. + @param M_AttributeSetInstance_ID + Product Attribute Set Instance + */ + public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) + { + if (M_AttributeSetInstance_ID < 0) + throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); + set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID)); + } + + /** Get Attribute Set Instance. + @return Product Attribute Set Instance + */ + public int getM_AttributeSetInstance_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_FreightCategory getM_FreightCategory() throws Exception { Class clazz = MTable.getClass(I_M_FreightCategory.Table_Name); @@ -997,12 +949,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 255) - { - log.warning("Length > 255 - truncated"); - Name = Name.substring(0, 255); - } set_Value (COLUMNNAME_Name, Name); } @@ -1054,13 +1000,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public void setProductType (String ProductType) { if (ProductType == null) throw new IllegalArgumentException ("ProductType is mandatory"); - if (ProductType.equals("I") || ProductType.equals("S") || ProductType.equals("R") || ProductType.equals("E") || ProductType.equals("O")); else throw new IllegalArgumentException ("ProductType Invalid value - " + ProductType + " - Reference_ID=270 - I - S - R - E - O"); - if (ProductType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ProductType = ProductType.substring(0, 1); - } - set_Value (COLUMNNAME_ProductType, ProductType); + if (ProductType.equals("I") || ProductType.equals("S") || ProductType.equals("R") || ProductType.equals("E") || ProductType.equals("O")); else throw new IllegalArgumentException ("ProductType Invalid value - " + ProductType + " - Reference_ID=270 - I - S - R - E - O"); set_Value (COLUMNNAME_ProductType, ProductType); } /** Get Product Type. @@ -1110,27 +1050,29 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } - /** Set SKU. - @param SKU - Stock Keeping Unit + /** SalesRep_ID AD_Reference_ID=190 */ + public static final int SALESREP_ID_AD_Reference_ID=190; + /** Set Sales Representative. + @param SalesRep_ID + Sales Representative or Company Agent */ - public void setSKU (String SKU) + public void setSalesRep_ID (int SalesRep_ID) { - - if (SKU != null && SKU.length() > 30) - { - log.warning("Length > 30 - truncated"); - SKU = SKU.substring(0, 30); - } - set_Value (COLUMNNAME_SKU, SKU); + if (SalesRep_ID < 1) + set_Value (COLUMNNAME_SalesRep_ID, null); + else + set_Value (COLUMNNAME_SalesRep_ID, Integer.valueOf(SalesRep_ID)); } - /** Get SKU. - @return Stock Keeping Unit + /** Get Sales Representative. + @return Sales Representative or Company Agent */ - public String getSKU () + public int getSalesRep_ID () { - return (String)get_Value(COLUMNNAME_SKU); + Integer ii = (Integer)get_Value(COLUMNNAME_SalesRep_ID); + if (ii == null) + return 0; + return ii.intValue(); } public I_S_ExpenseType getS_ExpenseType() throws Exception @@ -1172,70 +1114,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } - public I_S_Resource getS_Resource() throws Exception - { - Class clazz = MTable.getClass(I_S_Resource.Table_Name); - I_S_Resource result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Resource. - @param S_Resource_ID - Resource - */ - public void setS_Resource_ID (int S_Resource_ID) - { - if (S_Resource_ID < 1) - set_ValueNoCheck (COLUMNNAME_S_Resource_ID, null); - else - set_ValueNoCheck (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID)); - } - - /** Get Resource. - @return Resource - */ - public int getS_Resource_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** SalesRep_ID AD_Reference_ID=190 */ - public static final int SALESREP_ID_AD_Reference_ID=190; - /** Set Sales Representative. - @param SalesRep_ID - Sales Representative or Company Agent - */ - public void setSalesRep_ID (int SalesRep_ID) - { - if (SalesRep_ID < 1) - set_Value (COLUMNNAME_SalesRep_ID, null); - else - set_Value (COLUMNNAME_SalesRep_ID, Integer.valueOf(SalesRep_ID)); - } - - /** Get Sales Representative. - @return Sales Representative or Company Agent - */ - public int getSalesRep_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_SalesRep_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Shelf Depth. @param ShelfDepth Shelf depth required @@ -1296,27 +1174,60 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } - /** Set UPC/EAN. - @param UPC - Bar Code (Universal Product Code or its superset European Article Number) + /** Set SKU. + @param SKU + Stock Keeping Unit */ - public void setUPC (String UPC) + public void setSKU (String SKU) { - - if (UPC != null && UPC.length() > 30) - { - log.warning("Length > 30 - truncated"); - UPC = UPC.substring(0, 30); - } - set_Value (COLUMNNAME_UPC, UPC); + set_Value (COLUMNNAME_SKU, SKU); } - /** Get UPC/EAN. - @return Bar Code (Universal Product Code or its superset European Article Number) + /** Get SKU. + @return Stock Keeping Unit */ - public String getUPC () + public String getSKU () { - return (String)get_Value(COLUMNNAME_UPC); + return (String)get_Value(COLUMNNAME_SKU); + } + + public I_S_Resource getS_Resource() throws Exception + { + Class clazz = MTable.getClass(I_S_Resource.Table_Name); + I_S_Resource result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Resource. + @param S_Resource_ID + Resource + */ + public void setS_Resource_ID (int S_Resource_ID) + { + if (S_Resource_ID < 1) + set_ValueNoCheck (COLUMNNAME_S_Resource_ID, null); + else + set_ValueNoCheck (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID)); + } + + /** Get Resource. + @return Resource + */ + public int getS_Resource_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID); + if (ii == null) + return 0; + return ii.intValue(); } /** Set Units Per Pallet. @@ -1339,6 +1250,23 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return bd; } + /** Set UPC/EAN. + @param UPC + Bar Code (Universal Product Code or its superset European Article Number) + */ + public void setUPC (String UPC) + { + set_Value (COLUMNNAME_UPC, UPC); + } + + /** Get UPC/EAN. + @return Bar Code (Universal Product Code or its superset European Article Number) + */ + public String getUPC () + { + return (String)get_Value(COLUMNNAME_UPC); + } + /** Set Search Key. @param Value Search key for the record in the format required - must be unique @@ -1347,12 +1275,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -1378,12 +1300,6 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent */ public void setVersionNo (String VersionNo) { - - if (VersionNo != null && VersionNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - VersionNo = VersionNo.substring(0, 20); - } set_Value (COLUMNNAME_VersionNo, VersionNo); } diff --git a/base/src/org/compiere/model/X_M_ProductDownload.java b/base/src/org/compiere/model/X_M_ProductDownload.java index 331821fd85..63a3df58bf 100644 --- a/base/src/org/compiere/model/X_M_ProductDownload.java +++ b/base/src/org/compiere/model/X_M_ProductDownload.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductDownload * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Persistent { @@ -83,12 +83,6 @@ public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Pe { if (DownloadURL == null) throw new IllegalArgumentException ("DownloadURL is mandatory."); - - if (DownloadURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - DownloadURL = DownloadURL.substring(0, 120); - } set_Value (COLUMNNAME_DownloadURL, DownloadURL); } @@ -168,12 +162,6 @@ public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_ProductOperation.java b/base/src/org/compiere/model/X_M_ProductOperation.java index b31747c35e..1062b620f3 100644 --- a/base/src/org/compiere/model/X_M_ProductOperation.java +++ b/base/src/org/compiere/model/X_M_ProductOperation.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductOperation * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_Persistent { @@ -42,8 +42,8 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ super (ctx, M_ProductOperation_ID, trxName); /** if (M_ProductOperation_ID == 0) { - setM_ProductOperation_ID (0); setM_Product_ID (0); + setM_ProductOperation_ID (0); setName (null); } */ } @@ -82,12 +82,6 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -105,12 +99,6 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -122,28 +110,6 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ return (String)get_Value(COLUMNNAME_Help); } - /** Set Product Operation. - @param M_ProductOperation_ID - Product Manufacturing Operation - */ - public void setM_ProductOperation_ID (int M_ProductOperation_ID) - { - if (M_ProductOperation_ID < 1) - throw new IllegalArgumentException ("M_ProductOperation_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_ProductOperation_ID, Integer.valueOf(M_ProductOperation_ID)); - } - - /** Get Product Operation. - @return Product Manufacturing Operation - */ - public int getM_ProductOperation_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductOperation_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -182,6 +148,28 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ return ii.intValue(); } + /** Set Product Operation. + @param M_ProductOperation_ID + Product Manufacturing Operation + */ + public void setM_ProductOperation_ID (int M_ProductOperation_ID) + { + if (M_ProductOperation_ID < 1) + throw new IllegalArgumentException ("M_ProductOperation_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_ProductOperation_ID, Integer.valueOf(M_ProductOperation_ID)); + } + + /** Get Product Operation. + @return Product Manufacturing Operation + */ + public int getM_ProductOperation_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductOperation_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -190,12 +178,6 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_ProductPrice.java b/base/src/org/compiere/model/X_M_ProductPrice.java index 67e02d5be5..3ff92280ef 100644 --- a/base/src/org/compiere/model/X_M_ProductPrice.java +++ b/base/src/org/compiere/model/X_M_ProductPrice.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_ProductPrice * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_ProductPrice extends PO implements I_M_ProductPrice, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Product_Acct.java b/base/src/org/compiere/model/X_M_Product_Acct.java index ab82a63d95..73638c6db9 100644 --- a/base/src/org/compiere/model/X_M_Product_Acct.java +++ b/base/src/org/compiere/model/X_M_Product_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_Product_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Product_Acct extends PO implements I_M_Product_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Product_BOM.java b/base/src/org/compiere/model/X_M_Product_BOM.java index dba5bb1349..581cb14f18 100644 --- a/base/src/org/compiere/model/X_M_Product_BOM.java +++ b/base/src/org/compiere/model/X_M_Product_BOM.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Product_BOM * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent { @@ -46,8 +46,8 @@ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent // 1 setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_Product_BOM WHERE M_Product_ID=@M_Product_ID@ - setM_ProductBOM_ID (0); setM_Product_BOM_ID (0); + setM_ProductBOM_ID (0); setM_Product_ID (0); } */ } @@ -133,13 +133,7 @@ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent public void setBOMType (String BOMType) { - if (BOMType == null || BOMType.equals("P") || BOMType.equals("O") || BOMType.equals("1") || BOMType.equals("2") || BOMType.equals("3") || BOMType.equals("4") || BOMType.equals("5") || BOMType.equals("6") || BOMType.equals("7") || BOMType.equals("8") || BOMType.equals("9")); else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=279 - P - O - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9"); - if (BOMType != null && BOMType.length() > 1) - { - log.warning("Length > 1 - truncated"); - BOMType = BOMType.substring(0, 1); - } - set_Value (COLUMNNAME_BOMType, BOMType); + if (BOMType == null || BOMType.equals("P") || BOMType.equals("O") || BOMType.equals("1") || BOMType.equals("2") || BOMType.equals("3") || BOMType.equals("4") || BOMType.equals("5") || BOMType.equals("6") || BOMType.equals("7") || BOMType.equals("8") || BOMType.equals("9")); else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=279 - P - O - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9"); set_Value (COLUMNNAME_BOMType, BOMType); } /** Get BOM Type. @@ -156,12 +150,6 @@ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -193,6 +181,25 @@ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent return ii.intValue(); } + /** Set BOM Line. + @param M_Product_BOM_ID BOM Line */ + 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 (COLUMNNAME_M_Product_BOM_ID, Integer.valueOf(M_Product_BOM_ID)); + } + + /** Get BOM Line. + @return BOM Line */ + public int getM_Product_BOM_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_BOM_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** M_ProductBOM_ID AD_Reference_ID=162 */ public static final int M_PRODUCTBOM_ID_AD_Reference_ID=162; /** Set BOM Product. @@ -225,25 +232,6 @@ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getM_ProductBOM_ID())); } - /** Set BOM Line. - @param M_Product_BOM_ID BOM Line */ - 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 (COLUMNNAME_M_Product_BOM_ID, Integer.valueOf(M_Product_BOM_ID)); - } - - /** Get BOM Line. - @return BOM Line */ - public int getM_Product_BOM_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_BOM_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); diff --git a/base/src/org/compiere/model/X_M_Product_Category.java b/base/src/org/compiere/model/X_M_Product_Category.java index cc4086b497..4705b72940 100644 --- a/base/src/org/compiere/model/X_M_Product_Category.java +++ b/base/src/org/compiere/model/X_M_Product_Category.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Product_Category * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_Persistent { @@ -82,45 +82,6 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ return sb.toString(); } - public I_AD_PrintColor getAD_PrintColor() throws Exception - { - Class clazz = MTable.getClass(I_AD_PrintColor.Table_Name); - I_AD_PrintColor result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_AD_PrintColor)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_PrintColor_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Print Color. - @param AD_PrintColor_ID - Color used for printing and display - */ - public void setAD_PrintColor_ID (int AD_PrintColor_ID) - { - if (AD_PrintColor_ID < 1) - set_Value (COLUMNNAME_AD_PrintColor_ID, null); - else - set_Value (COLUMNNAME_AD_PrintColor_ID, Integer.valueOf(AD_PrintColor_ID)); - } - - /** Get Print Color. - @return Color used for printing and display - */ - public int getAD_PrintColor_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_PrintColor_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_A_Asset_Group getA_Asset_Group() throws Exception { Class clazz = MTable.getClass(I_A_Asset_Group.Table_Name); @@ -160,18 +121,51 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ return ii.intValue(); } + public I_AD_PrintColor getAD_PrintColor() throws Exception + { + Class clazz = MTable.getClass(I_AD_PrintColor.Table_Name); + I_AD_PrintColor result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_AD_PrintColor)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_PrintColor_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Print Color. + @param AD_PrintColor_ID + Color used for printing and display + */ + public void setAD_PrintColor_ID (int AD_PrintColor_ID) + { + if (AD_PrintColor_ID < 1) + set_Value (COLUMNNAME_AD_PrintColor_ID, null); + else + set_Value (COLUMNNAME_AD_PrintColor_ID, Integer.valueOf(AD_PrintColor_ID)); + } + + /** Get Print Color. + @return Color used for printing and display + */ + public int getAD_PrintColor_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_PrintColor_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -244,13 +238,7 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ public void setMMPolicy (String MMPolicy) { if (MMPolicy == null) throw new IllegalArgumentException ("MMPolicy is mandatory"); - if (MMPolicy.equals("L") || MMPolicy.equals("F")); else throw new IllegalArgumentException ("MMPolicy Invalid value - " + MMPolicy + " - Reference_ID=335 - L - F"); - if (MMPolicy.length() > 1) - { - log.warning("Length > 1 - truncated"); - MMPolicy = MMPolicy.substring(0, 1); - } - set_Value (COLUMNNAME_MMPolicy, MMPolicy); + if (MMPolicy.equals("L") || MMPolicy.equals("F")); else throw new IllegalArgumentException ("MMPolicy Invalid value - " + MMPolicy + " - Reference_ID=335 - L - F"); set_Value (COLUMNNAME_MMPolicy, MMPolicy); } /** Get Material Policy. @@ -313,12 +301,6 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -368,12 +350,6 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_M_Product_Category_Acct.java b/base/src/org/compiere/model/X_M_Product_Category_Acct.java index cda73c731b..775ea1888f 100644 --- a/base/src/org/compiere/model/X_M_Product_Category_Acct.java +++ b/base/src/org/compiere/model/X_M_Product_Category_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_Product_Category_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Category_Acct, I_Persistent { @@ -135,13 +135,7 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor public void setCostingLevel (String CostingLevel) { - if (CostingLevel == null || CostingLevel.equals("C") || CostingLevel.equals("O") || CostingLevel.equals("B")); else throw new IllegalArgumentException ("CostingLevel Invalid value - " + CostingLevel + " - Reference_ID=355 - C - O - B"); - if (CostingLevel != null && CostingLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - CostingLevel = CostingLevel.substring(0, 1); - } - set_Value (COLUMNNAME_CostingLevel, CostingLevel); + if (CostingLevel == null || CostingLevel.equals("C") || CostingLevel.equals("O") || CostingLevel.equals("B")); else throw new IllegalArgumentException ("CostingLevel Invalid value - " + CostingLevel + " - Reference_ID=355 - C - O - B"); set_Value (COLUMNNAME_CostingLevel, CostingLevel); } /** Get Costing Level. @@ -179,13 +173,7 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor public void setCostingMethod (String CostingMethod) { - if (CostingMethod == null || CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x")); else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x"); - if (CostingMethod != null && CostingMethod.length() > 1) - { - log.warning("Length > 1 - truncated"); - CostingMethod = CostingMethod.substring(0, 1); - } - set_Value (COLUMNNAME_CostingMethod, CostingMethod); + if (CostingMethod == null || CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x")); else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x"); set_Value (COLUMNNAME_CostingMethod, CostingMethod); } /** Get Costing Method. @@ -394,6 +382,27 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor return ii.intValue(); } + /** Set Process Now. + @param Processing Process Now */ + public void setProcessing (boolean Processing) + { + set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); + } + + /** Get Process Now. + @return Process Now */ + public boolean isProcessing () + { + Object oo = get_Value(COLUMNNAME_Processing); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Trade Discount Granted. @param P_TradeDiscountGrant_Acct Trade Discount Granted Account @@ -433,25 +442,4 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor return 0; return ii.intValue(); } - - /** Set Process Now. - @param Processing Process Now */ - public void setProcessing (boolean Processing) - { - set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); - } - - /** Get Process Now. - @return Process Now */ - public boolean isProcessing () - { - Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_M_Product_Costing.java b/base/src/org/compiere/model/X_M_Product_Costing.java index e1579be1b6..c148081fae 100644 --- a/base/src/org/compiere/model/X_M_Product_Costing.java +++ b/base/src/org/compiere/model/X_M_Product_Costing.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_Product_Costing * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Product_Costing extends PO implements I_M_Product_Costing, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Product_PO.java b/base/src/org/compiere/model/X_M_Product_PO.java index c51bb8263e..10bbbfe7d0 100644 --- a/base/src/org/compiere/model/X_M_Product_PO.java +++ b/base/src/org/compiere/model/X_M_Product_PO.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for M_Product_PO * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent { @@ -158,6 +158,26 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent return ii.intValue(); } + /** Set Cost per Order. + @param CostPerOrder + Fixed Cost Per Order + */ + public void setCostPerOrder (BigDecimal CostPerOrder) + { + set_Value (COLUMNNAME_CostPerOrder, CostPerOrder); + } + + /** Get Cost per Order. + @return Fixed Cost Per Order + */ + public BigDecimal getCostPerOrder () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CostPerOrder); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_UOM getC_UOM() throws Exception { Class clazz = MTable.getClass(I_C_UOM.Table_Name); @@ -197,26 +217,6 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent return ii.intValue(); } - /** Set Cost per Order. - @param CostPerOrder - Fixed Cost Per Order - */ - public void setCostPerOrder (BigDecimal CostPerOrder) - { - set_Value (COLUMNNAME_CostPerOrder, CostPerOrder); - } - - /** Get Cost per Order. - @return Fixed Cost Per Order - */ - public BigDecimal getCostPerOrder () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CostPerOrder); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Actual Delivery Time. @param DeliveryTime_Actual Actual days between order and delivery @@ -322,6 +322,23 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent return false; } + /** Set Manufacturer. + @param Manufacturer + Manufacturer of the Product + */ + public void setManufacturer (String Manufacturer) + { + set_Value (COLUMNNAME_Manufacturer, Manufacturer); + } + + /** Get Manufacturer. + @return Manufacturer of the Product + */ + public String getManufacturer () + { + return (String)get_Value(COLUMNNAME_Manufacturer); + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -360,29 +377,6 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent return ii.intValue(); } - /** Set Manufacturer. - @param Manufacturer - Manufacturer of the Product - */ - public void setManufacturer (String Manufacturer) - { - - if (Manufacturer != null && Manufacturer.length() > 30) - { - log.warning("Length > 30 - truncated"); - Manufacturer = Manufacturer.substring(0, 30); - } - set_Value (COLUMNNAME_Manufacturer, Manufacturer); - } - - /** Get Manufacturer. - @return Manufacturer of the Product - */ - public String getManufacturer () - { - return (String)get_Value(COLUMNNAME_Manufacturer); - } - /** Set Minimum Order Qty. @param Order_Min Minimum order quantity in UOM @@ -566,12 +560,6 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent */ public void setUPC (String UPC) { - - if (UPC != null && UPC.length() > 20) - { - log.warning("Length > 20 - truncated"); - UPC = UPC.substring(0, 20); - } set_Value (COLUMNNAME_UPC, UPC); } @@ -589,12 +577,6 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent */ public void setVendorCategory (String VendorCategory) { - - if (VendorCategory != null && VendorCategory.length() > 30) - { - log.warning("Length > 30 - truncated"); - VendorCategory = VendorCategory.substring(0, 30); - } set_Value (COLUMNNAME_VendorCategory, VendorCategory); } @@ -614,12 +596,6 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent { if (VendorProductNo == null) throw new IllegalArgumentException ("VendorProductNo is mandatory."); - - if (VendorProductNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - VendorProductNo = VendorProductNo.substring(0, 30); - } set_Value (COLUMNNAME_VendorProductNo, VendorProductNo); } diff --git a/base/src/org/compiere/model/X_M_Production.java b/base/src/org/compiere/model/X_M_Production.java index b8711d99df..ef1e31d763 100644 --- a/base/src/org/compiere/model/X_M_Production.java +++ b/base/src/org/compiere/model/X_M_Production.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Production * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Production extends PO implements I_M_Production, I_Persistent { @@ -42,9 +42,9 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent /** if (M_Production_ID == 0) { setIsCreated (false); - setM_Production_ID (0); - setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ + setM_Production_ID (0); setName (null); setPosted (false); setProcessed (false); @@ -227,12 +227,6 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -265,6 +259,25 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent return false; } + /** Set Movement Date. + @param MovementDate + Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate) + { + if (MovementDate == null) + throw new IllegalArgumentException ("MovementDate is mandatory."); + set_Value (COLUMNNAME_MovementDate, MovementDate); + } + + /** Get Movement Date. + @return Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate () + { + return (Timestamp)get_Value(COLUMNNAME_MovementDate); + } + /** Set Production. @param M_Production_ID Plan for producing a product @@ -287,25 +300,6 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent return ii.intValue(); } - /** Set Movement Date. - @param MovementDate - Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate) - { - if (MovementDate == null) - throw new IllegalArgumentException ("MovementDate is mandatory."); - set_Value (COLUMNNAME_MovementDate, MovementDate); - } - - /** Get Movement Date. - @return Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate () - { - return (Timestamp)get_Value(COLUMNNAME_MovementDate); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -314,12 +308,6 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_ProductionLine.java b/base/src/org/compiere/model/X_M_ProductionLine.java index 49843c8bae..7cfa3fd7b3 100644 --- a/base/src/org/compiere/model/X_M_ProductionLine.java +++ b/base/src/org/compiere/model/X_M_ProductionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductionLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Persistent { @@ -47,10 +47,10 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers setM_AttributeSetInstance_ID (0); setM_Locator_ID (0); // @M_Locator_ID@ + setMovementQty (Env.ZERO); setM_Product_ID (0); setM_ProductionLine_ID (0); setM_ProductionPlan_ID (0); - setMovementQty (Env.ZERO); setProcessed (false); } */ } @@ -89,12 +89,6 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -178,6 +172,28 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers return ii.intValue(); } + /** Set Movement Quantity. + @param MovementQty + Quantity of a product moved. + */ + public void setMovementQty (BigDecimal MovementQty) + { + if (MovementQty == null) + throw new IllegalArgumentException ("MovementQty is mandatory."); + set_Value (COLUMNNAME_MovementQty, MovementQty); + } + + /** Get Movement Quantity. + @return Quantity of a product moved. + */ + public BigDecimal getMovementQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -276,28 +292,6 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers return ii.intValue(); } - /** Set Movement Quantity. - @param MovementQty - Quantity of a product moved. - */ - public void setMovementQty (BigDecimal MovementQty) - { - if (MovementQty == null) - throw new IllegalArgumentException ("MovementQty is mandatory."); - set_Value (COLUMNNAME_MovementQty, MovementQty); - } - - /** Get Movement Quantity. - @return Quantity of a product moved. - */ - public BigDecimal getMovementQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Processed. @param Processed The document has been processed diff --git a/base/src/org/compiere/model/X_M_ProductionLineMA.java b/base/src/org/compiere/model/X_M_ProductionLineMA.java index f4dfe6b2ab..aaef7a1338 100644 --- a/base/src/org/compiere/model/X_M_ProductionLineMA.java +++ b/base/src/org/compiere/model/X_M_ProductionLineMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductionLineMA * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_Persistent { @@ -43,8 +43,8 @@ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_ /** if (M_ProductionLineMA_ID == 0) { setM_AttributeSetInstance_ID (0); - setM_ProductionLine_ID (0); setMovementQty (Env.ZERO); + setM_ProductionLine_ID (0); } */ } @@ -98,6 +98,28 @@ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_ return ii.intValue(); } + /** Set Movement Quantity. + @param MovementQty + Quantity of a product moved. + */ + public void setMovementQty (BigDecimal MovementQty) + { + if (MovementQty == null) + throw new IllegalArgumentException ("MovementQty is mandatory."); + set_Value (COLUMNNAME_MovementQty, MovementQty); + } + + /** Get Movement Quantity. + @return Quantity of a product moved. + */ + public BigDecimal getMovementQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_M_ProductionLine getM_ProductionLine() throws Exception { Class clazz = MTable.getClass(I_M_ProductionLine.Table_Name); @@ -143,26 +165,4 @@ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_ { return new KeyNamePair(get_ID(), String.valueOf(getM_ProductionLine_ID())); } - - /** Set Movement Quantity. - @param MovementQty - Quantity of a product moved. - */ - public void setMovementQty (BigDecimal MovementQty) - { - if (MovementQty == null) - throw new IllegalArgumentException ("MovementQty is mandatory."); - set_Value (COLUMNNAME_MovementQty, MovementQty); - } - - /** Get Movement Quantity. - @return Quantity of a product moved. - */ - public BigDecimal getMovementQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); - if (bd == null) - return Env.ZERO; - return bd; - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_M_ProductionPlan.java b/base/src/org/compiere/model/X_M_ProductionPlan.java index 9dc7db599e..0c69371143 100644 --- a/base/src/org/compiere/model/X_M_ProductionPlan.java +++ b/base/src/org/compiere/model/X_M_ProductionPlan.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductionPlan * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Persistent { @@ -47,8 +47,8 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers setM_Locator_ID (0); // @M_Locator_ID@ setM_Product_ID (0); - setM_ProductionPlan_ID (0); setM_Production_ID (0); + setM_ProductionPlan_ID (0); setProcessed (false); setProductionQty (Env.ZERO); // 1 @@ -89,12 +89,6 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -180,28 +174,6 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers return ii.intValue(); } - /** Set Production Plan. - @param M_ProductionPlan_ID - Plan for how a product is produced - */ - public void setM_ProductionPlan_ID (int M_ProductionPlan_ID) - { - if (M_ProductionPlan_ID < 1) - throw new IllegalArgumentException ("M_ProductionPlan_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_ProductionPlan_ID, Integer.valueOf(M_ProductionPlan_ID)); - } - - /** Get Production Plan. - @return Plan for how a product is produced - */ - public int getM_ProductionPlan_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductionPlan_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Production getM_Production() throws Exception { Class clazz = MTable.getClass(I_M_Production.Table_Name); @@ -240,6 +212,28 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers return ii.intValue(); } + /** Set Production Plan. + @param M_ProductionPlan_ID + Plan for how a product is produced + */ + public void setM_ProductionPlan_ID (int M_ProductionPlan_ID) + { + if (M_ProductionPlan_ID < 1) + throw new IllegalArgumentException ("M_ProductionPlan_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_ProductionPlan_ID, Integer.valueOf(M_ProductionPlan_ID)); + } + + /** Get Production Plan. + @return Plan for how a product is produced + */ + public int getM_ProductionPlan_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductionPlan_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Processed. @param Processed The document has been processed diff --git a/base/src/org/compiere/model/X_M_RMA.java b/base/src/org/compiere/model/X_M_RMA.java index 70cc9fd3b6..7560420fee 100644 --- a/base/src/org/compiere/model/X_M_RMA.java +++ b/base/src/org/compiere/model/X_M_RMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_RMA * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent { @@ -52,8 +52,8 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent setIsApproved (false); setIsSOTrx (false); // @IsSOTrx@ - setM_RMAType_ID (0); setM_RMA_ID (0); + setM_RMAType_ID (0); setName (null); setProcessed (false); setSalesRep_ID (0); @@ -255,12 +255,6 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -309,13 +303,7 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -359,13 +347,7 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -384,12 +366,6 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -415,12 +391,6 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent */ public void setGenerateTo (String GenerateTo) { - - if (GenerateTo != null && GenerateTo.length() > 1) - { - log.warning("Length > 1 - truncated"); - GenerateTo = GenerateTo.substring(0, 1); - } set_Value (COLUMNNAME_GenerateTo, GenerateTo); } @@ -438,12 +408,6 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -527,6 +491,28 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent return false; } + /** Set RMA. + @param M_RMA_ID + Return Material Authorization + */ + public void setM_RMA_ID (int M_RMA_ID) + { + if (M_RMA_ID < 1) + throw new IllegalArgumentException ("M_RMA_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_RMA_ID, Integer.valueOf(M_RMA_ID)); + } + + /** Get RMA. + @return Return Material Authorization + */ + public int getM_RMA_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_RMA_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_RMAType getM_RMAType() throws Exception { Class clazz = MTable.getClass(I_M_RMAType.Table_Name); @@ -565,28 +551,6 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent return ii.intValue(); } - /** Set RMA. - @param M_RMA_ID - Return Material Authorization - */ - public void setM_RMA_ID (int M_RMA_ID) - { - if (M_RMA_ID < 1) - throw new IllegalArgumentException ("M_RMA_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_RMA_ID, Integer.valueOf(M_RMA_ID)); - } - - /** Get RMA. - @return Return Material Authorization - */ - public int getM_RMA_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_RMA_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -595,12 +559,6 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_RMALine.java b/base/src/org/compiere/model/X_M_RMALine.java index 8864429e15..3aadb730ca 100644 --- a/base/src/org/compiere/model/X_M_RMALine.java +++ b/base/src/org/compiere/model/X_M_RMALine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_RMALine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent { @@ -42,8 +42,8 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent super (ctx, M_RMALine_ID, trxName); /** if (M_RMALine_ID == 0) { - setM_RMALine_ID (0); setM_RMA_ID (0); + setM_RMALine_ID (0); setProcessed (false); setQty (Env.ZERO); } */ @@ -142,12 +142,6 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -238,28 +232,6 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent return ii.intValue(); } - /** Set RMA Line. - @param M_RMALine_ID - Return Material Authorization Line - */ - public void setM_RMALine_ID (int M_RMALine_ID) - { - if (M_RMALine_ID < 1) - throw new IllegalArgumentException ("M_RMALine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_RMALine_ID, Integer.valueOf(M_RMALine_ID)); - } - - /** Get RMA Line. - @return Return Material Authorization Line - */ - public int getM_RMALine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_RMALine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_RMA getM_RMA() throws Exception { Class clazz = MTable.getClass(I_M_RMA.Table_Name); @@ -306,6 +278,28 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getM_RMA_ID())); } + /** Set RMA Line. + @param M_RMALine_ID + Return Material Authorization Line + */ + public void setM_RMALine_ID (int M_RMALine_ID) + { + if (M_RMALine_ID < 1) + throw new IllegalArgumentException ("M_RMALine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_RMALine_ID, Integer.valueOf(M_RMALine_ID)); + } + + /** Get RMA Line. + @return Return Material Authorization Line + */ + public int getM_RMALine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_RMALine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Processed. @param Processed The document has been processed diff --git a/base/src/org/compiere/model/X_M_RMAType.java b/base/src/org/compiere/model/X_M_RMAType.java index 41c32cd16b..8dfe506e84 100644 --- a/base/src/org/compiere/model/X_M_RMAType.java +++ b/base/src/org/compiere/model/X_M_RMAType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_RMAType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent { @@ -77,12 +77,6 @@ public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -100,12 +94,6 @@ public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -147,12 +135,6 @@ public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_RelatedProduct.java b/base/src/org/compiere/model/X_M_RelatedProduct.java index e0210dda88..39ae76c71b 100644 --- a/base/src/org/compiere/model/X_M_RelatedProduct.java +++ b/base/src/org/compiere/model/X_M_RelatedProduct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_RelatedProduct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Persistent { @@ -41,8 +41,8 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers { setM_Product_ID (0); setName (null); - setRelatedProductType (null); setRelatedProduct_ID (0); + setRelatedProductType (null); } */ } @@ -80,12 +80,6 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -143,12 +137,6 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -160,35 +148,6 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers return (String)get_Value(COLUMNNAME_Name); } - /** RelatedProductType AD_Reference_ID=313 */ - public static final int RELATEDPRODUCTTYPE_AD_Reference_ID=313; - /** Web Promotion = P */ - public static final String RELATEDPRODUCTTYPE_WebPromotion = "P"; - /** Alternative = A */ - public static final String RELATEDPRODUCTTYPE_Alternative = "A"; - /** Supplemental = S */ - public static final String RELATEDPRODUCTTYPE_Supplemental = "S"; - /** Set Related Product Type. - @param RelatedProductType Related Product Type */ - public void setRelatedProductType (String RelatedProductType) - { - if (RelatedProductType == null) throw new IllegalArgumentException ("RelatedProductType is mandatory"); - if (RelatedProductType.equals("P") || RelatedProductType.equals("A") || RelatedProductType.equals("S")); else throw new IllegalArgumentException ("RelatedProductType Invalid value - " + RelatedProductType + " - Reference_ID=313 - P - A - S"); - if (RelatedProductType.length() > 1) - { - log.warning("Length > 1 - truncated"); - RelatedProductType = RelatedProductType.substring(0, 1); - } - set_Value (COLUMNNAME_RelatedProductType, RelatedProductType); - } - - /** Get Related Product Type. - @return Related Product Type */ - public String getRelatedProductType () - { - return (String)get_Value(COLUMNNAME_RelatedProductType); - } - /** RelatedProduct_ID AD_Reference_ID=162 */ public static final int RELATEDPRODUCT_ID_AD_Reference_ID=162; /** Set Related Product. @@ -212,4 +171,27 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers return 0; return ii.intValue(); } + + /** RelatedProductType AD_Reference_ID=313 */ + public static final int RELATEDPRODUCTTYPE_AD_Reference_ID=313; + /** Web Promotion = P */ + public static final String RELATEDPRODUCTTYPE_WebPromotion = "P"; + /** Alternative = A */ + public static final String RELATEDPRODUCTTYPE_Alternative = "A"; + /** Supplemental = S */ + public static final String RELATEDPRODUCTTYPE_Supplemental = "S"; + /** Set Related Product Type. + @param RelatedProductType Related Product Type */ + public void setRelatedProductType (String RelatedProductType) + { + if (RelatedProductType == null) throw new IllegalArgumentException ("RelatedProductType is mandatory"); + if (RelatedProductType.equals("P") || RelatedProductType.equals("A") || RelatedProductType.equals("S")); else throw new IllegalArgumentException ("RelatedProductType Invalid value - " + RelatedProductType + " - Reference_ID=313 - P - A - S"); set_Value (COLUMNNAME_RelatedProductType, RelatedProductType); + } + + /** Get Related Product Type. + @return Related Product Type */ + public String getRelatedProductType () + { + return (String)get_Value(COLUMNNAME_RelatedProductType); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_M_Replenish.java b/base/src/org/compiere/model/X_M_Replenish.java index aecbf3284d..5c2b1bfaed 100644 --- a/base/src/org/compiere/model/X_M_Replenish.java +++ b/base/src/org/compiere/model/X_M_Replenish.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_Replenish * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent { @@ -159,31 +159,6 @@ public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent return ii.intValue(); } - /** M_WarehouseSource_ID AD_Reference_ID=197 */ - public static final int M_WAREHOUSESOURCE_ID_AD_Reference_ID=197; - /** Set Source Warehouse. - @param M_WarehouseSource_ID - Optional Warehouse to replenish from - */ - public void setM_WarehouseSource_ID (int M_WarehouseSource_ID) - { - if (M_WarehouseSource_ID < 1) - set_Value (COLUMNNAME_M_WarehouseSource_ID, null); - else - set_Value (COLUMNNAME_M_WarehouseSource_ID, Integer.valueOf(M_WarehouseSource_ID)); - } - - /** Get Source Warehouse. - @return Optional Warehouse to replenish from - */ - public int getM_WarehouseSource_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_WarehouseSource_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Warehouse getM_Warehouse() throws Exception { Class clazz = MTable.getClass(I_M_Warehouse.Table_Name); @@ -222,6 +197,31 @@ public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent return ii.intValue(); } + /** M_WarehouseSource_ID AD_Reference_ID=197 */ + public static final int M_WAREHOUSESOURCE_ID_AD_Reference_ID=197; + /** Set Source Warehouse. + @param M_WarehouseSource_ID + Optional Warehouse to replenish from + */ + public void setM_WarehouseSource_ID (int M_WarehouseSource_ID) + { + if (M_WarehouseSource_ID < 1) + set_Value (COLUMNNAME_M_WarehouseSource_ID, null); + else + set_Value (COLUMNNAME_M_WarehouseSource_ID, Integer.valueOf(M_WarehouseSource_ID)); + } + + /** Get Source Warehouse. + @return Optional Warehouse to replenish from + */ + public int getM_WarehouseSource_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_WarehouseSource_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** ReplenishType AD_Reference_ID=164 */ public static final int REPLENISHTYPE_AD_Reference_ID=164; /** Maintain Maximum Level = 2 */ @@ -239,13 +239,7 @@ public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent public void setReplenishType (String ReplenishType) { if (ReplenishType == null) throw new IllegalArgumentException ("ReplenishType is mandatory"); - if (ReplenishType.equals("2") || ReplenishType.equals("0") || ReplenishType.equals("1") || ReplenishType.equals("9")); else throw new IllegalArgumentException ("ReplenishType Invalid value - " + ReplenishType + " - Reference_ID=164 - 2 - 0 - 1 - 9"); - if (ReplenishType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ReplenishType = ReplenishType.substring(0, 1); - } - set_Value (COLUMNNAME_ReplenishType, ReplenishType); + if (ReplenishType.equals("2") || ReplenishType.equals("0") || ReplenishType.equals("1") || ReplenishType.equals("9")); else throw new IllegalArgumentException ("ReplenishType Invalid value - " + ReplenishType + " - Reference_ID=164 - 2 - 0 - 1 - 9"); set_Value (COLUMNNAME_ReplenishType, ReplenishType); } /** Get Replenish Type. diff --git a/base/src/org/compiere/model/X_M_Requisition.java b/base/src/org/compiere/model/X_M_Requisition.java index 961d529fc3..5c67f8dfca 100644 --- a/base/src/org/compiere/model/X_M_Requisition.java +++ b/base/src/org/compiere/model/X_M_Requisition.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Requisition * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent { @@ -45,9 +45,9 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent { setAD_User_ID (0); setC_DocType_ID (0); - setDateDoc (new Timestamp(System.currentTimeMillis())); + setDateDoc (new Timestamp( System.currentTimeMillis() )); // @#Date@ - setDateRequired (new Timestamp(System.currentTimeMillis())); + setDateRequired (new Timestamp( System.currentTimeMillis() )); setDocAction (null); // CO setDocStatus (null); @@ -213,12 +213,6 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -267,13 +261,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -317,13 +305,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -342,12 +324,6 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -373,12 +349,6 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -555,13 +525,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent public void setPriorityRule (String PriorityRule) { if (PriorityRule == null) throw new IllegalArgumentException ("PriorityRule is mandatory"); - if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (PriorityRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PriorityRule = PriorityRule.substring(0, 1); - } - set_Value (COLUMNNAME_PriorityRule, PriorityRule); + if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_Value (COLUMNNAME_PriorityRule, PriorityRule); } /** Get Priority. diff --git a/base/src/org/compiere/model/X_M_RequisitionLine.java b/base/src/org/compiere/model/X_M_RequisitionLine.java index 0ddb976047..4ae9560258 100644 --- a/base/src/org/compiere/model/X_M_RequisitionLine.java +++ b/base/src/org/compiere/model/X_M_RequisitionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_RequisitionLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Persistent { @@ -45,8 +45,8 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe setLine (0); // @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM M_RequisitionLine WHERE M_Requisition_ID=@M_Requisition_ID@ setLineNetAmt (Env.ZERO); - setM_RequisitionLine_ID (0); setM_Requisition_ID (0); + setM_RequisitionLine_ID (0); setPriceActual (Env.ZERO); setQty (Env.ZERO); // 1 @@ -165,12 +165,6 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -294,28 +288,6 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe return ii.intValue(); } - /** Set Requisition Line. - @param M_RequisitionLine_ID - Material Requisition Line - */ - public void setM_RequisitionLine_ID (int M_RequisitionLine_ID) - { - if (M_RequisitionLine_ID < 1) - throw new IllegalArgumentException ("M_RequisitionLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_RequisitionLine_ID, Integer.valueOf(M_RequisitionLine_ID)); - } - - /** Get Requisition Line. - @return Material Requisition Line - */ - public int getM_RequisitionLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_RequisitionLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Requisition getM_Requisition() throws Exception { Class clazz = MTable.getClass(I_M_Requisition.Table_Name); @@ -354,6 +326,28 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe return ii.intValue(); } + /** Set Requisition Line. + @param M_RequisitionLine_ID + Material Requisition Line + */ + public void setM_RequisitionLine_ID (int M_RequisitionLine_ID) + { + if (M_RequisitionLine_ID < 1) + throw new IllegalArgumentException ("M_RequisitionLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_RequisitionLine_ID, Integer.valueOf(M_RequisitionLine_ID)); + } + + /** Get Requisition Line. + @return Material Requisition Line + */ + public int getM_RequisitionLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_RequisitionLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Unit Price. @param PriceActual Actual Price diff --git a/base/src/org/compiere/model/X_M_SerNoCtl.java b/base/src/org/compiere/model/X_M_SerNoCtl.java index fbc0912ee2..8390d796be 100644 --- a/base/src/org/compiere/model/X_M_SerNoCtl.java +++ b/base/src/org/compiere/model/X_M_SerNoCtl.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_SerNoCtl * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent { @@ -103,12 +103,6 @@ public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -170,12 +164,6 @@ public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -201,12 +189,6 @@ public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent */ public void setPrefix (String Prefix) { - - if (Prefix != null && Prefix.length() > 10) - { - log.warning("Length > 10 - truncated"); - Prefix = Prefix.substring(0, 10); - } set_Value (COLUMNNAME_Prefix, Prefix); } @@ -244,12 +226,6 @@ public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent */ public void setSuffix (String Suffix) { - - if (Suffix != null && Suffix.length() > 10) - { - log.warning("Length > 10 - truncated"); - Suffix = Suffix.substring(0, 10); - } set_Value (COLUMNNAME_Suffix, Suffix); } diff --git a/base/src/org/compiere/model/X_M_SerNoCtlExclude.java b/base/src/org/compiere/model/X_M_SerNoCtlExclude.java index 2c8a884776..333196cee2 100644 --- a/base/src/org/compiere/model/X_M_SerNoCtlExclude.java +++ b/base/src/org/compiere/model/X_M_SerNoCtlExclude.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_SerNoCtlExclude * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Shipper.java b/base/src/org/compiere/model/X_M_Shipper.java index 383c06436e..0d0b1bba04 100644 --- a/base/src/org/compiere/model/X_M_Shipper.java +++ b/base/src/org/compiere/model/X_M_Shipper.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Shipper * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Shipper extends PO implements I_M_Shipper, I_Persistent { @@ -118,12 +118,6 @@ public class X_M_Shipper extends PO implements I_M_Shipper, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_M_Shipper extends PO implements I_M_Shipper, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -196,12 +184,6 @@ public class X_M_Shipper extends PO implements I_M_Shipper, I_Persistent */ public void setTrackingURL (String TrackingURL) { - - if (TrackingURL != null && TrackingURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - TrackingURL = TrackingURL.substring(0, 120); - } set_Value (COLUMNNAME_TrackingURL, TrackingURL); } diff --git a/base/src/org/compiere/model/X_M_Storage.java b/base/src/org/compiere/model/X_M_Storage.java index 101e6c1b3e..f505ca503d 100644 --- a/base/src/org/compiere/model/X_M_Storage.java +++ b/base/src/org/compiere/model/X_M_Storage.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for M_Storage * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Storage extends PO implements I_M_Storage, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Substitute.java b/base/src/org/compiere/model/X_M_Substitute.java index 9f378514d1..9cc7cac120 100644 --- a/base/src/org/compiere/model/X_M_Substitute.java +++ b/base/src/org/compiere/model/X_M_Substitute.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Substitute * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent { @@ -80,12 +80,6 @@ public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -143,12 +137,6 @@ public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_M_Transaction.java b/base/src/org/compiere/model/X_M_Transaction.java index 3a217ac064..9e5dab1a6a 100644 --- a/base/src/org/compiere/model/X_M_Transaction.java +++ b/base/src/org/compiere/model/X_M_Transaction.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Transaction * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent { @@ -45,11 +45,11 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent { setM_AttributeSetInstance_ID (0); setM_Locator_ID (0); - setM_Product_ID (0); - setM_Transaction_ID (0); - setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementDate (new Timestamp( System.currentTimeMillis() )); setMovementQty (Env.ZERO); setMovementType (null); + setM_Product_ID (0); + setM_Transaction_ID (0); } */ } @@ -281,6 +281,99 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent return ii.intValue(); } + /** Set Movement Date. + @param MovementDate + Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate) + { + if (MovementDate == null) + throw new IllegalArgumentException ("MovementDate is mandatory."); + set_ValueNoCheck (COLUMNNAME_MovementDate, MovementDate); + } + + /** Get Movement Date. + @return Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate () + { + return (Timestamp)get_Value(COLUMNNAME_MovementDate); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getMovementDate())); + } + + /** Set Movement Quantity. + @param MovementQty + Quantity of a product moved. + */ + public void setMovementQty (BigDecimal MovementQty) + { + if (MovementQty == null) + throw new IllegalArgumentException ("MovementQty is mandatory."); + set_ValueNoCheck (COLUMNNAME_MovementQty, MovementQty); + } + + /** Get Movement Quantity. + @return Quantity of a product moved. + */ + public BigDecimal getMovementQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** MovementType AD_Reference_ID=189 */ + public static final int MOVEMENTTYPE_AD_Reference_ID=189; + /** Customer Shipment = C- */ + public static final String MOVEMENTTYPE_CustomerShipment = "C-"; + /** Customer Returns = C+ */ + public static final String MOVEMENTTYPE_CustomerReturns = "C+"; + /** Vendor Receipts = V+ */ + public static final String MOVEMENTTYPE_VendorReceipts = "V+"; + /** Vendor Returns = V- */ + public static final String MOVEMENTTYPE_VendorReturns = "V-"; + /** Inventory Out = I- */ + public static final String MOVEMENTTYPE_InventoryOut = "I-"; + /** Inventory In = I+ */ + public static final String MOVEMENTTYPE_InventoryIn = "I+"; + /** Movement From = M- */ + public static final String MOVEMENTTYPE_MovementFrom = "M-"; + /** Movement To = M+ */ + public static final String MOVEMENTTYPE_MovementTo = "M+"; + /** Production + = P+ */ + public static final String MOVEMENTTYPE_ProductionPlus = "P+"; + /** Production - = P- */ + public static final String MOVEMENTTYPE_Production_ = "P-"; + /** Work Order + = W+ */ + public static final String MOVEMENTTYPE_WorkOrderPlus = "W+"; + /** Work Order - = W- */ + public static final String MOVEMENTTYPE_WorkOrder_ = "W-"; + /** Set Movement Type. + @param MovementType + Method of moving the inventory + */ + public void setMovementType (String MovementType) + { + if (MovementType == null) throw new IllegalArgumentException ("MovementType is mandatory"); + if (MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); set_ValueNoCheck (COLUMNNAME_MovementType, MovementType); + } + + /** Get Movement Type. + @return Method of moving the inventory + */ + public String getMovementType () + { + return (String)get_Value(COLUMNNAME_MovementType); + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -377,105 +470,6 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent return ii.intValue(); } - /** Set Movement Date. - @param MovementDate - Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate) - { - if (MovementDate == null) - throw new IllegalArgumentException ("MovementDate is mandatory."); - set_ValueNoCheck (COLUMNNAME_MovementDate, MovementDate); - } - - /** Get Movement Date. - @return Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate () - { - return (Timestamp)get_Value(COLUMNNAME_MovementDate); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getMovementDate())); - } - - /** Set Movement Quantity. - @param MovementQty - Quantity of a product moved. - */ - public void setMovementQty (BigDecimal MovementQty) - { - if (MovementQty == null) - throw new IllegalArgumentException ("MovementQty is mandatory."); - set_ValueNoCheck (COLUMNNAME_MovementQty, MovementQty); - } - - /** Get Movement Quantity. - @return Quantity of a product moved. - */ - public BigDecimal getMovementQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** MovementType AD_Reference_ID=189 */ - public static final int MOVEMENTTYPE_AD_Reference_ID=189; - /** Customer Shipment = C- */ - public static final String MOVEMENTTYPE_CustomerShipment = "C-"; - /** Customer Returns = C+ */ - public static final String MOVEMENTTYPE_CustomerReturns = "C+"; - /** Vendor Receipts = V+ */ - public static final String MOVEMENTTYPE_VendorReceipts = "V+"; - /** Vendor Returns = V- */ - public static final String MOVEMENTTYPE_VendorReturns = "V-"; - /** Inventory Out = I- */ - public static final String MOVEMENTTYPE_InventoryOut = "I-"; - /** Inventory In = I+ */ - public static final String MOVEMENTTYPE_InventoryIn = "I+"; - /** Movement From = M- */ - public static final String MOVEMENTTYPE_MovementFrom = "M-"; - /** Movement To = M+ */ - public static final String MOVEMENTTYPE_MovementTo = "M+"; - /** Production + = P+ */ - public static final String MOVEMENTTYPE_ProductionPlus = "P+"; - /** Production - = P- */ - public static final String MOVEMENTTYPE_Production_ = "P-"; - /** Work Order + = W+ */ - public static final String MOVEMENTTYPE_WorkOrderPlus = "W+"; - /** Work Order - = W- */ - public static final String MOVEMENTTYPE_WorkOrder_ = "W-"; - /** Set Movement Type. - @param MovementType - Method of moving the inventory - */ - public void setMovementType (String MovementType) - { - if (MovementType == null) throw new IllegalArgumentException ("MovementType is mandatory"); - if (MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); - if (MovementType.length() > 2) - { - log.warning("Length > 2 - truncated"); - MovementType = MovementType.substring(0, 2); - } - set_ValueNoCheck (COLUMNNAME_MovementType, MovementType); - } - - /** Get Movement Type. - @return Method of moving the inventory - */ - public String getMovementType () - { - return (String)get_Value(COLUMNNAME_MovementType); - } - public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_PP_Order_BOMLine.Table_Name); diff --git a/base/src/org/compiere/model/X_M_TransactionAllocation.java b/base/src/org/compiere/model/X_M_TransactionAllocation.java index 150bf2ae0f..0c4f935f6a 100644 --- a/base/src/org/compiere/model/X_M_TransactionAllocation.java +++ b/base/src/org/compiere/model/X_M_TransactionAllocation.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_TransactionAllocation * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllocation, I_Persistent { @@ -94,13 +94,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo public void setAllocationStrategyType (String AllocationStrategyType) { if (AllocationStrategyType == null) throw new IllegalArgumentException ("AllocationStrategyType is mandatory"); - if (AllocationStrategyType.equals("L") || AllocationStrategyType.equals("F")); else throw new IllegalArgumentException ("AllocationStrategyType Invalid value - " + AllocationStrategyType + " - Reference_ID=294 - L - F"); - if (AllocationStrategyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - AllocationStrategyType = AllocationStrategyType.substring(0, 1); - } - set_Value (COLUMNNAME_AllocationStrategyType, AllocationStrategyType); + if (AllocationStrategyType.equals("L") || AllocationStrategyType.equals("F")); else throw new IllegalArgumentException ("AllocationStrategyType Invalid value - " + AllocationStrategyType + " - Reference_ID=294 - L - F"); set_Value (COLUMNNAME_AllocationStrategyType, AllocationStrategyType); } /** Get Allocation Strategy. diff --git a/base/src/org/compiere/model/X_M_Warehouse.java b/base/src/org/compiere/model/X_M_Warehouse.java index 87dc191a9b..83a2fe2036 100644 --- a/base/src/org/compiere/model/X_M_Warehouse.java +++ b/base/src/org/compiere/model/X_M_Warehouse.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Warehouse * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent { @@ -103,12 +103,6 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -144,6 +138,28 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent return false; } + /** Set Warehouse. + @param M_Warehouse_ID + Storage Warehouse and Service Point + */ + public void setM_Warehouse_ID (int M_Warehouse_ID) + { + if (M_Warehouse_ID < 1) + throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID)); + } + + /** Get Warehouse. + @return Storage Warehouse and Service Point + */ + public int getM_Warehouse_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** M_WarehouseSource_ID AD_Reference_ID=197 */ public static final int M_WAREHOUSESOURCE_ID_AD_Reference_ID=197; /** Set Source Warehouse. @@ -169,28 +185,6 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent return ii.intValue(); } - /** Set Warehouse. - @param M_Warehouse_ID - Storage Warehouse and Service Point - */ - public void setM_Warehouse_ID (int M_Warehouse_ID) - { - if (M_Warehouse_ID < 1) - throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID)); - } - - /** Get Warehouse. - @return Storage Warehouse and Service Point - */ - public int getM_Warehouse_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -199,12 +193,6 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -230,12 +218,6 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent */ public void setReplenishmentClass (String ReplenishmentClass) { - - if (ReplenishmentClass != null && ReplenishmentClass.length() > 60) - { - log.warning("Length > 60 - truncated"); - ReplenishmentClass = ReplenishmentClass.substring(0, 60); - } set_Value (COLUMNNAME_ReplenishmentClass, ReplenishmentClass); } @@ -255,12 +237,6 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent { if (Separator == null) throw new IllegalArgumentException ("Separator is mandatory."); - - if (Separator.length() > 1) - { - log.warning("Length > 1 - truncated"); - Separator = Separator.substring(0, 1); - } set_Value (COLUMNNAME_Separator, Separator); } @@ -280,12 +256,6 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_M_Warehouse_Acct.java b/base/src/org/compiere/model/X_M_Warehouse_Acct.java index ea89c4d50f..3be902c239 100644 --- a/base/src/org/compiere/model/X_M_Warehouse_Acct.java +++ b/base/src/org/compiere/model/X_M_Warehouse_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_Warehouse_Acct * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_Acct, I_Persistent { diff --git a/base/src/org/compiere/model/X_PA_Achievement.java b/base/src/org/compiere/model/X_PA_Achievement.java index eb447ec50e..c3f27f6cc7 100644 --- a/base/src/org/compiere/model/X_PA_Achievement.java +++ b/base/src/org/compiere/model/X_PA_Achievement.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Achievement * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persistent { @@ -103,12 +103,6 @@ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -174,12 +168,6 @@ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -205,12 +193,6 @@ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persiste */ public void setNote (String Note) { - - if (Note != null && Note.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Note = Note.substring(0, 2000); - } set_Value (COLUMNNAME_Note, Note); } diff --git a/base/src/org/compiere/model/X_PA_Benchmark.java b/base/src/org/compiere/model/X_PA_Benchmark.java index a871d33dd1..2bfe56b39e 100644 --- a/base/src/org/compiere/model/X_PA_Benchmark.java +++ b/base/src/org/compiere/model/X_PA_Benchmark.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Benchmark * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent { @@ -85,13 +85,7 @@ public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent public void setAccumulationType (String AccumulationType) { if (AccumulationType == null) throw new IllegalArgumentException ("AccumulationType is mandatory"); - if (AccumulationType.equals("A") || AccumulationType.equals("S")); else throw new IllegalArgumentException ("AccumulationType Invalid value - " + AccumulationType + " - Reference_ID=370 - A - S"); - if (AccumulationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccumulationType = AccumulationType.substring(0, 1); - } - set_Value (COLUMNNAME_AccumulationType, AccumulationType); + if (AccumulationType.equals("A") || AccumulationType.equals("S")); else throw new IllegalArgumentException ("AccumulationType Invalid value - " + AccumulationType + " - Reference_ID=370 - A - S"); set_Value (COLUMNNAME_AccumulationType, AccumulationType); } /** Get Accumulation Type. @@ -108,12 +102,6 @@ public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -131,12 +119,6 @@ public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -156,12 +138,6 @@ public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_BenchmarkData.java b/base/src/org/compiere/model/X_PA_BenchmarkData.java index 10308fcd05..1160287b04 100644 --- a/base/src/org/compiere/model/X_PA_BenchmarkData.java +++ b/base/src/org/compiere/model/X_PA_BenchmarkData.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_BenchmarkData * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Persistent { @@ -43,7 +43,7 @@ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Pers super (ctx, PA_BenchmarkData_ID, trxName); /** if (PA_BenchmarkData_ID == 0) { - setBenchmarkDate (new Timestamp(System.currentTimeMillis())); + setBenchmarkDate (new Timestamp( System.currentTimeMillis() )); setBenchmarkValue (Env.ZERO); setName (null); setPA_BenchmarkData_ID (0); @@ -126,12 +126,6 @@ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -151,12 +145,6 @@ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_ColorSchema.java b/base/src/org/compiere/model/X_PA_ColorSchema.java index 1732354b7a..6896a33a6e 100644 --- a/base/src/org/compiere/model/X_PA_ColorSchema.java +++ b/base/src/org/compiere/model/X_PA_ColorSchema.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ColorSchema * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persistent { @@ -181,12 +181,6 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -206,12 +200,6 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -311,12 +299,6 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_DashboardContent.java b/base/src/org/compiere/model/X_PA_DashboardContent.java index 1851719e6d..4e63ceb551 100644 --- a/base/src/org/compiere/model/X_PA_DashboardContent.java +++ b/base/src/org/compiere/model/X_PA_DashboardContent.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_DashboardContent * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, I_Persistent { @@ -120,12 +120,6 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -179,12 +173,6 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_Goal.java b/base/src/org/compiere/model/X_PA_Goal.java index e48e4f6e54..4bd7a31e36 100644 --- a/base/src/org/compiere/model/X_PA_Goal.java +++ b/base/src/org/compiere/model/X_PA_Goal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Goal * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent { @@ -220,12 +220,6 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -326,13 +320,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent public void setMeasureDisplay (String MeasureDisplay) { - if (MeasureDisplay == null || MeasureDisplay.equals("1") || MeasureDisplay.equals("3") || MeasureDisplay.equals("5") || MeasureDisplay.equals("0") || MeasureDisplay.equals("7") || MeasureDisplay.equals("8")); else throw new IllegalArgumentException ("MeasureDisplay Invalid value - " + MeasureDisplay + " - Reference_ID=367 - 1 - 3 - 5 - 0 - 7 - 8"); - if (MeasureDisplay != null && MeasureDisplay.length() > 1) - { - log.warning("Length > 1 - truncated"); - MeasureDisplay = MeasureDisplay.substring(0, 1); - } - set_Value (COLUMNNAME_MeasureDisplay, MeasureDisplay); + if (MeasureDisplay == null || MeasureDisplay.equals("1") || MeasureDisplay.equals("3") || MeasureDisplay.equals("5") || MeasureDisplay.equals("0") || MeasureDisplay.equals("7") || MeasureDisplay.equals("8")); else throw new IllegalArgumentException ("MeasureDisplay Invalid value - " + MeasureDisplay + " - Reference_ID=367 - 1 - 3 - 5 - 0 - 7 - 8"); set_Value (COLUMNNAME_MeasureDisplay, MeasureDisplay); } /** Get Measure Display. @@ -364,13 +352,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent public void setMeasureScope (String MeasureScope) { if (MeasureScope == null) throw new IllegalArgumentException ("MeasureScope is mandatory"); - if (MeasureScope.equals("1") || MeasureScope.equals("3") || MeasureScope.equals("5") || MeasureScope.equals("0") || MeasureScope.equals("7") || MeasureScope.equals("8")); else throw new IllegalArgumentException ("MeasureScope Invalid value - " + MeasureScope + " - Reference_ID=367 - 1 - 3 - 5 - 0 - 7 - 8"); - if (MeasureScope.length() > 1) - { - log.warning("Length > 1 - truncated"); - MeasureScope = MeasureScope.substring(0, 1); - } - set_Value (COLUMNNAME_MeasureScope, MeasureScope); + if (MeasureScope.equals("1") || MeasureScope.equals("3") || MeasureScope.equals("5") || MeasureScope.equals("0") || MeasureScope.equals("7") || MeasureScope.equals("8")); else throw new IllegalArgumentException ("MeasureScope Invalid value - " + MeasureScope + " - Reference_ID=367 - 1 - 3 - 5 - 0 - 7 - 8"); set_Value (COLUMNNAME_MeasureScope, MeasureScope); } /** Get Measure Scope. @@ -411,12 +393,6 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -442,12 +418,6 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent */ public void setNote (String Note) { - - if (Note != null && Note.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Note = Note.substring(0, 2000); - } set_Value (COLUMNNAME_Note, Note); } @@ -497,6 +467,28 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent return ii.intValue(); } + /** Set Goal. + @param PA_Goal_ID + Performance Goal + */ + public void setPA_Goal_ID (int PA_Goal_ID) + { + if (PA_Goal_ID < 1) + throw new IllegalArgumentException ("PA_Goal_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_PA_Goal_ID, Integer.valueOf(PA_Goal_ID)); + } + + /** Get Goal. + @return Performance Goal + */ + public int getPA_Goal_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_Goal_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** PA_GoalParent_ID AD_Reference_ID=230 */ public static final int PA_GOALPARENT_ID_AD_Reference_ID=230; /** Set Parent Goal. @@ -522,28 +514,6 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent return ii.intValue(); } - /** Set Goal. - @param PA_Goal_ID - Performance Goal - */ - public void setPA_Goal_ID (int PA_Goal_ID) - { - if (PA_Goal_ID < 1) - throw new IllegalArgumentException ("PA_Goal_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_PA_Goal_ID, Integer.valueOf(PA_Goal_ID)); - } - - /** Get Goal. - @return Performance Goal - */ - public int getPA_Goal_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_Goal_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_PA_Measure getPA_Measure() throws Exception { Class clazz = MTable.getClass(I_PA_Measure.Table_Name); diff --git a/base/src/org/compiere/model/X_PA_GoalRestriction.java b/base/src/org/compiere/model/X_PA_GoalRestriction.java index e54104eeac..5007d9e160 100644 --- a/base/src/org/compiere/model/X_PA_GoalRestriction.java +++ b/base/src/org/compiere/model/X_PA_GoalRestriction.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_GoalRestriction * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_Persistent { @@ -42,8 +42,8 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ { setGoalRestrictionType (null); setName (null); - setPA_GoalRestriction_ID (0); setPA_Goal_ID (0); + setPA_GoalRestriction_ID (0); } */ } @@ -75,45 +75,6 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ return sb.toString(); } - public I_C_BP_Group getC_BP_Group() throws Exception - { - Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); - I_C_BP_Group result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Business Partner Group. - @param C_BP_Group_ID - Business Partner Group - */ - public void setC_BP_Group_ID (int C_BP_Group_ID) - { - if (C_BP_Group_ID < 1) - set_Value (COLUMNNAME_C_BP_Group_ID, null); - else - set_Value (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); - } - - /** Get Business Partner Group. - @return Business Partner Group - */ - public int getC_BP_Group_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -153,6 +114,45 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ return ii.intValue(); } + public I_C_BP_Group getC_BP_Group() throws Exception + { + Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); + I_C_BP_Group result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Business Partner Group. + @param C_BP_Group_ID + Business Partner Group + */ + public void setC_BP_Group_ID (int C_BP_Group_ID) + { + if (C_BP_Group_ID < 1) + set_Value (COLUMNNAME_C_BP_Group_ID, null); + else + set_Value (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); + } + + /** Get Business Partner Group. + @return Business Partner Group + */ + public int getC_BP_Group_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** GoalRestrictionType AD_Reference_ID=368 */ public static final int GOALRESTRICTIONTYPE_AD_Reference_ID=368; /** Organization = O */ @@ -172,13 +172,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ public void setGoalRestrictionType (String GoalRestrictionType) { if (GoalRestrictionType == null) throw new IllegalArgumentException ("GoalRestrictionType is mandatory"); - if (GoalRestrictionType.equals("O") || GoalRestrictionType.equals("B") || GoalRestrictionType.equals("P") || GoalRestrictionType.equals("G") || GoalRestrictionType.equals("C")); else throw new IllegalArgumentException ("GoalRestrictionType Invalid value - " + GoalRestrictionType + " - Reference_ID=368 - O - B - P - G - C"); - if (GoalRestrictionType.length() > 1) - { - log.warning("Length > 1 - truncated"); - GoalRestrictionType = GoalRestrictionType.substring(0, 1); - } - set_Value (COLUMNNAME_GoalRestrictionType, GoalRestrictionType); + if (GoalRestrictionType.equals("O") || GoalRestrictionType.equals("B") || GoalRestrictionType.equals("P") || GoalRestrictionType.equals("G") || GoalRestrictionType.equals("C")); else throw new IllegalArgumentException ("GoalRestrictionType Invalid value - " + GoalRestrictionType + " - Reference_ID=368 - O - B - P - G - C"); set_Value (COLUMNNAME_GoalRestrictionType, GoalRestrictionType); } /** Get Restriction Type. @@ -275,12 +269,6 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -325,28 +313,6 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ return ii.intValue(); } - /** Set Goal Restriction. - @param PA_GoalRestriction_ID - Performance Goal Restriction - */ - public void setPA_GoalRestriction_ID (int PA_GoalRestriction_ID) - { - if (PA_GoalRestriction_ID < 1) - throw new IllegalArgumentException ("PA_GoalRestriction_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_PA_GoalRestriction_ID, Integer.valueOf(PA_GoalRestriction_ID)); - } - - /** Get Goal Restriction. - @return Performance Goal Restriction - */ - public int getPA_GoalRestriction_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_GoalRestriction_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_PA_Goal getPA_Goal() throws Exception { Class clazz = MTable.getClass(I_PA_Goal.Table_Name); @@ -384,4 +350,26 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ return 0; return ii.intValue(); } + + /** Set Goal Restriction. + @param PA_GoalRestriction_ID + Performance Goal Restriction + */ + public void setPA_GoalRestriction_ID (int PA_GoalRestriction_ID) + { + if (PA_GoalRestriction_ID < 1) + throw new IllegalArgumentException ("PA_GoalRestriction_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_PA_GoalRestriction_ID, Integer.valueOf(PA_GoalRestriction_ID)); + } + + /** Get Goal Restriction. + @return Performance Goal Restriction + */ + public int getPA_GoalRestriction_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_GoalRestriction_ID); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_PA_Hierarchy.java b/base/src/org/compiere/model/X_PA_Hierarchy.java index c65d682c04..cd524ce142 100644 --- a/base/src/org/compiere/model/X_PA_Hierarchy.java +++ b/base/src/org/compiere/model/X_PA_Hierarchy.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Hierarchy * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent { @@ -277,12 +277,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -300,12 +294,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -325,12 +313,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_Measure.java b/base/src/org/compiere/model/X_PA_Measure.java index eac9045edd..3b061c0036 100644 --- a/base/src/org/compiere/model/X_PA_Measure.java +++ b/base/src/org/compiere/model/X_PA_Measure.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Measure * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent { @@ -79,6 +79,23 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent return sb.toString(); } + /** Set Calculation Class. + @param CalculationClass + Java Class for calculation, implementing Interface Measure + */ + public void setCalculationClass (String CalculationClass) + { + set_Value (COLUMNNAME_CalculationClass, CalculationClass); + } + + /** Get Calculation Class. + @return Java Class for calculation, implementing Interface Measure + */ + public String getCalculationClass () + { + return (String)get_Value(COLUMNNAME_CalculationClass); + } + public I_C_ProjectType getC_ProjectType() throws Exception { Class clazz = MTable.getClass(I_C_ProjectType.Table_Name); @@ -118,41 +135,12 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent return ii.intValue(); } - /** Set Calculation Class. - @param CalculationClass - Java Class for calculation, implementing Interface Measure - */ - public void setCalculationClass (String CalculationClass) - { - - if (CalculationClass != null && CalculationClass.length() > 60) - { - log.warning("Length > 60 - truncated"); - CalculationClass = CalculationClass.substring(0, 60); - } - set_Value (COLUMNNAME_CalculationClass, CalculationClass); - } - - /** Get Calculation Class. - @return Java Class for calculation, implementing Interface Measure - */ - public String getCalculationClass () - { - return (String)get_Value(COLUMNNAME_CalculationClass); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -190,12 +178,6 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent */ public void setManualNote (String ManualNote) { - - if (ManualNote != null && ManualNote.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ManualNote = ManualNote.substring(0, 2000); - } set_Value (COLUMNNAME_ManualNote, ManualNote); } @@ -220,13 +202,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent public void setMeasureDataType (String MeasureDataType) { if (MeasureDataType == null) throw new IllegalArgumentException ("MeasureDataType is mandatory"); - if (MeasureDataType.equals("T") || MeasureDataType.equals("S")); else throw new IllegalArgumentException ("MeasureDataType Invalid value - " + MeasureDataType + " - Reference_ID=369 - T - S"); - if (MeasureDataType.length() > 1) - { - log.warning("Length > 1 - truncated"); - MeasureDataType = MeasureDataType.substring(0, 1); - } - set_Value (COLUMNNAME_MeasureDataType, MeasureDataType); + if (MeasureDataType.equals("T") || MeasureDataType.equals("S")); else throw new IllegalArgumentException ("MeasureDataType Invalid value - " + MeasureDataType + " - Reference_ID=369 - T - S"); set_Value (COLUMNNAME_MeasureDataType, MeasureDataType); } /** Get Measure Data Type. @@ -260,13 +236,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent public void setMeasureType (String MeasureType) { if (MeasureType == null) throw new IllegalArgumentException ("MeasureType is mandatory"); - if (MeasureType.equals("M") || MeasureType.equals("C") || MeasureType.equals("A") || MeasureType.equals("U") || MeasureType.equals("R") || MeasureType.equals("Q") || MeasureType.equals("P")); else throw new IllegalArgumentException ("MeasureType Invalid value - " + MeasureType + " - Reference_ID=231 - M - C - A - U - R - Q - P"); - if (MeasureType.length() > 1) - { - log.warning("Length > 1 - truncated"); - MeasureType = MeasureType.substring(0, 1); - } - set_Value (COLUMNNAME_MeasureType, MeasureType); + if (MeasureType.equals("M") || MeasureType.equals("C") || MeasureType.equals("A") || MeasureType.equals("U") || MeasureType.equals("R") || MeasureType.equals("Q") || MeasureType.equals("P")); else throw new IllegalArgumentException ("MeasureType Invalid value - " + MeasureType + " - Reference_ID=231 - M - C - A - U - R - Q - P"); set_Value (COLUMNNAME_MeasureType, MeasureType); } /** Get Measure Type. @@ -285,12 +255,6 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_MeasureCalc.java b/base/src/org/compiere/model/X_PA_MeasureCalc.java index d0f6bd2f6c..9fa77a0aea 100644 --- a/base/src/org/compiere/model/X_PA_MeasureCalc.java +++ b/base/src/org/compiere/model/X_PA_MeasureCalc.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_MeasureCalc * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persistent { @@ -129,12 +129,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste */ public void setBPartnerColumn (String BPartnerColumn) { - - if (BPartnerColumn != null && BPartnerColumn.length() > 60) - { - log.warning("Length > 60 - truncated"); - BPartnerColumn = BPartnerColumn.substring(0, 60); - } set_Value (COLUMNNAME_BPartnerColumn, BPartnerColumn); } @@ -154,12 +148,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste { if (DateColumn == null) throw new IllegalArgumentException ("DateColumn is mandatory."); - - if (DateColumn.length() > 60) - { - log.warning("Length > 60 - truncated"); - DateColumn = DateColumn.substring(0, 60); - } set_Value (COLUMNNAME_DateColumn, DateColumn); } @@ -177,12 +165,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -202,12 +184,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -227,12 +203,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste { if (KeyColumn == null) throw new IllegalArgumentException ("KeyColumn is mandatory."); - - if (KeyColumn.length() > 60) - { - log.warning("Length > 60 - truncated"); - KeyColumn = KeyColumn.substring(0, 60); - } set_Value (COLUMNNAME_KeyColumn, KeyColumn); } @@ -252,12 +222,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -285,12 +249,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste { if (OrgColumn == null) throw new IllegalArgumentException ("OrgColumn is mandatory."); - - if (OrgColumn.length() > 60) - { - log.warning("Length > 60 - truncated"); - OrgColumn = OrgColumn.substring(0, 60); - } set_Value (COLUMNNAME_OrgColumn, OrgColumn); } @@ -330,12 +288,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste */ public void setProductColumn (String ProductColumn) { - - if (ProductColumn != null && ProductColumn.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProductColumn = ProductColumn.substring(0, 60); - } set_Value (COLUMNNAME_ProductColumn, ProductColumn); } @@ -355,12 +307,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste { if (SelectClause == null) throw new IllegalArgumentException ("SelectClause is mandatory."); - - if (SelectClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - SelectClause = SelectClause.substring(0, 2000); - } set_Value (COLUMNNAME_SelectClause, SelectClause); } @@ -380,12 +326,6 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste { if (WhereClause == null) throw new IllegalArgumentException ("WhereClause is mandatory."); - - if (WhereClause.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WhereClause = WhereClause.substring(0, 2000); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/compiere/model/X_PA_Ratio.java b/base/src/org/compiere/model/X_PA_Ratio.java index b804ded903..319aab4929 100644 --- a/base/src/org/compiere/model/X_PA_Ratio.java +++ b/base/src/org/compiere/model/X_PA_Ratio.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Ratio * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent { @@ -118,12 +118,6 @@ public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -141,12 +135,6 @@ public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -166,12 +154,6 @@ public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_RatioElement.java b/base/src/org/compiere/model/X_PA_RatioElement.java index 24a0f188f9..0fa3f88c65 100644 --- a/base/src/org/compiere/model/X_PA_RatioElement.java +++ b/base/src/org/compiere/model/X_PA_RatioElement.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_RatioElement * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persistent { @@ -131,12 +131,6 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -156,12 +150,6 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -234,31 +222,6 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis return ii.intValue(); } - /** PA_RatioUsed_ID AD_Reference_ID=371 */ - public static final int PA_RATIOUSED_ID_AD_Reference_ID=371; - /** Set Ratio Used. - @param PA_RatioUsed_ID - Performace Ratio Used - */ - public void setPA_RatioUsed_ID (int PA_RatioUsed_ID) - { - if (PA_RatioUsed_ID < 1) - set_Value (COLUMNNAME_PA_RatioUsed_ID, null); - else - set_Value (COLUMNNAME_PA_RatioUsed_ID, Integer.valueOf(PA_RatioUsed_ID)); - } - - /** Get Ratio Used. - @return Performace Ratio Used - */ - public int getPA_RatioUsed_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_RatioUsed_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_PA_Ratio getPA_Ratio() throws Exception { Class clazz = MTable.getClass(I_PA_Ratio.Table_Name); @@ -297,6 +260,31 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis return ii.intValue(); } + /** PA_RatioUsed_ID AD_Reference_ID=371 */ + public static final int PA_RATIOUSED_ID_AD_Reference_ID=371; + /** Set Ratio Used. + @param PA_RatioUsed_ID + Performace Ratio Used + */ + public void setPA_RatioUsed_ID (int PA_RatioUsed_ID) + { + if (PA_RatioUsed_ID < 1) + set_Value (COLUMNNAME_PA_RatioUsed_ID, null); + else + set_Value (COLUMNNAME_PA_RatioUsed_ID, Integer.valueOf(PA_RatioUsed_ID)); + } + + /** Get Ratio Used. + @return Performace Ratio Used + */ + public int getPA_RatioUsed_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_RatioUsed_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** PostingType AD_Reference_ID=125 */ public static final int POSTINGTYPE_AD_Reference_ID=125; /** Actual = A */ @@ -316,13 +304,7 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. @@ -350,13 +332,7 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis public void setRatioElementType (String RatioElementType) { if (RatioElementType == null) throw new IllegalArgumentException ("RatioElementType is mandatory"); - if (RatioElementType.equals("R") || RatioElementType.equals("C") || RatioElementType.equals("X") || RatioElementType.equals("A")); else throw new IllegalArgumentException ("RatioElementType Invalid value - " + RatioElementType + " - Reference_ID=372 - R - C - X - A"); - if (RatioElementType.length() > 1) - { - log.warning("Length > 1 - truncated"); - RatioElementType = RatioElementType.substring(0, 1); - } - set_Value (COLUMNNAME_RatioElementType, RatioElementType); + if (RatioElementType.equals("R") || RatioElementType.equals("C") || RatioElementType.equals("X") || RatioElementType.equals("A")); else throw new IllegalArgumentException ("RatioElementType Invalid value - " + RatioElementType + " - Reference_ID=372 - R - C - X - A"); set_Value (COLUMNNAME_RatioElementType, RatioElementType); } /** Get Element Type. @@ -384,13 +360,7 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis public void setRatioOperand (String RatioOperand) { if (RatioOperand == null) throw new IllegalArgumentException ("RatioOperand is mandatory"); - if (RatioOperand.equals("P") || RatioOperand.equals("N") || RatioOperand.equals("M") || RatioOperand.equals("D")); else throw new IllegalArgumentException ("RatioOperand Invalid value - " + RatioOperand + " - Reference_ID=373 - P - N - M - D"); - if (RatioOperand.length() > 1) - { - log.warning("Length > 1 - truncated"); - RatioOperand = RatioOperand.substring(0, 1); - } - set_Value (COLUMNNAME_RatioOperand, RatioOperand); + if (RatioOperand.equals("P") || RatioOperand.equals("N") || RatioOperand.equals("M") || RatioOperand.equals("D")); else throw new IllegalArgumentException ("RatioOperand Invalid value - " + RatioOperand + " - Reference_ID=373 - P - N - M - D"); set_Value (COLUMNNAME_RatioOperand, RatioOperand); } /** Get Operand. diff --git a/base/src/org/compiere/model/X_PA_Report.java b/base/src/org/compiere/model/X_PA_Report.java index acc1e0e0a2..3bbe757b23 100644 --- a/base/src/org/compiere/model/X_PA_Report.java +++ b/base/src/org/compiere/model/X_PA_Report.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Report * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent { @@ -46,8 +46,8 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent setListTrx (false); setName (null); setPA_ReportColumnSet_ID (0); - setPA_ReportLineSet_ID (0); setPA_Report_ID (0); + setPA_ReportLineSet_ID (0); setProcessing (false); } */ } @@ -201,12 +201,6 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -247,12 +241,6 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent @param JasperProcessing Jasper Process Now */ public void setJasperProcessing (String JasperProcessing) { - - if (JasperProcessing != null && JasperProcessing.length() > 1) - { - log.warning("Length > 1 - truncated"); - JasperProcessing = JasperProcessing.substring(0, 1); - } set_Value (COLUMNNAME_JasperProcessing, JasperProcessing); } @@ -319,12 +307,6 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -382,6 +364,28 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent return ii.intValue(); } + /** Set Financial Report. + @param PA_Report_ID + Financial Report + */ + public void setPA_Report_ID (int PA_Report_ID) + { + if (PA_Report_ID < 1) + throw new IllegalArgumentException ("PA_Report_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_PA_Report_ID, Integer.valueOf(PA_Report_ID)); + } + + /** Get Financial Report. + @return Financial Report + */ + public int getPA_Report_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_Report_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception { Class clazz = MTable.getClass(I_PA_ReportLineSet.Table_Name); @@ -417,28 +421,6 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent return ii.intValue(); } - /** Set Financial Report. - @param PA_Report_ID - Financial Report - */ - public void setPA_Report_ID (int PA_Report_ID) - { - if (PA_Report_ID < 1) - throw new IllegalArgumentException ("PA_Report_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_PA_Report_ID, Integer.valueOf(PA_Report_ID)); - } - - /** Get Financial Report. - @return Financial Report - */ - public int getPA_Report_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_Report_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Process Now. @param Processing Process Now */ public void setProcessing (boolean Processing) diff --git a/base/src/org/compiere/model/X_PA_ReportColumn.java b/base/src/org/compiere/model/X_PA_ReportColumn.java index babe52f057..c92bb214ec 100644 --- a/base/src/org/compiere/model/X_PA_ReportColumn.java +++ b/base/src/org/compiere/model/X_PA_ReportColumn.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportColumn * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persistent { @@ -69,8 +69,8 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis setIsPrinted (true); // Y setName (null); - setPA_ReportColumnSet_ID (0); setPA_ReportColumn_ID (0); + setPA_ReportColumnSet_ID (0); setPostingType (null); // A setSeqNo (0); @@ -139,13 +139,7 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public void setAmountType (String AmountType) { - if (AmountType == null || AmountType.equals("DT") || AmountType.equals("CT") || AmountType.equals("BT") || AmountType.equals("BP") || AmountType.equals("CP") || AmountType.equals("DP") || AmountType.equals("QP") || AmountType.equals("QT") || AmountType.equals("BY") || AmountType.equals("CY") || AmountType.equals("DY") || AmountType.equals("QY")); else throw new IllegalArgumentException ("AmountType Invalid value - " + AmountType + " - Reference_ID=235 - DT - CT - BT - BP - CP - DP - QP - QT - BY - CY - DY - QY"); - if (AmountType != null && AmountType.length() > 2) - { - log.warning("Length > 2 - truncated"); - AmountType = AmountType.substring(0, 2); - } - set_Value (COLUMNNAME_AmountType, AmountType); + if (AmountType == null || AmountType.equals("DT") || AmountType.equals("CT") || AmountType.equals("BT") || AmountType.equals("BP") || AmountType.equals("CP") || AmountType.equals("DP") || AmountType.equals("QP") || AmountType.equals("QT") || AmountType.equals("BY") || AmountType.equals("CY") || AmountType.equals("DY") || AmountType.equals("QY")); else throw new IllegalArgumentException ("AmountType Invalid value - " + AmountType + " - Reference_ID=235 - DT - CT - BT - BP - CP - DP - QP - QT - BY - CY - DY - QY"); set_Value (COLUMNNAME_AmountType, AmountType); } /** Get Amount Type. @@ -195,6 +189,31 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } + /** CalculationType AD_Reference_ID=236 */ + public static final int CALCULATIONTYPE_AD_Reference_ID=236; + /** Add (Op1+Op2) = A */ + public static final String CALCULATIONTYPE_AddOp1PlusOp2 = "A"; + /** Subtract (Op1-Op2) = S */ + public static final String CALCULATIONTYPE_SubtractOp1_Op2 = "S"; + /** Percentage (Op1 of Op2) = P */ + public static final String CALCULATIONTYPE_PercentageOp1OfOp2 = "P"; + /** Add Range (Op1 to Op2) = R */ + public static final String CALCULATIONTYPE_AddRangeOp1ToOp2 = "R"; + /** Set Calculation. + @param CalculationType Calculation */ + public void setCalculationType (String CalculationType) + { + + if (CalculationType == null || CalculationType.equals("A") || CalculationType.equals("S") || CalculationType.equals("P") || CalculationType.equals("R")); else throw new IllegalArgumentException ("CalculationType Invalid value - " + CalculationType + " - Reference_ID=236 - A - S - P - R"); set_Value (COLUMNNAME_CalculationType, CalculationType); + } + + /** Get Calculation. + @return Calculation */ + public String getCalculationType () + { + return (String)get_Value(COLUMNNAME_CalculationType); + } + public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -374,6 +393,29 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } + /** ColumnType AD_Reference_ID=237 */ + public static final int COLUMNTYPE_AD_Reference_ID=237; + /** Relative Period = R */ + public static final String COLUMNTYPE_RelativePeriod = "R"; + /** Calculation = C */ + public static final String COLUMNTYPE_Calculation = "C"; + /** Segment Value = S */ + public static final String COLUMNTYPE_SegmentValue = "S"; + /** Set Column Type. + @param ColumnType Column Type */ + public void setColumnType (String ColumnType) + { + if (ColumnType == null) throw new IllegalArgumentException ("ColumnType is mandatory"); + if (ColumnType.equals("R") || ColumnType.equals("C") || ColumnType.equals("S")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=237 - R - C - S"); set_Value (COLUMNNAME_ColumnType, ColumnType); + } + + /** Get Column Type. + @return Column Type */ + public String getColumnType () + { + return (String)get_Value(COLUMNNAME_ColumnType); + } + public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -452,66 +494,6 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } - /** CalculationType AD_Reference_ID=236 */ - public static final int CALCULATIONTYPE_AD_Reference_ID=236; - /** Add (Op1+Op2) = A */ - public static final String CALCULATIONTYPE_AddOp1PlusOp2 = "A"; - /** Subtract (Op1-Op2) = S */ - public static final String CALCULATIONTYPE_SubtractOp1_Op2 = "S"; - /** Percentage (Op1 of Op2) = P */ - public static final String CALCULATIONTYPE_PercentageOp1OfOp2 = "P"; - /** Add Range (Op1 to Op2) = R */ - public static final String CALCULATIONTYPE_AddRangeOp1ToOp2 = "R"; - /** Set Calculation. - @param CalculationType Calculation */ - public void setCalculationType (String CalculationType) - { - - if (CalculationType == null || CalculationType.equals("A") || CalculationType.equals("S") || CalculationType.equals("P") || CalculationType.equals("R")); else throw new IllegalArgumentException ("CalculationType Invalid value - " + CalculationType + " - Reference_ID=236 - A - S - P - R"); - if (CalculationType != null && CalculationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CalculationType = CalculationType.substring(0, 1); - } - set_Value (COLUMNNAME_CalculationType, CalculationType); - } - - /** Get Calculation. - @return Calculation */ - public String getCalculationType () - { - return (String)get_Value(COLUMNNAME_CalculationType); - } - - /** ColumnType AD_Reference_ID=237 */ - public static final int COLUMNTYPE_AD_Reference_ID=237; - /** Relative Period = R */ - public static final String COLUMNTYPE_RelativePeriod = "R"; - /** Calculation = C */ - public static final String COLUMNTYPE_Calculation = "C"; - /** Segment Value = S */ - public static final String COLUMNTYPE_SegmentValue = "S"; - /** Set Column Type. - @param ColumnType Column Type */ - public void setColumnType (String ColumnType) - { - if (ColumnType == null) throw new IllegalArgumentException ("ColumnType is mandatory"); - if (ColumnType.equals("R") || ColumnType.equals("C") || ColumnType.equals("S")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=237 - R - C - S"); - if (ColumnType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ColumnType = ColumnType.substring(0, 1); - } - set_Value (COLUMNNAME_ColumnType, ColumnType); - } - - /** Get Column Type. - @return Column Type */ - public String getColumnType () - { - return (String)get_Value(COLUMNNAME_ColumnType); - } - /** CurrencyType AD_Reference_ID=238 */ public static final int CURRENCYTYPE_AD_Reference_ID=238; /** Source Currency = S */ @@ -523,13 +505,7 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public void setCurrencyType (String CurrencyType) { - if (CurrencyType == null || CurrencyType.equals("S") || CurrencyType.equals("A")); else throw new IllegalArgumentException ("CurrencyType Invalid value - " + CurrencyType + " - Reference_ID=238 - S - A"); - if (CurrencyType != null && CurrencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CurrencyType = CurrencyType.substring(0, 1); - } - set_Value (COLUMNNAME_CurrencyType, CurrencyType); + if (CurrencyType == null || CurrencyType.equals("S") || CurrencyType.equals("A")); else throw new IllegalArgumentException ("CurrencyType Invalid value - " + CurrencyType + " - Reference_ID=238 - S - A"); set_Value (COLUMNNAME_CurrencyType, CurrencyType); } /** Get Currency Type. @@ -545,12 +521,6 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -605,13 +575,7 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public void setElementType (String ElementType) { - if (ElementType == null || ElementType.equals("AC") || ElementType.equals("AY") || ElementType.equals("BP") || ElementType.equals("LF") || ElementType.equals("LT") || ElementType.equals("MC") || ElementType.equals("OO") || ElementType.equals("OT") || ElementType.equals("PJ") || ElementType.equals("PR") || ElementType.equals("SA") || ElementType.equals("SR") || ElementType.equals("U1") || ElementType.equals("U2") || ElementType.equals("X1") || ElementType.equals("X2") || ElementType.equals("CO")); else throw new IllegalArgumentException ("ElementType Invalid value - " + ElementType + " - Reference_ID=53280 - AC - AY - BP - LF - LT - MC - OO - OT - PJ - PR - SA - SR - U1 - U2 - X1 - X2 - CO"); - if (ElementType != null && ElementType.length() > 2) - { - log.warning("Length > 2 - truncated"); - ElementType = ElementType.substring(0, 2); - } - set_Value (COLUMNNAME_ElementType, ElementType); + if (ElementType == null || ElementType.equals("AC") || ElementType.equals("AY") || ElementType.equals("BP") || ElementType.equals("LF") || ElementType.equals("LT") || ElementType.equals("MC") || ElementType.equals("OO") || ElementType.equals("OT") || ElementType.equals("PJ") || ElementType.equals("PR") || ElementType.equals("SA") || ElementType.equals("SR") || ElementType.equals("U1") || ElementType.equals("U2") || ElementType.equals("X1") || ElementType.equals("X2") || ElementType.equals("CO")); else throw new IllegalArgumentException ("ElementType Invalid value - " + ElementType + " - Reference_ID=53280 - AC - AY - BP - LF - LT - MC - OO - OT - PJ - PR - SA - SR - U1 - U2 - X1 - X2 - CO"); set_Value (COLUMNNAME_ElementType, ElementType); } /** Get Type. @@ -1020,12 +984,6 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1120,6 +1078,28 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } + /** Set Report Column. + @param PA_ReportColumn_ID + Column in Report + */ + public void setPA_ReportColumn_ID (int PA_ReportColumn_ID) + { + if (PA_ReportColumn_ID < 1) + throw new IllegalArgumentException ("PA_ReportColumn_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_PA_ReportColumn_ID, Integer.valueOf(PA_ReportColumn_ID)); + } + + /** Get Report Column. + @return Column in Report + */ + public int getPA_ReportColumn_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportColumn_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_PA_ReportColumnSet getPA_ReportColumnSet() throws Exception { Class clazz = MTable.getClass(I_PA_ReportColumnSet.Table_Name); @@ -1158,28 +1138,6 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } - /** Set Report Column. - @param PA_ReportColumn_ID - Column in Report - */ - public void setPA_ReportColumn_ID (int PA_ReportColumn_ID) - { - if (PA_ReportColumn_ID < 1) - throw new IllegalArgumentException ("PA_ReportColumn_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_PA_ReportColumn_ID, Integer.valueOf(PA_ReportColumn_ID)); - } - - /** Get Report Column. - @return Column in Report - */ - public int getPA_ReportColumn_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportColumn_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** PostingType AD_Reference_ID=125 */ public static final int POSTINGTYPE_AD_Reference_ID=125; /** Actual = A */ @@ -1199,13 +1157,7 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public void setPostingType (String PostingType) { if (PostingType == null) throw new IllegalArgumentException ("PostingType is mandatory"); - if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_PA_ReportColumnSet.java b/base/src/org/compiere/model/X_PA_ReportColumnSet.java index a10f2bec3d..a593e931b2 100644 --- a/base/src/org/compiere/model/X_PA_ReportColumnSet.java +++ b/base/src/org/compiere/model/X_PA_ReportColumnSet.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportColumnSet * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_Persistent { @@ -78,12 +78,6 @@ public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -103,12 +97,6 @@ public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_ReportLine.java b/base/src/org/compiere/model/X_PA_ReportLine.java index 3fe9366e49..6526457d47 100644 --- a/base/src/org/compiere/model/X_PA_ReportLine.java +++ b/base/src/org/compiere/model/X_PA_ReportLine.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent { @@ -44,8 +44,8 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent // Y setLineType (null); setName (null); - setPA_ReportLineSet_ID (0); setPA_ReportLine_ID (0); + setPA_ReportLineSet_ID (0); setSeqNo (0); // @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM PA_ReportLine WHERE PA_ReportLineSet_ID=@PA_ReportLineSet_ID@ } */ @@ -112,13 +112,7 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent public void setAmountType (String AmountType) { - if (AmountType == null || AmountType.equals("DT") || AmountType.equals("CT") || AmountType.equals("BT") || AmountType.equals("BP") || AmountType.equals("CP") || AmountType.equals("DP") || AmountType.equals("QP") || AmountType.equals("QT") || AmountType.equals("BY") || AmountType.equals("CY") || AmountType.equals("DY") || AmountType.equals("QY")); else throw new IllegalArgumentException ("AmountType Invalid value - " + AmountType + " - Reference_ID=235 - DT - CT - BT - BP - CP - DP - QP - QT - BY - CY - DY - QY"); - if (AmountType != null && AmountType.length() > 2) - { - log.warning("Length > 2 - truncated"); - AmountType = AmountType.substring(0, 2); - } - set_Value (COLUMNNAME_AmountType, AmountType); + if (AmountType == null || AmountType.equals("DT") || AmountType.equals("CT") || AmountType.equals("BT") || AmountType.equals("BP") || AmountType.equals("CP") || AmountType.equals("DP") || AmountType.equals("QP") || AmountType.equals("QT") || AmountType.equals("BY") || AmountType.equals("CY") || AmountType.equals("DY") || AmountType.equals("QY")); else throw new IllegalArgumentException ("AmountType Invalid value - " + AmountType + " - Reference_ID=235 - DT - CT - BT - BP - CP - DP - QP - QT - BY - CY - DY - QY"); set_Value (COLUMNNAME_AmountType, AmountType); } /** Get Amount Type. @@ -144,13 +138,7 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent public void setCalculationType (String CalculationType) { - if (CalculationType == null || CalculationType.equals("A") || CalculationType.equals("S") || CalculationType.equals("P") || CalculationType.equals("R")); else throw new IllegalArgumentException ("CalculationType Invalid value - " + CalculationType + " - Reference_ID=236 - A - S - P - R"); - if (CalculationType != null && CalculationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - CalculationType = CalculationType.substring(0, 1); - } - set_Value (COLUMNNAME_CalculationType, CalculationType); + if (CalculationType == null || CalculationType.equals("A") || CalculationType.equals("S") || CalculationType.equals("P") || CalculationType.equals("R")); else throw new IllegalArgumentException ("CalculationType Invalid value - " + CalculationType + " - Reference_ID=236 - A - S - P - R"); set_Value (COLUMNNAME_CalculationType, CalculationType); } /** Get Calculation. @@ -166,12 +154,6 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -257,13 +239,7 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent public void setLineType (String LineType) { if (LineType == null) throw new IllegalArgumentException ("LineType is mandatory"); - if (LineType.equals("S") || LineType.equals("C")); else throw new IllegalArgumentException ("LineType Invalid value - " + LineType + " - Reference_ID=241 - S - C"); - if (LineType.length() > 1) - { - log.warning("Length > 1 - truncated"); - LineType = LineType.substring(0, 1); - } - set_Value (COLUMNNAME_LineType, LineType); + if (LineType.equals("S") || LineType.equals("C")); else throw new IllegalArgumentException ("LineType Invalid value - " + LineType + " - Reference_ID=241 - S - C"); set_Value (COLUMNNAME_LineType, LineType); } /** Get Line Type. @@ -281,12 +257,6 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -356,6 +326,25 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent return ii.intValue(); } + /** Set Report Line. + @param PA_ReportLine_ID Report Line */ + public void setPA_ReportLine_ID (int PA_ReportLine_ID) + { + if (PA_ReportLine_ID < 1) + throw new IllegalArgumentException ("PA_ReportLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_PA_ReportLine_ID, Integer.valueOf(PA_ReportLine_ID)); + } + + /** Get Report Line. + @return Report Line */ + public int getPA_ReportLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception { Class clazz = MTable.getClass(I_PA_ReportLineSet.Table_Name); @@ -391,25 +380,6 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent return ii.intValue(); } - /** Set Report Line. - @param PA_ReportLine_ID Report Line */ - public void setPA_ReportLine_ID (int PA_ReportLine_ID) - { - if (PA_ReportLine_ID < 1) - throw new IllegalArgumentException ("PA_ReportLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_PA_ReportLine_ID, Integer.valueOf(PA_ReportLine_ID)); - } - - /** Get Report Line. - @return Report Line */ - public int getPA_ReportLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** PostingType AD_Reference_ID=125 */ public static final int POSTINGTYPE_AD_Reference_ID=125; /** Actual = A */ @@ -429,13 +399,7 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent public void setPostingType (String PostingType) { - if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); - if (PostingType != null && PostingType.length() > 1) - { - log.warning("Length > 1 - truncated"); - PostingType = PostingType.substring(0, 1); - } - set_Value (COLUMNNAME_PostingType, PostingType); + if (PostingType == null || PostingType.equals("A") || PostingType.equals("B") || PostingType.equals("E") || PostingType.equals("S") || PostingType.equals("R")); else throw new IllegalArgumentException ("PostingType Invalid value - " + PostingType + " - Reference_ID=125 - A - B - E - S - R"); set_Value (COLUMNNAME_PostingType, PostingType); } /** Get PostingType. diff --git a/base/src/org/compiere/model/X_PA_ReportLineSet.java b/base/src/org/compiere/model/X_PA_ReportLineSet.java index dabbc26e8f..38de134301 100644 --- a/base/src/org/compiere/model/X_PA_ReportLineSet.java +++ b/base/src/org/compiere/model/X_PA_ReportLineSet.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportLineSet * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Persistent { @@ -78,12 +78,6 @@ public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -103,12 +97,6 @@ public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_ReportSource.java b/base/src/org/compiere/model/X_PA_ReportSource.java index a904547c5f..073074623b 100644 --- a/base/src/org/compiere/model/X_PA_ReportSource.java +++ b/base/src/org/compiere/model/X_PA_ReportSource.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportSource * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persistent { @@ -345,12 +345,6 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -405,13 +399,7 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public void setElementType (String ElementType) { if (ElementType == null) throw new IllegalArgumentException ("ElementType is mandatory"); - if (ElementType.equals("AC") || ElementType.equals("AY") || ElementType.equals("BP") || ElementType.equals("LF") || ElementType.equals("LT") || ElementType.equals("MC") || ElementType.equals("OO") || ElementType.equals("OT") || ElementType.equals("PJ") || ElementType.equals("PR") || ElementType.equals("SA") || ElementType.equals("SR") || ElementType.equals("U1") || ElementType.equals("U2") || ElementType.equals("X1") || ElementType.equals("X2") || ElementType.equals("CO")); else throw new IllegalArgumentException ("ElementType Invalid value - " + ElementType + " - Reference_ID=53280 - AC - AY - BP - LF - LT - MC - OO - OT - PJ - PR - SA - SR - U1 - U2 - X1 - X2 - CO"); - if (ElementType.length() > 2) - { - log.warning("Length > 2 - truncated"); - ElementType = ElementType.substring(0, 2); - } - set_Value (COLUMNNAME_ElementType, ElementType); + if (ElementType.equals("AC") || ElementType.equals("AY") || ElementType.equals("BP") || ElementType.equals("LF") || ElementType.equals("LT") || ElementType.equals("MC") || ElementType.equals("OO") || ElementType.equals("OT") || ElementType.equals("PJ") || ElementType.equals("PR") || ElementType.equals("SA") || ElementType.equals("SR") || ElementType.equals("U1") || ElementType.equals("U2") || ElementType.equals("X1") || ElementType.equals("X2") || ElementType.equals("CO")); else throw new IllegalArgumentException ("ElementType Invalid value - " + ElementType + " - Reference_ID=53280 - AC - AY - BP - LF - LT - MC - OO - OT - PJ - PR - SA - SR - U1 - U2 - X1 - X2 - CO"); set_Value (COLUMNNAME_ElementType, ElementType); } /** Get Type. diff --git a/base/src/org/compiere/model/X_PA_SLA_Criteria.java b/base/src/org/compiere/model/X_PA_SLA_Criteria.java index d267263b90..8f143a8726 100644 --- a/base/src/org/compiere/model/X_PA_SLA_Criteria.java +++ b/base/src/org/compiere/model/X_PA_SLA_Criteria.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_SLA_Criteria * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persistent { @@ -79,12 +79,6 @@ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persis */ public void setClassname (String Classname) { - - if (Classname != null && Classname.length() > 60) - { - log.warning("Length > 60 - truncated"); - Classname = Classname.substring(0, 60); - } set_Value (COLUMNNAME_Classname, Classname); } @@ -102,12 +96,6 @@ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -125,12 +113,6 @@ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persis */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -174,12 +156,6 @@ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_SLA_Goal.java b/base/src/org/compiere/model/X_PA_SLA_Goal.java index 84efe501c4..cb2eeb4904 100644 --- a/base/src/org/compiere/model/X_PA_SLA_Goal.java +++ b/base/src/org/compiere/model/X_PA_SLA_Goal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_SLA_Goal * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent { @@ -142,12 +142,6 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -234,12 +222,6 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_PA_SLA_Measure.java b/base/src/org/compiere/model/X_PA_SLA_Measure.java index f6d8d38bc3..410403d769 100644 --- a/base/src/org/compiere/model/X_PA_SLA_Measure.java +++ b/base/src/org/compiere/model/X_PA_SLA_Measure.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_SLA_Measure * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persistent { @@ -43,7 +43,7 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persiste super (ctx, PA_SLA_Measure_ID, trxName); /** if (PA_SLA_Measure_ID == 0) { - setDateTrx (new Timestamp(System.currentTimeMillis())); + setDateTrx (new Timestamp( System.currentTimeMillis() )); setMeasureActual (Env.ZERO); setPA_SLA_Goal_ID (0); setPA_SLA_Measure_ID (0); @@ -151,12 +151,6 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } diff --git a/base/src/org/compiere/model/X_RV_BPartner.java b/base/src/org/compiere/model/X_RV_BPartner.java index be8ee865cd..2860b1e129 100644 --- a/base/src/org/compiere/model/X_RV_BPartner.java +++ b/base/src/org/compiere/model/X_RV_BPartner.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for RV_BPartner * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent { @@ -42,9 +42,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent super (ctx, RV_BPartner_ID, trxName); /** if (RV_BPartner_ID == 0) { - setC_BP_Group_ID (0); setC_BPartner_ID (0); setC_BPartner_Location_ID (0); + setC_BP_Group_ID (0); setC_Country_ID (0); setContactName (null); setCountryName (null); @@ -91,6 +91,97 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return sb.toString(); } + /** Set Acquisition Cost. + @param AcqusitionCost + The cost of gaining the prospect as a customer + */ + public void setAcqusitionCost (BigDecimal AcqusitionCost) + { + set_ValueNoCheck (COLUMNNAME_AcqusitionCost, AcqusitionCost); + } + + /** Get Acquisition Cost. + @return The cost of gaining the prospect as a customer + */ + public BigDecimal getAcqusitionCost () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AcqusitionCost); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Actual Life Time Value. + @param ActualLifeTimeValue + Actual Life Time Revenue + */ + public void setActualLifeTimeValue (BigDecimal ActualLifeTimeValue) + { + set_ValueNoCheck (COLUMNNAME_ActualLifeTimeValue, ActualLifeTimeValue); + } + + /** Get Actual Life Time Value. + @return Actual Life Time Revenue + */ + public BigDecimal getActualLifeTimeValue () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ActualLifeTimeValue); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Address 1. + @param Address1 + Address line 1 for this location + */ + public void setAddress1 (String Address1) + { + set_ValueNoCheck (COLUMNNAME_Address1, Address1); + } + + /** Get Address 1. + @return Address line 1 for this location + */ + public String getAddress1 () + { + return (String)get_Value(COLUMNNAME_Address1); + } + + /** Set Address 2. + @param Address2 + Address line 2 for this location + */ + public void setAddress2 (String Address2) + { + set_ValueNoCheck (COLUMNNAME_Address2, Address2); + } + + /** Get Address 2. + @return Address line 2 for this location + */ + public String getAddress2 () + { + return (String)get_Value(COLUMNNAME_Address2); + } + + /** Set Address 3. + @param Address3 + Address Line 3 for the location + */ + public void setAddress3 (String Address3) + { + set_ValueNoCheck (COLUMNNAME_Address3, Address3); + } + + /** Get Address 3. + @return Address Line 3 for the location + */ + public String getAddress3 () + { + return (String)get_Value(COLUMNNAME_Address3); + } + /** AD_Language AD_Reference_ID=106 */ public static final int AD_LANGUAGE_AD_Reference_ID=106; /** Set Language. @@ -99,12 +190,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setAD_Language (String AD_Language) { - - if (AD_Language != null && AD_Language.length() > 6) - { - log.warning("Length > 6 - truncated"); - AD_Language = AD_Language.substring(0, 6); - } set_ValueNoCheck (COLUMNNAME_AD_Language, AD_Language); } @@ -205,135 +290,21 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } - /** Set Acquisition Cost. - @param AcqusitionCost - The cost of gaining the prospect as a customer + /** Set Birthday. + @param Birthday + Birthday or Anniversary day */ - public void setAcqusitionCost (BigDecimal AcqusitionCost) + public void setBirthday (Timestamp Birthday) { - set_ValueNoCheck (COLUMNNAME_AcqusitionCost, AcqusitionCost); + set_ValueNoCheck (COLUMNNAME_Birthday, Birthday); } - /** Get Acquisition Cost. - @return The cost of gaining the prospect as a customer + /** Get Birthday. + @return Birthday or Anniversary day */ - public BigDecimal getAcqusitionCost () + public Timestamp getBirthday () { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AcqusitionCost); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Actual Life Time Value. - @param ActualLifeTimeValue - Actual Life Time Revenue - */ - public void setActualLifeTimeValue (BigDecimal ActualLifeTimeValue) - { - set_ValueNoCheck (COLUMNNAME_ActualLifeTimeValue, ActualLifeTimeValue); - } - - /** Get Actual Life Time Value. - @return Actual Life Time Revenue - */ - public BigDecimal getActualLifeTimeValue () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ActualLifeTimeValue); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Address 1. - @param Address1 - Address line 1 for this location - */ - public void setAddress1 (String Address1) - { - - if (Address1 != null && Address1.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address1 = Address1.substring(0, 60); - } - set_ValueNoCheck (COLUMNNAME_Address1, Address1); - } - - /** Get Address 1. - @return Address line 1 for this location - */ - public String getAddress1 () - { - return (String)get_Value(COLUMNNAME_Address1); - } - - /** Set Address 2. - @param Address2 - Address line 2 for this location - */ - public void setAddress2 (String Address2) - { - - if (Address2 != null && Address2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address2 = Address2.substring(0, 60); - } - set_ValueNoCheck (COLUMNNAME_Address2, Address2); - } - - /** Get Address 2. - @return Address line 2 for this location - */ - public String getAddress2 () - { - return (String)get_Value(COLUMNNAME_Address2); - } - - /** Set Address 3. - @param Address3 - Address Line 3 for the location - */ - public void setAddress3 (String Address3) - { - - if (Address3 != null && Address3.length() > 60) - { - log.warning("Length > 60 - truncated"); - Address3 = Address3.substring(0, 60); - } - set_ValueNoCheck (COLUMNNAME_Address3, Address3); - } - - /** Get Address 3. - @return Address Line 3 for the location - */ - public String getAddress3 () - { - return (String)get_Value(COLUMNNAME_Address3); - } - - /** BPContactGreeting AD_Reference_ID=356 */ - public static final int BPCONTACTGREETING_AD_Reference_ID=356; - /** Set BP Contact Greeting. - @param BPContactGreeting - Greeting for Business Partner Contact - */ - public void setBPContactGreeting (int BPContactGreeting) - { - set_ValueNoCheck (COLUMNNAME_BPContactGreeting, Integer.valueOf(BPContactGreeting)); - } - - /** Get BP Contact Greeting. - @return Greeting for Business Partner Contact - */ - public int getBPContactGreeting () - { - Integer ii = (Integer)get_Value(COLUMNNAME_BPContactGreeting); - if (ii == null) - return 0; - return ii.intValue(); + return (Timestamp)get_Value(COLUMNNAME_Birthday); } /** BPartner_Parent_ID AD_Reference_ID=124 */ @@ -361,56 +332,23 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } - /** Set Birthday. - @param Birthday - Birthday or Anniversary day + /** BPContactGreeting AD_Reference_ID=356 */ + public static final int BPCONTACTGREETING_AD_Reference_ID=356; + /** Set BP Contact Greeting. + @param BPContactGreeting + Greeting for Business Partner Contact */ - public void setBirthday (Timestamp Birthday) + public void setBPContactGreeting (int BPContactGreeting) { - set_ValueNoCheck (COLUMNNAME_Birthday, Birthday); + set_ValueNoCheck (COLUMNNAME_BPContactGreeting, Integer.valueOf(BPContactGreeting)); } - /** Get Birthday. - @return Birthday or Anniversary day + /** Get BP Contact Greeting. + @return Greeting for Business Partner Contact */ - public Timestamp getBirthday () + public int getBPContactGreeting () { - return (Timestamp)get_Value(COLUMNNAME_Birthday); - } - - public I_C_BP_Group getC_BP_Group() throws Exception - { - Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); - I_C_BP_Group result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Business Partner Group. - @param C_BP_Group_ID - Business Partner Group - */ - 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 (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); - } - - /** Get Business Partner Group. - @return Business Partner Group - */ - public int getC_BP_Group_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_BPContactGreeting); if (ii == null) return 0; return ii.intValue(); @@ -476,6 +414,44 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } + public I_C_BP_Group getC_BP_Group() throws Exception + { + Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); + I_C_BP_Group result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Business Partner Group. + @param C_BP_Group_ID + Business Partner Group + */ + 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 (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); + } + + /** Get Business Partner Group. + @return Business Partner Group + */ + public int getC_BP_Group_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Country getC_Country() throws Exception { Class clazz = MTable.getClass(I_C_Country.Table_Name); @@ -631,6 +607,95 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } + /** Set City. + @param City + Identifies a City + */ + public void setCity (String City) + { + set_ValueNoCheck (COLUMNNAME_City, City); + } + + /** Get City. + @return Identifies a City + */ + public String getCity () + { + return (String)get_Value(COLUMNNAME_City); + } + + /** Set Comments. + @param Comments + Comments or additional information + */ + public void setComments (String Comments) + { + set_ValueNoCheck (COLUMNNAME_Comments, Comments); + } + + /** Get Comments. + @return Comments or additional information + */ + public String getComments () + { + return (String)get_Value(COLUMNNAME_Comments); + } + + /** Set Contact Description. + @param ContactDescription + Description of Contact + */ + public void setContactDescription (String ContactDescription) + { + set_ValueNoCheck (COLUMNNAME_ContactDescription, ContactDescription); + } + + /** Get Contact Description. + @return Description of Contact + */ + public String getContactDescription () + { + return (String)get_Value(COLUMNNAME_ContactDescription); + } + + /** Set Contact Name. + @param ContactName + Business Partner Contact Name + */ + public void setContactName (String ContactName) + { + if (ContactName == null) + throw new IllegalArgumentException ("ContactName is mandatory."); + set_ValueNoCheck (COLUMNNAME_ContactName, ContactName); + } + + /** Get Contact Name. + @return Business Partner Contact Name + */ + public String getContactName () + { + return (String)get_Value(COLUMNNAME_ContactName); + } + + /** Set Country. + @param CountryName + Country Name + */ + public void setCountryName (String CountryName) + { + if (CountryName == null) + throw new IllegalArgumentException ("CountryName is mandatory."); + set_ValueNoCheck (COLUMNNAME_CountryName, CountryName); + } + + /** Get Country. + @return Country Name + */ + public String getCountryName () + { + return (String)get_Value(COLUMNNAME_CountryName); + } + public I_C_PaymentTerm getC_PaymentTerm() throws Exception { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); @@ -709,148 +774,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } - /** Set City. - @param City - Identifies a City - */ - public void setCity (String City) - { - - if (City != null && City.length() > 60) - { - log.warning("Length > 60 - truncated"); - City = City.substring(0, 60); - } - set_ValueNoCheck (COLUMNNAME_City, City); - } - - /** Get City. - @return Identifies a City - */ - public String getCity () - { - return (String)get_Value(COLUMNNAME_City); - } - - /** Set Comments. - @param Comments - Comments or additional information - */ - public void setComments (String Comments) - { - - if (Comments != null && Comments.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Comments = Comments.substring(0, 2000); - } - set_ValueNoCheck (COLUMNNAME_Comments, Comments); - } - - /** Get Comments. - @return Comments or additional information - */ - public String getComments () - { - return (String)get_Value(COLUMNNAME_Comments); - } - - /** Set Contact Description. - @param ContactDescription - Description of Contact - */ - public void setContactDescription (String ContactDescription) - { - - if (ContactDescription != null && ContactDescription.length() > 255) - { - log.warning("Length > 255 - truncated"); - ContactDescription = ContactDescription.substring(0, 255); - } - set_ValueNoCheck (COLUMNNAME_ContactDescription, ContactDescription); - } - - /** Get Contact Description. - @return Description of Contact - */ - public String getContactDescription () - { - return (String)get_Value(COLUMNNAME_ContactDescription); - } - - /** Set Contact Name. - @param ContactName - Business Partner Contact Name - */ - public void setContactName (String ContactName) - { - if (ContactName == null) - throw new IllegalArgumentException ("ContactName is mandatory."); - - if (ContactName.length() > 60) - { - log.warning("Length > 60 - truncated"); - ContactName = ContactName.substring(0, 60); - } - set_ValueNoCheck (COLUMNNAME_ContactName, ContactName); - } - - /** Get Contact Name. - @return Business Partner Contact Name - */ - public String getContactName () - { - return (String)get_Value(COLUMNNAME_ContactName); - } - - /** Set Country. - @param CountryName - Country Name - */ - public void setCountryName (String CountryName) - { - if (CountryName == null) - throw new IllegalArgumentException ("CountryName is mandatory."); - - if (CountryName.length() > 60) - { - log.warning("Length > 60 - truncated"); - CountryName = CountryName.substring(0, 60); - } - set_ValueNoCheck (COLUMNNAME_CountryName, CountryName); - } - - /** Get Country. - @return Country Name - */ - public String getCountryName () - { - return (String)get_Value(COLUMNNAME_CountryName); - } - - /** Set D-U-N-S. - @param DUNS - Dun & Bradstreet Number - */ - public void setDUNS (String DUNS) - { - - if (DUNS != null && DUNS.length() > 11) - { - log.warning("Length > 11 - truncated"); - DUNS = DUNS.substring(0, 11); - } - set_ValueNoCheck (COLUMNNAME_DUNS, DUNS); - } - - /** Get D-U-N-S. - @return Dun & Bradstreet Number - */ - public String getDUNS () - { - return (String)get_Value(COLUMNNAME_DUNS); - } - /** DeliveryRule AD_Reference_ID=151 */ public static final int DELIVERYRULE_AD_Reference_ID=151; /** After Receipt = R */ @@ -872,13 +795,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public void setDeliveryRule (String DeliveryRule) { - if (DeliveryRule == null || DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); - if (DeliveryRule != null && DeliveryRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryRule = DeliveryRule.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_DeliveryRule, DeliveryRule); + if (DeliveryRule == null || DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); set_ValueNoCheck (COLUMNNAME_DeliveryRule, DeliveryRule); } /** Get Delivery Rule. @@ -904,13 +821,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public void setDeliveryViaRule (String DeliveryViaRule) { - if (DeliveryViaRule == null || DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); - if (DeliveryViaRule != null && DeliveryViaRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryViaRule = DeliveryViaRule.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); + if (DeliveryViaRule == null || DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); set_ValueNoCheck (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); } /** Get Delivery Via. @@ -927,12 +838,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_Description, Description); } @@ -964,18 +869,29 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } + /** Set D-U-N-S. + @param DUNS + Dun & Bradstreet Number + */ + public void setDUNS (String DUNS) + { + set_ValueNoCheck (COLUMNNAME_DUNS, DUNS); + } + + /** Get D-U-N-S. + @return Dun & Bradstreet Number + */ + public String getDUNS () + { + return (String)get_Value(COLUMNNAME_DUNS); + } + /** Set EMail Address. @param EMail Electronic Mail Address */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_EMail, EMail); } @@ -993,12 +909,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setEMailUser (String EMailUser) { - - if (EMailUser != null && EMailUser.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMailUser = EMailUser.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_EMailUser, EMailUser); } @@ -1016,12 +926,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setEMailVerify (String EMailVerify) { - - if (EMailVerify != null && EMailVerify.length() > 40) - { - log.warning("Length > 40 - truncated"); - EMailVerify = EMailVerify.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_EMailVerify, EMailVerify); } @@ -1056,12 +960,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setFax (String Fax) { - - if (Fax != null && Fax.length() > 40) - { - log.warning("Length > 40 - truncated"); - Fax = Fax.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_Fax, Fax); } @@ -1127,13 +1025,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public void setFreightCostRule (String FreightCostRule) { - if (FreightCostRule == null || FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); - if (FreightCostRule != null && FreightCostRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - FreightCostRule = FreightCostRule.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_FreightCostRule, FreightCostRule); + if (FreightCostRule == null || FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); set_ValueNoCheck (COLUMNNAME_FreightCostRule, FreightCostRule); } /** Get Freight Cost Rule. @@ -1144,40 +1036,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_FreightCostRule); } - /** InvoiceRule AD_Reference_ID=150 */ - public static final int INVOICERULE_AD_Reference_ID=150; - /** After Order delivered = O */ - public static final String INVOICERULE_AfterOrderDelivered = "O"; - /** After Delivery = D */ - public static final String INVOICERULE_AfterDelivery = "D"; - /** Customer Schedule after Delivery = S */ - public static final String INVOICERULE_CustomerScheduleAfterDelivery = "S"; - /** Immediate = I */ - public static final String INVOICERULE_Immediate = "I"; - /** Set Invoice Rule. - @param InvoiceRule - Frequency and method of invoicing - */ - public void setInvoiceRule (String InvoiceRule) - { - - if (InvoiceRule == null || InvoiceRule.equals("O") || InvoiceRule.equals("D") || InvoiceRule.equals("S") || InvoiceRule.equals("I")); else throw new IllegalArgumentException ("InvoiceRule Invalid value - " + InvoiceRule + " - Reference_ID=150 - O - D - S - I"); - if (InvoiceRule != null && InvoiceRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - InvoiceRule = InvoiceRule.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_InvoiceRule, InvoiceRule); - } - - /** Get Invoice Rule. - @return Frequency and method of invoicing - */ - public String getInvoiceRule () - { - return (String)get_Value(COLUMNNAME_InvoiceRule); - } - /** Invoice_PrintFormat_ID AD_Reference_ID=259 */ public static final int INVOICE_PRINTFORMAT_ID_AD_Reference_ID=259; /** Set Invoice Print Format. @@ -1203,6 +1061,34 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } + /** InvoiceRule AD_Reference_ID=150 */ + public static final int INVOICERULE_AD_Reference_ID=150; + /** After Order delivered = O */ + public static final String INVOICERULE_AfterOrderDelivered = "O"; + /** After Delivery = D */ + public static final String INVOICERULE_AfterDelivery = "D"; + /** Customer Schedule after Delivery = S */ + public static final String INVOICERULE_CustomerScheduleAfterDelivery = "S"; + /** Immediate = I */ + public static final String INVOICERULE_Immediate = "I"; + /** Set Invoice Rule. + @param InvoiceRule + Frequency and method of invoicing + */ + public void setInvoiceRule (String InvoiceRule) + { + + if (InvoiceRule == null || InvoiceRule.equals("O") || InvoiceRule.equals("D") || InvoiceRule.equals("S") || InvoiceRule.equals("I")); else throw new IllegalArgumentException ("InvoiceRule Invalid value - " + InvoiceRule + " - Reference_ID=150 - O - D - S - I"); set_ValueNoCheck (COLUMNNAME_InvoiceRule, InvoiceRule); + } + + /** Get Invoice Rule. + @return Frequency and method of invoicing + */ + public String getInvoiceRule () + { + return (String)get_Value(COLUMNNAME_InvoiceRule); + } + /** Set Customer. @param IsCustomer Indicates if this Business Partner is a Customer @@ -1416,30 +1302,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return false; } - /** Set LDAP User Name. - @param LDAPUser - User Name used for authorization via LDAP (directory) services - */ - public void setLDAPUser (boolean LDAPUser) - { - set_ValueNoCheck (COLUMNNAME_LDAPUser, Boolean.valueOf(LDAPUser)); - } - - /** Get LDAP User Name. - @return User Name used for authorization via LDAP (directory) services - */ - public boolean isLDAPUser () - { - Object oo = get_Value(COLUMNNAME_LDAPUser); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Last Contact. @param LastContact Date this individual was last contacted @@ -1463,12 +1325,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setLastResult (String LastResult) { - - if (LastResult != null && LastResult.length() > 255) - { - log.warning("Length > 255 - truncated"); - LastResult = LastResult.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_LastResult, LastResult); } @@ -1480,6 +1336,30 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_LastResult); } + /** Set LDAP User Name. + @param LDAPUser + User Name used for authorization via LDAP (directory) services + */ + public void setLDAPUser (boolean LDAPUser) + { + set_ValueNoCheck (COLUMNNAME_LDAPUser, Boolean.valueOf(LDAPUser)); + } + + /** Get LDAP User Name. + @return User Name used for authorization via LDAP (directory) services + */ + public boolean isLDAPUser () + { + Object oo = get_Value(COLUMNNAME_LDAPUser); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + public I_M_DiscountSchema getM_DiscountSchema() throws Exception { Class clazz = MTable.getClass(I_M_DiscountSchema.Table_Name); @@ -1564,12 +1444,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setNAICS (String NAICS) { - - if (NAICS != null && NAICS.length() > 6) - { - log.warning("Length > 6 - truncated"); - NAICS = NAICS.substring(0, 6); - } set_ValueNoCheck (COLUMNNAME_NAICS, NAICS); } @@ -1589,12 +1463,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_Name, Name); } @@ -1612,12 +1480,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setName2 (String Name2) { - - if (Name2 != null && Name2.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name2 = Name2.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_Name2, Name2); } @@ -1646,13 +1508,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public void setNotificationType (String NotificationType) { if (NotificationType == null) throw new IllegalArgumentException ("NotificationType is mandatory"); - if (NotificationType.equals("E") || NotificationType.equals("N") || NotificationType.equals("X") || NotificationType.equals("B")); else throw new IllegalArgumentException ("NotificationType Invalid value - " + NotificationType + " - Reference_ID=344 - E - N - X - B"); - if (NotificationType.length() > 1) - { - log.warning("Length > 1 - truncated"); - NotificationType = NotificationType.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_NotificationType, NotificationType); + if (NotificationType.equals("E") || NotificationType.equals("N") || NotificationType.equals("X") || NotificationType.equals("B")); else throw new IllegalArgumentException ("NotificationType Invalid value - " + NotificationType + " - Reference_ID=344 - E - N - X - B"); set_ValueNoCheck (COLUMNNAME_NotificationType, NotificationType); } /** Get Notification Type. @@ -1683,27 +1539,102 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } - /** Set Order Reference. - @param POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + /** PaymentRule AD_Reference_ID=195 */ + public static final int PAYMENTRULE_AD_Reference_ID=195; + /** Cash = B */ + public static final String PAYMENTRULE_Cash = "B"; + /** Credit Card = K */ + public static final String PAYMENTRULE_CreditCard = "K"; + /** Direct Deposit = T */ + public static final String PAYMENTRULE_DirectDeposit = "T"; + /** Check = S */ + public static final String PAYMENTRULE_Check = "S"; + /** On Credit = P */ + public static final String PAYMENTRULE_OnCredit = "P"; + /** Direct Debit = D */ + public static final String PAYMENTRULE_DirectDebit = "D"; + /** Set Payment Rule. + @param PaymentRule + How you pay the invoice */ - public void setPOReference (String POReference) + public void setPaymentRule (String PaymentRule) { - if (POReference != null && POReference.length() > 20) - { - log.warning("Length > 20 - truncated"); - POReference = POReference.substring(0, 20); - } - set_ValueNoCheck (COLUMNNAME_POReference, POReference); + if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_ValueNoCheck (COLUMNNAME_PaymentRule, PaymentRule); } - /** Get Order Reference. - @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + /** Get Payment Rule. + @return How you pay the invoice */ - public String getPOReference () + public String getPaymentRule () { - return (String)get_Value(COLUMNNAME_POReference); + return (String)get_Value(COLUMNNAME_PaymentRule); + } + + /** PaymentRulePO AD_Reference_ID=195 */ + public static final int PAYMENTRULEPO_AD_Reference_ID=195; + /** Cash = B */ + public static final String PAYMENTRULEPO_Cash = "B"; + /** Credit Card = K */ + public static final String PAYMENTRULEPO_CreditCard = "K"; + /** Direct Deposit = T */ + public static final String PAYMENTRULEPO_DirectDeposit = "T"; + /** Check = S */ + public static final String PAYMENTRULEPO_Check = "S"; + /** On Credit = P */ + public static final String PAYMENTRULEPO_OnCredit = "P"; + /** Direct Debit = D */ + public static final String PAYMENTRULEPO_DirectDebit = "D"; + /** Set Payment Rule. + @param PaymentRulePO + Purchase payment option + */ + public void setPaymentRulePO (String PaymentRulePO) + { + + if (PaymentRulePO == null || PaymentRulePO.equals("B") || PaymentRulePO.equals("K") || PaymentRulePO.equals("T") || PaymentRulePO.equals("S") || PaymentRulePO.equals("P") || PaymentRulePO.equals("D")); else throw new IllegalArgumentException ("PaymentRulePO Invalid value - " + PaymentRulePO + " - Reference_ID=195 - B - K - T - S - P - D"); set_ValueNoCheck (COLUMNNAME_PaymentRulePO, PaymentRulePO); + } + + /** Get Payment Rule. + @return Purchase payment option + */ + public String getPaymentRulePO () + { + return (String)get_Value(COLUMNNAME_PaymentRulePO); + } + + /** Set Phone. + @param Phone + Identifies a telephone number + */ + public void setPhone (String Phone) + { + set_ValueNoCheck (COLUMNNAME_Phone, Phone); + } + + /** Get Phone. + @return Identifies a telephone number + */ + public String getPhone () + { + return (String)get_Value(COLUMNNAME_Phone); + } + + /** Set 2nd Phone. + @param Phone2 + Identifies an alternate telephone number. + */ + public void setPhone2 (String Phone2) + { + set_ValueNoCheck (COLUMNNAME_Phone2, Phone2); + } + + /** Get 2nd Phone. + @return Identifies an alternate telephone number. + */ + public String getPhone2 () + { + return (String)get_Value(COLUMNNAME_Phone2); } /** PO_DiscountSchema_ID AD_Reference_ID=249 */ @@ -1781,126 +1712,21 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } - /** PaymentRule AD_Reference_ID=195 */ - public static final int PAYMENTRULE_AD_Reference_ID=195; - /** Cash = B */ - public static final String PAYMENTRULE_Cash = "B"; - /** Credit Card = K */ - public static final String PAYMENTRULE_CreditCard = "K"; - /** Direct Deposit = T */ - public static final String PAYMENTRULE_DirectDeposit = "T"; - /** Check = S */ - public static final String PAYMENTRULE_Check = "S"; - /** On Credit = P */ - public static final String PAYMENTRULE_OnCredit = "P"; - /** Direct Debit = D */ - public static final String PAYMENTRULE_DirectDebit = "D"; - /** Set Payment Rule. - @param PaymentRule - How you pay the invoice + /** Set Order Reference. + @param POReference + Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public void setPaymentRule (String PaymentRule) + public void setPOReference (String POReference) { - - if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRule != null && PaymentRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRule = PaymentRule.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_PaymentRule, PaymentRule); + set_ValueNoCheck (COLUMNNAME_POReference, POReference); } - /** Get Payment Rule. - @return How you pay the invoice + /** Get Order Reference. + @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner */ - public String getPaymentRule () + public String getPOReference () { - return (String)get_Value(COLUMNNAME_PaymentRule); - } - - /** PaymentRulePO AD_Reference_ID=195 */ - public static final int PAYMENTRULEPO_AD_Reference_ID=195; - /** Cash = B */ - public static final String PAYMENTRULEPO_Cash = "B"; - /** Credit Card = K */ - public static final String PAYMENTRULEPO_CreditCard = "K"; - /** Direct Deposit = T */ - public static final String PAYMENTRULEPO_DirectDeposit = "T"; - /** Check = S */ - public static final String PAYMENTRULEPO_Check = "S"; - /** On Credit = P */ - public static final String PAYMENTRULEPO_OnCredit = "P"; - /** Direct Debit = D */ - public static final String PAYMENTRULEPO_DirectDebit = "D"; - /** Set Payment Rule. - @param PaymentRulePO - Purchase payment option - */ - public void setPaymentRulePO (String PaymentRulePO) - { - - if (PaymentRulePO == null || PaymentRulePO.equals("B") || PaymentRulePO.equals("K") || PaymentRulePO.equals("T") || PaymentRulePO.equals("S") || PaymentRulePO.equals("P") || PaymentRulePO.equals("D")); else throw new IllegalArgumentException ("PaymentRulePO Invalid value - " + PaymentRulePO + " - Reference_ID=195 - B - K - T - S - P - D"); - if (PaymentRulePO != null && PaymentRulePO.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRulePO = PaymentRulePO.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_PaymentRulePO, PaymentRulePO); - } - - /** Get Payment Rule. - @return Purchase payment option - */ - public String getPaymentRulePO () - { - return (String)get_Value(COLUMNNAME_PaymentRulePO); - } - - /** Set Phone. - @param Phone - Identifies a telephone number - */ - public void setPhone (String Phone) - { - - if (Phone != null && Phone.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone = Phone.substring(0, 40); - } - set_ValueNoCheck (COLUMNNAME_Phone, Phone); - } - - /** Get Phone. - @return Identifies a telephone number - */ - public String getPhone () - { - return (String)get_Value(COLUMNNAME_Phone); - } - - /** Set 2nd Phone. - @param Phone2 - Identifies an alternate telephone number. - */ - public void setPhone2 (String Phone2) - { - - if (Phone2 != null && Phone2.length() > 40) - { - log.warning("Length > 40 - truncated"); - Phone2 = Phone2.substring(0, 40); - } - set_ValueNoCheck (COLUMNNAME_Phone2, Phone2); - } - - /** Get 2nd Phone. - @return Identifies an alternate telephone number. - */ - public String getPhone2 () - { - return (String)get_Value(COLUMNNAME_Phone2); + return (String)get_Value(COLUMNNAME_POReference); } /** Set ZIP. @@ -1909,12 +1735,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setPostal (String Postal) { - - if (Postal != null && Postal.length() > 10) - { - log.warning("Length > 10 - truncated"); - Postal = Postal.substring(0, 10); - } set_ValueNoCheck (COLUMNNAME_Postal, Postal); } @@ -1952,12 +1772,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setRating (String Rating) { - - if (Rating != null && Rating.length() > 1) - { - log.warning("Length > 1 - truncated"); - Rating = Rating.substring(0, 1); - } set_ValueNoCheck (COLUMNNAME_Rating, Rating); } @@ -1975,12 +1789,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setReferenceNo (String ReferenceNo) { - - if (ReferenceNo != null && ReferenceNo.length() > 40) - { - log.warning("Length > 40 - truncated"); - ReferenceNo = ReferenceNo.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_ReferenceNo, ReferenceNo); } @@ -1998,12 +1806,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setRegionName (String RegionName) { - - if (RegionName != null && RegionName.length() > 60) - { - log.warning("Length > 60 - truncated"); - RegionName = RegionName.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_RegionName, RegionName); } @@ -2015,125 +1817,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_RegionName); } - /** SOCreditStatus AD_Reference_ID=289 */ - public static final int SOCREDITSTATUS_AD_Reference_ID=289; - /** Credit Stop = S */ - public static final String SOCREDITSTATUS_CreditStop = "S"; - /** Credit Hold = H */ - public static final String SOCREDITSTATUS_CreditHold = "H"; - /** Credit Watch = W */ - public static final String SOCREDITSTATUS_CreditWatch = "W"; - /** No Credit Check = X */ - public static final String SOCREDITSTATUS_NoCreditCheck = "X"; - /** Credit OK = O */ - public static final String SOCREDITSTATUS_CreditOK = "O"; - /** Set Credit Status. - @param SOCreditStatus - Business Partner Credit Status - */ - public void setSOCreditStatus (String SOCreditStatus) - { - - if (SOCreditStatus == null || SOCreditStatus.equals("S") || SOCreditStatus.equals("H") || SOCreditStatus.equals("W") || SOCreditStatus.equals("X") || SOCreditStatus.equals("O")); else throw new IllegalArgumentException ("SOCreditStatus Invalid value - " + SOCreditStatus + " - Reference_ID=289 - S - H - W - X - O"); - if (SOCreditStatus != null && SOCreditStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - SOCreditStatus = SOCreditStatus.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_SOCreditStatus, SOCreditStatus); - } - - /** Get Credit Status. - @return Business Partner Credit Status - */ - public String getSOCreditStatus () - { - return (String)get_Value(COLUMNNAME_SOCreditStatus); - } - - /** Set Credit Available. - @param SO_CreditAvailable - Available Credit based on Credit Limit (not Total Open Balance) and Credit Used - */ - public void setSO_CreditAvailable (BigDecimal SO_CreditAvailable) - { - set_ValueNoCheck (COLUMNNAME_SO_CreditAvailable, SO_CreditAvailable); - } - - /** Get Credit Available. - @return Available Credit based on Credit Limit (not Total Open Balance) and Credit Used - */ - public BigDecimal getSO_CreditAvailable () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditAvailable); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Credit Limit. - @param SO_CreditLimit - Total outstanding invoice amounts allowed - */ - public void setSO_CreditLimit (BigDecimal SO_CreditLimit) - { - set_ValueNoCheck (COLUMNNAME_SO_CreditLimit, SO_CreditLimit); - } - - /** Get Credit Limit. - @return Total outstanding invoice amounts allowed - */ - public BigDecimal getSO_CreditLimit () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditLimit); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Credit Used. - @param SO_CreditUsed - Current open balance - */ - public void setSO_CreditUsed (BigDecimal SO_CreditUsed) - { - set_ValueNoCheck (COLUMNNAME_SO_CreditUsed, SO_CreditUsed); - } - - /** Get Credit Used. - @return Current open balance - */ - public BigDecimal getSO_CreditUsed () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditUsed); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Order Description. - @param SO_Description - Description to be used on orders - */ - public void setSO_Description (String SO_Description) - { - - if (SO_Description != null && SO_Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - SO_Description = SO_Description.substring(0, 255); - } - set_ValueNoCheck (COLUMNNAME_SO_Description, SO_Description); - } - - /** Get Order Description. - @return Description to be used on orders - */ - public String getSO_Description () - { - return (String)get_Value(COLUMNNAME_SO_Description); - } - /** SalesRep_ID AD_Reference_ID=190 */ public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @@ -2243,6 +1926,113 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } + /** Set Credit Available. + @param SO_CreditAvailable + Available Credit based on Credit Limit (not Total Open Balance) and Credit Used + */ + public void setSO_CreditAvailable (BigDecimal SO_CreditAvailable) + { + set_ValueNoCheck (COLUMNNAME_SO_CreditAvailable, SO_CreditAvailable); + } + + /** Get Credit Available. + @return Available Credit based on Credit Limit (not Total Open Balance) and Credit Used + */ + public BigDecimal getSO_CreditAvailable () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditAvailable); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Credit Limit. + @param SO_CreditLimit + Total outstanding invoice amounts allowed + */ + public void setSO_CreditLimit (BigDecimal SO_CreditLimit) + { + set_ValueNoCheck (COLUMNNAME_SO_CreditLimit, SO_CreditLimit); + } + + /** Get Credit Limit. + @return Total outstanding invoice amounts allowed + */ + public BigDecimal getSO_CreditLimit () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditLimit); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** SOCreditStatus AD_Reference_ID=289 */ + public static final int SOCREDITSTATUS_AD_Reference_ID=289; + /** Credit Stop = S */ + public static final String SOCREDITSTATUS_CreditStop = "S"; + /** Credit Hold = H */ + public static final String SOCREDITSTATUS_CreditHold = "H"; + /** Credit Watch = W */ + public static final String SOCREDITSTATUS_CreditWatch = "W"; + /** No Credit Check = X */ + public static final String SOCREDITSTATUS_NoCreditCheck = "X"; + /** Credit OK = O */ + public static final String SOCREDITSTATUS_CreditOK = "O"; + /** Set Credit Status. + @param SOCreditStatus + Business Partner Credit Status + */ + public void setSOCreditStatus (String SOCreditStatus) + { + + if (SOCreditStatus == null || SOCreditStatus.equals("S") || SOCreditStatus.equals("H") || SOCreditStatus.equals("W") || SOCreditStatus.equals("X") || SOCreditStatus.equals("O")); else throw new IllegalArgumentException ("SOCreditStatus Invalid value - " + SOCreditStatus + " - Reference_ID=289 - S - H - W - X - O"); set_ValueNoCheck (COLUMNNAME_SOCreditStatus, SOCreditStatus); + } + + /** Get Credit Status. + @return Business Partner Credit Status + */ + public String getSOCreditStatus () + { + return (String)get_Value(COLUMNNAME_SOCreditStatus); + } + + /** Set Credit Used. + @param SO_CreditUsed + Current open balance + */ + public void setSO_CreditUsed (BigDecimal SO_CreditUsed) + { + set_ValueNoCheck (COLUMNNAME_SO_CreditUsed, SO_CreditUsed); + } + + /** Get Credit Used. + @return Current open balance + */ + public BigDecimal getSO_CreditUsed () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SO_CreditUsed); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Order Description. + @param SO_Description + Description to be used on orders + */ + public void setSO_Description (String SO_Description) + { + set_ValueNoCheck (COLUMNNAME_SO_Description, SO_Description); + } + + /** Get Order Description. + @return Description to be used on orders + */ + public String getSO_Description () + { + return (String)get_Value(COLUMNNAME_SO_Description); + } + /** Supervisor_ID AD_Reference_ID=110 */ public static final int SUPERVISOR_ID_AD_Reference_ID=110; /** Set Supervisor. @@ -2274,12 +2064,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setTaxID (String TaxID) { - - if (TaxID != null && TaxID.length() > 20) - { - log.warning("Length > 20 - truncated"); - TaxID = TaxID.substring(0, 20); - } set_ValueNoCheck (COLUMNNAME_TaxID, TaxID); } @@ -2297,12 +2081,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setTitle (String Title) { - - if (Title != null && Title.length() > 40) - { - log.warning("Length > 40 - truncated"); - Title = Title.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_Title, Title); } @@ -2340,12 +2118,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent */ public void setURL (String URL) { - - if (URL != null && URL.length() > 120) - { - log.warning("Length > 120 - truncated"); - URL = URL.substring(0, 120); - } set_ValueNoCheck (COLUMNNAME_URL, URL); } @@ -2365,12 +2137,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_RV_WarehousePrice.java b/base/src/org/compiere/model/X_RV_WarehousePrice.java index df294e5830..8dde49519b 100644 --- a/base/src/org/compiere/model/X_RV_WarehousePrice.java +++ b/base/src/org/compiere/model/X_RV_WarehousePrice.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for RV_WarehousePrice * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Persistent { @@ -141,6 +141,26 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe return false; } + /** Set Margin %. + @param Margin + Margin for a product as a percentage + */ + public void setMargin (BigDecimal Margin) + { + set_ValueNoCheck (COLUMNNAME_Margin, Margin); + } + + /** Get Margin %. + @return Margin for a product as a percentage + */ + public BigDecimal getMargin () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Margin); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_M_PriceList_Version getM_PriceList_Version() throws Exception { Class clazz = MTable.getClass(I_M_PriceList_Version.Table_Name); @@ -255,26 +275,6 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe return ii.intValue(); } - /** Set Margin %. - @param Margin - Margin for a product as a percentage - */ - public void setMargin (BigDecimal Margin) - { - set_ValueNoCheck (COLUMNNAME_Margin, Margin); - } - - /** Get Margin %. - @return Margin for a product as a percentage - */ - public BigDecimal getMargin () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Margin); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -283,12 +283,6 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_Name, Name); } @@ -446,12 +440,6 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe */ public void setSKU (String SKU) { - - if (SKU != null && SKU.length() > 30) - { - log.warning("Length > 30 - truncated"); - SKU = SKU.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_SKU, SKU); } @@ -469,12 +457,6 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe */ public void setUOMSymbol (String UOMSymbol) { - - if (UOMSymbol != null && UOMSymbol.length() > 10) - { - log.warning("Length > 10 - truncated"); - UOMSymbol = UOMSymbol.substring(0, 10); - } set_ValueNoCheck (COLUMNNAME_UOMSymbol, UOMSymbol); } @@ -492,12 +474,6 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe */ public void setUPC (String UPC) { - - if (UPC != null && UPC.length() > 30) - { - log.warning("Length > 30 - truncated"); - UPC = UPC.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_UPC, UPC); } @@ -517,12 +493,6 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_ValueNoCheck (COLUMNNAME_Value, Value); } @@ -542,12 +512,6 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe { if (WarehouseName == null) throw new IllegalArgumentException ("WarehouseName is mandatory."); - - if (WarehouseName.length() > 60) - { - log.warning("Length > 60 - truncated"); - WarehouseName = WarehouseName.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_WarehouseName, WarehouseName); } diff --git a/base/src/org/compiere/model/X_R_Category.java b/base/src/org/compiere/model/X_R_Category.java index bc847df806..834107b7ac 100644 --- a/base/src/org/compiere/model/X_R_Category.java +++ b/base/src/org/compiere/model/X_R_Category.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Category * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_Category extends PO implements I_R_Category, I_Persistent { @@ -79,12 +79,6 @@ public class X_R_Category extends PO implements I_R_Category, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -102,12 +96,6 @@ public class X_R_Category extends PO implements I_R_Category, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -166,12 +154,6 @@ public class X_R_Category extends PO implements I_R_Category, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_R_CategoryUpdates.java b/base/src/org/compiere/model/X_R_CategoryUpdates.java index 64e8a9069f..75c2938f49 100644 --- a/base/src/org/compiere/model/X_R_CategoryUpdates.java +++ b/base/src/org/compiere/model/X_R_CategoryUpdates.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_CategoryUpdates * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_ContactInterest.java b/base/src/org/compiere/model/X_R_ContactInterest.java index f011f71b3e..2f58f206c2 100644 --- a/base/src/org/compiere/model/X_R_ContactInterest.java +++ b/base/src/org/compiere/model/X_R_ContactInterest.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_ContactInterest * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_Group.java b/base/src/org/compiere/model/X_R_Group.java index fe631dc56a..faea03a43e 100644 --- a/base/src/org/compiere/model/X_R_Group.java +++ b/base/src/org/compiere/model/X_R_Group.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Group * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_Group extends PO implements I_R_Group, I_Persistent { @@ -79,12 +79,6 @@ public class X_R_Group extends PO implements I_R_Group, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -102,12 +96,6 @@ public class X_R_Group extends PO implements I_R_Group, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -205,12 +193,6 @@ public class X_R_Group extends PO implements I_R_Group, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_R_GroupUpdates.java b/base/src/org/compiere/model/X_R_GroupUpdates.java index 46cd83a5c8..7391545025 100644 --- a/base/src/org/compiere/model/X_R_GroupUpdates.java +++ b/base/src/org/compiere/model/X_R_GroupUpdates.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_GroupUpdates * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_InterestArea.java b/base/src/org/compiere/model/X_R_InterestArea.java index 38400944e8..7c3e8c7d78 100644 --- a/base/src/org/compiere/model/X_R_InterestArea.java +++ b/base/src/org/compiere/model/X_R_InterestArea.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_InterestArea * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persistent { @@ -80,12 +80,6 @@ public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -129,12 +123,6 @@ public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -184,12 +172,6 @@ public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persiste { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_R_IssueKnown.java b/base/src/org/compiere/model/X_R_IssueKnown.java index ddfe943a8a..df5ded7ac5 100644 --- a/base/src/org/compiere/model/X_R_IssueKnown.java +++ b/base/src/org/compiere/model/X_R_IssueKnown.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueKnown * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent { @@ -41,8 +41,8 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent /** if (R_IssueKnown_ID == 0) { setIssueSummary (null); - setR_IssueKnown_ID (0); setReleaseNo (null); + setR_IssueKnown_ID (0); } */ } @@ -80,12 +80,6 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -103,12 +97,6 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent */ public void setIssueStatus (String IssueStatus) { - - if (IssueStatus != null && IssueStatus.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - IssueStatus = IssueStatus.substring(0, 2000); - } set_Value (COLUMNNAME_IssueStatus, IssueStatus); } @@ -128,12 +116,6 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent { if (IssueSummary == null) throw new IllegalArgumentException ("IssueSummary is mandatory."); - - if (IssueSummary.length() > 255) - { - log.warning("Length > 255 - truncated"); - IssueSummary = IssueSummary.substring(0, 255); - } set_Value (COLUMNNAME_IssueSummary, IssueSummary); } @@ -171,12 +153,6 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent */ public void setLoggerName (String LoggerName) { - - if (LoggerName != null && LoggerName.length() > 60) - { - log.warning("Length > 60 - truncated"); - LoggerName = LoggerName.substring(0, 60); - } set_Value (COLUMNNAME_LoggerName, LoggerName); } @@ -209,6 +185,33 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent return false; } + /** Set Release No. + @param ReleaseNo + Internal Release Number + */ + public void setReleaseNo (String ReleaseNo) + { + if (ReleaseNo == null) + throw new IllegalArgumentException ("ReleaseNo is mandatory."); + set_Value (COLUMNNAME_ReleaseNo, ReleaseNo); + } + + /** Get Release No. + @return Internal Release Number + */ + public String getReleaseNo () + { + return (String)get_Value(COLUMNNAME_ReleaseNo); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), getReleaseNo()); + } + /** Set Known Issue. @param R_IssueKnown_ID Known Issue @@ -348,51 +351,12 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent return ii.intValue(); } - /** Set Release No. - @param ReleaseNo - Internal Release Number - */ - public void setReleaseNo (String ReleaseNo) - { - if (ReleaseNo == null) - throw new IllegalArgumentException ("ReleaseNo is mandatory."); - - if (ReleaseNo.length() > 4) - { - log.warning("Length > 4 - truncated"); - ReleaseNo = ReleaseNo.substring(0, 4); - } - set_Value (COLUMNNAME_ReleaseNo, ReleaseNo); - } - - /** Get Release No. - @return Internal Release Number - */ - public String getReleaseNo () - { - return (String)get_Value(COLUMNNAME_ReleaseNo); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), getReleaseNo()); - } - /** Set Source Class. @param SourceClassName Source Class Name */ public void setSourceClassName (String SourceClassName) { - - if (SourceClassName != null && SourceClassName.length() > 60) - { - log.warning("Length > 60 - truncated"); - SourceClassName = SourceClassName.substring(0, 60); - } set_Value (COLUMNNAME_SourceClassName, SourceClassName); } @@ -410,12 +374,6 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent */ public void setSourceMethodName (String SourceMethodName) { - - if (SourceMethodName != null && SourceMethodName.length() > 60) - { - log.warning("Length > 60 - truncated"); - SourceMethodName = SourceMethodName.substring(0, 60); - } set_Value (COLUMNNAME_SourceMethodName, SourceMethodName); } diff --git a/base/src/org/compiere/model/X_R_IssueProject.java b/base/src/org/compiere/model/X_R_IssueProject.java index 963404e59e..76c21f15e3 100644 --- a/base/src/org/compiere/model/X_R_IssueProject.java +++ b/base/src/org/compiere/model/X_R_IssueProject.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueProject * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persistent { @@ -158,12 +158,6 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -183,12 +177,6 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -214,12 +202,6 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persiste */ public void setProfileInfo (String ProfileInfo) { - - if (ProfileInfo != null && ProfileInfo.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProfileInfo = ProfileInfo.substring(0, 60); - } set_Value (COLUMNNAME_ProfileInfo, ProfileInfo); } @@ -259,12 +241,6 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persiste */ public void setStatisticsInfo (String StatisticsInfo) { - - if (StatisticsInfo != null && StatisticsInfo.length() > 60) - { - log.warning("Length > 60 - truncated"); - StatisticsInfo = StatisticsInfo.substring(0, 60); - } set_Value (COLUMNNAME_StatisticsInfo, StatisticsInfo); } @@ -291,13 +267,7 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persiste public void setSystemStatus (String SystemStatus) { if (SystemStatus == null) throw new IllegalArgumentException ("SystemStatus is mandatory"); - if (SystemStatus.equals("E") || SystemStatus.equals("I") || SystemStatus.equals("P")); else throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P"); - if (SystemStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - SystemStatus = SystemStatus.substring(0, 1); - } - set_Value (COLUMNNAME_SystemStatus, SystemStatus); + if (SystemStatus.equals("E") || SystemStatus.equals("I") || SystemStatus.equals("P")); else throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P"); set_Value (COLUMNNAME_SystemStatus, SystemStatus); } /** Get System Status. diff --git a/base/src/org/compiere/model/X_R_IssueRecommendation.java b/base/src/org/compiere/model/X_R_IssueRecommendation.java index d2e2c97e31..900e415357 100644 --- a/base/src/org/compiere/model/X_R_IssueRecommendation.java +++ b/base/src/org/compiere/model/X_R_IssueRecommendation.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueRecommendation * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendation, I_Persistent { @@ -77,12 +77,6 @@ public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendati */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -100,12 +94,6 @@ public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendati */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -125,12 +113,6 @@ public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendati { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_R_IssueStatus.java b/base/src/org/compiere/model/X_R_IssueStatus.java index fb3bece959..83bcbbbaf8 100644 --- a/base/src/org/compiere/model/X_R_IssueStatus.java +++ b/base/src/org/compiere/model/X_R_IssueStatus.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueStatus * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_IssueStatus extends PO implements I_R_IssueStatus, I_Persistent { @@ -77,12 +77,6 @@ public class X_R_IssueStatus extends PO implements I_R_IssueStatus, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -102,12 +96,6 @@ public class X_R_IssueStatus extends PO implements I_R_IssueStatus, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_R_IssueSystem.java b/base/src/org/compiere/model/X_R_IssueSystem.java index 9772904be8..4bcf7d1ae7 100644 --- a/base/src/org/compiere/model/X_R_IssueSystem.java +++ b/base/src/org/compiere/model/X_R_IssueSystem.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueSystem * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent { @@ -121,12 +121,6 @@ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent { if (DBAddress == null) throw new IllegalArgumentException ("DBAddress is mandatory."); - - if (DBAddress.length() > 255) - { - log.warning("Length > 255 - truncated"); - DBAddress = DBAddress.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_DBAddress, DBAddress); } @@ -152,12 +146,6 @@ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent */ public void setProfileInfo (String ProfileInfo) { - - if (ProfileInfo != null && ProfileInfo.length() > 60) - { - log.warning("Length > 60 - truncated"); - ProfileInfo = ProfileInfo.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_ProfileInfo, ProfileInfo); } @@ -197,12 +185,6 @@ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent */ public void setStatisticsInfo (String StatisticsInfo) { - - if (StatisticsInfo != null && StatisticsInfo.length() > 60) - { - log.warning("Length > 60 - truncated"); - StatisticsInfo = StatisticsInfo.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_StatisticsInfo, StatisticsInfo); } @@ -229,13 +211,7 @@ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent public void setSystemStatus (String SystemStatus) { if (SystemStatus == null) throw new IllegalArgumentException ("SystemStatus is mandatory"); - if (SystemStatus.equals("E") || SystemStatus.equals("I") || SystemStatus.equals("P")); else throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P"); - if (SystemStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - SystemStatus = SystemStatus.substring(0, 1); - } - set_Value (COLUMNNAME_SystemStatus, SystemStatus); + if (SystemStatus.equals("E") || SystemStatus.equals("I") || SystemStatus.equals("P")); else throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P"); set_Value (COLUMNNAME_SystemStatus, SystemStatus); } /** Get System Status. diff --git a/base/src/org/compiere/model/X_R_IssueUser.java b/base/src/org/compiere/model/X_R_IssueUser.java index f98a2e240c..fe830e84fc 100644 --- a/base/src/org/compiere/model/X_R_IssueUser.java +++ b/base/src/org/compiere/model/X_R_IssueUser.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueUser * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_IssueUser extends PO implements I_R_IssueUser, I_Persistent { @@ -118,12 +118,6 @@ public class X_R_IssueUser extends PO implements I_R_IssueUser, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -165,12 +159,6 @@ public class X_R_IssueUser extends PO implements I_R_IssueUser, I_Persistent { if (UserName == null) throw new IllegalArgumentException ("UserName is mandatory."); - - if (UserName.length() > 60) - { - log.warning("Length > 60 - truncated"); - UserName = UserName.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_UserName, UserName); } diff --git a/base/src/org/compiere/model/X_R_MailText.java b/base/src/org/compiere/model/X_R_MailText.java index 89490e97bd..1292dc9c47 100644 --- a/base/src/org/compiere/model/X_R_MailText.java +++ b/base/src/org/compiere/model/X_R_MailText.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_MailText * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent { @@ -103,12 +103,6 @@ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent */ public void setMailHeader (String MailHeader) { - - if (MailHeader != null && MailHeader.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - MailHeader = MailHeader.substring(0, 2000); - } set_Value (COLUMNNAME_MailHeader, MailHeader); } @@ -128,12 +122,6 @@ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent { if (MailText == null) throw new IllegalArgumentException ("MailText is mandatory."); - - if (MailText.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - MailText = MailText.substring(0, 2000); - } set_Value (COLUMNNAME_MailText, MailText); } @@ -151,12 +139,6 @@ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent */ public void setMailText2 (String MailText2) { - - if (MailText2 != null && MailText2.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - MailText2 = MailText2.substring(0, 2000); - } set_Value (COLUMNNAME_MailText2, MailText2); } @@ -174,12 +156,6 @@ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent */ public void setMailText3 (String MailText3) { - - if (MailText3 != null && MailText3.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - MailText3 = MailText3.substring(0, 2000); - } set_Value (COLUMNNAME_MailText3, MailText3); } @@ -199,12 +175,6 @@ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_R_Request.java b/base/src/org/compiere/model/X_R_Request.java index fced1230d2..749636ba20 100644 --- a/base/src/org/compiere/model/X_R_Request.java +++ b/base/src/org/compiere/model/X_R_Request.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Request * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_Request extends PO implements I_R_Request, I_Persistent { @@ -57,9 +57,9 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent setPriority (null); // 5 setProcessed (false); - setR_RequestType_ID (0); - setR_Request_ID (0); setRequestAmt (Env.ZERO); + setR_Request_ID (0); + setR_RequestType_ID (0); setSalesRep_ID (0); // @AD_User_ID@ setSummary (null); @@ -94,6 +94,45 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return sb.toString(); } + public I_A_Asset getA_Asset() throws Exception + { + Class clazz = MTable.getClass(I_A_Asset.Table_Name); + I_A_Asset result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_A_Asset)constructor.newInstance(new Object[] {getCtx(), new Integer(getA_Asset_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Asset. + @param A_Asset_ID + Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID) + { + if (A_Asset_ID < 1) + set_Value (COLUMNNAME_A_Asset_ID, null); + else + set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + } + + /** Get Asset. + @return Asset used internally or by customers + */ + public int getA_Asset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_Role getAD_Role() throws Exception { Class clazz = MTable.getClass(I_AD_Role.Table_Name); @@ -211,45 +250,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - public I_A_Asset getA_Asset() throws Exception - { - Class clazz = MTable.getClass(I_A_Asset.Table_Name); - I_A_Asset result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_A_Asset)constructor.newInstance(new Object[] {getCtx(), new Integer(getA_Asset_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Asset. - @param A_Asset_ID - Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID) - { - if (A_Asset_ID < 1) - set_Value (COLUMNNAME_A_Asset_ID, null); - else - set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); - } - - /** Get Asset. - @return Asset used internally or by customers - */ - public int getA_Asset_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Activity getC_Activity() throws Exception { Class clazz = MTable.getClass(I_C_Activity.Table_Name); @@ -367,31 +367,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** C_InvoiceRequest_ID AD_Reference_ID=336 */ - public static final int C_INVOICEREQUEST_ID_AD_Reference_ID=336; - /** Set Request Invoice. - @param C_InvoiceRequest_ID - The generated invoice for this request - */ - public void setC_InvoiceRequest_ID (int C_InvoiceRequest_ID) - { - if (C_InvoiceRequest_ID < 1) - set_ValueNoCheck (COLUMNNAME_C_InvoiceRequest_ID, null); - else - set_ValueNoCheck (COLUMNNAME_C_InvoiceRequest_ID, Integer.valueOf(C_InvoiceRequest_ID)); - } - - /** Get Request Invoice. - @return The generated invoice for this request - */ - public int getC_InvoiceRequest_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceRequest_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -431,6 +406,104 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } + /** C_InvoiceRequest_ID AD_Reference_ID=336 */ + public static final int C_INVOICEREQUEST_ID_AD_Reference_ID=336; + /** Set Request Invoice. + @param C_InvoiceRequest_ID + The generated invoice for this request + */ + public void setC_InvoiceRequest_ID (int C_InvoiceRequest_ID) + { + if (C_InvoiceRequest_ID < 1) + set_ValueNoCheck (COLUMNNAME_C_InvoiceRequest_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_InvoiceRequest_ID, Integer.valueOf(C_InvoiceRequest_ID)); + } + + /** Get Request Invoice. + @return The generated invoice for this request + */ + public int getC_InvoiceRequest_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceRequest_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Close Date. + @param CloseDate + Close Date + */ + public void setCloseDate (Timestamp CloseDate) + { + set_Value (COLUMNNAME_CloseDate, CloseDate); + } + + /** Get Close Date. + @return Close Date + */ + public Timestamp getCloseDate () + { + return (Timestamp)get_Value(COLUMNNAME_CloseDate); + } + + /** ConfidentialType AD_Reference_ID=340 */ + public static final int CONFIDENTIALTYPE_AD_Reference_ID=340; + /** Public Information = A */ + public static final String CONFIDENTIALTYPE_PublicInformation = "A"; + /** Partner Confidential = C */ + public static final String CONFIDENTIALTYPE_PartnerConfidential = "C"; + /** Internal = I */ + public static final String CONFIDENTIALTYPE_Internal = "I"; + /** Private Information = P */ + public static final String CONFIDENTIALTYPE_PrivateInformation = "P"; + /** Set Confidentiality. + @param ConfidentialType + Type of Confidentiality + */ + public void setConfidentialType (String ConfidentialType) + { + if (ConfidentialType == null) throw new IllegalArgumentException ("ConfidentialType is mandatory"); + if (ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); set_Value (COLUMNNAME_ConfidentialType, ConfidentialType); + } + + /** Get Confidentiality. + @return Type of Confidentiality + */ + public String getConfidentialType () + { + return (String)get_Value(COLUMNNAME_ConfidentialType); + } + + /** ConfidentialTypeEntry AD_Reference_ID=340 */ + public static final int CONFIDENTIALTYPEENTRY_AD_Reference_ID=340; + /** Public Information = A */ + public static final String CONFIDENTIALTYPEENTRY_PublicInformation = "A"; + /** Partner Confidential = C */ + public static final String CONFIDENTIALTYPEENTRY_PartnerConfidential = "C"; + /** Internal = I */ + public static final String CONFIDENTIALTYPEENTRY_Internal = "I"; + /** Private Information = P */ + public static final String CONFIDENTIALTYPEENTRY_PrivateInformation = "P"; + /** Set Entry Confidentiality. + @param ConfidentialTypeEntry + Confidentiality of the individual entry + */ + public void setConfidentialTypeEntry (String ConfidentialTypeEntry) + { + if (ConfidentialTypeEntry == null) throw new IllegalArgumentException ("ConfidentialTypeEntry is mandatory"); + if (ConfidentialTypeEntry.equals("A") || ConfidentialTypeEntry.equals("C") || ConfidentialTypeEntry.equals("I") || ConfidentialTypeEntry.equals("P")); else throw new IllegalArgumentException ("ConfidentialTypeEntry Invalid value - " + ConfidentialTypeEntry + " - Reference_ID=340 - A - C - I - P"); set_Value (COLUMNNAME_ConfidentialTypeEntry, ConfidentialTypeEntry); + } + + /** Get Entry Confidentiality. + @return Confidentiality of the individual entry + */ + public String getConfidentialTypeEntry () + { + return (String)get_Value(COLUMNNAME_ConfidentialTypeEntry); + } + public I_C_Order getC_Order() throws Exception { Class clazz = MTable.getClass(I_C_Order.Table_Name); @@ -548,91 +621,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** Set Close Date. - @param CloseDate - Close Date - */ - public void setCloseDate (Timestamp CloseDate) - { - set_Value (COLUMNNAME_CloseDate, CloseDate); - } - - /** Get Close Date. - @return Close Date - */ - public Timestamp getCloseDate () - { - return (Timestamp)get_Value(COLUMNNAME_CloseDate); - } - - /** ConfidentialType AD_Reference_ID=340 */ - public static final int CONFIDENTIALTYPE_AD_Reference_ID=340; - /** Public Information = A */ - public static final String CONFIDENTIALTYPE_PublicInformation = "A"; - /** Partner Confidential = C */ - public static final String CONFIDENTIALTYPE_PartnerConfidential = "C"; - /** Internal = I */ - public static final String CONFIDENTIALTYPE_Internal = "I"; - /** Private Information = P */ - public static final String CONFIDENTIALTYPE_PrivateInformation = "P"; - /** Set Confidentiality. - @param ConfidentialType - Type of Confidentiality - */ - public void setConfidentialType (String ConfidentialType) - { - if (ConfidentialType == null) throw new IllegalArgumentException ("ConfidentialType is mandatory"); - if (ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); - if (ConfidentialType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConfidentialType = ConfidentialType.substring(0, 1); - } - set_Value (COLUMNNAME_ConfidentialType, ConfidentialType); - } - - /** Get Confidentiality. - @return Type of Confidentiality - */ - public String getConfidentialType () - { - return (String)get_Value(COLUMNNAME_ConfidentialType); - } - - /** ConfidentialTypeEntry AD_Reference_ID=340 */ - public static final int CONFIDENTIALTYPEENTRY_AD_Reference_ID=340; - /** Public Information = A */ - public static final String CONFIDENTIALTYPEENTRY_PublicInformation = "A"; - /** Partner Confidential = C */ - public static final String CONFIDENTIALTYPEENTRY_PartnerConfidential = "C"; - /** Internal = I */ - public static final String CONFIDENTIALTYPEENTRY_Internal = "I"; - /** Private Information = P */ - public static final String CONFIDENTIALTYPEENTRY_PrivateInformation = "P"; - /** Set Entry Confidentiality. - @param ConfidentialTypeEntry - Confidentiality of the individual entry - */ - public void setConfidentialTypeEntry (String ConfidentialTypeEntry) - { - if (ConfidentialTypeEntry == null) throw new IllegalArgumentException ("ConfidentialTypeEntry is mandatory"); - if (ConfidentialTypeEntry.equals("A") || ConfidentialTypeEntry.equals("C") || ConfidentialTypeEntry.equals("I") || ConfidentialTypeEntry.equals("P")); else throw new IllegalArgumentException ("ConfidentialTypeEntry Invalid value - " + ConfidentialTypeEntry + " - Reference_ID=340 - A - C - I - P"); - if (ConfidentialTypeEntry.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConfidentialTypeEntry = ConfidentialTypeEntry.substring(0, 1); - } - set_Value (COLUMNNAME_ConfidentialTypeEntry, ConfidentialTypeEntry); - } - - /** Get Entry Confidentiality. - @return Confidentiality of the individual entry - */ - public String getConfidentialTypeEntry () - { - return (String)get_Value(COLUMNNAME_ConfidentialTypeEntry); - } - /** Set Complete Plan. @param DateCompletePlan Planned Completion Date @@ -726,12 +714,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -766,13 +748,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent public void setDueType (String DueType) { if (DueType == null) throw new IllegalArgumentException ("DueType is mandatory"); - if (DueType.equals("3") || DueType.equals("5") || DueType.equals("7")); else throw new IllegalArgumentException ("DueType Invalid value - " + DueType + " - Reference_ID=222 - 3 - 5 - 7"); - if (DueType.length() > 1) - { - log.warning("Length > 1 - truncated"); - DueType = DueType.substring(0, 1); - } - set_Value (COLUMNNAME_DueType, DueType); + if (DueType.equals("3") || DueType.equals("5") || DueType.equals("7")); else throw new IllegalArgumentException ("DueType Invalid value - " + DueType + " - Reference_ID=222 - 3 - 5 - 7"); set_Value (COLUMNNAME_DueType, DueType); } /** Get Due type. @@ -878,12 +854,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent */ public void setLastResult (String LastResult) { - - if (LastResult != null && LastResult.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - LastResult = LastResult.substring(0, 2000); - } set_Value (COLUMNNAME_LastResult, LastResult); } @@ -998,31 +968,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** M_ProductSpent_ID AD_Reference_ID=162 */ - public static final int M_PRODUCTSPENT_ID_AD_Reference_ID=162; - /** Set Product Used. - @param M_ProductSpent_ID - Product/Resource/Service used in Request - */ - public void setM_ProductSpent_ID (int M_ProductSpent_ID) - { - if (M_ProductSpent_ID < 1) - set_Value (COLUMNNAME_M_ProductSpent_ID, null); - else - set_Value (COLUMNNAME_M_ProductSpent_ID, Integer.valueOf(M_ProductSpent_ID)); - } - - /** Get Product Used. - @return Product/Resource/Service used in Request - */ - public int getM_ProductSpent_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductSpent_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -1062,6 +1007,31 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } + /** M_ProductSpent_ID AD_Reference_ID=162 */ + public static final int M_PRODUCTSPENT_ID_AD_Reference_ID=162; + /** Set Product Used. + @param M_ProductSpent_ID + Product/Resource/Service used in Request + */ + public void setM_ProductSpent_ID (int M_ProductSpent_ID) + { + if (M_ProductSpent_ID < 1) + set_Value (COLUMNNAME_M_ProductSpent_ID, null); + else + set_Value (COLUMNNAME_M_ProductSpent_ID, Integer.valueOf(M_ProductSpent_ID)); + } + + /** Get Product Used. + @return Product/Resource/Service used in Request + */ + public int getM_ProductSpent_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductSpent_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_RMA getM_RMA() throws Exception { Class clazz = MTable.getClass(I_M_RMA.Table_Name); @@ -1114,13 +1084,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent public void setNextAction (String NextAction) { - if (NextAction == null || NextAction.equals("N") || NextAction.equals("F")); else throw new IllegalArgumentException ("NextAction Invalid value - " + NextAction + " - Reference_ID=219 - N - F"); - if (NextAction != null && NextAction.length() > 1) - { - log.warning("Length > 1 - truncated"); - NextAction = NextAction.substring(0, 1); - } - set_Value (COLUMNNAME_NextAction, NextAction); + if (NextAction == null || NextAction.equals("N") || NextAction.equals("F")); else throw new IllegalArgumentException ("NextAction Invalid value - " + NextAction + " - Reference_ID=219 - N - F"); set_Value (COLUMNNAME_NextAction, NextAction); } /** Get Next action. @@ -1150,13 +1114,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent public void setPriority (String Priority) { if (Priority == null) throw new IllegalArgumentException ("Priority is mandatory"); - if (Priority.equals("3") || Priority.equals("5") || Priority.equals("7") || Priority.equals("1") || Priority.equals("9")); else throw new IllegalArgumentException ("Priority Invalid value - " + Priority + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (Priority.length() > 1) - { - log.warning("Length > 1 - truncated"); - Priority = Priority.substring(0, 1); - } - set_Value (COLUMNNAME_Priority, Priority); + if (Priority.equals("3") || Priority.equals("5") || Priority.equals("7") || Priority.equals("1") || Priority.equals("9")); else throw new IllegalArgumentException ("Priority Invalid value - " + Priority + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_Value (COLUMNNAME_Priority, Priority); } /** Get Priority. @@ -1186,13 +1144,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent public void setPriorityUser (String PriorityUser) { - if (PriorityUser == null || PriorityUser.equals("3") || PriorityUser.equals("5") || PriorityUser.equals("7") || PriorityUser.equals("1") || PriorityUser.equals("9")); else throw new IllegalArgumentException ("PriorityUser Invalid value - " + PriorityUser + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (PriorityUser != null && PriorityUser.length() > 1) - { - log.warning("Length > 1 - truncated"); - PriorityUser = PriorityUser.substring(0, 1); - } - set_Value (COLUMNNAME_PriorityUser, PriorityUser); + if (PriorityUser == null || PriorityUser.equals("3") || PriorityUser.equals("5") || PriorityUser.equals("7") || PriorityUser.equals("1") || PriorityUser.equals("9")); else throw new IllegalArgumentException ("PriorityUser Invalid value - " + PriorityUser + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_Value (COLUMNNAME_PriorityUser, PriorityUser); } /** Get User Importance. @@ -1326,6 +1278,68 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } + /** Set Record ID. + @param Record_ID + Direct internal record ID + */ + public void setRecord_ID (int Record_ID) + { + if (Record_ID < 1) + set_ValueNoCheck (COLUMNNAME_Record_ID, null); + else + set_ValueNoCheck (COLUMNNAME_Record_ID, Integer.valueOf(Record_ID)); + } + + /** Get Record ID. + @return Direct internal record ID + */ + public int getRecord_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Record_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Request Amount. + @param RequestAmt + Amount associated with this request + */ + public void setRequestAmt (BigDecimal RequestAmt) + { + if (RequestAmt == null) + throw new IllegalArgumentException ("RequestAmt is mandatory."); + set_Value (COLUMNNAME_RequestAmt, RequestAmt); + } + + /** Get Request Amount. + @return Amount associated with this request + */ + public BigDecimal getRequestAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_RequestAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Result. + @param Result + Result of the action taken + */ + public void setResult (String Result) + { + set_Value (COLUMNNAME_Result, Result); + } + + /** Get Result. + @return Result of the action taken + */ + public String getResult () + { + return (String)get_Value(COLUMNNAME_Result); + } + public I_R_Group getR_Group() throws Exception { Class clazz = MTable.getClass(I_R_Group.Table_Name); @@ -1404,6 +1418,28 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } + /** Set Request. + @param R_Request_ID + Request from a Business Partner or Prospect + */ + public void setR_Request_ID (int R_Request_ID) + { + if (R_Request_ID < 1) + throw new IllegalArgumentException ("R_Request_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_R_Request_ID, Integer.valueOf(R_Request_ID)); + } + + /** Get Request. + @return Request from a Business Partner or Prospect + */ + public int getR_Request_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_R_Request_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** R_RequestRelated_ID AD_Reference_ID=341 */ public static final int R_REQUESTRELATED_ID_AD_Reference_ID=341; /** Set Related Request. @@ -1467,28 +1503,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** Set Request. - @param R_Request_ID - Request from a Business Partner or Prospect - */ - public void setR_Request_ID (int R_Request_ID) - { - if (R_Request_ID < 1) - throw new IllegalArgumentException ("R_Request_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_R_Request_ID, Integer.valueOf(R_Request_ID)); - } - - /** Get Request. - @return Request from a Business Partner or Prospect - */ - public int getR_Request_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_R_Request_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_R_Resolution getR_Resolution() throws Exception { Class clazz = MTable.getClass(I_R_Resolution.Table_Name); @@ -1606,74 +1620,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** Set Record ID. - @param Record_ID - Direct internal record ID - */ - public void setRecord_ID (int Record_ID) - { - if (Record_ID < 1) - set_ValueNoCheck (COLUMNNAME_Record_ID, null); - else - set_ValueNoCheck (COLUMNNAME_Record_ID, Integer.valueOf(Record_ID)); - } - - /** Get Record ID. - @return Direct internal record ID - */ - public int getRecord_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Record_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** Set Request Amount. - @param RequestAmt - Amount associated with this request - */ - public void setRequestAmt (BigDecimal RequestAmt) - { - if (RequestAmt == null) - throw new IllegalArgumentException ("RequestAmt is mandatory."); - set_Value (COLUMNNAME_RequestAmt, RequestAmt); - } - - /** Get Request Amount. - @return Amount associated with this request - */ - public BigDecimal getRequestAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_RequestAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Result. - @param Result - Result of the action taken - */ - public void setResult (String Result) - { - - if (Result != null && Result.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Result = Result.substring(0, 2000); - } - set_Value (COLUMNNAME_Result, Result); - } - - /** Get Result. - @return Result of the action taken - */ - public String getResult () - { - return (String)get_Value(COLUMNNAME_Result); - } - /** SalesRep_ID AD_Reference_ID=286 */ public static final int SALESREP_ID_AD_Reference_ID=286; /** Set Sales Representative. @@ -1740,12 +1686,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent { if (Summary == null) throw new IllegalArgumentException ("Summary is mandatory."); - - if (Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_Value (COLUMNNAME_Summary, Summary); } @@ -1784,13 +1724,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent public void setTaskStatus (String TaskStatus) { - if (TaskStatus == null || TaskStatus.equals("0") || TaskStatus.equals("D") || TaskStatus.equals("2") || TaskStatus.equals("8") || TaskStatus.equals("4") || TaskStatus.equals("6") || TaskStatus.equals("9") || TaskStatus.equals("A") || TaskStatus.equals("C")); else throw new IllegalArgumentException ("TaskStatus Invalid value - " + TaskStatus + " - Reference_ID=366 - 0 - D - 2 - 8 - 4 - 6 - 9 - A - C"); - if (TaskStatus != null && TaskStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - TaskStatus = TaskStatus.substring(0, 1); - } - set_Value (COLUMNNAME_TaskStatus, TaskStatus); + if (TaskStatus == null || TaskStatus.equals("0") || TaskStatus.equals("D") || TaskStatus.equals("2") || TaskStatus.equals("8") || TaskStatus.equals("4") || TaskStatus.equals("6") || TaskStatus.equals("9") || TaskStatus.equals("A") || TaskStatus.equals("C")); else throw new IllegalArgumentException ("TaskStatus Invalid value - " + TaskStatus + " - Reference_ID=366 - 0 - D - 2 - 8 - 4 - 6 - 9 - A - C"); set_Value (COLUMNNAME_TaskStatus, TaskStatus); } /** Get Task Status. diff --git a/base/src/org/compiere/model/X_R_RequestAction.java b/base/src/org/compiere/model/X_R_RequestAction.java index 629efc2936..552d759512 100644 --- a/base/src/org/compiere/model/X_R_RequestAction.java +++ b/base/src/org/compiere/model/X_R_RequestAction.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for R_RequestAction * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persistent { @@ -75,6 +75,45 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return sb.toString(); } + public I_A_Asset getA_Asset() throws Exception + { + Class clazz = MTable.getClass(I_A_Asset.Table_Name); + I_A_Asset result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_A_Asset)constructor.newInstance(new Object[] {getCtx(), new Integer(getA_Asset_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Asset. + @param A_Asset_ID + Asset used internally or by customers + */ + public void setA_Asset_ID (int A_Asset_ID) + { + if (A_Asset_ID < 1) + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); + else + set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); + } + + /** Get Asset. + @return Asset used internally or by customers + */ + public int getA_Asset_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_Role getAD_Role() throws Exception { Class clazz = MTable.getClass(I_AD_Role.Table_Name); @@ -153,45 +192,6 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - public I_A_Asset getA_Asset() throws Exception - { - Class clazz = MTable.getClass(I_A_Asset.Table_Name); - I_A_Asset result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_A_Asset)constructor.newInstance(new Object[] {getCtx(), new Integer(getA_Asset_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Asset. - @param A_Asset_ID - Asset used internally or by customers - */ - public void setA_Asset_ID (int A_Asset_ID) - { - if (A_Asset_ID < 1) - set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); - else - set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); - } - - /** Get Asset. - @return Asset used internally or by customers - */ - public int getA_Asset_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Activity getC_Activity() throws Exception { Class clazz = MTable.getClass(I_C_Activity.Table_Name); @@ -309,6 +309,34 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } + /** ConfidentialType AD_Reference_ID=340 */ + public static final int CONFIDENTIALTYPE_AD_Reference_ID=340; + /** Public Information = A */ + public static final String CONFIDENTIALTYPE_PublicInformation = "A"; + /** Partner Confidential = C */ + public static final String CONFIDENTIALTYPE_PartnerConfidential = "C"; + /** Internal = I */ + public static final String CONFIDENTIALTYPE_Internal = "I"; + /** Private Information = P */ + public static final String CONFIDENTIALTYPE_PrivateInformation = "P"; + /** Set Confidentiality. + @param ConfidentialType + Type of Confidentiality + */ + public void setConfidentialType (String ConfidentialType) + { + + if (ConfidentialType == null || ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); set_ValueNoCheck (COLUMNNAME_ConfidentialType, ConfidentialType); + } + + /** Get Confidentiality. + @return Type of Confidentiality + */ + public String getConfidentialType () + { + return (String)get_Value(COLUMNNAME_ConfidentialType); + } + public I_C_Order getC_Order() throws Exception { Class clazz = MTable.getClass(I_C_Order.Table_Name); @@ -426,40 +454,6 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - /** ConfidentialType AD_Reference_ID=340 */ - public static final int CONFIDENTIALTYPE_AD_Reference_ID=340; - /** Public Information = A */ - public static final String CONFIDENTIALTYPE_PublicInformation = "A"; - /** Partner Confidential = C */ - public static final String CONFIDENTIALTYPE_PartnerConfidential = "C"; - /** Internal = I */ - public static final String CONFIDENTIALTYPE_Internal = "I"; - /** Private Information = P */ - public static final String CONFIDENTIALTYPE_PrivateInformation = "P"; - /** Set Confidentiality. - @param ConfidentialType - Type of Confidentiality - */ - public void setConfidentialType (String ConfidentialType) - { - - if (ConfidentialType == null || ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); - if (ConfidentialType != null && ConfidentialType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConfidentialType = ConfidentialType.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_ConfidentialType, ConfidentialType); - } - - /** Get Confidentiality. - @return Type of Confidentiality - */ - public String getConfidentialType () - { - return (String)get_Value(COLUMNNAME_ConfidentialType); - } - /** Set Complete Plan. @param DateCompletePlan Planned Completion Date @@ -541,13 +535,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis public void setIsEscalated (String IsEscalated) { - if (IsEscalated == null || IsEscalated.equals("Y") || IsEscalated.equals("N")); else throw new IllegalArgumentException ("IsEscalated Invalid value - " + IsEscalated + " - Reference_ID=319 - Y - N"); - if (IsEscalated != null && IsEscalated.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsEscalated = IsEscalated.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_IsEscalated, IsEscalated); + if (IsEscalated == null || IsEscalated.equals("Y") || IsEscalated.equals("N")); else throw new IllegalArgumentException ("IsEscalated Invalid value - " + IsEscalated + " - Reference_ID=319 - Y - N"); set_ValueNoCheck (COLUMNNAME_IsEscalated, IsEscalated); } /** Get Escalated. @@ -571,13 +559,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis public void setIsInvoiced (String IsInvoiced) { - if (IsInvoiced == null || IsInvoiced.equals("Y") || IsInvoiced.equals("N")); else throw new IllegalArgumentException ("IsInvoiced Invalid value - " + IsInvoiced + " - Reference_ID=319 - Y - N"); - if (IsInvoiced != null && IsInvoiced.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsInvoiced = IsInvoiced.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_IsInvoiced, IsInvoiced); + if (IsInvoiced == null || IsInvoiced.equals("Y") || IsInvoiced.equals("N")); else throw new IllegalArgumentException ("IsInvoiced Invalid value - " + IsInvoiced + " - Reference_ID=319 - Y - N"); set_ValueNoCheck (COLUMNNAME_IsInvoiced, IsInvoiced); } /** Get Invoiced. @@ -601,13 +583,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis public void setIsSelfService (String IsSelfService) { - if (IsSelfService == null || IsSelfService.equals("Y") || IsSelfService.equals("N")); else throw new IllegalArgumentException ("IsSelfService Invalid value - " + IsSelfService + " - Reference_ID=319 - Y - N"); - if (IsSelfService != null && IsSelfService.length() > 1) - { - log.warning("Length > 1 - truncated"); - IsSelfService = IsSelfService.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_IsSelfService, IsSelfService); + if (IsSelfService == null || IsSelfService.equals("Y") || IsSelfService.equals("N")); else throw new IllegalArgumentException ("IsSelfService Invalid value - " + IsSelfService + " - Reference_ID=319 - Y - N"); set_ValueNoCheck (COLUMNNAME_IsSelfService, IsSelfService); } /** Get Self-Service. @@ -657,31 +633,6 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - /** M_ProductSpent_ID AD_Reference_ID=162 */ - public static final int M_PRODUCTSPENT_ID_AD_Reference_ID=162; - /** Set Product Used. - @param M_ProductSpent_ID - Product/Resource/Service used in Request - */ - public void setM_ProductSpent_ID (int M_ProductSpent_ID) - { - if (M_ProductSpent_ID < 1) - set_Value (COLUMNNAME_M_ProductSpent_ID, null); - else - set_Value (COLUMNNAME_M_ProductSpent_ID, Integer.valueOf(M_ProductSpent_ID)); - } - - /** Get Product Used. - @return Product/Resource/Service used in Request - */ - public int getM_ProductSpent_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductSpent_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -721,6 +672,31 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } + /** M_ProductSpent_ID AD_Reference_ID=162 */ + public static final int M_PRODUCTSPENT_ID_AD_Reference_ID=162; + /** Set Product Used. + @param M_ProductSpent_ID + Product/Resource/Service used in Request + */ + public void setM_ProductSpent_ID (int M_ProductSpent_ID) + { + if (M_ProductSpent_ID < 1) + set_Value (COLUMNNAME_M_ProductSpent_ID, null); + else + set_Value (COLUMNNAME_M_ProductSpent_ID, Integer.valueOf(M_ProductSpent_ID)); + } + + /** Get Product Used. + @return Product/Resource/Service used in Request + */ + public int getM_ProductSpent_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductSpent_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_RMA getM_RMA() throws Exception { Class clazz = MTable.getClass(I_M_RMA.Table_Name); @@ -766,12 +742,6 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis */ public void setNullColumns (String NullColumns) { - - if (NullColumns != null && NullColumns.length() > 255) - { - log.warning("Length > 255 - truncated"); - NullColumns = NullColumns.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_NullColumns, NullColumns); } @@ -802,13 +772,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis public void setPriority (String Priority) { - if (Priority == null || Priority.equals("3") || Priority.equals("5") || Priority.equals("7") || Priority.equals("1") || Priority.equals("9")); else throw new IllegalArgumentException ("Priority Invalid value - " + Priority + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (Priority != null && Priority.length() > 1) - { - log.warning("Length > 1 - truncated"); - Priority = Priority.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_Priority, Priority); + if (Priority == null || Priority.equals("3") || Priority.equals("5") || Priority.equals("7") || Priority.equals("1") || Priority.equals("9")); else throw new IllegalArgumentException ("Priority Invalid value - " + Priority + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_ValueNoCheck (COLUMNNAME_Priority, Priority); } /** Get Priority. @@ -838,13 +802,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis public void setPriorityUser (String PriorityUser) { - if (PriorityUser == null || PriorityUser.equals("3") || PriorityUser.equals("5") || PriorityUser.equals("7") || PriorityUser.equals("1") || PriorityUser.equals("9")); else throw new IllegalArgumentException ("PriorityUser Invalid value - " + PriorityUser + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (PriorityUser != null && PriorityUser.length() > 1) - { - log.warning("Length > 1 - truncated"); - PriorityUser = PriorityUser.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_PriorityUser, PriorityUser); + if (PriorityUser == null || PriorityUser.equals("3") || PriorityUser.equals("5") || PriorityUser.equals("7") || PriorityUser.equals("1") || PriorityUser.equals("9")); else throw new IllegalArgumentException ("PriorityUser Invalid value - " + PriorityUser + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_ValueNoCheck (COLUMNNAME_PriorityUser, PriorityUser); } /** Get User Importance. @@ -1015,6 +973,44 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } + public I_R_Request getR_Request() throws Exception + { + Class clazz = MTable.getClass(I_R_Request.Table_Name); + I_R_Request result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_R_Request)constructor.newInstance(new Object[] {getCtx(), new Integer(getR_Request_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Request. + @param R_Request_ID + Request from a Business Partner or Prospect + */ + public void setR_Request_ID (int R_Request_ID) + { + if (R_Request_ID < 1) + throw new IllegalArgumentException ("R_Request_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_R_Request_ID, Integer.valueOf(R_Request_ID)); + } + + /** Get Request. + @return Request from a Business Partner or Prospect + */ + public int getR_Request_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_R_Request_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_R_RequestType getR_RequestType() throws Exception { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); @@ -1054,44 +1050,6 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - public I_R_Request getR_Request() throws Exception - { - Class clazz = MTable.getClass(I_R_Request.Table_Name); - I_R_Request result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_R_Request)constructor.newInstance(new Object[] {getCtx(), new Integer(getR_Request_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Request. - @param R_Request_ID - Request from a Business Partner or Prospect - */ - public void setR_Request_ID (int R_Request_ID) - { - if (R_Request_ID < 1) - throw new IllegalArgumentException ("R_Request_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_R_Request_ID, Integer.valueOf(R_Request_ID)); - } - - /** Get Request. - @return Request from a Business Partner or Prospect - */ - public int getR_Request_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_R_Request_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_R_Resolution getR_Resolution() throws Exception { Class clazz = MTable.getClass(I_R_Resolution.Table_Name); @@ -1218,12 +1176,6 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_ValueNoCheck (COLUMNNAME_Summary, Summary); } @@ -1262,13 +1214,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis public void setTaskStatus (String TaskStatus) { - if (TaskStatus == null || TaskStatus.equals("0") || TaskStatus.equals("D") || TaskStatus.equals("2") || TaskStatus.equals("8") || TaskStatus.equals("4") || TaskStatus.equals("6") || TaskStatus.equals("9") || TaskStatus.equals("A") || TaskStatus.equals("C")); else throw new IllegalArgumentException ("TaskStatus Invalid value - " + TaskStatus + " - Reference_ID=366 - 0 - D - 2 - 8 - 4 - 6 - 9 - A - C"); - if (TaskStatus != null && TaskStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - TaskStatus = TaskStatus.substring(0, 1); - } - set_Value (COLUMNNAME_TaskStatus, TaskStatus); + if (TaskStatus == null || TaskStatus.equals("0") || TaskStatus.equals("D") || TaskStatus.equals("2") || TaskStatus.equals("8") || TaskStatus.equals("4") || TaskStatus.equals("6") || TaskStatus.equals("9") || TaskStatus.equals("A") || TaskStatus.equals("C")); else throw new IllegalArgumentException ("TaskStatus Invalid value - " + TaskStatus + " - Reference_ID=366 - 0 - D - 2 - 8 - 4 - 6 - 9 - A - C"); set_Value (COLUMNNAME_TaskStatus, TaskStatus); } /** Get Task Status. diff --git a/base/src/org/compiere/model/X_R_RequestProcessor.java b/base/src/org/compiere/model/X_R_RequestProcessor.java index 3741db67f7..2f178f2e3b 100644 --- a/base/src/org/compiere/model/X_R_RequestProcessor.java +++ b/base/src/org/compiere/model/X_R_RequestProcessor.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestProcessor * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_Persistent { @@ -53,9 +53,9 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ // 0 setOverdueAssignDays (0); // 0 - setR_RequestProcessor_ID (0); setRemindDays (0); // 0 + setR_RequestProcessor_ID (0); setSupervisor_ID (0); } */ } @@ -128,12 +128,6 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -180,13 +174,7 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ public void setFrequencyType (String FrequencyType) { if (FrequencyType == null) throw new IllegalArgumentException ("FrequencyType is mandatory"); - if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); - if (FrequencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FrequencyType = FrequencyType.substring(0, 1); - } - set_Value (COLUMNNAME_FrequencyType, FrequencyType); + if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); set_Value (COLUMNNAME_FrequencyType, FrequencyType); } /** Get Frequency Type. @@ -245,12 +233,6 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -331,6 +313,26 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ return false; } + /** Set Reminder Days. + @param RemindDays + Days between sending Reminder Emails for a due or inactive Document + */ + public void setRemindDays (int RemindDays) + { + set_Value (COLUMNNAME_RemindDays, Integer.valueOf(RemindDays)); + } + + /** Get Reminder Days. + @return Days between sending Reminder Emails for a due or inactive Document + */ + public int getRemindDays () + { + Integer ii = (Integer)get_Value(COLUMNNAME_RemindDays); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Request Processor. @param R_RequestProcessor_ID Processor for Requests @@ -392,26 +394,6 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ return ii.intValue(); } - /** Set Reminder Days. - @param RemindDays - Days between sending Reminder Emails for a due or inactive Document - */ - public void setRemindDays (int RemindDays) - { - set_Value (COLUMNNAME_RemindDays, Integer.valueOf(RemindDays)); - } - - /** Get Reminder Days. - @return Days between sending Reminder Emails for a due or inactive Document - */ - public int getRemindDays () - { - Integer ii = (Integer)get_Value(COLUMNNAME_RemindDays); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Supervisor_ID AD_Reference_ID=286 */ public static final int SUPERVISOR_ID_AD_Reference_ID=286; /** Set Supervisor. diff --git a/base/src/org/compiere/model/X_R_RequestProcessorLog.java b/base/src/org/compiere/model/X_R_RequestProcessorLog.java index b8a03e0358..aa688cbb49 100644 --- a/base/src/org/compiere/model/X_R_RequestProcessorLog.java +++ b/base/src/org/compiere/model/X_R_RequestProcessorLog.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_RequestProcessorLog * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorLog, I_Persistent { @@ -40,8 +40,8 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL /** if (R_RequestProcessorLog_ID == 0) { setIsError (false); - setR_RequestProcessorLog_ID (0); setR_RequestProcessor_ID (0); + setR_RequestProcessorLog_ID (0); } */ } @@ -96,12 +96,6 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -137,26 +131,21 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL return false; } - /** Set Request Processor Log. - @param R_RequestProcessorLog_ID - Result of the execution of the Request Processor + /** Set Reference. + @param Reference + Reference for this record */ - public void setR_RequestProcessorLog_ID (int R_RequestProcessorLog_ID) + public void setReference (String Reference) { - if (R_RequestProcessorLog_ID < 1) - throw new IllegalArgumentException ("R_RequestProcessorLog_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_R_RequestProcessorLog_ID, Integer.valueOf(R_RequestProcessorLog_ID)); + set_Value (COLUMNNAME_Reference, Reference); } - /** Get Request Processor Log. - @return Result of the execution of the Request Processor + /** Get Reference. + @return Reference for this record */ - public int getR_RequestProcessorLog_ID () + public String getReference () { - Integer ii = (Integer)get_Value(COLUMNNAME_R_RequestProcessorLog_ID); - if (ii == null) - return 0; - return ii.intValue(); + return (String)get_Value(COLUMNNAME_Reference); } public I_R_RequestProcessor getR_RequestProcessor() throws Exception @@ -197,27 +186,26 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL return ii.intValue(); } - /** Set Reference. - @param Reference - Reference for this record + /** Set Request Processor Log. + @param R_RequestProcessorLog_ID + Result of the execution of the Request Processor */ - public void setReference (String Reference) + public void setR_RequestProcessorLog_ID (int R_RequestProcessorLog_ID) { - - if (Reference != null && Reference.length() > 60) - { - log.warning("Length > 60 - truncated"); - Reference = Reference.substring(0, 60); - } - set_Value (COLUMNNAME_Reference, Reference); + if (R_RequestProcessorLog_ID < 1) + throw new IllegalArgumentException ("R_RequestProcessorLog_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_R_RequestProcessorLog_ID, Integer.valueOf(R_RequestProcessorLog_ID)); } - /** Get Reference. - @return Reference for this record + /** Get Request Processor Log. + @return Result of the execution of the Request Processor */ - public String getReference () + public int getR_RequestProcessorLog_ID () { - return (String)get_Value(COLUMNNAME_Reference); + Integer ii = (Integer)get_Value(COLUMNNAME_R_RequestProcessorLog_ID); + if (ii == null) + return 0; + return ii.intValue(); } /** Set Summary. @@ -226,12 +214,6 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_Value (COLUMNNAME_Summary, Summary); } @@ -249,12 +231,6 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/compiere/model/X_R_RequestProcessor_Route.java b/base/src/org/compiere/model/X_R_RequestProcessor_Route.java index c4aab12943..5e69330c05 100644 --- a/base/src/org/compiere/model/X_R_RequestProcessor_Route.java +++ b/base/src/org/compiere/model/X_R_RequestProcessor_Route.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestProcessor_Route * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcessor_Route, I_Persistent { @@ -119,12 +119,6 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess */ public void setKeyword (String Keyword) { - - if (Keyword != null && Keyword.length() > 60) - { - log.warning("Length > 60 - truncated"); - Keyword = Keyword.substring(0, 60); - } set_Value (COLUMNNAME_Keyword, Keyword); } diff --git a/base/src/org/compiere/model/X_R_RequestType.java b/base/src/org/compiere/model/X_R_RequestType.java index e2a69a465e..1bbde367cc 100644 --- a/base/src/org/compiere/model/X_R_RequestType.java +++ b/base/src/org/compiere/model/X_R_RequestType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent { @@ -125,13 +125,7 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent public void setConfidentialType (String ConfidentialType) { if (ConfidentialType == null) throw new IllegalArgumentException ("ConfidentialType is mandatory"); - if (ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); - if (ConfidentialType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConfidentialType = ConfidentialType.substring(0, 1); - } - set_Value (COLUMNNAME_ConfidentialType, ConfidentialType); + if (ConfidentialType.equals("A") || ConfidentialType.equals("C") || ConfidentialType.equals("I") || ConfidentialType.equals("P")); else throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); set_Value (COLUMNNAME_ConfidentialType, ConfidentialType); } /** Get Confidentiality. @@ -148,12 +142,6 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -385,12 +373,6 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_R_RequestTypeUpdates.java b/base/src/org/compiere/model/X_R_RequestTypeUpdates.java index 5e72640f11..0d999a3395 100644 --- a/base/src/org/compiere/model/X_R_RequestTypeUpdates.java +++ b/base/src/org/compiere/model/X_R_RequestTypeUpdates.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_RequestTypeUpdates * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_RequestUpdate.java b/base/src/org/compiere/model/X_R_RequestUpdate.java index ddc7b3b058..0df6e7f377 100644 --- a/base/src/org/compiere/model/X_R_RequestUpdate.java +++ b/base/src/org/compiere/model/X_R_RequestUpdate.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestUpdate * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persistent { @@ -44,8 +44,8 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persis /** if (R_RequestUpdate_ID == 0) { setConfidentialTypeEntry (null); - setR_RequestUpdate_ID (0); setR_Request_ID (0); + setR_RequestUpdate_ID (0); } */ } @@ -94,13 +94,7 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persis public void setConfidentialTypeEntry (String ConfidentialTypeEntry) { if (ConfidentialTypeEntry == null) throw new IllegalArgumentException ("ConfidentialTypeEntry is mandatory"); - if (ConfidentialTypeEntry.equals("A") || ConfidentialTypeEntry.equals("C") || ConfidentialTypeEntry.equals("I") || ConfidentialTypeEntry.equals("P")); else throw new IllegalArgumentException ("ConfidentialTypeEntry Invalid value - " + ConfidentialTypeEntry + " - Reference_ID=340 - A - C - I - P"); - if (ConfidentialTypeEntry.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConfidentialTypeEntry = ConfidentialTypeEntry.substring(0, 1); - } - set_Value (COLUMNNAME_ConfidentialTypeEntry, ConfidentialTypeEntry); + if (ConfidentialTypeEntry.equals("A") || ConfidentialTypeEntry.equals("C") || ConfidentialTypeEntry.equals("I") || ConfidentialTypeEntry.equals("P")); else throw new IllegalArgumentException ("ConfidentialTypeEntry Invalid value - " + ConfidentialTypeEntry + " - Reference_ID=340 - A - C - I - P"); set_Value (COLUMNNAME_ConfidentialTypeEntry, ConfidentialTypeEntry); } /** Get Entry Confidentiality. @@ -193,36 +187,23 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persis return bd; } - /** Set Request Update. - @param R_RequestUpdate_ID - Request Updates + /** Set Result. + @param Result + Result of the action taken */ - public void setR_RequestUpdate_ID (int R_RequestUpdate_ID) + public void setResult (String Result) { - if (R_RequestUpdate_ID < 1) - throw new IllegalArgumentException ("R_RequestUpdate_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_R_RequestUpdate_ID, Integer.valueOf(R_RequestUpdate_ID)); + set_ValueNoCheck (COLUMNNAME_Result, Result); } - /** Get Request Update. - @return Request Updates + /** Get Result. + @return Result of the action taken */ - public int getR_RequestUpdate_ID () + public String getResult () { - Integer ii = (Integer)get_Value(COLUMNNAME_R_RequestUpdate_ID); - if (ii == null) - return 0; - return ii.intValue(); + return (String)get_Value(COLUMNNAME_Result); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getR_RequestUpdate_ID())); - } - public I_R_Request getR_Request() throws Exception { Class clazz = MTable.getClass(I_R_Request.Table_Name); @@ -261,29 +242,36 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persis return ii.intValue(); } - /** Set Result. - @param Result - Result of the action taken + /** Set Request Update. + @param R_RequestUpdate_ID + Request Updates */ - public void setResult (String Result) + public void setR_RequestUpdate_ID (int R_RequestUpdate_ID) { - - if (Result != null && Result.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Result = Result.substring(0, 2000); - } - set_ValueNoCheck (COLUMNNAME_Result, Result); + if (R_RequestUpdate_ID < 1) + throw new IllegalArgumentException ("R_RequestUpdate_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_R_RequestUpdate_ID, Integer.valueOf(R_RequestUpdate_ID)); } - /** Get Result. - @return Result of the action taken + /** Get Request Update. + @return Request Updates */ - public String getResult () + public int getR_RequestUpdate_ID () { - return (String)get_Value(COLUMNNAME_Result); + Integer ii = (Integer)get_Value(COLUMNNAME_R_RequestUpdate_ID); + if (ii == null) + return 0; + return ii.intValue(); } + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getR_RequestUpdate_ID())); + } + /** Set Start Time. @param StartTime Time started diff --git a/base/src/org/compiere/model/X_R_RequestUpdates.java b/base/src/org/compiere/model/X_R_RequestUpdates.java index 8c45785c4c..caf6d77b28 100644 --- a/base/src/org/compiere/model/X_R_RequestUpdates.java +++ b/base/src/org/compiere/model/X_R_RequestUpdates.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_RequestUpdates * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_Resolution.java b/base/src/org/compiere/model/X_R_Resolution.java index 3cf1bb94c0..3c8041d77f 100644 --- a/base/src/org/compiere/model/X_R_Resolution.java +++ b/base/src/org/compiere/model/X_R_Resolution.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Resolution * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent { @@ -77,12 +77,6 @@ public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -100,12 +94,6 @@ public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -125,12 +113,6 @@ public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_R_StandardResponse.java b/base/src/org/compiere/model/X_R_StandardResponse.java index 6731793b61..9b3672e042 100644 --- a/base/src/org/compiere/model/X_R_StandardResponse.java +++ b/base/src/org/compiere/model/X_R_StandardResponse.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_StandardResponse * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_Persistent { @@ -39,8 +39,8 @@ public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_ /** if (R_StandardResponse_ID == 0) { setName (null); - setR_StandardResponse_ID (0); setResponseText (null); + setR_StandardResponse_ID (0); } */ } @@ -80,12 +80,6 @@ public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -105,6 +99,25 @@ public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_ return new KeyNamePair(get_ID(), getName()); } + /** Set Response Text. + @param ResponseText + Request Response Text + */ + public void setResponseText (String ResponseText) + { + if (ResponseText == null) + throw new IllegalArgumentException ("ResponseText is mandatory."); + set_Value (COLUMNNAME_ResponseText, ResponseText); + } + + /** Get Response Text. + @return Request Response Text + */ + public String getResponseText () + { + return (String)get_Value(COLUMNNAME_ResponseText); + } + /** Set Standard Response. @param R_StandardResponse_ID Request Standard Response @@ -126,29 +139,4 @@ public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_ return 0; return ii.intValue(); } - - /** Set Response Text. - @param ResponseText - Request Response Text - */ - public void setResponseText (String ResponseText) - { - if (ResponseText == null) - throw new IllegalArgumentException ("ResponseText is mandatory."); - - if (ResponseText.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - ResponseText = ResponseText.substring(0, 2000); - } - set_Value (COLUMNNAME_ResponseText, ResponseText); - } - - /** Get Response Text. - @return Request Response Text - */ - public String getResponseText () - { - return (String)get_Value(COLUMNNAME_ResponseText); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_R_Status.java b/base/src/org/compiere/model/X_R_Status.java index ada9b4a5a4..b41d610f6f 100644 --- a/base/src/org/compiere/model/X_R_Status.java +++ b/base/src/org/compiere/model/X_R_Status.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Status * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_Status extends PO implements I_R_Status, I_Persistent { @@ -89,12 +89,6 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -112,12 +106,6 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -257,12 +245,6 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -440,12 +422,6 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_R_StatusCategory.java b/base/src/org/compiere/model/X_R_StatusCategory.java index e883afc93b..7d08b6b1cc 100644 --- a/base/src/org/compiere/model/X_R_StatusCategory.java +++ b/base/src/org/compiere/model/X_R_StatusCategory.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_StatusCategory * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Persistent { @@ -78,12 +78,6 @@ public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -101,12 +95,6 @@ public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Pers */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -150,12 +138,6 @@ public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Pers { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_S_ExpenseType.java b/base/src/org/compiere/model/X_S_ExpenseType.java index 43deb525cc..3bca26643b 100644 --- a/base/src/org/compiere/model/X_S_ExpenseType.java +++ b/base/src/org/compiere/model/X_S_ExpenseType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_ExpenseType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent { @@ -160,12 +160,6 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -247,12 +241,6 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -302,12 +290,6 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_S_Resource.java b/base/src/org/compiere/model/X_S_Resource.java index 8c4197daf7..1cc1925e8a 100644 --- a/base/src/org/compiere/model/X_S_Resource.java +++ b/base/src/org/compiere/model/X_S_Resource.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_Resource * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent { @@ -46,8 +46,8 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent // Y setM_Warehouse_ID (0); setName (null); - setS_ResourceType_ID (0); setS_Resource_ID (0); + setS_ResourceType_ID (0); setValue (null); } */ } @@ -159,12 +159,6 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -200,15 +194,15 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return false; } - /** Set IsManufacturingResource. - @param IsManufacturingResource IsManufacturingResource */ + /** Set Manufacturing Resource. + @param IsManufacturingResource Manufacturing Resource */ public void setIsManufacturingResource (boolean IsManufacturingResource) { set_Value (COLUMNNAME_IsManufacturingResource, Boolean.valueOf(IsManufacturingResource)); } - /** Get IsManufacturingResource. - @return IsManufacturingResource */ + /** Get Manufacturing Resource. + @return Manufacturing Resource */ public boolean isManufacturingResource () { Object oo = get_Value(COLUMNNAME_IsManufacturingResource); @@ -221,6 +215,31 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return false; } + /** ManufacturingResourceType AD_Reference_ID=53223 */ + public static final int MANUFACTURINGRESOURCETYPE_AD_Reference_ID=53223; + /** Production Line = PL */ + public static final String MANUFACTURINGRESOURCETYPE_ProductionLine = "PL"; + /** Plant = PT */ + public static final String MANUFACTURINGRESOURCETYPE_Plant = "PT"; + /** Work Center = WC */ + public static final String MANUFACTURINGRESOURCETYPE_WorkCenter = "WC"; + /** Work Station = WS */ + public static final String MANUFACTURINGRESOURCETYPE_WorkStation = "WS"; + /** Set Manufacturing Resource Type. + @param ManufacturingResourceType Manufacturing Resource Type */ + public void setManufacturingResourceType (String ManufacturingResourceType) + { + + if (ManufacturingResourceType == null || ManufacturingResourceType.equals("PL") || ManufacturingResourceType.equals("PT") || ManufacturingResourceType.equals("WC") || ManufacturingResourceType.equals("WS")); else throw new IllegalArgumentException ("ManufacturingResourceType Invalid value - " + ManufacturingResourceType + " - Reference_ID=53223 - PL - PT - WC - WS"); set_Value (COLUMNNAME_ManufacturingResourceType, ManufacturingResourceType); + } + + /** Get Manufacturing Resource Type. + @return Manufacturing Resource Type */ + public String getManufacturingResourceType () + { + return (String)get_Value(COLUMNNAME_ManufacturingResourceType); + } + public I_M_Warehouse getM_Warehouse() throws Exception { Class clazz = MTable.getClass(I_M_Warehouse.Table_Name); @@ -259,37 +278,6 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return ii.intValue(); } - /** ManufacturingResourceType AD_Reference_ID=53223 */ - public static final int MANUFACTURINGRESOURCETYPE_AD_Reference_ID=53223; - /** Production Line = PL */ - public static final String MANUFACTURINGRESOURCETYPE_ProductionLine = "PL"; - /** Plant = PT */ - public static final String MANUFACTURINGRESOURCETYPE_Plant = "PT"; - /** Work Center = WC */ - public static final String MANUFACTURINGRESOURCETYPE_WorkCenter = "WC"; - /** Work Station = WS */ - public static final String MANUFACTURINGRESOURCETYPE_WorkStation = "WS"; - /** Set ManufacturingResourceType. - @param ManufacturingResourceType ManufacturingResourceType */ - public void setManufacturingResourceType (String ManufacturingResourceType) - { - - if (ManufacturingResourceType == null || ManufacturingResourceType.equals("PL") || ManufacturingResourceType.equals("PT") || ManufacturingResourceType.equals("WC") || ManufacturingResourceType.equals("WS")); else throw new IllegalArgumentException ("ManufacturingResourceType Invalid value - " + ManufacturingResourceType + " - Reference_ID=53223 - PL - PT - WC - WS"); - if (ManufacturingResourceType != null && ManufacturingResourceType.length() > 2) - { - log.warning("Length > 2 - truncated"); - ManufacturingResourceType = ManufacturingResourceType.substring(0, 2); - } - set_Value (COLUMNNAME_ManufacturingResourceType, ManufacturingResourceType); - } - - /** Get ManufacturingResourceType. - @return ManufacturingResourceType */ - public String getManufacturingResourceType () - { - return (String)get_Value(COLUMNNAME_ManufacturingResourceType); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -298,12 +286,6 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -377,6 +359,28 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return bd; } + /** Set Resource. + @param S_Resource_ID + Resource + */ + public void setS_Resource_ID (int S_Resource_ID) + { + if (S_Resource_ID < 1) + throw new IllegalArgumentException ("S_Resource_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID)); + } + + /** Get Resource. + @return Resource + */ + public int getS_Resource_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_S_ResourceType getS_ResourceType() throws Exception { Class clazz = MTable.getClass(I_S_ResourceType.Table_Name); @@ -412,28 +416,6 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return ii.intValue(); } - /** Set Resource. - @param S_Resource_ID - Resource - */ - public void setS_Resource_ID (int S_Resource_ID) - { - if (S_Resource_ID < 1) - throw new IllegalArgumentException ("S_Resource_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID)); - } - - /** Get Resource. - @return Resource - */ - public int getS_Resource_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Search Key. @param Value Search key for the record in the format required - must be unique @@ -442,12 +424,6 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_S_ResourceAssignment.java b/base/src/org/compiere/model/X_S_ResourceAssignment.java index 06cc1cec65..a3032c6d45 100644 --- a/base/src/org/compiere/model/X_S_ResourceAssignment.java +++ b/base/src/org/compiere/model/X_S_ResourceAssignment.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_ResourceAssignment * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment, I_Persistent { @@ -43,7 +43,7 @@ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment super (ctx, S_ResourceAssignment_ID, trxName); /** if (S_ResourceAssignment_ID == 0) { - setAssignDateFrom (new Timestamp(System.currentTimeMillis())); + setAssignDateFrom (new Timestamp( System.currentTimeMillis() )); setIsConfirmed (false); setName (null); setS_ResourceAssignment_ID (0); @@ -121,12 +121,6 @@ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -170,12 +164,6 @@ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_S_ResourceType.java b/base/src/org/compiere/model/X_S_ResourceType.java index 3f0f115e93..e7ebb5cd02 100644 --- a/base/src/org/compiere/model/X_S_ResourceType.java +++ b/base/src/org/compiere/model/X_S_ResourceType.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_ResourceType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persistent { @@ -119,6 +119,23 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste return false; } + /** Set Chargeable Quantity. + @param ChargeableQty Chargeable Quantity */ + public void setChargeableQty (int ChargeableQty) + { + set_Value (COLUMNNAME_ChargeableQty, Integer.valueOf(ChargeableQty)); + } + + /** Get Chargeable Quantity. + @return Chargeable Quantity */ + public int getChargeableQty () + { + Integer ii = (Integer)get_Value(COLUMNNAME_ChargeableQty); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_TaxCategory getC_TaxCategory() throws Exception { Class clazz = MTable.getClass(I_C_TaxCategory.Table_Name); @@ -195,35 +212,12 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste return ii.intValue(); } - /** Set Chargeable Quantity. - @param ChargeableQty Chargeable Quantity */ - public void setChargeableQty (int ChargeableQty) - { - set_Value (COLUMNNAME_ChargeableQty, Integer.valueOf(ChargeableQty)); - } - - /** Get Chargeable Quantity. - @return Chargeable Quantity */ - public int getChargeableQty () - { - Integer ii = (Integer)get_Value(COLUMNNAME_ChargeableQty); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -353,12 +347,6 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -607,12 +595,6 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/compiere/model/X_S_ResourceUnAvailable.java b/base/src/org/compiere/model/X_S_ResourceUnAvailable.java index 7aa06436aa..b3e5f47c71 100644 --- a/base/src/org/compiere/model/X_S_ResourceUnAvailable.java +++ b/base/src/org/compiere/model/X_S_ResourceUnAvailable.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_ResourceUnAvailable * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailable, I_Persistent { @@ -41,9 +41,9 @@ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailab super (ctx, S_ResourceUnAvailable_ID, trxName); /** if (S_ResourceUnAvailable_ID == 0) { - setDateFrom (new Timestamp(System.currentTimeMillis())); - setS_ResourceUnAvailable_ID (0); + setDateFrom (new Timestamp( System.currentTimeMillis() )); setS_Resource_ID (0); + setS_ResourceUnAvailable_ID (0); } */ } @@ -117,12 +117,6 @@ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailab */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -134,25 +128,6 @@ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailab return (String)get_Value(COLUMNNAME_Description); } - /** Set Resource Unavailability. - @param S_ResourceUnAvailable_ID Resource Unavailability */ - public void setS_ResourceUnAvailable_ID (int S_ResourceUnAvailable_ID) - { - if (S_ResourceUnAvailable_ID < 1) - throw new IllegalArgumentException ("S_ResourceUnAvailable_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_S_ResourceUnAvailable_ID, Integer.valueOf(S_ResourceUnAvailable_ID)); - } - - /** Get Resource Unavailability. - @return Resource Unavailability */ - public int getS_ResourceUnAvailable_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_S_ResourceUnAvailable_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_S_Resource getS_Resource() throws Exception { Class clazz = MTable.getClass(I_S_Resource.Table_Name); @@ -198,4 +173,23 @@ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailab { return new KeyNamePair(get_ID(), String.valueOf(getS_Resource_ID())); } + + /** Set Resource Unavailability. + @param S_ResourceUnAvailable_ID Resource Unavailability */ + public void setS_ResourceUnAvailable_ID (int S_ResourceUnAvailable_ID) + { + if (S_ResourceUnAvailable_ID < 1) + throw new IllegalArgumentException ("S_ResourceUnAvailable_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_S_ResourceUnAvailable_ID, Integer.valueOf(S_ResourceUnAvailable_ID)); + } + + /** Get Resource Unavailability. + @return Resource Unavailability */ + public int getS_ResourceUnAvailable_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_S_ResourceUnAvailable_ID); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_S_TimeExpense.java b/base/src/org/compiere/model/X_S_TimeExpense.java index 871ebf5141..cf612353a8 100644 --- a/base/src/org/compiere/model/X_S_TimeExpense.java +++ b/base/src/org/compiere/model/X_S_TimeExpense.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_TimeExpense * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent { @@ -44,7 +44,7 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent /** if (S_TimeExpense_ID == 0) { setC_BPartner_ID (0); - setDateReport (new Timestamp(System.currentTimeMillis())); + setDateReport (new Timestamp( System.currentTimeMillis() )); // @#Date@ setDocAction (null); // CO @@ -156,12 +156,6 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -210,13 +204,7 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -260,13 +248,7 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -285,12 +267,6 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } diff --git a/base/src/org/compiere/model/X_S_TimeExpenseLine.java b/base/src/org/compiere/model/X_S_TimeExpenseLine.java index e28310f391..a3d12dda0f 100644 --- a/base/src/org/compiere/model/X_S_TimeExpenseLine.java +++ b/base/src/org/compiere/model/X_S_TimeExpenseLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_TimeExpenseLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Persistent { @@ -43,15 +43,15 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe super (ctx, S_TimeExpenseLine_ID, trxName); /** if (S_TimeExpenseLine_ID == 0) { - setDateExpense (new Timestamp(System.currentTimeMillis())); + setDateExpense (new Timestamp( System.currentTimeMillis() )); // @DateExpense@;@DateReport@ setIsInvoiced (false); setIsTimeReport (false); setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM S_TimeExpenseLine WHERE S_TimeExpense_ID=@S_TimeExpense_ID@ setProcessed (false); - setS_TimeExpenseLine_ID (0); setS_TimeExpense_ID (0); + setS_TimeExpenseLine_ID (0); } */ } @@ -278,6 +278,26 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe return ii.intValue(); } + /** Set Converted Amount. + @param ConvertedAmt + Converted Amount + */ + public void setConvertedAmt (BigDecimal ConvertedAmt) + { + set_Value (COLUMNNAME_ConvertedAmt, ConvertedAmt); + } + + /** Get Converted Amount. + @return Converted Amount + */ + public BigDecimal getConvertedAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConvertedAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_OrderLine getC_OrderLine() throws Exception { Class clazz = MTable.getClass(I_C_OrderLine.Table_Name); @@ -317,6 +337,45 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe return ii.intValue(); } + public I_C_Project getC_Project() throws Exception + { + Class clazz = MTable.getClass(I_C_Project.Table_Name); + I_C_Project result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project. + @param C_Project_ID + Financial Project + */ + public void setC_Project_ID (int C_Project_ID) + { + if (C_Project_ID < 1) + set_Value (COLUMNNAME_C_Project_ID, null); + else + set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); + } + + /** Get Project. + @return Financial Project + */ + public int getC_Project_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_ProjectPhase getC_ProjectPhase() throws Exception { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); @@ -395,45 +454,6 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe return ii.intValue(); } - public I_C_Project getC_Project() throws Exception - { - Class clazz = MTable.getClass(I_C_Project.Table_Name); - I_C_Project result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Project. - @param C_Project_ID - Financial Project - */ - public void setC_Project_ID (int C_Project_ID) - { - if (C_Project_ID < 1) - set_Value (COLUMNNAME_C_Project_ID, null); - else - set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); - } - - /** Get Project. - @return Financial Project - */ - public int getC_Project_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_UOM getC_UOM() throws Exception { Class clazz = MTable.getClass(I_C_UOM.Table_Name); @@ -473,26 +493,6 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe return ii.intValue(); } - /** Set Converted Amount. - @param ConvertedAmt - Converted Amount - */ - public void setConvertedAmt (BigDecimal ConvertedAmt) - { - set_Value (COLUMNNAME_ConvertedAmt, ConvertedAmt); - } - - /** Get Converted Amount. - @return Converted Amount - */ - public BigDecimal getConvertedAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConvertedAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Expense Date. @param DateExpense Date of expense @@ -518,12 +518,6 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -696,12 +690,6 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe */ public void setNote (String Note) { - - if (Note != null && Note.length() > 255) - { - log.warning("Length > 255 - truncated"); - Note = Note.substring(0, 255); - } set_Value (COLUMNNAME_Note, Note); } @@ -860,28 +848,6 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe return ii.intValue(); } - /** Set Expense Line. - @param S_TimeExpenseLine_ID - Time and Expense Report Line - */ - public void setS_TimeExpenseLine_ID (int S_TimeExpenseLine_ID) - { - if (S_TimeExpenseLine_ID < 1) - throw new IllegalArgumentException ("S_TimeExpenseLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_S_TimeExpenseLine_ID, Integer.valueOf(S_TimeExpenseLine_ID)); - } - - /** Get Expense Line. - @return Time and Expense Report Line - */ - public int getS_TimeExpenseLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_S_TimeExpenseLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_S_TimeExpense getS_TimeExpense() throws Exception { Class clazz = MTable.getClass(I_S_TimeExpense.Table_Name); @@ -920,6 +886,28 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe return ii.intValue(); } + /** Set Expense Line. + @param S_TimeExpenseLine_ID + Time and Expense Report Line + */ + public void setS_TimeExpenseLine_ID (int S_TimeExpenseLine_ID) + { + if (S_TimeExpenseLine_ID < 1) + throw new IllegalArgumentException ("S_TimeExpenseLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_S_TimeExpenseLine_ID, Integer.valueOf(S_TimeExpenseLine_ID)); + } + + /** Get Expense Line. + @return Time and Expense Report Line + */ + public int getS_TimeExpenseLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_S_TimeExpenseLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_S_TimeType getS_TimeType() throws Exception { Class clazz = MTable.getClass(I_S_TimeType.Table_Name); diff --git a/base/src/org/compiere/model/X_S_TimeType.java b/base/src/org/compiere/model/X_S_TimeType.java index 053c6ec7d9..7ccb031283 100644 --- a/base/src/org/compiere/model/X_S_TimeType.java +++ b/base/src/org/compiere/model/X_S_TimeType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_TimeType * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent { @@ -77,12 +77,6 @@ public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -100,12 +94,6 @@ public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -125,12 +113,6 @@ public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_S_Training.java b/base/src/org/compiere/model/X_S_Training.java index a658eb40b6..37dbde6563 100644 --- a/base/src/org/compiere/model/X_S_Training.java +++ b/base/src/org/compiere/model/X_S_Training.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_Training * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_Training extends PO implements I_S_Training, I_Persistent { @@ -158,12 +158,6 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -181,12 +175,6 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent */ public void setDescriptionURL (String DescriptionURL) { - - if (DescriptionURL != null && DescriptionURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - DescriptionURL = DescriptionURL.substring(0, 120); - } set_Value (COLUMNNAME_DescriptionURL, DescriptionURL); } @@ -204,12 +192,6 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent */ public void setDocumentNote (String DocumentNote) { - - if (DocumentNote != null && DocumentNote.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - DocumentNote = DocumentNote.substring(0, 2000); - } set_Value (COLUMNNAME_DocumentNote, DocumentNote); } @@ -227,12 +209,6 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -250,12 +226,6 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent */ public void setImageURL (String ImageURL) { - - if (ImageURL != null && ImageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - ImageURL = ImageURL.substring(0, 120); - } set_Value (COLUMNNAME_ImageURL, ImageURL); } @@ -313,12 +283,6 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_S_Training_Class.java b/base/src/org/compiere/model/X_S_Training_Class.java index 7ddc7184b6..97e766c8e9 100644 --- a/base/src/org/compiere/model/X_S_Training_Class.java +++ b/base/src/org/compiere/model/X_S_Training_Class.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_Training_Class * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Persistent { @@ -41,11 +41,11 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Pers super (ctx, S_Training_Class_ID, trxName); /** if (S_Training_Class_ID == 0) { - setEndDate (new Timestamp(System.currentTimeMillis())); + setEndDate (new Timestamp( System.currentTimeMillis() )); setM_Product_ID (0); + setStartDate (new Timestamp( System.currentTimeMillis() )); setS_Training_Class_ID (0); setS_Training_ID (0); - setStartDate (new Timestamp(System.currentTimeMillis())); } */ } @@ -134,6 +134,33 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Pers return ii.intValue(); } + /** Set Start Date. + @param StartDate + First effective day (inclusive) + */ + public void setStartDate (Timestamp StartDate) + { + if (StartDate == null) + throw new IllegalArgumentException ("StartDate is mandatory."); + set_Value (COLUMNNAME_StartDate, StartDate); + } + + /** Get Start Date. + @return First effective day (inclusive) + */ + public Timestamp getStartDate () + { + return (Timestamp)get_Value(COLUMNNAME_StartDate); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getStartDate())); + } + /** Set Training Class. @param S_Training_Class_ID The actual training class instance @@ -193,31 +220,4 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Pers return 0; return ii.intValue(); } - - /** Set Start Date. - @param StartDate - First effective day (inclusive) - */ - public void setStartDate (Timestamp StartDate) - { - if (StartDate == null) - throw new IllegalArgumentException ("StartDate is mandatory."); - set_Value (COLUMNNAME_StartDate, StartDate); - } - - /** Get Start Date. - @return First effective day (inclusive) - */ - public Timestamp getStartDate () - { - return (Timestamp)get_Value(COLUMNNAME_StartDate); - } - - /** Get Record ID/ColumnName - @return ID/ColumnName pair - */ - public KeyNamePair getKeyNamePair() - { - return new KeyNamePair(get_ID(), String.valueOf(getStartDate())); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_T_Aging.java b/base/src/org/compiere/model/X_T_Aging.java index 45eabee305..87b5e72ce0 100644 --- a/base/src/org/compiere/model/X_T_Aging.java +++ b/base/src/org/compiere/model/X_T_Aging.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for T_Aging * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent { @@ -43,35 +43,35 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent /** if (T_Aging_ID == 0) { setAD_PInstance_ID (0); - setC_BP_Group_ID (0); setC_BPartner_ID (0); + setC_BP_Group_ID (0); setC_Currency_ID (0); + setDueAmt (Env.ZERO); + setDueDate (new Timestamp( System.currentTimeMillis() )); setDue0 (Env.ZERO); setDue0_30 (Env.ZERO); setDue0_7 (Env.ZERO); setDue1_7 (Env.ZERO); - setDue31_60 (Env.ZERO); setDue31_Plus (Env.ZERO); - setDue61_90 (Env.ZERO); + setDue31_60 (Env.ZERO); setDue61_Plus (Env.ZERO); + setDue61_90 (Env.ZERO); setDue8_30 (Env.ZERO); setDue91_Plus (Env.ZERO); - setDueAmt (Env.ZERO); - setDueDate (new Timestamp(System.currentTimeMillis())); setInvoicedAmt (Env.ZERO); setIsListInvoices (false); setIsSOTrx (false); setOpenAmt (Env.ZERO); + setPastDueAmt (Env.ZERO); setPastDue1_30 (Env.ZERO); setPastDue1_7 (Env.ZERO); - setPastDue31_60 (Env.ZERO); setPastDue31_Plus (Env.ZERO); - setPastDue61_90 (Env.ZERO); + setPastDue31_60 (Env.ZERO); setPastDue61_Plus (Env.ZERO); + setPastDue61_90 (Env.ZERO); setPastDue8_30 (Env.ZERO); setPastDue91_Plus (Env.ZERO); - setPastDueAmt (Env.ZERO); - setStatementDate (new Timestamp(System.currentTimeMillis())); + setStatementDate (new Timestamp( System.currentTimeMillis() )); } */ } @@ -180,44 +180,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return ii.intValue(); } - public I_C_BP_Group getC_BP_Group() throws Exception - { - Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); - I_C_BP_Group result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Business Partner Group. - @param C_BP_Group_ID - Business Partner Group - */ - 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 (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); - } - - /** Get Business Partner Group. - @return Business Partner Group - */ - public int getC_BP_Group_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_BPartner getC_BPartner() throws Exception { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -256,6 +218,44 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return ii.intValue(); } + public I_C_BP_Group getC_BP_Group() throws Exception + { + Class clazz = MTable.getClass(I_C_BP_Group.Table_Name); + I_C_BP_Group result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Business Partner Group. + @param C_BP_Group_ID + Business Partner Group + */ + 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 (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); + } + + /** Get Business Partner Group. + @return Business Partner Group + */ + public int getC_BP_Group_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Campaign getC_Campaign() throws Exception { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); @@ -333,45 +333,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return ii.intValue(); } - public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws Exception - { - Class clazz = MTable.getClass(I_C_InvoicePaySchedule.Table_Name); - I_C_InvoicePaySchedule result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_InvoicePaySchedule)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoicePaySchedule_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Invoice Payment Schedule. - @param C_InvoicePaySchedule_ID - Invoice Payment Schedule - */ - public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID) - { - if (C_InvoicePaySchedule_ID < 1) - set_Value (COLUMNNAME_C_InvoicePaySchedule_ID, null); - else - set_Value (COLUMNNAME_C_InvoicePaySchedule_ID, Integer.valueOf(C_InvoicePaySchedule_ID)); - } - - /** Get Invoice Payment Schedule. - @return Invoice Payment Schedule - */ - public int getC_InvoicePaySchedule_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoicePaySchedule_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -411,6 +372,45 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return ii.intValue(); } + public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws Exception + { + Class clazz = MTable.getClass(I_C_InvoicePaySchedule.Table_Name); + I_C_InvoicePaySchedule result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_InvoicePaySchedule)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_InvoicePaySchedule_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Invoice Payment Schedule. + @param C_InvoicePaySchedule_ID + Invoice Payment Schedule + */ + public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID) + { + if (C_InvoicePaySchedule_ID < 1) + set_Value (COLUMNNAME_C_InvoicePaySchedule_ID, null); + else + set_Value (COLUMNNAME_C_InvoicePaySchedule_ID, Integer.valueOf(C_InvoicePaySchedule_ID)); + } + + /** Get Invoice Payment Schedule. + @return Invoice Payment Schedule + */ + public int getC_InvoicePaySchedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoicePaySchedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -494,6 +494,47 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return ii.intValue(); } + /** Set Amount due. + @param DueAmt + Amount of the payment due + */ + public void setDueAmt (BigDecimal DueAmt) + { + if (DueAmt == null) + throw new IllegalArgumentException ("DueAmt is mandatory."); + set_Value (COLUMNNAME_DueAmt, DueAmt); + } + + /** Get Amount due. + @return Amount of the payment due + */ + public BigDecimal getDueAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DueAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Due Date. + @param DueDate + Date when the payment is due + */ + public void setDueDate (Timestamp DueDate) + { + if (DueDate == null) + throw new IllegalArgumentException ("DueDate is mandatory."); + set_Value (COLUMNNAME_DueDate, DueDate); + } + + /** Get Due Date. + @return Date when the payment is due + */ + public Timestamp getDueDate () + { + return (Timestamp)get_Value(COLUMNNAME_DueDate); + } + /** Set Due Today. @param Due0 Due Today */ public void setDue0 (BigDecimal Due0) @@ -570,25 +611,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Due 31-60. - @param Due31_60 Due 31-60 */ - public void setDue31_60 (BigDecimal Due31_60) - { - if (Due31_60 == null) - throw new IllegalArgumentException ("Due31_60 is mandatory."); - set_Value (COLUMNNAME_Due31_60, Due31_60); - } - - /** Get Due 31-60. - @return Due 31-60 */ - public BigDecimal getDue31_60 () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Due31_60); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Due > 31. @param Due31_Plus Due > 31 */ public void setDue31_Plus (BigDecimal Due31_Plus) @@ -608,20 +630,20 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Due 61-90. - @param Due61_90 Due 61-90 */ - public void setDue61_90 (BigDecimal Due61_90) + /** Set Due 31-60. + @param Due31_60 Due 31-60 */ + public void setDue31_60 (BigDecimal Due31_60) { - if (Due61_90 == null) - throw new IllegalArgumentException ("Due61_90 is mandatory."); - set_Value (COLUMNNAME_Due61_90, Due61_90); + if (Due31_60 == null) + throw new IllegalArgumentException ("Due31_60 is mandatory."); + set_Value (COLUMNNAME_Due31_60, Due31_60); } - /** Get Due 61-90. - @return Due 61-90 */ - public BigDecimal getDue61_90 () + /** Get Due 31-60. + @return Due 31-60 */ + public BigDecimal getDue31_60 () { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Due61_90); + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Due31_60); if (bd == null) return Env.ZERO; return bd; @@ -646,6 +668,25 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } + /** Set Due 61-90. + @param Due61_90 Due 61-90 */ + public void setDue61_90 (BigDecimal Due61_90) + { + if (Due61_90 == null) + throw new IllegalArgumentException ("Due61_90 is mandatory."); + set_Value (COLUMNNAME_Due61_90, Due61_90); + } + + /** Get Due 61-90. + @return Due 61-90 */ + public BigDecimal getDue61_90 () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Due61_90); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Due 8-30. @param Due8_30 Due 8-30 */ public void setDue8_30 (BigDecimal Due8_30) @@ -684,47 +725,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Amount due. - @param DueAmt - Amount of the payment due - */ - public void setDueAmt (BigDecimal DueAmt) - { - if (DueAmt == null) - throw new IllegalArgumentException ("DueAmt is mandatory."); - set_Value (COLUMNNAME_DueAmt, DueAmt); - } - - /** Get Amount due. - @return Amount of the payment due - */ - public BigDecimal getDueAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DueAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Due Date. - @param DueDate - Date when the payment is due - */ - public void setDueDate (Timestamp DueDate) - { - if (DueDate == null) - throw new IllegalArgumentException ("DueDate is mandatory."); - set_Value (COLUMNNAME_DueDate, DueDate); - } - - /** Get Due Date. - @return Date when the payment is due - */ - public Timestamp getDueDate () - { - return (Timestamp)get_Value(COLUMNNAME_DueDate); - } - /** Set Invoiced Amount. @param InvoicedAmt The amount invoiced @@ -817,6 +817,25 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } + /** Set Past Due. + @param PastDueAmt Past Due */ + public void setPastDueAmt (BigDecimal PastDueAmt) + { + if (PastDueAmt == null) + throw new IllegalArgumentException ("PastDueAmt is mandatory."); + set_Value (COLUMNNAME_PastDueAmt, PastDueAmt); + } + + /** Get Past Due. + @return Past Due */ + public BigDecimal getPastDueAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDueAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Past Due 1-30. @param PastDue1_30 Past Due 1-30 */ public void setPastDue1_30 (BigDecimal PastDue1_30) @@ -855,25 +874,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Past Due 31-60. - @param PastDue31_60 Past Due 31-60 */ - public void setPastDue31_60 (BigDecimal PastDue31_60) - { - if (PastDue31_60 == null) - throw new IllegalArgumentException ("PastDue31_60 is mandatory."); - set_Value (COLUMNNAME_PastDue31_60, PastDue31_60); - } - - /** Get Past Due 31-60. - @return Past Due 31-60 */ - public BigDecimal getPastDue31_60 () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDue31_60); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Past Due > 31. @param PastDue31_Plus Past Due > 31 */ public void setPastDue31_Plus (BigDecimal PastDue31_Plus) @@ -893,20 +893,20 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Past Due 61-90. - @param PastDue61_90 Past Due 61-90 */ - public void setPastDue61_90 (BigDecimal PastDue61_90) + /** Set Past Due 31-60. + @param PastDue31_60 Past Due 31-60 */ + public void setPastDue31_60 (BigDecimal PastDue31_60) { - if (PastDue61_90 == null) - throw new IllegalArgumentException ("PastDue61_90 is mandatory."); - set_Value (COLUMNNAME_PastDue61_90, PastDue61_90); + if (PastDue31_60 == null) + throw new IllegalArgumentException ("PastDue31_60 is mandatory."); + set_Value (COLUMNNAME_PastDue31_60, PastDue31_60); } - /** Get Past Due 61-90. - @return Past Due 61-90 */ - public BigDecimal getPastDue61_90 () + /** Get Past Due 31-60. + @return Past Due 31-60 */ + public BigDecimal getPastDue31_60 () { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDue61_90); + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDue31_60); if (bd == null) return Env.ZERO; return bd; @@ -931,6 +931,25 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } + /** Set Past Due 61-90. + @param PastDue61_90 Past Due 61-90 */ + public void setPastDue61_90 (BigDecimal PastDue61_90) + { + if (PastDue61_90 == null) + throw new IllegalArgumentException ("PastDue61_90 is mandatory."); + set_Value (COLUMNNAME_PastDue61_90, PastDue61_90); + } + + /** Get Past Due 61-90. + @return Past Due 61-90 */ + public BigDecimal getPastDue61_90 () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDue61_90); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Past Due 8-30. @param PastDue8_30 Past Due 8-30 */ public void setPastDue8_30 (BigDecimal PastDue8_30) @@ -969,25 +988,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Past Due. - @param PastDueAmt Past Due */ - public void setPastDueAmt (BigDecimal PastDueAmt) - { - if (PastDueAmt == null) - throw new IllegalArgumentException ("PastDueAmt is mandatory."); - set_Value (COLUMNNAME_PastDueAmt, PastDueAmt); - } - - /** Get Past Due. - @return Past Due */ - public BigDecimal getPastDueAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDueAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Statement date. @param StatementDate Date of the statement diff --git a/base/src/org/compiere/model/X_T_DistributionRunDetail.java b/base/src/org/compiere/model/X_T_DistributionRunDetail.java index 66b06a937a..01b1aba43f 100644 --- a/base/src/org/compiere/model/X_T_DistributionRunDetail.java +++ b/base/src/org/compiere/model/X_T_DistributionRunDetail.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for T_DistributionRunDetail * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRunDetail, I_Persistent { @@ -44,12 +44,12 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun { setC_BPartner_ID (0); setC_BPartner_Location_ID (0); - setM_DistributionListLine_ID (0); setM_DistributionList_ID (0); - setM_DistributionRunLine_ID (0); + setM_DistributionListLine_ID (0); setM_DistributionRun_ID (0); - setM_Product_ID (0); + setM_DistributionRunLine_ID (0); setMinQty (Env.ZERO); + setM_Product_ID (0); setQty (Env.ZERO); setRatio (Env.ZERO); } */ @@ -159,44 +159,6 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun return ii.intValue(); } - public I_M_DistributionListLine getM_DistributionListLine() throws Exception - { - Class clazz = MTable.getClass(I_M_DistributionListLine.Table_Name); - I_M_DistributionListLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_DistributionListLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_DistributionListLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Distribution List Line. - @param M_DistributionListLine_ID - Distribution List Line with Business Partner and Quantity/Percentage - */ - public void setM_DistributionListLine_ID (int M_DistributionListLine_ID) - { - if (M_DistributionListLine_ID < 1) - throw new IllegalArgumentException ("M_DistributionListLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_DistributionListLine_ID, Integer.valueOf(M_DistributionListLine_ID)); - } - - /** Get Distribution List Line. - @return Distribution List Line with Business Partner and Quantity/Percentage - */ - public int getM_DistributionListLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_DistributionListLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_DistributionList getM_DistributionList() throws Exception { Class clazz = MTable.getClass(I_M_DistributionList.Table_Name); @@ -235,14 +197,14 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun return ii.intValue(); } - public I_M_DistributionRunLine getM_DistributionRunLine() throws Exception + public I_M_DistributionListLine getM_DistributionListLine() throws Exception { - Class clazz = MTable.getClass(I_M_DistributionRunLine.Table_Name); - I_M_DistributionRunLine result = null; + Class clazz = MTable.getClass(I_M_DistributionListLine.Table_Name); + I_M_DistributionListLine result = null; try { Constructor constructor = null; constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_DistributionRunLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_DistributionRunLine_ID()), get_TrxName()}); + result = (I_M_DistributionListLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_DistributionListLine_ID()), get_TrxName()}); } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); @@ -251,23 +213,23 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun return result; } - /** Set Distribution Run Line. - @param M_DistributionRunLine_ID - Distribution Run Lines define Distribution List, the Product and Quantiries + /** Set Distribution List Line. + @param M_DistributionListLine_ID + Distribution List Line with Business Partner and Quantity/Percentage */ - public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID) + public void setM_DistributionListLine_ID (int M_DistributionListLine_ID) { - if (M_DistributionRunLine_ID < 1) - throw new IllegalArgumentException ("M_DistributionRunLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_DistributionRunLine_ID, Integer.valueOf(M_DistributionRunLine_ID)); + if (M_DistributionListLine_ID < 1) + throw new IllegalArgumentException ("M_DistributionListLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_DistributionListLine_ID, Integer.valueOf(M_DistributionListLine_ID)); } - /** Get Distribution Run Line. - @return Distribution Run Lines define Distribution List, the Product and Quantiries + /** Get Distribution List Line. + @return Distribution List Line with Business Partner and Quantity/Percentage */ - public int getM_DistributionRunLine_ID () + public int getM_DistributionListLine_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_DistributionRunLine_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_DistributionListLine_ID); if (ii == null) return 0; return ii.intValue(); @@ -319,6 +281,66 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun return new KeyNamePair(get_ID(), String.valueOf(getM_DistributionRun_ID())); } + public I_M_DistributionRunLine getM_DistributionRunLine() throws Exception + { + Class clazz = MTable.getClass(I_M_DistributionRunLine.Table_Name); + I_M_DistributionRunLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_DistributionRunLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_DistributionRunLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Distribution Run Line. + @param M_DistributionRunLine_ID + Distribution Run Lines define Distribution List, the Product and Quantiries + */ + public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID) + { + if (M_DistributionRunLine_ID < 1) + throw new IllegalArgumentException ("M_DistributionRunLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_DistributionRunLine_ID, Integer.valueOf(M_DistributionRunLine_ID)); + } + + /** Get Distribution Run Line. + @return Distribution Run Lines define Distribution List, the Product and Quantiries + */ + public int getM_DistributionRunLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_DistributionRunLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Minimum Quantity. + @param MinQty + Minimum quantity for the business partner + */ + public void setMinQty (BigDecimal MinQty) + { + if (MinQty == null) + throw new IllegalArgumentException ("MinQty is mandatory."); + set_Value (COLUMNNAME_MinQty, MinQty); + } + + /** Get Minimum Quantity. + @return Minimum quantity for the business partner + */ + public BigDecimal getMinQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MinQty); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -357,28 +379,6 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun return ii.intValue(); } - /** Set Minimum Quantity. - @param MinQty - Minimum quantity for the business partner - */ - public void setMinQty (BigDecimal MinQty) - { - if (MinQty == null) - throw new IllegalArgumentException ("MinQty is mandatory."); - set_Value (COLUMNNAME_MinQty, MinQty); - } - - /** Get Minimum Quantity. - @return Minimum quantity for the business partner - */ - public BigDecimal getMinQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MinQty); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Quantity. @param Qty Quantity diff --git a/base/src/org/compiere/model/X_T_InventoryValue.java b/base/src/org/compiere/model/X_T_InventoryValue.java index 236557f3f0..1a7d6bebcc 100644 --- a/base/src/org/compiere/model/X_T_InventoryValue.java +++ b/base/src/org/compiere/model/X_T_InventoryValue.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for T_InventoryValue * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Persistent { diff --git a/base/src/org/compiere/model/X_T_InvoiceGL.java b/base/src/org/compiere/model/X_T_InvoiceGL.java index 9ba886ff74..53e5e6d1c2 100644 --- a/base/src/org/compiere/model/X_T_InvoiceGL.java +++ b/base/src/org/compiere/model/X_T_InvoiceGL.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for T_InvoiceGL * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent { @@ -51,7 +51,7 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent setAmtSourceBalance (Env.ZERO); setC_ConversionTypeReval_ID (0); setC_Invoice_ID (0); - setDateReval (new Timestamp(System.currentTimeMillis())); + setDateReval (new Timestamp( System.currentTimeMillis() )); setFact_Acct_ID (0); setGrandTotal (Env.ZERO); setIsAllCurrencies (false); @@ -125,38 +125,6 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent return ii.intValue(); } - /** APAR AD_Reference_ID=332 */ - public static final int APAR_AD_Reference_ID=332; - /** Receivables & Payables = A */ - public static final String APAR_ReceivablesPayables = "A"; - /** Receivables only = R */ - public static final String APAR_ReceivablesOnly = "R"; - /** Payables only = P */ - public static final String APAR_PayablesOnly = "P"; - /** Set AP - AR. - @param APAR - Include Receivables and/or Payables transactions - */ - public void setAPAR (String APAR) - { - - if (APAR == null || APAR.equals("A") || APAR.equals("R") || APAR.equals("P")); else throw new IllegalArgumentException ("APAR Invalid value - " + APAR + " - Reference_ID=332 - A - R - P"); - if (APAR != null && APAR.length() > 1) - { - log.warning("Length > 1 - truncated"); - APAR = APAR.substring(0, 1); - } - set_Value (COLUMNNAME_APAR, APAR); - } - - /** Get AP - AR. - @return Include Receivables and/or Payables transactions - */ - public String getAPAR () - { - return (String)get_Value(COLUMNNAME_APAR); - } - /** Set Accounted Balance. @param AmtAcctBalance Accounted Balance Amount @@ -289,6 +257,32 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent return bd; } + /** APAR AD_Reference_ID=332 */ + public static final int APAR_AD_Reference_ID=332; + /** Receivables & Payables = A */ + public static final String APAR_ReceivablesPayables = "A"; + /** Receivables only = R */ + public static final String APAR_ReceivablesOnly = "R"; + /** Payables only = P */ + public static final String APAR_PayablesOnly = "P"; + /** Set AP - AR. + @param APAR + Include Receivables and/or Payables transactions + */ + public void setAPAR (String APAR) + { + + if (APAR == null || APAR.equals("A") || APAR.equals("R") || APAR.equals("P")); else throw new IllegalArgumentException ("APAR Invalid value - " + APAR + " - Reference_ID=332 - A - R - P"); set_Value (COLUMNNAME_APAR, APAR); + } + + /** Get AP - AR. + @return Include Receivables and/or Payables transactions + */ + public String getAPAR () + { + return (String)get_Value(COLUMNNAME_APAR); + } + /** C_ConversionTypeReval_ID AD_Reference_ID=352 */ public static final int C_CONVERSIONTYPEREVAL_ID_AD_Reference_ID=352; /** Set Revaluation Conversion Type. diff --git a/base/src/org/compiere/model/X_T_Replenish.java b/base/src/org/compiere/model/X_T_Replenish.java index ffcad4d45f..fb7efd6feb 100644 --- a/base/src/org/compiere/model/X_T_Replenish.java +++ b/base/src/org/compiere/model/X_T_Replenish.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for T_Replenish * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent { @@ -276,31 +276,6 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent return ii.intValue(); } - /** M_WarehouseSource_ID AD_Reference_ID=197 */ - public static final int M_WAREHOUSESOURCE_ID_AD_Reference_ID=197; - /** Set Source Warehouse. - @param M_WarehouseSource_ID - Optional Warehouse to replenish from - */ - public void setM_WarehouseSource_ID (int M_WarehouseSource_ID) - { - if (M_WarehouseSource_ID < 1) - set_Value (COLUMNNAME_M_WarehouseSource_ID, null); - else - set_Value (COLUMNNAME_M_WarehouseSource_ID, Integer.valueOf(M_WarehouseSource_ID)); - } - - /** Get Source Warehouse. - @return Optional Warehouse to replenish from - */ - public int getM_WarehouseSource_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_WarehouseSource_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Warehouse getM_Warehouse() throws Exception { Class clazz = MTable.getClass(I_M_Warehouse.Table_Name); @@ -339,6 +314,31 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent return ii.intValue(); } + /** M_WarehouseSource_ID AD_Reference_ID=197 */ + public static final int M_WAREHOUSESOURCE_ID_AD_Reference_ID=197; + /** Set Source Warehouse. + @param M_WarehouseSource_ID + Optional Warehouse to replenish from + */ + public void setM_WarehouseSource_ID (int M_WarehouseSource_ID) + { + if (M_WarehouseSource_ID < 1) + set_Value (COLUMNNAME_M_WarehouseSource_ID, null); + else + set_Value (COLUMNNAME_M_WarehouseSource_ID, Integer.valueOf(M_WarehouseSource_ID)); + } + + /** Get Source Warehouse. + @return Optional Warehouse to replenish from + */ + public int getM_WarehouseSource_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_WarehouseSource_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Minimum Order Qty. @param Order_Min Minimum order quantity in UOM @@ -456,40 +456,6 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent return bd; } - /** ReplenishType AD_Reference_ID=164 */ - public static final int REPLENISHTYPE_AD_Reference_ID=164; - /** Maintain Maximum Level = 2 */ - public static final String REPLENISHTYPE_MaintainMaximumLevel = "2"; - /** Manual = 0 */ - public static final String REPLENISHTYPE_Manual = "0"; - /** Reorder below Minimum Level = 1 */ - public static final String REPLENISHTYPE_ReorderBelowMinimumLevel = "1"; - /** Custom = 9 */ - public static final String REPLENISHTYPE_Custom = "9"; - /** Set Replenish Type. - @param ReplenishType - Method for re-ordering a product - */ - public void setReplenishType (String ReplenishType) - { - if (ReplenishType == null) throw new IllegalArgumentException ("ReplenishType is mandatory"); - if (ReplenishType.equals("2") || ReplenishType.equals("0") || ReplenishType.equals("1") || ReplenishType.equals("9")); else throw new IllegalArgumentException ("ReplenishType Invalid value - " + ReplenishType + " - Reference_ID=164 - 2 - 0 - 1 - 9"); - if (ReplenishType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ReplenishType = ReplenishType.substring(0, 1); - } - set_Value (COLUMNNAME_ReplenishType, ReplenishType); - } - - /** Get Replenish Type. - @return Method for re-ordering a product - */ - public String getReplenishType () - { - return (String)get_Value(COLUMNNAME_ReplenishType); - } - /** ReplenishmentCreate AD_Reference_ID=329 */ public static final int REPLENISHMENTCREATE_AD_Reference_ID=329; /** Purchase Order = POO */ @@ -507,13 +473,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent public void setReplenishmentCreate (String ReplenishmentCreate) { - if (ReplenishmentCreate == null || ReplenishmentCreate.equals("POO") || ReplenishmentCreate.equals("POR") || ReplenishmentCreate.equals("MMM") || ReplenishmentCreate.equals("DOO")); else throw new IllegalArgumentException ("ReplenishmentCreate Invalid value - " + ReplenishmentCreate + " - Reference_ID=329 - POO - POR - MMM - DOO"); - if (ReplenishmentCreate != null && ReplenishmentCreate.length() > 1) - { - log.warning("Length > 1 - truncated"); - ReplenishmentCreate = ReplenishmentCreate.substring(0, 1); - } - set_Value (COLUMNNAME_ReplenishmentCreate, ReplenishmentCreate); + if (ReplenishmentCreate == null || ReplenishmentCreate.equals("POO") || ReplenishmentCreate.equals("POR") || ReplenishmentCreate.equals("MMM") || ReplenishmentCreate.equals("DOO")); else throw new IllegalArgumentException ("ReplenishmentCreate Invalid value - " + ReplenishmentCreate + " - Reference_ID=329 - POO - POR - MMM - DOO"); set_Value (COLUMNNAME_ReplenishmentCreate, ReplenishmentCreate); } /** Get Create. @@ -523,4 +483,32 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent { return (String)get_Value(COLUMNNAME_ReplenishmentCreate); } + + /** ReplenishType AD_Reference_ID=164 */ + public static final int REPLENISHTYPE_AD_Reference_ID=164; + /** Maintain Maximum Level = 2 */ + public static final String REPLENISHTYPE_MaintainMaximumLevel = "2"; + /** Manual = 0 */ + public static final String REPLENISHTYPE_Manual = "0"; + /** Reorder below Minimum Level = 1 */ + public static final String REPLENISHTYPE_ReorderBelowMinimumLevel = "1"; + /** Custom = 9 */ + public static final String REPLENISHTYPE_Custom = "9"; + /** Set Replenish Type. + @param ReplenishType + Method for re-ordering a product + */ + public void setReplenishType (String ReplenishType) + { + if (ReplenishType == null) throw new IllegalArgumentException ("ReplenishType is mandatory"); + if (ReplenishType.equals("2") || ReplenishType.equals("0") || ReplenishType.equals("1") || ReplenishType.equals("9")); else throw new IllegalArgumentException ("ReplenishType Invalid value - " + ReplenishType + " - Reference_ID=164 - 2 - 0 - 1 - 9"); set_Value (COLUMNNAME_ReplenishType, ReplenishType); + } + + /** Get Replenish Type. + @return Method for re-ordering a product + */ + public String getReplenishType () + { + return (String)get_Value(COLUMNNAME_ReplenishType); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_T_Report.java b/base/src/org/compiere/model/X_T_Report.java index 87f0a1ded2..feb690248a 100644 --- a/base/src/org/compiere/model/X_T_Report.java +++ b/base/src/org/compiere/model/X_T_Report.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for T_Report * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_Report extends PO implements I_T_Report, I_Persistent { @@ -478,12 +478,6 @@ public class X_T_Report extends PO implements I_T_Report, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_Description, Description); } @@ -537,12 +531,6 @@ public class X_T_Report extends PO implements I_T_Report, I_Persistent */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_T_ReportStatement.java b/base/src/org/compiere/model/X_T_ReportStatement.java index d260bc7033..de4dd2a87b 100644 --- a/base/src/org/compiere/model/X_T_ReportStatement.java +++ b/base/src/org/compiere/model/X_T_ReportStatement.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for T_ReportStatement * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Persistent { @@ -44,7 +44,7 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Pe /** if (T_ReportStatement_ID == 0) { setAD_PInstance_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); setFact_Acct_ID (0); setLevelNo (0); } */ @@ -198,12 +198,6 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_ValueNoCheck (COLUMNNAME_Description, Description); } @@ -273,12 +267,6 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Pe */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_ValueNoCheck (COLUMNNAME_Name, Name); } diff --git a/base/src/org/compiere/model/X_T_Transaction.java b/base/src/org/compiere/model/X_T_Transaction.java index e61517c94c..b27afd0122 100644 --- a/base/src/org/compiere/model/X_T_Transaction.java +++ b/base/src/org/compiere/model/X_T_Transaction.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for T_Transaction * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent { @@ -45,11 +45,11 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent setAD_PInstance_ID (0); setM_AttributeSetInstance_ID (0); setM_Locator_ID (0); - setM_Product_ID (0); - setM_Transaction_ID (0); - setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementDate (new Timestamp( System.currentTimeMillis() )); setMovementQty (Env.ZERO); setMovementType (null); + setM_Product_ID (0); + setM_Transaction_ID (0); } */ } @@ -119,45 +119,6 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_C_ProjectIssue getC_ProjectIssue() throws Exception - { - Class clazz = MTable.getClass(I_C_ProjectIssue.Table_Name); - I_C_ProjectIssue result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_ProjectIssue)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectIssue_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Project Issue. - @param C_ProjectIssue_ID - Project Issues (Material, Labor) - */ - public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) - { - if (C_ProjectIssue_ID < 1) - set_Value (COLUMNNAME_C_ProjectIssue_ID, null); - else - set_Value (COLUMNNAME_C_ProjectIssue_ID, Integer.valueOf(C_ProjectIssue_ID)); - } - - /** Get Project Issue. - @return Project Issues (Material, Labor) - */ - public int getC_ProjectIssue_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectIssue_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -197,6 +158,45 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } + public I_C_ProjectIssue getC_ProjectIssue() throws Exception + { + Class clazz = MTable.getClass(I_C_ProjectIssue.Table_Name); + I_C_ProjectIssue result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_ProjectIssue)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectIssue_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project Issue. + @param C_ProjectIssue_ID + Project Issues (Material, Labor) + */ + public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) + { + if (C_ProjectIssue_ID < 1) + set_Value (COLUMNNAME_C_ProjectIssue_ID, null); + else + set_Value (COLUMNNAME_C_ProjectIssue_ID, Integer.valueOf(C_ProjectIssue_ID)); + } + + /** Get Project Issue. + @return Project Issues (Material, Labor) + */ + public int getC_ProjectIssue_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectIssue_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Attribute Set Instance. @param M_AttributeSetInstance_ID Product Attribute Set Instance @@ -219,45 +219,6 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_InOutLine getM_InOutLine() throws Exception - { - Class clazz = MTable.getClass(I_M_InOutLine.Table_Name); - I_M_InOutLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_InOutLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_InOutLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Shipment/Receipt Line. - @param M_InOutLine_ID - Line on Shipment or Receipt document - */ - public void setM_InOutLine_ID (int M_InOutLine_ID) - { - if (M_InOutLine_ID < 1) - set_Value (COLUMNNAME_M_InOutLine_ID, null); - else - set_Value (COLUMNNAME_M_InOutLine_ID, Integer.valueOf(M_InOutLine_ID)); - } - - /** Get Shipment/Receipt Line. - @return Line on Shipment or Receipt document - */ - public int getM_InOutLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_InOutLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_InOut getM_InOut() throws Exception { Class clazz = MTable.getClass(I_M_InOut.Table_Name); @@ -297,14 +258,14 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_InventoryLine getM_InventoryLine() throws Exception + public I_M_InOutLine getM_InOutLine() throws Exception { - Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); - I_M_InventoryLine result = null; + Class clazz = MTable.getClass(I_M_InOutLine.Table_Name); + I_M_InOutLine result = null; try { Constructor constructor = null; constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_InventoryLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_InventoryLine_ID()), get_TrxName()}); + result = (I_M_InOutLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_InOutLine_ID()), get_TrxName()}); } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); @@ -313,24 +274,24 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return result; } - /** Set Phys.Inventory Line. - @param M_InventoryLine_ID - Unique line in an Inventory document + /** Set Shipment/Receipt Line. + @param M_InOutLine_ID + Line on Shipment or Receipt document */ - public void setM_InventoryLine_ID (int M_InventoryLine_ID) + public void setM_InOutLine_ID (int M_InOutLine_ID) { - if (M_InventoryLine_ID < 1) - set_Value (COLUMNNAME_M_InventoryLine_ID, null); + if (M_InOutLine_ID < 1) + set_Value (COLUMNNAME_M_InOutLine_ID, null); else - set_Value (COLUMNNAME_M_InventoryLine_ID, Integer.valueOf(M_InventoryLine_ID)); + set_Value (COLUMNNAME_M_InOutLine_ID, Integer.valueOf(M_InOutLine_ID)); } - /** Get Phys.Inventory Line. - @return Unique line in an Inventory document + /** Get Shipment/Receipt Line. + @return Line on Shipment or Receipt document */ - public int getM_InventoryLine_ID () + public int getM_InOutLine_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_InventoryLine_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_InOutLine_ID); if (ii == null) return 0; return ii.intValue(); @@ -375,6 +336,45 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } + public I_M_InventoryLine getM_InventoryLine() throws Exception + { + Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); + I_M_InventoryLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_InventoryLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_InventoryLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Phys.Inventory Line. + @param M_InventoryLine_ID + Unique line in an Inventory document + */ + public void setM_InventoryLine_ID (int M_InventoryLine_ID) + { + if (M_InventoryLine_ID < 1) + set_Value (COLUMNNAME_M_InventoryLine_ID, null); + else + set_Value (COLUMNNAME_M_InventoryLine_ID, Integer.valueOf(M_InventoryLine_ID)); + } + + /** Get Phys.Inventory Line. + @return Unique line in an Inventory document + */ + public int getM_InventoryLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InventoryLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Locator. @param M_Locator_ID Warehouse Locator @@ -397,45 +397,6 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_MovementLine getM_MovementLine() throws Exception - { - Class clazz = MTable.getClass(I_M_MovementLine.Table_Name); - I_M_MovementLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_MovementLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_MovementLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Move Line. - @param M_MovementLine_ID - Inventory Move document Line - */ - public void setM_MovementLine_ID (int M_MovementLine_ID) - { - if (M_MovementLine_ID < 1) - set_Value (COLUMNNAME_M_MovementLine_ID, null); - else - set_Value (COLUMNNAME_M_MovementLine_ID, Integer.valueOf(M_MovementLine_ID)); - } - - /** Get Move Line. - @return Inventory Move document Line - */ - public int getM_MovementLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_MovementLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Movement getM_Movement() throws Exception { Class clazz = MTable.getClass(I_M_Movement.Table_Name); @@ -475,14 +436,14 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_MovementLine getM_MovementLine() throws Exception { - Class clazz = MTable.getClass(I_M_Product.Table_Name); - I_M_Product result = null; + Class clazz = MTable.getClass(I_M_MovementLine.Table_Name); + I_M_MovementLine result = null; try { Constructor constructor = null; constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_Product)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Product_ID()), get_TrxName()}); + result = (I_M_MovementLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_MovementLine_ID()), get_TrxName()}); } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); @@ -491,136 +452,24 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return result; } - /** Set Product. - @param M_Product_ID - Product, Service, Item + /** Set Move Line. + @param M_MovementLine_ID + Inventory Move document Line */ - public void setM_Product_ID (int M_Product_ID) + public void setM_MovementLine_ID (int M_MovementLine_ID) { - if (M_Product_ID < 1) - throw new IllegalArgumentException ("M_Product_ID is mandatory."); - set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); - } - - /** Get Product. - @return Product, Service, Item - */ - public int getM_Product_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - public I_M_ProductionLine getM_ProductionLine() throws Exception - { - Class clazz = MTable.getClass(I_M_ProductionLine.Table_Name); - I_M_ProductionLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_ProductionLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_ProductionLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Production Line. - @param M_ProductionLine_ID - Document Line representing a production - */ - public void setM_ProductionLine_ID (int M_ProductionLine_ID) - { - if (M_ProductionLine_ID < 1) - set_Value (COLUMNNAME_M_ProductionLine_ID, null); + if (M_MovementLine_ID < 1) + set_Value (COLUMNNAME_M_MovementLine_ID, null); else - set_Value (COLUMNNAME_M_ProductionLine_ID, Integer.valueOf(M_ProductionLine_ID)); + set_Value (COLUMNNAME_M_MovementLine_ID, Integer.valueOf(M_MovementLine_ID)); } - /** Get Production Line. - @return Document Line representing a production + /** Get Move Line. + @return Inventory Move document Line */ - public int getM_ProductionLine_ID () + public int getM_MovementLine_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductionLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - public I_M_Production getM_Production() throws Exception - { - Class clazz = MTable.getClass(I_M_Production.Table_Name); - I_M_Production result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_Production)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Production_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Production. - @param M_Production_ID - Plan for producing a product - */ - public void setM_Production_ID (int M_Production_ID) - { - if (M_Production_ID < 1) - set_Value (COLUMNNAME_M_Production_ID, null); - else - set_Value (COLUMNNAME_M_Production_ID, Integer.valueOf(M_Production_ID)); - } - - /** Get Production. - @return Plan for producing a product - */ - public int getM_Production_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Production_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - public I_M_Transaction getM_Transaction() throws Exception - { - Class clazz = MTable.getClass(I_M_Transaction.Table_Name); - I_M_Transaction result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_Transaction)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Transaction_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Inventory Transaction. - @param M_Transaction_ID Inventory Transaction */ - public void setM_Transaction_ID (int M_Transaction_ID) - { - if (M_Transaction_ID < 1) - throw new IllegalArgumentException ("M_Transaction_ID is mandatory."); - set_Value (COLUMNNAME_M_Transaction_ID, Integer.valueOf(M_Transaction_ID)); - } - - /** Get Inventory Transaction. - @return Inventory Transaction */ - public int getM_Transaction_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Transaction_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_MovementLine_ID); if (ii == null) return 0; return ii.intValue(); @@ -700,13 +549,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent public void setMovementType (String MovementType) { if (MovementType == null) throw new IllegalArgumentException ("MovementType is mandatory"); - if (MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); - if (MovementType.length() > 2) - { - log.warning("Length > 2 - truncated"); - MovementType = MovementType.substring(0, 2); - } - set_Value (COLUMNNAME_MovementType, MovementType); + if (MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); set_Value (COLUMNNAME_MovementType, MovementType); } /** Get Movement Type. @@ -717,6 +560,157 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return (String)get_Value(COLUMNNAME_MovementType); } + public I_M_Product getM_Product() throws Exception + { + Class clazz = MTable.getClass(I_M_Product.Table_Name); + I_M_Product result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_Product)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Product_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Product. + @param M_Product_ID + Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID) + { + if (M_Product_ID < 1) + throw new IllegalArgumentException ("M_Product_ID is mandatory."); + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + } + + /** Get Product. + @return Product, Service, Item + */ + public int getM_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_M_Production getM_Production() throws Exception + { + Class clazz = MTable.getClass(I_M_Production.Table_Name); + I_M_Production result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_Production)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Production_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Production. + @param M_Production_ID + Plan for producing a product + */ + public void setM_Production_ID (int M_Production_ID) + { + if (M_Production_ID < 1) + set_Value (COLUMNNAME_M_Production_ID, null); + else + set_Value (COLUMNNAME_M_Production_ID, Integer.valueOf(M_Production_ID)); + } + + /** Get Production. + @return Plan for producing a product + */ + public int getM_Production_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Production_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_M_ProductionLine getM_ProductionLine() throws Exception + { + Class clazz = MTable.getClass(I_M_ProductionLine.Table_Name); + I_M_ProductionLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_ProductionLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_ProductionLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Production Line. + @param M_ProductionLine_ID + Document Line representing a production + */ + public void setM_ProductionLine_ID (int M_ProductionLine_ID) + { + if (M_ProductionLine_ID < 1) + set_Value (COLUMNNAME_M_ProductionLine_ID, null); + else + set_Value (COLUMNNAME_M_ProductionLine_ID, Integer.valueOf(M_ProductionLine_ID)); + } + + /** Get Production Line. + @return Document Line representing a production + */ + public int getM_ProductionLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_ProductionLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_M_Transaction getM_Transaction() throws Exception + { + Class clazz = MTable.getClass(I_M_Transaction.Table_Name); + I_M_Transaction result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_Transaction)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Transaction_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Inventory Transaction. + @param M_Transaction_ID Inventory Transaction */ + public void setM_Transaction_ID (int M_Transaction_ID) + { + if (M_Transaction_ID < 1) + throw new IllegalArgumentException ("M_Transaction_ID is mandatory."); + set_Value (COLUMNNAME_M_Transaction_ID, Integer.valueOf(M_Transaction_ID)); + } + + /** Get Inventory Transaction. + @return Inventory Transaction */ + public int getM_Transaction_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Transaction_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Search_InOut_ID AD_Reference_ID=295 */ public static final int SEARCH_INOUT_ID_AD_Reference_ID=295; /** Set Search Shipment/Receipt. diff --git a/base/src/org/compiere/model/X_Test.java b/base/src/org/compiere/model/X_Test.java index 1687757e30..0ad7aa55d9 100644 --- a/base/src/org/compiere/model/X_Test.java +++ b/base/src/org/compiere/model/X_Test.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for Test * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_Test extends PO implements I_Test, I_Persistent { @@ -191,6 +191,23 @@ public class X_Test extends PO implements I_Test, I_Persistent return ii.intValue(); } + /** Set Character Data. + @param CharacterData + Long Character Field + */ + public void setCharacterData (String CharacterData) + { + set_Value (COLUMNNAME_CharacterData, CharacterData); + } + + /** Get Character Data. + @return Long Character Field + */ + public String getCharacterData () + { + return (String)get_Value(COLUMNNAME_CharacterData); + } + /** Set Address. @param C_Location_ID Location or Address @@ -292,35 +309,12 @@ public class X_Test extends PO implements I_Test, I_Persistent return ii.intValue(); } - /** Set Character Data. - @param CharacterData - Long Character Field - */ - public void setCharacterData (String CharacterData) - { - set_Value (COLUMNNAME_CharacterData, CharacterData); - } - - /** Get Character Data. - @return Long Character Field - */ - public String getCharacterData () - { - return (String)get_Value(COLUMNNAME_CharacterData); - } - /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -338,12 +332,6 @@ public class X_Test extends PO implements I_Test, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -425,12 +413,6 @@ public class X_Test extends PO implements I_Test, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -540,6 +522,25 @@ public class X_Test extends PO implements I_Test, I_Persistent return (Timestamp)get_Value(COLUMNNAME_T_DateTime); } + /** Set Test ID. + @param Test_ID Test ID */ + public void setTest_ID (int Test_ID) + { + if (Test_ID < 1) + throw new IllegalArgumentException ("Test_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_Test_ID, Integer.valueOf(Test_ID)); + } + + /** Get Test ID. + @return Test ID */ + public int getTest_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Test_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Integer. @param T_Integer Integer */ public void setT_Integer (int T_Integer) @@ -590,23 +591,4 @@ public class X_Test extends PO implements I_Test, I_Persistent return Env.ZERO; return bd; } - - /** Set Test ID. - @param Test_ID Test ID */ - public void setTest_ID (int Test_ID) - { - if (Test_ID < 1) - throw new IllegalArgumentException ("Test_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_Test_ID, Integer.valueOf(Test_ID)); - } - - /** Get Test ID. - @return Test ID */ - public int getTest_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Test_ID); - if (ii == null) - return 0; - return ii.intValue(); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_U_BlackListCheque.java b/base/src/org/compiere/model/X_U_BlackListCheque.java index a37300dafa..a0bf35113a 100644 --- a/base/src/org/compiere/model/X_U_BlackListCheque.java +++ b/base/src/org/compiere/model/X_U_BlackListCheque.java @@ -22,7 +22,7 @@ import java.util.Properties; /** Generated Model for U_BlackListCheque * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_U_BlackListCheque extends PO implements I_U_BlackListCheque, I_Persistent { @@ -77,12 +77,6 @@ public class X_U_BlackListCheque extends PO implements I_U_BlackListCheque, I_Pe { if (BankName == null) throw new IllegalArgumentException ("BankName is mandatory."); - - if (BankName.length() > 120) - { - log.warning("Length > 120 - truncated"); - BankName = BankName.substring(0, 120); - } set_Value (COLUMNNAME_BankName, BankName); } @@ -99,12 +93,6 @@ public class X_U_BlackListCheque extends PO implements I_U_BlackListCheque, I_Pe { if (ChequeNo == null) throw new IllegalArgumentException ("ChequeNo is mandatory."); - - if (ChequeNo.length() > 120) - { - log.warning("Length > 120 - truncated"); - ChequeNo = ChequeNo.substring(0, 120); - } set_Value (COLUMNNAME_ChequeNo, ChequeNo); } diff --git a/base/src/org/compiere/model/X_U_RoleMenu.java b/base/src/org/compiere/model/X_U_RoleMenu.java index e5a02340b1..a246729ace 100644 --- a/base/src/org/compiere/model/X_U_RoleMenu.java +++ b/base/src/org/compiere/model/X_U_RoleMenu.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for U_RoleMenu * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_U_RoleMenu extends PO implements I_U_RoleMenu, I_Persistent { diff --git a/base/src/org/compiere/model/X_U_WebMenu.java b/base/src/org/compiere/model/X_U_WebMenu.java index 90d0b72b90..e7bf083201 100644 --- a/base/src/org/compiere/model/X_U_WebMenu.java +++ b/base/src/org/compiere/model/X_U_WebMenu.java @@ -24,7 +24,7 @@ import org.compiere.util.Env; /** Generated Model for U_WebMenu * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent { @@ -80,12 +80,6 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent @param Category Category */ public void setCategory (String Category) { - - if (Category != null && Category.length() > 120) - { - log.warning("Length > 120 - truncated"); - Category = Category.substring(0, 120); - } set_Value (COLUMNNAME_Category, Category); } @@ -102,12 +96,6 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 200) - { - log.warning("Length > 200 - truncated"); - Description = Description.substring(0, 200); - } set_Value (COLUMNNAME_Description, Description); } @@ -146,12 +134,6 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -167,12 +149,6 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent @param ImageLink Image Link */ public void setImageLink (String ImageLink) { - - if (ImageLink != null && ImageLink.length() > 510) - { - log.warning("Length > 510 - truncated"); - ImageLink = ImageLink.substring(0, 510); - } set_Value (COLUMNNAME_ImageLink, ImageLink); } @@ -189,12 +165,6 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent { if (MenuLink == null) throw new IllegalArgumentException ("MenuLink is mandatory."); - - if (MenuLink.length() > 510) - { - log.warning("Length > 510 - truncated"); - MenuLink = MenuLink.substring(0, 510); - } set_Value (COLUMNNAME_MenuLink, MenuLink); } @@ -211,12 +181,6 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent { if (Module == null) throw new IllegalArgumentException ("Module is mandatory."); - - if (Module.length() > 120) - { - log.warning("Length > 120 - truncated"); - Module = Module.substring(0, 120); - } set_Value (COLUMNNAME_Module, Module); } @@ -235,12 +199,6 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -278,12 +236,6 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent @param Position Position */ public void setPosition (String Position) { - - if (Position != null && Position.length() > 10) - { - log.warning("Length > 10 - truncated"); - Position = Position.substring(0, 10); - } set_Value (COLUMNNAME_Position, Position); } diff --git a/base/src/org/compiere/model/X_U_Web_Properties.java b/base/src/org/compiere/model/X_U_Web_Properties.java index bf14791a8a..4482dc80e9 100644 --- a/base/src/org/compiere/model/X_U_Web_Properties.java +++ b/base/src/org/compiere/model/X_U_Web_Properties.java @@ -22,7 +22,7 @@ import java.util.Properties; /** Generated Model for U_Web_Properties * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_U_Web_Properties extends PO implements I_U_Web_Properties, I_Persistent { @@ -77,12 +77,6 @@ public class X_U_Web_Properties extends PO implements I_U_Web_Properties, I_Pers { if (U_Key == null) throw new IllegalArgumentException ("U_Key is mandatory."); - - if (U_Key.length() > 240) - { - log.warning("Length > 240 - truncated"); - U_Key = U_Key.substring(0, 240); - } set_Value (COLUMNNAME_U_Key, U_Key); } @@ -99,12 +93,6 @@ public class X_U_Web_Properties extends PO implements I_U_Web_Properties, I_Pers { if (U_Value == null) throw new IllegalArgumentException ("U_Value is mandatory."); - - if (U_Value.length() > 240) - { - log.warning("Length > 240 - truncated"); - U_Value = U_Value.substring(0, 240); - } set_Value (COLUMNNAME_U_Value, U_Value); } diff --git a/base/src/org/compiere/model/X_W_Advertisement.java b/base/src/org/compiere/model/X_W_Advertisement.java index 9ab25f9eea..2ce88553bc 100644 --- a/base/src/org/compiere/model/X_W_Advertisement.java +++ b/base/src/org/compiere/model/X_W_Advertisement.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Advertisement * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persistent { @@ -81,6 +81,23 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis return sb.toString(); } + /** Set Advertisement Text. + @param AdText + Text of the Advertisement + */ + public void setAdText (String AdText) + { + set_Value (COLUMNNAME_AdText, AdText); + } + + /** Get Advertisement Text. + @return Text of the Advertisement + */ + public String getAdText () + { + return (String)get_Value(COLUMNNAME_AdText); + } + public I_AD_User getAD_User() throws Exception { Class clazz = MTable.getClass(I_AD_User.Table_Name); @@ -119,29 +136,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis return ii.intValue(); } - /** Set Advertisement Text. - @param AdText - Text of the Advertisement - */ - public void setAdText (String AdText) - { - - if (AdText != null && AdText.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - AdText = AdText.substring(0, 2000); - } - set_Value (COLUMNNAME_AdText, AdText); - } - - /** Get Advertisement Text. - @return Text of the Advertisement - */ - public String getAdText () - { - return (String)get_Value(COLUMNNAME_AdText); - } - /** C_BPartner_ID AD_Reference_ID=232 */ public static final int C_BPARTNER_ID_AD_Reference_ID=232; /** Set Business Partner . @@ -172,12 +166,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -195,12 +183,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -218,12 +200,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis */ public void setImageURL (String ImageURL) { - - if (ImageURL != null && ImageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - ImageURL = ImageURL.substring(0, 120); - } set_Value (COLUMNNAME_ImageURL, ImageURL); } @@ -267,12 +243,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -330,13 +300,7 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis public void setPublishStatus (String PublishStatus) { if (PublishStatus == null) throw new IllegalArgumentException ("PublishStatus is mandatory"); - if (PublishStatus.equals("R") || PublishStatus.equals("T") || PublishStatus.equals("U") || PublishStatus.equals("V")); else throw new IllegalArgumentException ("PublishStatus Invalid value - " + PublishStatus + " - Reference_ID=310 - R - T - U - V"); - if (PublishStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - PublishStatus = PublishStatus.substring(0, 1); - } - set_Value (COLUMNNAME_PublishStatus, PublishStatus); + if (PublishStatus.equals("R") || PublishStatus.equals("T") || PublishStatus.equals("U") || PublishStatus.equals("V")); else throw new IllegalArgumentException ("PublishStatus Invalid value - " + PublishStatus + " - Reference_ID=310 - R - T - U - V"); set_Value (COLUMNNAME_PublishStatus, PublishStatus); } /** Get Publication Status. @@ -507,12 +471,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis */ public void setWebParam1 (String WebParam1) { - - if (WebParam1 != null && WebParam1.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam1 = WebParam1.substring(0, 2000); - } set_Value (COLUMNNAME_WebParam1, WebParam1); } @@ -530,12 +488,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis */ public void setWebParam2 (String WebParam2) { - - if (WebParam2 != null && WebParam2.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam2 = WebParam2.substring(0, 2000); - } set_Value (COLUMNNAME_WebParam2, WebParam2); } @@ -553,12 +505,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis */ public void setWebParam3 (String WebParam3) { - - if (WebParam3 != null && WebParam3.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam3 = WebParam3.substring(0, 2000); - } set_Value (COLUMNNAME_WebParam3, WebParam3); } @@ -576,12 +522,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis */ public void setWebParam4 (String WebParam4) { - - if (WebParam4 != null && WebParam4.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam4 = WebParam4.substring(0, 2000); - } set_Value (COLUMNNAME_WebParam4, WebParam4); } diff --git a/base/src/org/compiere/model/X_W_Basket.java b/base/src/org/compiere/model/X_W_Basket.java index ec75c24dc1..ee1a130783 100644 --- a/base/src/org/compiere/model/X_W_Basket.java +++ b/base/src/org/compiere/model/X_W_Basket.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Basket * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_W_Basket extends PO implements I_W_Basket, I_Persistent { @@ -157,12 +157,6 @@ public class X_W_Basket extends PO implements I_W_Basket, I_Persistent */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_Value (COLUMNNAME_EMail, EMail); } diff --git a/base/src/org/compiere/model/X_W_BasketLine.java b/base/src/org/compiere/model/X_W_BasketLine.java index 4dde415c6f..991860f1b2 100644 --- a/base/src/org/compiere/model/X_W_BasketLine.java +++ b/base/src/org/compiere/model/X_W_BasketLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_BasketLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_W_BasketLine extends PO implements I_W_BasketLine, I_Persistent { @@ -47,8 +47,8 @@ public class X_W_BasketLine extends PO implements I_W_BasketLine, I_Persistent setPrice (Env.ZERO); setProduct (null); setQty (Env.ZERO); - setW_BasketLine_ID (0); setW_Basket_ID (0); + setW_BasketLine_ID (0); } */ } @@ -88,12 +88,6 @@ public class X_W_BasketLine extends PO implements I_W_BasketLine, I_Persistent { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); - - if (Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -200,12 +194,6 @@ public class X_W_BasketLine extends PO implements I_W_BasketLine, I_Persistent { if (Product == null) throw new IllegalArgumentException ("Product is mandatory."); - - if (Product.length() > 40) - { - log.warning("Length > 40 - truncated"); - Product = Product.substring(0, 40); - } set_Value (COLUMNNAME_Product, Product); } @@ -238,28 +226,6 @@ public class X_W_BasketLine extends PO implements I_W_BasketLine, I_Persistent return bd; } - /** Set Basket Line. - @param W_BasketLine_ID - Web Basket Line - */ - public void setW_BasketLine_ID (int W_BasketLine_ID) - { - if (W_BasketLine_ID < 1) - throw new IllegalArgumentException ("W_BasketLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_W_BasketLine_ID, Integer.valueOf(W_BasketLine_ID)); - } - - /** Get Basket Line. - @return Web Basket Line - */ - public int getW_BasketLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_W_BasketLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_W_Basket getW_Basket() throws Exception { Class clazz = MTable.getClass(I_W_Basket.Table_Name); @@ -297,4 +263,26 @@ public class X_W_BasketLine extends PO implements I_W_BasketLine, I_Persistent return 0; return ii.intValue(); } + + /** Set Basket Line. + @param W_BasketLine_ID + Web Basket Line + */ + public void setW_BasketLine_ID (int W_BasketLine_ID) + { + if (W_BasketLine_ID < 1) + throw new IllegalArgumentException ("W_BasketLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_W_BasketLine_ID, Integer.valueOf(W_BasketLine_ID)); + } + + /** Get Basket Line. + @return Web Basket Line + */ + public int getW_BasketLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_W_BasketLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_W_Click.java b/base/src/org/compiere/model/X_W_Click.java index 5cc7718ef3..acc2e34e2d 100644 --- a/base/src/org/compiere/model/X_W_Click.java +++ b/base/src/org/compiere/model/X_W_Click.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Click * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_W_Click extends PO implements I_W_Click, I_Persistent { @@ -73,6 +73,23 @@ public class X_W_Click extends PO implements I_W_Click, I_Persistent return sb.toString(); } + /** Set Accept Language. + @param AcceptLanguage + Language accepted based on browser information + */ + public void setAcceptLanguage (String AcceptLanguage) + { + set_Value (COLUMNNAME_AcceptLanguage, AcceptLanguage); + } + + /** Get Accept Language. + @return Language accepted based on browser information + */ + public String getAcceptLanguage () + { + return (String)get_Value(COLUMNNAME_AcceptLanguage); + } + /** Set User/Contact. @param AD_User_ID User within the system - Internal or Business Partner Contact @@ -96,41 +113,12 @@ public class X_W_Click extends PO implements I_W_Click, I_Persistent return ii.intValue(); } - /** Set Accept Language. - @param AcceptLanguage - Language accepted based on browser information - */ - public void setAcceptLanguage (String AcceptLanguage) - { - - if (AcceptLanguage != null && AcceptLanguage.length() > 60) - { - log.warning("Length > 60 - truncated"); - AcceptLanguage = AcceptLanguage.substring(0, 60); - } - set_Value (COLUMNNAME_AcceptLanguage, AcceptLanguage); - } - - /** Get Accept Language. - @return Language accepted based on browser information - */ - public String getAcceptLanguage () - { - return (String)get_Value(COLUMNNAME_AcceptLanguage); - } - /** Set EMail Address. @param EMail Electronic Mail Address */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -172,12 +160,6 @@ public class X_W_Click extends PO implements I_W_Click, I_Persistent */ public void setReferrer (String Referrer) { - - if (Referrer != null && Referrer.length() > 120) - { - log.warning("Length > 120 - truncated"); - Referrer = Referrer.substring(0, 120); - } set_Value (COLUMNNAME_Referrer, Referrer); } @@ -195,12 +177,6 @@ public class X_W_Click extends PO implements I_W_Click, I_Persistent */ public void setRemote_Addr (String Remote_Addr) { - - if (Remote_Addr != null && Remote_Addr.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Addr = Remote_Addr.substring(0, 60); - } set_Value (COLUMNNAME_Remote_Addr, Remote_Addr); } @@ -226,12 +202,6 @@ public class X_W_Click extends PO implements I_W_Click, I_Persistent */ public void setRemote_Host (String Remote_Host) { - - if (Remote_Host != null && Remote_Host.length() > 120) - { - log.warning("Length > 120 - truncated"); - Remote_Host = Remote_Host.substring(0, 120); - } set_Value (COLUMNNAME_Remote_Host, Remote_Host); } @@ -249,12 +219,6 @@ public class X_W_Click extends PO implements I_W_Click, I_Persistent */ public void setTargetURL (String TargetURL) { - - if (TargetURL != null && TargetURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - TargetURL = TargetURL.substring(0, 120); - } set_Value (COLUMNNAME_TargetURL, TargetURL); } @@ -272,12 +236,6 @@ public class X_W_Click extends PO implements I_W_Click, I_Persistent */ public void setUserAgent (String UserAgent) { - - if (UserAgent != null && UserAgent.length() > 255) - { - log.warning("Length > 255 - truncated"); - UserAgent = UserAgent.substring(0, 255); - } set_Value (COLUMNNAME_UserAgent, UserAgent); } diff --git a/base/src/org/compiere/model/X_W_ClickCount.java b/base/src/org/compiere/model/X_W_ClickCount.java index 5352f8d47e..25ba7b86fe 100644 --- a/base/src/org/compiere/model/X_W_ClickCount.java +++ b/base/src/org/compiere/model/X_W_ClickCount.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_ClickCount * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_W_ClickCount extends PO implements I_W_ClickCount, I_Persistent { @@ -122,12 +122,6 @@ public class X_W_ClickCount extends PO implements I_W_ClickCount, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -147,12 +141,6 @@ public class X_W_ClickCount extends PO implements I_W_ClickCount, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -180,12 +168,6 @@ public class X_W_ClickCount extends PO implements I_W_ClickCount, I_Persistent { if (TargetURL == null) throw new IllegalArgumentException ("TargetURL is mandatory."); - - if (TargetURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - TargetURL = TargetURL.substring(0, 120); - } set_Value (COLUMNNAME_TargetURL, TargetURL); } diff --git a/base/src/org/compiere/model/X_W_Counter.java b/base/src/org/compiere/model/X_W_Counter.java index 93a830956d..bc8a08cb0d 100644 --- a/base/src/org/compiere/model/X_W_Counter.java +++ b/base/src/org/compiere/model/X_W_Counter.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Counter * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent { @@ -76,6 +76,23 @@ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent return sb.toString(); } + /** Set Accept Language. + @param AcceptLanguage + Language accepted based on browser information + */ + public void setAcceptLanguage (String AcceptLanguage) + { + set_Value (COLUMNNAME_AcceptLanguage, AcceptLanguage); + } + + /** Get Accept Language. + @return Language accepted based on browser information + */ + public String getAcceptLanguage () + { + return (String)get_Value(COLUMNNAME_AcceptLanguage); + } + /** Set User/Contact. @param AD_User_ID User within the system - Internal or Business Partner Contact @@ -99,41 +116,12 @@ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent return ii.intValue(); } - /** Set Accept Language. - @param AcceptLanguage - Language accepted based on browser information - */ - public void setAcceptLanguage (String AcceptLanguage) - { - - if (AcceptLanguage != null && AcceptLanguage.length() > 60) - { - log.warning("Length > 60 - truncated"); - AcceptLanguage = AcceptLanguage.substring(0, 60); - } - set_Value (COLUMNNAME_AcceptLanguage, AcceptLanguage); - } - - /** Get Accept Language. - @return Language accepted based on browser information - */ - public String getAcceptLanguage () - { - return (String)get_Value(COLUMNNAME_AcceptLanguage); - } - /** Set EMail Address. @param EMail Electronic Mail Address */ public void setEMail (String EMail) { - - if (EMail != null && EMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - EMail = EMail.substring(0, 60); - } set_Value (COLUMNNAME_EMail, EMail); } @@ -151,12 +139,6 @@ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent { if (PageURL == null) throw new IllegalArgumentException ("PageURL is mandatory."); - - if (PageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - PageURL = PageURL.substring(0, 120); - } set_Value (COLUMNNAME_PageURL, PageURL); } @@ -197,12 +179,6 @@ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent */ public void setReferrer (String Referrer) { - - if (Referrer != null && Referrer.length() > 120) - { - log.warning("Length > 120 - truncated"); - Referrer = Referrer.substring(0, 120); - } set_Value (COLUMNNAME_Referrer, Referrer); } @@ -222,12 +198,6 @@ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent { if (Remote_Addr == null) throw new IllegalArgumentException ("Remote_Addr is mandatory."); - - if (Remote_Addr.length() > 60) - { - log.warning("Length > 60 - truncated"); - Remote_Addr = Remote_Addr.substring(0, 60); - } set_Value (COLUMNNAME_Remote_Addr, Remote_Addr); } @@ -255,12 +225,6 @@ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent { if (Remote_Host == null) throw new IllegalArgumentException ("Remote_Host is mandatory."); - - if (Remote_Host.length() > 120) - { - log.warning("Length > 120 - truncated"); - Remote_Host = Remote_Host.substring(0, 120); - } set_Value (COLUMNNAME_Remote_Host, Remote_Host); } @@ -278,12 +242,6 @@ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent */ public void setUserAgent (String UserAgent) { - - if (UserAgent != null && UserAgent.length() > 255) - { - log.warning("Length > 255 - truncated"); - UserAgent = UserAgent.substring(0, 255); - } set_Value (COLUMNNAME_UserAgent, UserAgent); } diff --git a/base/src/org/compiere/model/X_W_CounterCount.java b/base/src/org/compiere/model/X_W_CounterCount.java index b7bf63d370..cd0763bc34 100644 --- a/base/src/org/compiere/model/X_W_CounterCount.java +++ b/base/src/org/compiere/model/X_W_CounterCount.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_CounterCount * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_W_CounterCount extends PO implements I_W_CounterCount, I_Persistent { @@ -122,12 +122,6 @@ public class X_W_CounterCount extends PO implements I_W_CounterCount, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -147,12 +141,6 @@ public class X_W_CounterCount extends PO implements I_W_CounterCount, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -178,12 +166,6 @@ public class X_W_CounterCount extends PO implements I_W_CounterCount, I_Persiste { if (PageURL == null) throw new IllegalArgumentException ("PageURL is mandatory."); - - if (PageURL.length() > 120) - { - log.warning("Length > 120 - truncated"); - PageURL = PageURL.substring(0, 120); - } set_Value (COLUMNNAME_PageURL, PageURL); } diff --git a/base/src/org/compiere/model/X_W_MailMsg.java b/base/src/org/compiere/model/X_W_MailMsg.java index 1729befc02..f7232c1062 100644 --- a/base/src/org/compiere/model/X_W_MailMsg.java +++ b/base/src/org/compiere/model/X_W_MailMsg.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_MailMsg * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent { @@ -83,12 +83,6 @@ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -127,13 +121,7 @@ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent public void setMailMsgType (String MailMsgType) { if (MailMsgType == null) throw new IllegalArgumentException ("MailMsgType is mandatory"); - if (MailMsgType.equals("OA") || MailMsgType.equals("PA") || MailMsgType.equals("PE") || MailMsgType.equals("UV") || MailMsgType.equals("UP") || MailMsgType.equals("LS") || MailMsgType.equals("LU") || MailMsgType.equals("UA") || MailMsgType.equals("WR")); else throw new IllegalArgumentException ("MailMsgType Invalid value - " + MailMsgType + " - Reference_ID=342 - OA - PA - PE - UV - UP - LS - LU - UA - WR"); - if (MailMsgType.length() > 2) - { - log.warning("Length > 2 - truncated"); - MailMsgType = MailMsgType.substring(0, 2); - } - set_Value (COLUMNNAME_MailMsgType, MailMsgType); + if (MailMsgType.equals("OA") || MailMsgType.equals("PA") || MailMsgType.equals("PE") || MailMsgType.equals("UV") || MailMsgType.equals("UP") || MailMsgType.equals("LS") || MailMsgType.equals("LU") || MailMsgType.equals("UA") || MailMsgType.equals("WR")); else throw new IllegalArgumentException ("MailMsgType Invalid value - " + MailMsgType + " - Reference_ID=342 - OA - PA - PE - UV - UP - LS - LU - UA - WR"); set_Value (COLUMNNAME_MailMsgType, MailMsgType); } /** Get Message Type. @@ -152,12 +140,6 @@ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent { if (Message == null) throw new IllegalArgumentException ("Message is mandatory."); - - if (Message.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Message = Message.substring(0, 2000); - } set_Value (COLUMNNAME_Message, Message); } @@ -175,12 +157,6 @@ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent */ public void setMessage2 (String Message2) { - - if (Message2 != null && Message2.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Message2 = Message2.substring(0, 2000); - } set_Value (COLUMNNAME_Message2, Message2); } @@ -198,12 +174,6 @@ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent */ public void setMessage3 (String Message3) { - - if (Message3 != null && Message3.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Message3 = Message3.substring(0, 2000); - } set_Value (COLUMNNAME_Message3, Message3); } @@ -223,12 +193,6 @@ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -256,12 +220,6 @@ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent { if (Subject == null) throw new IllegalArgumentException ("Subject is mandatory."); - - if (Subject.length() > 255) - { - log.warning("Length > 255 - truncated"); - Subject = Subject.substring(0, 255); - } set_Value (COLUMNNAME_Subject, Subject); } diff --git a/base/src/org/compiere/model/X_W_Store.java b/base/src/org/compiere/model/X_W_Store.java index a4096bb630..370efc73a1 100644 --- a/base/src/org/compiere/model/X_W_Store.java +++ b/base/src/org/compiere/model/X_W_Store.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Store * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_W_Store extends PO implements I_W_Store, I_Persistent { @@ -67,8 +67,8 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent setName (null); setSalesRep_ID (0); setURL (null); - setW_Store_ID (0); setWebContext (null); + setW_Store_ID (0); } */ } @@ -144,12 +144,6 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -167,12 +161,6 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent */ public void setEMailFooter (String EMailFooter) { - - if (EMailFooter != null && EMailFooter.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - EMailFooter = EMailFooter.substring(0, 2000); - } set_Value (COLUMNNAME_EMailFooter, EMailFooter); } @@ -190,12 +178,6 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent */ public void setEMailHeader (String EMailHeader) { - - if (EMailHeader != null && EMailHeader.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - EMailHeader = EMailHeader.substring(0, 2000); - } set_Value (COLUMNNAME_EMailHeader, EMailHeader); } @@ -213,12 +195,6 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -578,12 +554,6 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -633,12 +603,6 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent */ public void setStylesheet (String Stylesheet) { - - if (Stylesheet != null && Stylesheet.length() > 60) - { - log.warning("Length > 60 - truncated"); - Stylesheet = Stylesheet.substring(0, 60); - } set_Value (COLUMNNAME_Stylesheet, Stylesheet); } @@ -658,12 +622,6 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent { if (URL == null) throw new IllegalArgumentException ("URL is mandatory."); - - if (URL.length() > 120) - { - log.warning("Length > 120 - truncated"); - URL = URL.substring(0, 120); - } set_Value (COLUMNNAME_URL, URL); } @@ -675,18 +633,167 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent return (String)get_Value(COLUMNNAME_URL); } + /** Set Web Context. + @param WebContext + Web Server Context - e.g. /wstore + */ + public void setWebContext (String WebContext) + { + if (WebContext == null) + throw new IllegalArgumentException ("WebContext is mandatory."); + set_Value (COLUMNNAME_WebContext, WebContext); + } + + /** Get Web Context. + @return Web Server Context - e.g. /wstore + */ + public String getWebContext () + { + return (String)get_Value(COLUMNNAME_WebContext); + } + + /** Set Web Store Info. + @param WebInfo + Web Store Header Information + */ + public void setWebInfo (String WebInfo) + { + set_Value (COLUMNNAME_WebInfo, WebInfo); + } + + /** Get Web Store Info. + @return Web Store Header Information + */ + public String getWebInfo () + { + return (String)get_Value(COLUMNNAME_WebInfo); + } + + /** Set Web Order EMail. + @param WebOrderEMail + EMail address to receive notifications when web orders were processed + */ + public void setWebOrderEMail (String WebOrderEMail) + { + set_Value (COLUMNNAME_WebOrderEMail, WebOrderEMail); + } + + /** Get Web Order EMail. + @return EMail address to receive notifications when web orders were processed + */ + public String getWebOrderEMail () + { + return (String)get_Value(COLUMNNAME_WebOrderEMail); + } + + /** Set Web Parameter 1. + @param WebParam1 + Web Site Parameter 1 (default: header image) + */ + public void setWebParam1 (String WebParam1) + { + set_Value (COLUMNNAME_WebParam1, WebParam1); + } + + /** Get Web Parameter 1. + @return Web Site Parameter 1 (default: header image) + */ + public String getWebParam1 () + { + return (String)get_Value(COLUMNNAME_WebParam1); + } + + /** Set Web Parameter 2. + @param WebParam2 + Web Site Parameter 2 (default index page) + */ + public void setWebParam2 (String WebParam2) + { + set_Value (COLUMNNAME_WebParam2, WebParam2); + } + + /** Get Web Parameter 2. + @return Web Site Parameter 2 (default index page) + */ + public String getWebParam2 () + { + return (String)get_Value(COLUMNNAME_WebParam2); + } + + /** Set Web Parameter 3. + @param WebParam3 + Web Site Parameter 3 (default left - menu) + */ + public void setWebParam3 (String WebParam3) + { + set_Value (COLUMNNAME_WebParam3, WebParam3); + } + + /** Get Web Parameter 3. + @return Web Site Parameter 3 (default left - menu) + */ + public String getWebParam3 () + { + return (String)get_Value(COLUMNNAME_WebParam3); + } + + /** Set Web Parameter 4. + @param WebParam4 + Web Site Parameter 4 (default footer left) + */ + public void setWebParam4 (String WebParam4) + { + set_Value (COLUMNNAME_WebParam4, WebParam4); + } + + /** Get Web Parameter 4. + @return Web Site Parameter 4 (default footer left) + */ + public String getWebParam4 () + { + return (String)get_Value(COLUMNNAME_WebParam4); + } + + /** Set Web Parameter 5. + @param WebParam5 + Web Site Parameter 5 (default footer center) + */ + public void setWebParam5 (String WebParam5) + { + set_Value (COLUMNNAME_WebParam5, WebParam5); + } + + /** Get Web Parameter 5. + @return Web Site Parameter 5 (default footer center) + */ + public String getWebParam5 () + { + return (String)get_Value(COLUMNNAME_WebParam5); + } + + /** Set Web Parameter 6. + @param WebParam6 + Web Site Parameter 6 (default footer right) + */ + public void setWebParam6 (String WebParam6) + { + set_Value (COLUMNNAME_WebParam6, WebParam6); + } + + /** Get Web Parameter 6. + @return Web Site Parameter 6 (default footer right) + */ + public String getWebParam6 () + { + return (String)get_Value(COLUMNNAME_WebParam6); + } + /** Set Web Store EMail. @param WStoreEMail EMail address used as the sender (From) */ public void setWStoreEMail (String WStoreEMail) { - - if (WStoreEMail != null && WStoreEMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - WStoreEMail = WStoreEMail.substring(0, 60); - } set_Value (COLUMNNAME_WStoreEMail, WStoreEMail); } @@ -698,52 +805,6 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent return (String)get_Value(COLUMNNAME_WStoreEMail); } - /** Set WebStore User. - @param WStoreUser - User ID of the Web Store EMail address - */ - public void setWStoreUser (String WStoreUser) - { - - if (WStoreUser != null && WStoreUser.length() > 60) - { - log.warning("Length > 60 - truncated"); - WStoreUser = WStoreUser.substring(0, 60); - } - set_Value (COLUMNNAME_WStoreUser, WStoreUser); - } - - /** Get WebStore User. - @return User ID of the Web Store EMail address - */ - public String getWStoreUser () - { - return (String)get_Value(COLUMNNAME_WStoreUser); - } - - /** Set WebStore Password. - @param WStoreUserPW - Password of the Web Store EMail address - */ - public void setWStoreUserPW (String WStoreUserPW) - { - - if (WStoreUserPW != null && WStoreUserPW.length() > 20) - { - log.warning("Length > 20 - truncated"); - WStoreUserPW = WStoreUserPW.substring(0, 20); - } - set_Value (COLUMNNAME_WStoreUserPW, WStoreUserPW); - } - - /** Get WebStore Password. - @return Password of the Web Store EMail address - */ - public String getWStoreUserPW () - { - return (String)get_Value(COLUMNNAME_WStoreUserPW); - } - /** Set Web Store. @param W_Store_ID A Web Store of the Client @@ -766,212 +827,37 @@ public class X_W_Store extends PO implements I_W_Store, I_Persistent return ii.intValue(); } - /** Set Web Context. - @param WebContext - Web Server Context - e.g. /wstore + /** Set WebStore User. + @param WStoreUser + User ID of the Web Store EMail address */ - public void setWebContext (String WebContext) + public void setWStoreUser (String WStoreUser) { - if (WebContext == null) - throw new IllegalArgumentException ("WebContext is mandatory."); - - if (WebContext.length() > 20) - { - log.warning("Length > 20 - truncated"); - WebContext = WebContext.substring(0, 20); - } - set_Value (COLUMNNAME_WebContext, WebContext); + set_Value (COLUMNNAME_WStoreUser, WStoreUser); } - /** Get Web Context. - @return Web Server Context - e.g. /wstore + /** Get WebStore User. + @return User ID of the Web Store EMail address */ - public String getWebContext () + public String getWStoreUser () { - return (String)get_Value(COLUMNNAME_WebContext); + return (String)get_Value(COLUMNNAME_WStoreUser); } - /** Set Web Store Info. - @param WebInfo - Web Store Header Information + /** Set WebStore Password. + @param WStoreUserPW + Password of the Web Store EMail address */ - public void setWebInfo (String WebInfo) + public void setWStoreUserPW (String WStoreUserPW) { - - if (WebInfo != null && WebInfo.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebInfo = WebInfo.substring(0, 2000); - } - set_Value (COLUMNNAME_WebInfo, WebInfo); + set_Value (COLUMNNAME_WStoreUserPW, WStoreUserPW); } - /** Get Web Store Info. - @return Web Store Header Information + /** Get WebStore Password. + @return Password of the Web Store EMail address */ - public String getWebInfo () + public String getWStoreUserPW () { - return (String)get_Value(COLUMNNAME_WebInfo); - } - - /** Set Web Order EMail. - @param WebOrderEMail - EMail address to receive notifications when web orders were processed - */ - public void setWebOrderEMail (String WebOrderEMail) - { - - if (WebOrderEMail != null && WebOrderEMail.length() > 60) - { - log.warning("Length > 60 - truncated"); - WebOrderEMail = WebOrderEMail.substring(0, 60); - } - set_Value (COLUMNNAME_WebOrderEMail, WebOrderEMail); - } - - /** Get Web Order EMail. - @return EMail address to receive notifications when web orders were processed - */ - public String getWebOrderEMail () - { - return (String)get_Value(COLUMNNAME_WebOrderEMail); - } - - /** Set Web Parameter 1. - @param WebParam1 - Web Site Parameter 1 (default: header image) - */ - public void setWebParam1 (String WebParam1) - { - - if (WebParam1 != null && WebParam1.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam1 = WebParam1.substring(0, 2000); - } - set_Value (COLUMNNAME_WebParam1, WebParam1); - } - - /** Get Web Parameter 1. - @return Web Site Parameter 1 (default: header image) - */ - public String getWebParam1 () - { - return (String)get_Value(COLUMNNAME_WebParam1); - } - - /** Set Web Parameter 2. - @param WebParam2 - Web Site Parameter 2 (default index page) - */ - public void setWebParam2 (String WebParam2) - { - - if (WebParam2 != null && WebParam2.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam2 = WebParam2.substring(0, 2000); - } - set_Value (COLUMNNAME_WebParam2, WebParam2); - } - - /** Get Web Parameter 2. - @return Web Site Parameter 2 (default index page) - */ - public String getWebParam2 () - { - return (String)get_Value(COLUMNNAME_WebParam2); - } - - /** Set Web Parameter 3. - @param WebParam3 - Web Site Parameter 3 (default left - menu) - */ - public void setWebParam3 (String WebParam3) - { - - if (WebParam3 != null && WebParam3.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam3 = WebParam3.substring(0, 2000); - } - set_Value (COLUMNNAME_WebParam3, WebParam3); - } - - /** Get Web Parameter 3. - @return Web Site Parameter 3 (default left - menu) - */ - public String getWebParam3 () - { - return (String)get_Value(COLUMNNAME_WebParam3); - } - - /** Set Web Parameter 4. - @param WebParam4 - Web Site Parameter 4 (default footer left) - */ - public void setWebParam4 (String WebParam4) - { - - if (WebParam4 != null && WebParam4.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam4 = WebParam4.substring(0, 2000); - } - set_Value (COLUMNNAME_WebParam4, WebParam4); - } - - /** Get Web Parameter 4. - @return Web Site Parameter 4 (default footer left) - */ - public String getWebParam4 () - { - return (String)get_Value(COLUMNNAME_WebParam4); - } - - /** Set Web Parameter 5. - @param WebParam5 - Web Site Parameter 5 (default footer center) - */ - public void setWebParam5 (String WebParam5) - { - - if (WebParam5 != null && WebParam5.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam5 = WebParam5.substring(0, 2000); - } - set_Value (COLUMNNAME_WebParam5, WebParam5); - } - - /** Get Web Parameter 5. - @return Web Site Parameter 5 (default footer center) - */ - public String getWebParam5 () - { - return (String)get_Value(COLUMNNAME_WebParam5); - } - - /** Set Web Parameter 6. - @param WebParam6 - Web Site Parameter 6 (default footer right) - */ - public void setWebParam6 (String WebParam6) - { - - if (WebParam6 != null && WebParam6.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - WebParam6 = WebParam6.substring(0, 2000); - } - set_Value (COLUMNNAME_WebParam6, WebParam6); - } - - /** Get Web Parameter 6. - @return Web Site Parameter 6 (default footer right) - */ - public String getWebParam6 () - { - return (String)get_Value(COLUMNNAME_WebParam6); + return (String)get_Value(COLUMNNAME_WStoreUserPW); } } \ No newline at end of file diff --git a/base/src/org/eevolution/model/I_DD_NetworkDistribution.java b/base/src/org/eevolution/model/I_DD_NetworkDistribution.java index 46a238b9c1..d14f07169b 100644 --- a/base/src/org/eevolution/model/I_DD_NetworkDistribution.java +++ b/base/src/org/eevolution/model/I_DD_NetworkDistribution.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for DD_NetworkDistribution - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_DD_NetworkDistribution { diff --git a/base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java b/base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java index d1aaaadcb2..4bec606c23 100644 --- a/base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java +++ b/base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for DD_NetworkDistributionLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_DD_NetworkDistributionLine { @@ -58,15 +54,6 @@ public interface I_DD_NetworkDistributionLine /** Load Meta Data */ - /** Column name DD_NetworkDistributionLine_ID */ - public static final String COLUMNNAME_DD_NetworkDistributionLine_ID = "DD_NetworkDistributionLine_ID"; - - /** Set DD_NetworkDistributionLine_ID */ - public void setDD_NetworkDistributionLine_ID (int DD_NetworkDistributionLine_ID); - - /** Get DD_NetworkDistributionLine_ID */ - public int getDD_NetworkDistributionLine_ID(); - /** Column name DD_NetworkDistribution_ID */ public static final String COLUMNNAME_DD_NetworkDistribution_ID = "DD_NetworkDistribution_ID"; @@ -78,6 +65,15 @@ public interface I_DD_NetworkDistributionLine public org.eevolution.model.I_DD_NetworkDistribution getDD_NetworkDistribution() throws Exception; + /** Column name DD_NetworkDistributionLine_ID */ + public static final String COLUMNNAME_DD_NetworkDistributionLine_ID = "DD_NetworkDistributionLine_ID"; + + /** Set DD_NetworkDistributionLine_ID */ + public void setDD_NetworkDistributionLine_ID (int DD_NetworkDistributionLine_ID); + + /** Get DD_NetworkDistributionLine_ID */ + public int getDD_NetworkDistributionLine_ID(); + /** Column name M_Shipper_ID */ public static final String COLUMNNAME_M_Shipper_ID = "M_Shipper_ID"; @@ -93,19 +89,6 @@ public interface I_DD_NetworkDistributionLine public I_M_Shipper getM_Shipper() throws Exception; - /** Column name M_WarehouseSource_ID */ - public static final String COLUMNNAME_M_WarehouseSource_ID = "M_WarehouseSource_ID"; - - /** Set Source Warehouse. - * Optional Warehouse to replenish from - */ - public void setM_WarehouseSource_ID (int M_WarehouseSource_ID); - - /** Get Source Warehouse. - * Optional Warehouse to replenish from - */ - public int getM_WarehouseSource_ID(); - /** Column name M_Warehouse_ID */ public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID"; @@ -119,6 +102,19 @@ public interface I_DD_NetworkDistributionLine */ public int getM_Warehouse_ID(); + /** Column name M_WarehouseSource_ID */ + public static final String COLUMNNAME_M_WarehouseSource_ID = "M_WarehouseSource_ID"; + + /** Set Source Warehouse. + * Optional Warehouse to replenish from + */ + public void setM_WarehouseSource_ID (int M_WarehouseSource_ID); + + /** Get Source Warehouse. + * Optional Warehouse to replenish from + */ + public int getM_WarehouseSource_ID(); + /** Column name Percent */ public static final String COLUMNNAME_Percent = "Percent"; diff --git a/base/src/org/eevolution/model/I_DD_Order.java b/base/src/org/eevolution/model/I_DD_Order.java index 603a99f08f..6d361416f9 100644 --- a/base/src/org/eevolution/model/I_DD_Order.java +++ b/base/src/org/eevolution/model/I_DD_Order.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for DD_Order - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_DD_Order { @@ -174,6 +170,19 @@ public interface I_DD_Order public I_C_DocType getC_DocType() throws Exception; + /** Column name ChargeAmt */ + public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; + + /** Set Charge amount. + * Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt); + + /** Get Charge amount. + * Charge Amount + */ + public BigDecimal getChargeAmt(); + /** Column name C_Invoice_ID */ public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; @@ -219,19 +228,6 @@ public interface I_DD_Order public I_C_Project getC_Project() throws Exception; - /** Column name ChargeAmt */ - public static final String COLUMNNAME_ChargeAmt = "ChargeAmt"; - - /** Set Charge amount. - * Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt); - - /** Get Charge amount. - * Charge Amount - */ - public BigDecimal getChargeAmt(); - /** Column name CreateConfirm */ public static final String COLUMNNAME_CreateConfirm = "CreateConfirm"; @@ -263,15 +259,6 @@ public interface I_DD_Order /** Get Create Package */ public String getCreatePackage(); - /** Column name DD_Order_ID */ - public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID"; - - /** Set Distribution Order */ - public void setDD_Order_ID (int DD_Order_ID); - - /** Get Distribution Order */ - public int getDD_Order_ID(); - /** Column name DateOrdered */ public static final String COLUMNNAME_DateOrdered = "DateOrdered"; @@ -324,6 +311,15 @@ public interface I_DD_Order */ public Timestamp getDateReceived(); + /** Column name DD_Order_ID */ + public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID"; + + /** Set Distribution Order */ + public void setDD_Order_ID (int DD_Order_ID); + + /** Get Distribution Order */ + public int getDD_Order_ID(); + /** Column name DeliveryRule */ public static final String COLUMNNAME_DeliveryRule = "DeliveryRule"; @@ -515,6 +511,15 @@ public interface I_DD_Order */ public boolean isPrinted(); + /** Column name IsSelected */ + public static final String COLUMNNAME_IsSelected = "IsSelected"; + + /** Set Selected */ + public void setIsSelected (boolean IsSelected); + + /** Get Selected */ + public boolean isSelected(); + /** Column name IsSOTrx */ public static final String COLUMNNAME_IsSOTrx = "IsSOTrx"; @@ -528,15 +533,6 @@ public interface I_DD_Order */ public boolean isSOTrx(); - /** Column name IsSelected */ - public static final String COLUMNNAME_IsSelected = "IsSelected"; - - /** Set Selected */ - public void setIsSelected (boolean IsSelected); - - /** Get Selected */ - public boolean isSelected(); - /** Column name M_Shipper_ID */ public static final String COLUMNNAME_M_Shipper_ID = "M_Shipper_ID"; @@ -580,19 +576,6 @@ public interface I_DD_Order */ public int getNoPackages(); - /** Column name POReference */ - public static final String COLUMNNAME_POReference = "POReference"; - - /** Set Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference); - - /** Get Order Reference. - * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference(); - /** Column name PickDate */ public static final String COLUMNNAME_PickDate = "PickDate"; @@ -606,6 +589,19 @@ public interface I_DD_Order */ public Timestamp getPickDate(); + /** Column name POReference */ + public static final String COLUMNNAME_POReference = "POReference"; + + /** Set Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference); + + /** Get Order Reference. + * Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference(); + /** Column name Posted */ public static final String COLUMNNAME_Posted = "Posted"; diff --git a/base/src/org/eevolution/model/I_DD_OrderLine.java b/base/src/org/eevolution/model/I_DD_OrderLine.java index 3079f19613..a580973d72 100644 --- a/base/src/org/eevolution/model/I_DD_OrderLine.java +++ b/base/src/org/eevolution/model/I_DD_OrderLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for DD_OrderLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_DD_OrderLine { @@ -116,6 +112,19 @@ public interface I_DD_OrderLine public I_C_Charge getC_Charge() throws Exception; + /** Column name ConfirmedQty */ + public static final String COLUMNNAME_ConfirmedQty = "ConfirmedQty"; + + /** Set Confirmed Quantity. + * Confirmation of a received quantity + */ + public void setConfirmedQty (BigDecimal ConfirmedQty); + + /** Get Confirmed Quantity. + * Confirmation of a received quantity + */ + public BigDecimal getConfirmedQty(); + /** Column name C_Project_ID */ public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; @@ -146,39 +155,6 @@ public interface I_DD_OrderLine public I_C_UOM getC_UOM() throws Exception; - /** Column name ConfirmedQty */ - public static final String COLUMNNAME_ConfirmedQty = "ConfirmedQty"; - - /** Set Confirmed Quantity. - * Confirmation of a received quantity - */ - public void setConfirmedQty (BigDecimal ConfirmedQty); - - /** Get Confirmed Quantity. - * Confirmation of a received quantity - */ - public BigDecimal getConfirmedQty(); - - /** Column name DD_OrderLine_ID */ - public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID"; - - /** Set Distribution Order Line */ - public void setDD_OrderLine_ID (int DD_OrderLine_ID); - - /** Get Distribution Order Line */ - public int getDD_OrderLine_ID(); - - /** Column name DD_Order_ID */ - public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID"; - - /** Set Distribution Order */ - public void setDD_Order_ID (int DD_Order_ID); - - /** Get Distribution Order */ - public int getDD_Order_ID(); - - public org.eevolution.model.I_DD_Order getDD_Order() throws Exception; - /** Column name DateDelivered */ public static final String COLUMNNAME_DateDelivered = "DateDelivered"; @@ -218,6 +194,26 @@ public interface I_DD_OrderLine */ public Timestamp getDatePromised(); + /** Column name DD_Order_ID */ + public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID"; + + /** Set Distribution Order */ + public void setDD_Order_ID (int DD_Order_ID); + + /** Get Distribution Order */ + public int getDD_Order_ID(); + + public org.eevolution.model.I_DD_Order getDD_Order() throws Exception; + + /** Column name DD_OrderLine_ID */ + public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID"; + + /** Set Distribution Order Line */ + public void setDD_OrderLine_ID (int DD_OrderLine_ID); + + /** Get Distribution Order Line */ + public int getDD_OrderLine_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -296,19 +292,6 @@ public interface I_DD_OrderLine */ public BigDecimal getLineNetAmt(); - /** Column name M_AttributeSetInstanceTo_ID */ - public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID"; - - /** Set Attribute Set Instance To. - * Target Product Attribute Set Instance - */ - public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID); - - /** Get Attribute Set Instance To. - * Target Product Attribute Set Instance - */ - public int getM_AttributeSetInstanceTo_ID(); - /** Column name M_AttributeSetInstance_ID */ public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; @@ -322,18 +305,18 @@ public interface I_DD_OrderLine */ public int getM_AttributeSetInstance_ID(); - /** Column name M_LocatorTo_ID */ - public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID"; + /** Column name M_AttributeSetInstanceTo_ID */ + public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID"; - /** Set Locator To. - * Location inventory is moved to + /** Set Attribute Set Instance To. + * Target Product Attribute Set Instance */ - public void setM_LocatorTo_ID (int M_LocatorTo_ID); + public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID); - /** Get Locator To. - * Location inventory is moved to + /** Get Attribute Set Instance To. + * Target Product Attribute Set Instance */ - public int getM_LocatorTo_ID(); + public int getM_AttributeSetInstanceTo_ID(); /** Column name M_Locator_ID */ public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; @@ -348,6 +331,21 @@ public interface I_DD_OrderLine */ public int getM_Locator_ID(); + public I_M_Locator getM_Locator() throws Exception; + + /** Column name M_LocatorTo_ID */ + public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID"; + + /** Set Locator To. + * Location inventory is moved to + */ + public void setM_LocatorTo_ID (int M_LocatorTo_ID); + + /** Get Locator To. + * Location inventory is moved to + */ + public int getM_LocatorTo_ID(); + /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; diff --git a/base/src/org/eevolution/model/I_EXP_Format.java b/base/src/org/eevolution/model/I_EXP_Format.java index 09c4ef632a..d3475aee74 100644 --- a/base/src/org/eevolution/model/I_EXP_Format.java +++ b/base/src/org/eevolution/model/I_EXP_Format.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_Format - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_EXP_Format { diff --git a/base/src/org/eevolution/model/I_EXP_FormatLine.java b/base/src/org/eevolution/model/I_EXP_FormatLine.java index 56757a0ffd..58bf09f2b2 100644 --- a/base/src/org/eevolution/model/I_EXP_FormatLine.java +++ b/base/src/org/eevolution/model/I_EXP_FormatLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_FormatLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_EXP_FormatLine { @@ -120,15 +116,6 @@ public interface I_EXP_FormatLine /** Get EXP_EmbeddedFormat_ID */ public int getEXP_EmbeddedFormat_ID(); - /** Column name EXP_FormatLine_ID */ - public static final String COLUMNNAME_EXP_FormatLine_ID = "EXP_FormatLine_ID"; - - /** Set EXP_FormatLine_ID */ - public void setEXP_FormatLine_ID (int EXP_FormatLine_ID); - - /** Get EXP_FormatLine_ID */ - public int getEXP_FormatLine_ID(); - /** Column name EXP_Format_ID */ public static final String COLUMNNAME_EXP_Format_ID = "EXP_Format_ID"; @@ -140,6 +127,15 @@ public interface I_EXP_FormatLine public org.eevolution.model.I_EXP_Format getEXP_Format() throws Exception; + /** Column name EXP_FormatLine_ID */ + public static final String COLUMNNAME_EXP_FormatLine_ID = "EXP_FormatLine_ID"; + + /** Set EXP_FormatLine_ID */ + public void setEXP_FormatLine_ID (int EXP_FormatLine_ID); + + /** Get EXP_FormatLine_ID */ + public int getEXP_FormatLine_ID(); + /** Column name Help */ public static final String COLUMNNAME_Help = "Help"; diff --git a/base/src/org/eevolution/model/I_EXP_Processor.java b/base/src/org/eevolution/model/I_EXP_Processor.java index 9018ec50af..7b135e753c 100644 --- a/base/src/org/eevolution/model/I_EXP_Processor.java +++ b/base/src/org/eevolution/model/I_EXP_Processor.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_Processor - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_EXP_Processor { diff --git a/base/src/org/eevolution/model/I_EXP_ProcessorParameter.java b/base/src/org/eevolution/model/I_EXP_ProcessorParameter.java index 17a7e22255..b8a5bcab48 100644 --- a/base/src/org/eevolution/model/I_EXP_ProcessorParameter.java +++ b/base/src/org/eevolution/model/I_EXP_ProcessorParameter.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_ProcessorParameter - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_EXP_ProcessorParameter { @@ -70,15 +66,6 @@ public interface I_EXP_ProcessorParameter */ public String getDescription(); - /** Column name EXP_ProcessorParameter_ID */ - public static final String COLUMNNAME_EXP_ProcessorParameter_ID = "EXP_ProcessorParameter_ID"; - - /** Set EXP_ProcessorParameter_ID */ - public void setEXP_ProcessorParameter_ID (int EXP_ProcessorParameter_ID); - - /** Get EXP_ProcessorParameter_ID */ - public int getEXP_ProcessorParameter_ID(); - /** Column name EXP_Processor_ID */ public static final String COLUMNNAME_EXP_Processor_ID = "EXP_Processor_ID"; @@ -90,6 +77,15 @@ public interface I_EXP_ProcessorParameter public org.eevolution.model.I_EXP_Processor getEXP_Processor() throws Exception; + /** Column name EXP_ProcessorParameter_ID */ + public static final String COLUMNNAME_EXP_ProcessorParameter_ID = "EXP_ProcessorParameter_ID"; + + /** Set EXP_ProcessorParameter_ID */ + public void setEXP_ProcessorParameter_ID (int EXP_ProcessorParameter_ID); + + /** Get EXP_ProcessorParameter_ID */ + public int getEXP_ProcessorParameter_ID(); + /** Column name Help */ public static final String COLUMNNAME_Help = "Help"; diff --git a/base/src/org/eevolution/model/I_EXP_Processor_Type.java b/base/src/org/eevolution/model/I_EXP_Processor_Type.java index 3137b0126d..f973e0093e 100644 --- a/base/src/org/eevolution/model/I_EXP_Processor_Type.java +++ b/base/src/org/eevolution/model/I_EXP_Processor_Type.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_Processor_Type - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_EXP_Processor_Type { diff --git a/base/src/org/eevolution/model/I_HR_Attribute.java b/base/src/org/eevolution/model/I_HR_Attribute.java index 9c6e42bbea..a87a333685 100644 --- a/base/src/org/eevolution/model/I_HR_Attribute.java +++ b/base/src/org/eevolution/model/I_HR_Attribute.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Attribute - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Attribute { diff --git a/base/src/org/eevolution/model/I_HR_Concept.java b/base/src/org/eevolution/model/I_HR_Concept.java index de93a0187b..1cb92d40fd 100644 --- a/base/src/org/eevolution/model/I_HR_Concept.java +++ b/base/src/org/eevolution/model/I_HR_Concept.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Concept - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Concept { diff --git a/base/src/org/eevolution/model/I_HR_Concept_Acct.java b/base/src/org/eevolution/model/I_HR_Concept_Acct.java index 08e54b3d86..7f71df58fd 100644 --- a/base/src/org/eevolution/model/I_HR_Concept_Acct.java +++ b/base/src/org/eevolution/model/I_HR_Concept_Acct.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Concept_Acct - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Concept_Acct { diff --git a/base/src/org/eevolution/model/I_HR_Concept_Category.java b/base/src/org/eevolution/model/I_HR_Concept_Category.java index c2278978ff..e9902c343e 100644 --- a/base/src/org/eevolution/model/I_HR_Concept_Category.java +++ b/base/src/org/eevolution/model/I_HR_Concept_Category.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Concept_Category - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Concept_Category { diff --git a/base/src/org/eevolution/model/I_HR_Contract.java b/base/src/org/eevolution/model/I_HR_Contract.java index 46ab133507..15242f9158 100644 --- a/base/src/org/eevolution/model/I_HR_Contract.java +++ b/base/src/org/eevolution/model/I_HR_Contract.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Contract - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Contract { diff --git a/base/src/org/eevolution/model/I_HR_Department.java b/base/src/org/eevolution/model/I_HR_Department.java index dd300940d1..f85a14e6f8 100644 --- a/base/src/org/eevolution/model/I_HR_Department.java +++ b/base/src/org/eevolution/model/I_HR_Department.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Department - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Department { @@ -57,6 +53,21 @@ public interface I_HR_Department /** Load Meta Data */ + /** Column name C_Activity_ID */ + public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID"; + + /** Set Activity. + * Business Activity + */ + public void setC_Activity_ID (int C_Activity_ID); + + /** Get Activity. + * Business Activity + */ + public int getC_Activity_ID(); + + public I_C_Activity getC_Activity() throws Exception; + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; diff --git a/base/src/org/eevolution/model/I_HR_Employee.java b/base/src/org/eevolution/model/I_HR_Employee.java index 38a97c9847..329d882edb 100644 --- a/base/src/org/eevolution/model/I_HR_Employee.java +++ b/base/src/org/eevolution/model/I_HR_Employee.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Employee - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Employee { diff --git a/base/src/org/eevolution/model/I_HR_Job.java b/base/src/org/eevolution/model/I_HR_Job.java index 5687eced16..d978ac00a8 100644 --- a/base/src/org/eevolution/model/I_HR_Job.java +++ b/base/src/org/eevolution/model/I_HR_Job.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Job - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Job { diff --git a/base/src/org/eevolution/model/I_HR_List.java b/base/src/org/eevolution/model/I_HR_List.java index d5842989e3..17cfbb8c48 100644 --- a/base/src/org/eevolution/model/I_HR_List.java +++ b/base/src/org/eevolution/model/I_HR_List.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_List - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_List { @@ -93,6 +89,15 @@ public interface I_HR_List public org.eevolution.model.I_HR_Employee getHR_Employee() throws Exception; + /** Column name HR_List_ID */ + public static final String COLUMNNAME_HR_List_ID = "HR_List_ID"; + + /** Set Payroll List */ + public void setHR_List_ID (int HR_List_ID); + + /** Get Payroll List */ + public int getHR_List_ID(); + /** Column name HR_ListType_ID */ public static final String COLUMNNAME_HR_ListType_ID = "HR_ListType_ID"; @@ -104,15 +109,6 @@ public interface I_HR_List public org.eevolution.model.I_HR_ListType getHR_ListType() throws Exception; - /** Column name HR_List_ID */ - public static final String COLUMNNAME_HR_List_ID = "HR_List_ID"; - - /** Set Payroll List */ - public void setHR_List_ID (int HR_List_ID); - - /** Get Payroll List */ - public int getHR_List_ID(); - /** Column name HR_Payroll_ID */ public static final String COLUMNNAME_HR_Payroll_ID = "HR_Payroll_ID"; diff --git a/base/src/org/eevolution/model/I_HR_ListLine.java b/base/src/org/eevolution/model/I_HR_ListLine.java index fe87f4fc1b..0cc8eb3922 100644 --- a/base/src/org/eevolution/model/I_HR_ListLine.java +++ b/base/src/org/eevolution/model/I_HR_ListLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_ListLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_ListLine { diff --git a/base/src/org/eevolution/model/I_HR_ListType.java b/base/src/org/eevolution/model/I_HR_ListType.java index 73992d40e2..2df0f9e4cb 100644 --- a/base/src/org/eevolution/model/I_HR_ListType.java +++ b/base/src/org/eevolution/model/I_HR_ListType.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_ListType - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_ListType { diff --git a/base/src/org/eevolution/model/I_HR_ListVersion.java b/base/src/org/eevolution/model/I_HR_ListVersion.java index a3af1840ec..c362f16992 100644 --- a/base/src/org/eevolution/model/I_HR_ListVersion.java +++ b/base/src/org/eevolution/model/I_HR_ListVersion.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_ListVersion - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_ListVersion { @@ -80,15 +76,6 @@ public interface I_HR_ListVersion /** Get Payroll List Base */ public int getHR_ListBase_ID(); - /** Column name HR_ListVersion_ID */ - public static final String COLUMNNAME_HR_ListVersion_ID = "HR_ListVersion_ID"; - - /** Set Payroll List Version */ - public void setHR_ListVersion_ID (int HR_ListVersion_ID); - - /** Get Payroll List Version */ - public int getHR_ListVersion_ID(); - /** Column name HR_List_ID */ public static final String COLUMNNAME_HR_List_ID = "HR_List_ID"; @@ -100,6 +87,15 @@ public interface I_HR_ListVersion public org.eevolution.model.I_HR_List getHR_List() throws Exception; + /** Column name HR_ListVersion_ID */ + public static final String COLUMNNAME_HR_ListVersion_ID = "HR_ListVersion_ID"; + + /** Set Payroll List Version */ + public void setHR_ListVersion_ID (int HR_ListVersion_ID); + + /** Get Payroll List Version */ + public int getHR_ListVersion_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/eevolution/model/I_HR_Movement.java b/base/src/org/eevolution/model/I_HR_Movement.java index 488f04ed2f..4caf0f314a 100644 --- a/base/src/org/eevolution/model/I_HR_Movement.java +++ b/base/src/org/eevolution/model/I_HR_Movement.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Movement - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Movement { @@ -58,6 +54,19 @@ public interface I_HR_Movement /** Load Meta Data */ + /** Column name AD_OrgTrx_ID */ + public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; + + /** Set Trx Organization. + * Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID); + + /** Get Trx Organization. + * Performing or initiating organization + */ + public int getAD_OrgTrx_ID(); + /** Column name AD_Rule_ID */ public static final String COLUMNNAME_AD_Rule_ID = "AD_Rule_ID"; @@ -112,6 +121,21 @@ public interface I_HR_Movement public I_C_BPartner getC_BPartner() throws Exception; + /** Column name C_Campaign_ID */ + public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID"; + + /** Set Campaign. + * Marketing Campaign + */ + public void setC_Campaign_ID (int C_Campaign_ID); + + /** Get Campaign. + * Marketing Campaign + */ + public int getC_Campaign_ID(); + + public I_C_Campaign getC_Campaign() throws Exception; + /** Column name ColumnType */ public static final String COLUMNNAME_ColumnType = "ColumnType"; @@ -121,6 +145,51 @@ public interface I_HR_Movement /** Get Column Type */ public String getColumnType(); + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public I_C_Project getC_Project() throws Exception; + + /** Column name C_ProjectPhase_ID */ + public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; + + /** Set Project Phase. + * Phase of a Project + */ + public void setC_ProjectPhase_ID (int C_ProjectPhase_ID); + + /** Get Project Phase. + * Phase of a Project + */ + public int getC_ProjectPhase_ID(); + + public I_C_ProjectPhase getC_ProjectPhase() throws Exception; + + /** Column name C_ProjectTask_ID */ + public static final String COLUMNNAME_C_ProjectTask_ID = "C_ProjectTask_ID"; + + /** Set Project Task. + * Actual Project Task in a Phase + */ + public void setC_ProjectTask_ID (int C_ProjectTask_ID); + + /** Get Project Task. + * Actual Project Task in a Phase + */ + public int getC_ProjectTask_ID(); + + public I_C_ProjectTask getC_ProjectTask() throws Exception; + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -224,18 +293,16 @@ public interface I_HR_Movement */ public boolean isRegistered(); - /** Column name Posted */ - public static final String COLUMNNAME_Posted = "Posted"; + /** Column name PP_Order_Node_ID */ + public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID"; - /** Set Posted. - * Posting status - */ - public void setPosted (boolean Posted); + /** Set Manufacturing Order Activity */ + public void setPP_Order_Node_ID (int PP_Order_Node_ID); - /** Get Posted. - * Posting status - */ - public boolean isPosted(); + /** Get Manufacturing Order Activity */ + public int getPP_Order_Node_ID(); + + public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception; /** Column name Processed */ public static final String COLUMNNAME_Processed = "Processed"; @@ -289,6 +356,32 @@ public interface I_HR_Movement */ public String getTextMsg(); + /** Column name User1_ID */ + public static final String COLUMNNAME_User1_ID = "User1_ID"; + + /** Set User List 1. + * User defined list element #1 + */ + public void setUser1_ID (int User1_ID); + + /** Get User List 1. + * User defined list element #1 + */ + public int getUser1_ID(); + + /** Column name User2_ID */ + public static final String COLUMNNAME_User2_ID = "User2_ID"; + + /** Set User List 2. + * User defined list element #2 + */ + public void setUser2_ID (int User2_ID); + + /** Get User List 2. + * User defined list element #2 + */ + public int getUser2_ID(); + /** Column name ValidFrom */ public static final String COLUMNNAME_ValidFrom = "ValidFrom"; diff --git a/base/src/org/eevolution/model/I_HR_Payroll.java b/base/src/org/eevolution/model/I_HR_Payroll.java index 7f57766fc1..67ba07c709 100644 --- a/base/src/org/eevolution/model/I_HR_Payroll.java +++ b/base/src/org/eevolution/model/I_HR_Payroll.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Payroll - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Payroll { diff --git a/base/src/org/eevolution/model/I_HR_PayrollConcept.java b/base/src/org/eevolution/model/I_HR_PayrollConcept.java index 23ecfe137f..0c99814ac2 100644 --- a/base/src/org/eevolution/model/I_HR_PayrollConcept.java +++ b/base/src/org/eevolution/model/I_HR_PayrollConcept.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_PayrollConcept - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_PayrollConcept { diff --git a/base/src/org/eevolution/model/I_HR_Period.java b/base/src/org/eevolution/model/I_HR_Period.java index 3db47a97d3..27460f840e 100644 --- a/base/src/org/eevolution/model/I_HR_Period.java +++ b/base/src/org/eevolution/model/I_HR_Period.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Period - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Period { diff --git a/base/src/org/eevolution/model/I_HR_Process.java b/base/src/org/eevolution/model/I_HR_Process.java index 2cd96cac32..be49037bcc 100644 --- a/base/src/org/eevolution/model/I_HR_Process.java +++ b/base/src/org/eevolution/model/I_HR_Process.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Process - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Process { @@ -118,19 +114,6 @@ public interface I_HR_Process public I_C_Charge getC_Charge() throws Exception; - /** Column name C_DocTypeTarget_ID */ - public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID"; - - /** Set Target Document Type. - * Target document type for conversing documents - */ - public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID); - - /** Get Target Document Type. - * Target document type for conversing documents - */ - public int getC_DocTypeTarget_ID(); - /** Column name C_DocType_ID */ public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; @@ -146,6 +129,32 @@ public interface I_HR_Process public I_C_DocType getC_DocType() throws Exception; + /** Column name C_DocTypeTarget_ID */ + public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID"; + + /** Set Target Document Type. + * Target document type for conversing documents + */ + public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID); + + /** Get Target Document Type. + * Target document type for conversing documents + */ + public int getC_DocTypeTarget_ID(); + + /** Column name ColumnSQL */ + public static final String COLUMNNAME_ColumnSQL = "ColumnSQL"; + + /** Set Column SQL. + * Virtual Column (r/o) + */ + public void setColumnSQL (String ColumnSQL); + + /** Get Column SQL. + * Virtual Column (r/o) + */ + public String getColumnSQL(); + /** Column name C_PaySelection_ID */ public static final String COLUMNNAME_C_PaySelection_ID = "C_PaySelection_ID"; @@ -161,19 +170,6 @@ public interface I_HR_Process public I_C_PaySelection getC_PaySelection() throws Exception; - /** Column name ColumnSQL */ - public static final String COLUMNNAME_ColumnSQL = "ColumnSQL"; - - /** Set Column SQL. - * Virtual Column (r/o) - */ - public void setColumnSQL (String ColumnSQL); - - /** Get Column SQL. - * Virtual Column (r/o) - */ - public String getColumnSQL(); - /** Column name DateAcct */ public static final String COLUMNNAME_DateAcct = "DateAcct"; diff --git a/base/src/org/eevolution/model/I_HR_Year.java b/base/src/org/eevolution/model/I_HR_Year.java index a53bd80b7d..95a0126119 100644 --- a/base/src/org/eevolution/model/I_HR_Year.java +++ b/base/src/org/eevolution/model/I_HR_Year.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Year - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_HR_Year { diff --git a/base/src/org/eevolution/model/I_IMP_Processor.java b/base/src/org/eevolution/model/I_IMP_Processor.java index 775a7e0797..40e3898e70 100644 --- a/base/src/org/eevolution/model/I_IMP_Processor.java +++ b/base/src/org/eevolution/model/I_IMP_Processor.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for IMP_Processor - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_IMP_Processor { diff --git a/base/src/org/eevolution/model/I_IMP_ProcessorLog.java b/base/src/org/eevolution/model/I_IMP_ProcessorLog.java index 84efea4547..70b0f6ff0e 100644 --- a/base/src/org/eevolution/model/I_IMP_ProcessorLog.java +++ b/base/src/org/eevolution/model/I_IMP_ProcessorLog.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for IMP_ProcessorLog - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_IMP_ProcessorLog { @@ -96,15 +92,6 @@ public interface I_IMP_ProcessorLog */ public String getHelp(); - /** Column name IMP_ProcessorLog_ID */ - public static final String COLUMNNAME_IMP_ProcessorLog_ID = "IMP_ProcessorLog_ID"; - - /** Set IMP_ProcessorLog_ID */ - public void setIMP_ProcessorLog_ID (int IMP_ProcessorLog_ID); - - /** Get IMP_ProcessorLog_ID */ - public int getIMP_ProcessorLog_ID(); - /** Column name IMP_Processor_ID */ public static final String COLUMNNAME_IMP_Processor_ID = "IMP_Processor_ID"; @@ -116,6 +103,15 @@ public interface I_IMP_ProcessorLog public org.eevolution.model.I_IMP_Processor getIMP_Processor() throws Exception; + /** Column name IMP_ProcessorLog_ID */ + public static final String COLUMNNAME_IMP_ProcessorLog_ID = "IMP_ProcessorLog_ID"; + + /** Set IMP_ProcessorLog_ID */ + public void setIMP_ProcessorLog_ID (int IMP_ProcessorLog_ID); + + /** Get IMP_ProcessorLog_ID */ + public int getIMP_ProcessorLog_ID(); + /** Column name IsError */ public static final String COLUMNNAME_IsError = "IsError"; diff --git a/base/src/org/eevolution/model/I_IMP_ProcessorParameter.java b/base/src/org/eevolution/model/I_IMP_ProcessorParameter.java index bc106c51b2..c5407885e8 100644 --- a/base/src/org/eevolution/model/I_IMP_ProcessorParameter.java +++ b/base/src/org/eevolution/model/I_IMP_ProcessorParameter.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for IMP_ProcessorParameter - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_IMP_ProcessorParameter { @@ -83,15 +79,6 @@ public interface I_IMP_ProcessorParameter */ public String getHelp(); - /** Column name IMP_ProcessorParameter_ID */ - public static final String COLUMNNAME_IMP_ProcessorParameter_ID = "IMP_ProcessorParameter_ID"; - - /** Set IMP_ProcessorParameter_ID */ - public void setIMP_ProcessorParameter_ID (int IMP_ProcessorParameter_ID); - - /** Get IMP_ProcessorParameter_ID */ - public int getIMP_ProcessorParameter_ID(); - /** Column name IMP_Processor_ID */ public static final String COLUMNNAME_IMP_Processor_ID = "IMP_Processor_ID"; @@ -103,6 +90,15 @@ public interface I_IMP_ProcessorParameter public org.eevolution.model.I_IMP_Processor getIMP_Processor() throws Exception; + /** Column name IMP_ProcessorParameter_ID */ + public static final String COLUMNNAME_IMP_ProcessorParameter_ID = "IMP_ProcessorParameter_ID"; + + /** Set IMP_ProcessorParameter_ID */ + public void setIMP_ProcessorParameter_ID (int IMP_ProcessorParameter_ID); + + /** Get IMP_ProcessorParameter_ID */ + public int getIMP_ProcessorParameter_ID(); + /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; diff --git a/base/src/org/eevolution/model/I_IMP_Processor_Type.java b/base/src/org/eevolution/model/I_IMP_Processor_Type.java index a180669ced..8057d22de4 100644 --- a/base/src/org/eevolution/model/I_IMP_Processor_Type.java +++ b/base/src/org/eevolution/model/I_IMP_Processor_Type.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for IMP_Processor_Type - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_IMP_Processor_Type { diff --git a/base/src/org/eevolution/model/I_PP_Cost_Collector.java b/base/src/org/eevolution/model/I_PP_Cost_Collector.java index 02a5a01455..bfbf301640 100644 --- a/base/src/org/eevolution/model/I_PP_Cost_Collector.java +++ b/base/src/org/eevolution/model/I_PP_Cost_Collector.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Cost_Collector - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Cost_Collector { @@ -384,10 +380,10 @@ public interface I_PP_Cost_Collector /** Column name PP_Order_Node_ID */ public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID"; - /** Set PP_Order_Node_ID */ + /** Set Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID); - /** Get PP_Order_Node_ID */ + /** Get Manufacturing Order Activity */ public int getPP_Order_Node_ID(); public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception; diff --git a/base/src/org/eevolution/model/I_PP_MRP.java b/base/src/org/eevolution/model/I_PP_MRP.java index 8384106ab4..7288e3720e 100644 --- a/base/src/org/eevolution/model/I_PP_MRP.java +++ b/base/src/org/eevolution/model/I_PP_MRP.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_MRP - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_MRP { diff --git a/base/src/org/eevolution/model/I_PP_Order.java b/base/src/org/eevolution/model/I_PP_Order.java index 110ccb3134..76d9389567 100644 --- a/base/src/org/eevolution/model/I_PP_Order.java +++ b/base/src/org/eevolution/model/I_PP_Order.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order { diff --git a/base/src/org/eevolution/model/I_PP_Order_BOM.java b/base/src/org/eevolution/model/I_PP_Order_BOM.java index de24f3f321..fcde9ba85e 100644 --- a/base/src/org/eevolution/model/I_PP_Order_BOM.java +++ b/base/src/org/eevolution/model/I_PP_Order_BOM.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_BOM - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order_BOM { diff --git a/base/src/org/eevolution/model/I_PP_Order_BOMLine.java b/base/src/org/eevolution/model/I_PP_Order_BOMLine.java index 1a466f2df3..e8a1634a42 100644 --- a/base/src/org/eevolution/model/I_PP_Order_BOMLine.java +++ b/base/src/org/eevolution/model/I_PP_Order_BOMLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_BOMLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order_BOMLine { diff --git a/base/src/org/eevolution/model/I_PP_Order_BOMLineMA.java b/base/src/org/eevolution/model/I_PP_Order_BOMLineMA.java index f4c1783504..2f284611bd 100644 --- a/base/src/org/eevolution/model/I_PP_Order_BOMLineMA.java +++ b/base/src/org/eevolution/model/I_PP_Order_BOMLineMA.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_BOMLineMA - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order_BOMLineMA { diff --git a/base/src/org/eevolution/model/I_PP_Order_Cost.java b/base/src/org/eevolution/model/I_PP_Order_Cost.java index 3ef7268989..b4da6d3fe7 100644 --- a/base/src/org/eevolution/model/I_PP_Order_Cost.java +++ b/base/src/org/eevolution/model/I_PP_Order_Cost.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Cost - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order_Cost { diff --git a/base/src/org/eevolution/model/I_PP_Order_Node.java b/base/src/org/eevolution/model/I_PP_Order_Node.java index 32b11dc302..dba09f5153 100644 --- a/base/src/org/eevolution/model/I_PP_Order_Node.java +++ b/base/src/org/eevolution/model/I_PP_Order_Node.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Node - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order_Node { @@ -528,10 +524,10 @@ public interface I_PP_Order_Node /** Column name PP_Order_Node_ID */ public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID"; - /** Set PP_Order_Node_ID */ + /** Set Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID); - /** Get PP_Order_Node_ID */ + /** Get Manufacturing Order Activity */ public int getPP_Order_Node_ID(); /** Column name PP_Order_Workflow_ID */ diff --git a/base/src/org/eevolution/model/I_PP_Order_NodeNext.java b/base/src/org/eevolution/model/I_PP_Order_NodeNext.java index 1f959b0643..2fca29fda7 100644 --- a/base/src/org/eevolution/model/I_PP_Order_NodeNext.java +++ b/base/src/org/eevolution/model/I_PP_Order_NodeNext.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_NodeNext - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order_NodeNext { @@ -149,10 +145,10 @@ public interface I_PP_Order_NodeNext /** Column name PP_Order_Node_ID */ public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID"; - /** Set PP_Order_Node_ID */ + /** Set Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID); - /** Get PP_Order_Node_ID */ + /** Get Manufacturing Order Activity */ public int getPP_Order_Node_ID(); public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception; diff --git a/base/src/org/eevolution/model/I_PP_Order_Node_Asset.java b/base/src/org/eevolution/model/I_PP_Order_Node_Asset.java index 05d887e0af..a3b759857a 100644 --- a/base/src/org/eevolution/model/I_PP_Order_Node_Asset.java +++ b/base/src/org/eevolution/model/I_PP_Order_Node_Asset.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Node_Asset - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order_Node_Asset { @@ -95,10 +91,10 @@ public interface I_PP_Order_Node_Asset /** Column name PP_Order_Node_ID */ public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID"; - /** Set PP_Order_Node_ID */ + /** Set Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID); - /** Get PP_Order_Node_ID */ + /** Get Manufacturing Order Activity */ public int getPP_Order_Node_ID(); public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception; diff --git a/base/src/org/eevolution/model/I_PP_Order_Node_Product.java b/base/src/org/eevolution/model/I_PP_Order_Node_Product.java index ef2d4c575f..a70ec83a8a 100644 --- a/base/src/org/eevolution/model/I_PP_Order_Node_Product.java +++ b/base/src/org/eevolution/model/I_PP_Order_Node_Product.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Node_Product - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order_Node_Product { @@ -86,10 +82,10 @@ public interface I_PP_Order_Node_Product /** Column name PP_Order_Node_ID */ public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID"; - /** Set PP_Order_Node_ID */ + /** Set Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID); - /** Get PP_Order_Node_ID */ + /** Get Manufacturing Order Activity */ public int getPP_Order_Node_ID(); public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception; diff --git a/base/src/org/eevolution/model/I_PP_Order_Workflow.java b/base/src/org/eevolution/model/I_PP_Order_Workflow.java index 051ac0d500..cdfcf565ac 100644 --- a/base/src/org/eevolution/model/I_PP_Order_Workflow.java +++ b/base/src/org/eevolution/model/I_PP_Order_Workflow.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Workflow - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Order_Workflow { @@ -314,10 +310,10 @@ public interface I_PP_Order_Workflow /** Column name PP_Order_Node_ID */ public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID"; - /** Set PP_Order_Node_ID */ + /** Set Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID); - /** Get PP_Order_Node_ID */ + /** Get Manufacturing Order Activity */ public int getPP_Order_Node_ID(); public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception; diff --git a/base/src/org/eevolution/model/I_PP_Product_BOM.java b/base/src/org/eevolution/model/I_PP_Product_BOM.java index 2c546415b5..07cbbf261c 100644 --- a/base/src/org/eevolution/model/I_PP_Product_BOM.java +++ b/base/src/org/eevolution/model/I_PP_Product_BOM.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Product_BOM - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Product_BOM { @@ -58,19 +54,6 @@ public interface I_PP_Product_BOM /** Load Meta Data */ - /** Column name Amt */ - public static final String COLUMNNAME_Amt = "Amt"; - - /** Set Amount. - * Amount - */ - public void setAmt (BigDecimal Amt); - - /** Get Amount. - * Amount - */ - public BigDecimal getAmt(); - /** Column name BOMType */ public static final String COLUMNNAME_BOMType = "BOMType"; @@ -110,19 +93,6 @@ public interface I_PP_Product_BOM */ public String getCopyFrom(); - /** Column name Cost */ - public static final String COLUMNNAME_Cost = "Cost"; - - /** Set Cost. - * Cost information - */ - public void setCost (BigDecimal Cost); - - /** Get Cost. - * Cost information - */ - public BigDecimal getCost(); - /** Column name C_UOM_ID */ public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; @@ -177,19 +147,6 @@ public interface I_PP_Product_BOM */ public String getHelp(); - /** Column name Margin */ - public static final String COLUMNNAME_Margin = "Margin"; - - /** Set Margin %. - * Margin for a product as a percentage - */ - public void setMargin (BigDecimal Margin); - - /** Get Margin %. - * Margin for a product as a percentage - */ - public BigDecimal getMargin(); - /** Column name M_AttributeSetInstance_ID */ public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; @@ -218,21 +175,6 @@ public interface I_PP_Product_BOM public I_M_ChangeNotice getM_ChangeNotice() throws Exception; - /** Column name M_PriceList_Version_ID */ - public static final String COLUMNNAME_M_PriceList_Version_ID = "M_PriceList_Version_ID"; - - /** Set Price List Version. - * Identifies a unique instance of a Price List - */ - public void setM_PriceList_Version_ID (int M_PriceList_Version_ID); - - /** Get Price List Version. - * Identifies a unique instance of a Price List - */ - public int getM_PriceList_Version_ID(); - - public I_M_PriceList_Version getM_PriceList_Version() throws Exception; - /** Column name M_Product_ID */ public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; @@ -274,19 +216,6 @@ public interface I_PP_Product_BOM */ public int getPP_Product_BOM_ID(); - /** Column name Price */ - public static final String COLUMNNAME_Price = "Price"; - - /** Set Price. - * Price - */ - public void setPrice (BigDecimal Price); - - /** Get Price. - * Price - */ - public BigDecimal getPrice(); - /** Column name Processing */ public static final String COLUMNNAME_Processing = "Processing"; diff --git a/base/src/org/eevolution/model/I_PP_Product_BOMLine.java b/base/src/org/eevolution/model/I_PP_Product_BOMLine.java index 6202e58368..53625e66eb 100644 --- a/base/src/org/eevolution/model/I_PP_Product_BOMLine.java +++ b/base/src/org/eevolution/model/I_PP_Product_BOMLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Product_BOMLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Product_BOMLine { @@ -364,17 +360,4 @@ public interface I_PP_Product_BOMLine * Valid to including this date (last day) */ public Timestamp getValidTo(); - - /** Column name Value */ - public static final String COLUMNNAME_Value = "Value"; - - /** Set Search Key. - * Search key for the record in the format required - must be unique - */ - public void setValue (String Value); - - /** Get Search Key. - * Search key for the record in the format required - must be unique - */ - public String getValue(); } diff --git a/base/src/org/eevolution/model/I_PP_Product_Planning.java b/base/src/org/eevolution/model/I_PP_Product_Planning.java index 3afc801db9..c8f1bdf82e 100644 --- a/base/src/org/eevolution/model/I_PP_Product_Planning.java +++ b/base/src/org/eevolution/model/I_PP_Product_Planning.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Product_Planning - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_Product_Planning { diff --git a/base/src/org/eevolution/model/I_PP_WF_Node_Asset.java b/base/src/org/eevolution/model/I_PP_WF_Node_Asset.java index 47573e01a4..8b91e36498 100644 --- a/base/src/org/eevolution/model/I_PP_WF_Node_Asset.java +++ b/base/src/org/eevolution/model/I_PP_WF_Node_Asset.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_WF_Node_Asset - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_WF_Node_Asset { diff --git a/base/src/org/eevolution/model/I_PP_WF_Node_Product.java b/base/src/org/eevolution/model/I_PP_WF_Node_Product.java index f12c0bdf6e..f53614083f 100644 --- a/base/src/org/eevolution/model/I_PP_WF_Node_Product.java +++ b/base/src/org/eevolution/model/I_PP_WF_Node_Product.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for PP_WF_Node_Product - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_PP_WF_Node_Product { diff --git a/base/src/org/eevolution/model/I_QM_Specification.java b/base/src/org/eevolution/model/I_QM_Specification.java index 67a213635c..7e7b6185ad 100644 --- a/base/src/org/eevolution/model/I_QM_Specification.java +++ b/base/src/org/eevolution/model/I_QM_Specification.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for QM_Specification - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_QM_Specification { diff --git a/base/src/org/eevolution/model/I_QM_SpecificationLine.java b/base/src/org/eevolution/model/I_QM_SpecificationLine.java index 7b1416b61b..368a302dbe 100644 --- a/base/src/org/eevolution/model/I_QM_SpecificationLine.java +++ b/base/src/org/eevolution/model/I_QM_SpecificationLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -38,8 +34,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for QM_SpecificationLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_QM_SpecificationLine { @@ -99,15 +95,6 @@ public interface I_QM_SpecificationLine */ public String getOperation(); - /** Column name QM_SpecificationLine_ID */ - public static final String COLUMNNAME_QM_SpecificationLine_ID = "QM_SpecificationLine_ID"; - - /** Set QM_SpecificationLine_ID */ - public void setQM_SpecificationLine_ID (int QM_SpecificationLine_ID); - - /** Get QM_SpecificationLine_ID */ - public int getQM_SpecificationLine_ID(); - /** Column name QM_Specification_ID */ public static final String COLUMNNAME_QM_Specification_ID = "QM_Specification_ID"; @@ -119,6 +106,15 @@ public interface I_QM_SpecificationLine public org.eevolution.model.I_QM_Specification getQM_Specification() throws Exception; + /** Column name QM_SpecificationLine_ID */ + public static final String COLUMNNAME_QM_SpecificationLine_ID = "QM_SpecificationLine_ID"; + + /** Set QM_SpecificationLine_ID */ + public void setQM_SpecificationLine_ID (int QM_SpecificationLine_ID); + + /** Get QM_SpecificationLine_ID */ + public int getQM_SpecificationLine_ID(); + /** Column name SeqNo */ public static final String COLUMNNAME_SeqNo = "SeqNo"; diff --git a/base/src/org/eevolution/model/I_RV_PP_WIP.java b/base/src/org/eevolution/model/I_RV_PP_WIP.java index 77c5a6f18e..6073b7d57a 100644 --- a/base/src/org/eevolution/model/I_RV_PP_WIP.java +++ b/base/src/org/eevolution/model/I_RV_PP_WIP.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for RV_PP_WIP - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_RV_PP_WIP { diff --git a/base/src/org/eevolution/model/I_T_BOMLine.java b/base/src/org/eevolution/model/I_T_BOMLine.java index 7bb950ee95..3423c3dfdf 100644 --- a/base/src/org/eevolution/model/I_T_BOMLine.java +++ b/base/src/org/eevolution/model/I_T_BOMLine.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for T_BOMLine - * @author Trifon Trifonov (generated) - * @version Release 3.5.1a + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_BOMLine { @@ -118,21 +114,6 @@ public interface I_T_BOMLine public I_M_Product getM_Product() throws Exception; - /** Column name PP_Product_BOMLine_ID */ - public static final String COLUMNNAME_PP_Product_BOMLine_ID = "PP_Product_BOMLine_ID"; - - /** Set BOM Line. - * BOM Line - */ - public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID); - - /** Get BOM Line. - * BOM Line - */ - public int getPP_Product_BOMLine_ID(); - - public org.eevolution.model.I_PP_Product_BOMLine getPP_Product_BOMLine() throws Exception; - /** Column name PP_Product_BOM_ID */ public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID"; @@ -148,6 +129,21 @@ public interface I_T_BOMLine public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception; + /** Column name PP_Product_BOMLine_ID */ + public static final String COLUMNNAME_PP_Product_BOMLine_ID = "PP_Product_BOMLine_ID"; + + /** Set BOM Line. + * BOM Line + */ + public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID); + + /** Get BOM Line. + * BOM Line + */ + public int getPP_Product_BOMLine_ID(); + + public org.eevolution.model.I_PP_Product_BOMLine getPP_Product_BOMLine() throws Exception; + /** Column name Sel_Product_ID */ public static final String COLUMNNAME_Sel_Product_ID = "Sel_Product_ID"; diff --git a/base/src/org/eevolution/model/I_T_MRP_CRP.java b/base/src/org/eevolution/model/I_T_MRP_CRP.java index de8447cca3..98d006ec94 100644 --- a/base/src/org/eevolution/model/I_T_MRP_CRP.java +++ b/base/src/org/eevolution/model/I_T_MRP_CRP.java @@ -5,22 +5,18 @@ * Copyright (C) Trifon Trifonov. * * Copyright (C) Contributors * * * - * This program is free software; - you can redistribute it and/or * + * This program is free software, you can redistribute it and/or * * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; - either version 2 * + * as published by the Free Software Foundation, either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; - without even the implied warranty of * + * but WITHOUT ANY WARRANTY, without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; - if not, write to the Free Software * + * along with this program, if not, write to the Free Software * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * * MA 02110-1301, USA. * * * @@ -37,8 +33,8 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Interface for T_MRP_CRP - * @author Trifon Trifonov (generated) - * @version Release 3.5.0 + * @author Adempiere (generated) + * @version Release 3.5.2a */ public interface I_T_MRP_CRP { diff --git a/base/src/org/eevolution/model/X_DD_NetworkDistribution.java b/base/src/org/eevolution/model/X_DD_NetworkDistribution.java index 764882891f..95c3919dc0 100644 --- a/base/src/org/eevolution/model/X_DD_NetworkDistribution.java +++ b/base/src/org/eevolution/model/X_DD_NetworkDistribution.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for DD_NetworkDistribution * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribution, I_Persistent { @@ -82,12 +82,6 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu */ public void setCopyFrom (String CopyFrom) { - - if (CopyFrom != null && CopyFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyFrom = CopyFrom.substring(0, 1); - } set_Value (COLUMNNAME_CopyFrom, CopyFrom); } @@ -124,12 +118,6 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -147,12 +135,6 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 22) - { - log.warning("Length > 22 - truncated"); - DocumentNo = DocumentNo.substring(0, 22); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -170,12 +152,6 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -234,12 +210,6 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -276,12 +246,6 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu @param Revision Revision */ public void setRevision (String Revision) { - - if (Revision != null && Revision.length() > 10) - { - log.warning("Length > 10 - truncated"); - Revision = Revision.substring(0, 10); - } set_Value (COLUMNNAME_Revision, Revision); } @@ -334,12 +298,6 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 80) - { - log.warning("Length > 80 - truncated"); - Value = Value.substring(0, 80); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_DD_NetworkDistributionLine.java b/base/src/org/eevolution/model/X_DD_NetworkDistributionLine.java index ce229f7c15..713133bcfd 100644 --- a/base/src/org/eevolution/model/X_DD_NetworkDistributionLine.java +++ b/base/src/org/eevolution/model/X_DD_NetworkDistributionLine.java @@ -28,7 +28,7 @@ import org.compiere.util.Env; /** Generated Model for DD_NetworkDistributionLine * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDistributionLine, I_Persistent { @@ -43,11 +43,12 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist super (ctx, DD_NetworkDistributionLine_ID, trxName); /** if (DD_NetworkDistributionLine_ID == 0) { - setDD_NetworkDistributionLine_ID (0); setDD_NetworkDistribution_ID (0); - setM_WarehouseSource_ID (0); + setDD_NetworkDistributionLine_ID (0); + setM_Shipper_ID (0); setM_Warehouse_ID (0); // @M_Warehouse_ID@ + setM_WarehouseSource_ID (0); } */ } @@ -79,25 +80,6 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist return sb.toString(); } - /** Set DD_NetworkDistributionLine_ID. - @param DD_NetworkDistributionLine_ID DD_NetworkDistributionLine_ID */ - public void setDD_NetworkDistributionLine_ID (int DD_NetworkDistributionLine_ID) - { - if (DD_NetworkDistributionLine_ID < 1) - throw new IllegalArgumentException ("DD_NetworkDistributionLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_DD_NetworkDistributionLine_ID, Integer.valueOf(DD_NetworkDistributionLine_ID)); - } - - /** Get DD_NetworkDistributionLine_ID. - @return DD_NetworkDistributionLine_ID */ - public int getDD_NetworkDistributionLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_DD_NetworkDistributionLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public org.eevolution.model.I_DD_NetworkDistribution getDD_NetworkDistribution() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_DD_NetworkDistribution.Table_Name); @@ -133,6 +115,25 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist return ii.intValue(); } + /** Set DD_NetworkDistributionLine_ID. + @param DD_NetworkDistributionLine_ID DD_NetworkDistributionLine_ID */ + public void setDD_NetworkDistributionLine_ID (int DD_NetworkDistributionLine_ID) + { + if (DD_NetworkDistributionLine_ID < 1) + throw new IllegalArgumentException ("DD_NetworkDistributionLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_DD_NetworkDistributionLine_ID, Integer.valueOf(DD_NetworkDistributionLine_ID)); + } + + /** Get DD_NetworkDistributionLine_ID. + @return DD_NetworkDistributionLine_ID */ + public int getDD_NetworkDistributionLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_DD_NetworkDistributionLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_M_Shipper getM_Shipper() throws Exception { Class clazz = MTable.getClass(I_M_Shipper.Table_Name); @@ -155,10 +156,9 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist */ public void setM_Shipper_ID (int M_Shipper_ID) { - if (M_Shipper_ID < 1) - set_Value (COLUMNNAME_M_Shipper_ID, null); - else - set_Value (COLUMNNAME_M_Shipper_ID, Integer.valueOf(M_Shipper_ID)); + if (M_Shipper_ID < 1) + throw new IllegalArgumentException ("M_Shipper_ID is mandatory."); + set_Value (COLUMNNAME_M_Shipper_ID, Integer.valueOf(M_Shipper_ID)); } /** Get Shipper. @@ -172,30 +172,6 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist return ii.intValue(); } - /** M_WarehouseSource_ID AD_Reference_ID=197 */ - public static final int M_WAREHOUSESOURCE_ID_AD_Reference_ID=197; - /** Set Source Warehouse. - @param M_WarehouseSource_ID - Optional Warehouse to replenish from - */ - public void setM_WarehouseSource_ID (int M_WarehouseSource_ID) - { - if (M_WarehouseSource_ID < 1) - throw new IllegalArgumentException ("M_WarehouseSource_ID is mandatory."); - set_Value (COLUMNNAME_M_WarehouseSource_ID, Integer.valueOf(M_WarehouseSource_ID)); - } - - /** Get Source Warehouse. - @return Optional Warehouse to replenish from - */ - public int getM_WarehouseSource_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_WarehouseSource_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** M_Warehouse_ID AD_Reference_ID=197 */ public static final int M_WAREHOUSE_ID_AD_Reference_ID=197; /** Set Warehouse. @@ -220,6 +196,30 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist return ii.intValue(); } + /** M_WarehouseSource_ID AD_Reference_ID=197 */ + public static final int M_WAREHOUSESOURCE_ID_AD_Reference_ID=197; + /** Set Source Warehouse. + @param M_WarehouseSource_ID + Optional Warehouse to replenish from + */ + public void setM_WarehouseSource_ID (int M_WarehouseSource_ID) + { + if (M_WarehouseSource_ID < 1) + throw new IllegalArgumentException ("M_WarehouseSource_ID is mandatory."); + set_Value (COLUMNNAME_M_WarehouseSource_ID, Integer.valueOf(M_WarehouseSource_ID)); + } + + /** Get Source Warehouse. + @return Optional Warehouse to replenish from + */ + public int getM_WarehouseSource_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_WarehouseSource_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Percent. @param Percent Percentage diff --git a/base/src/org/eevolution/model/X_DD_Order.java b/base/src/org/eevolution/model/X_DD_Order.java index d0c003ec7d..e679cefb2d 100644 --- a/base/src/org/eevolution/model/X_DD_Order.java +++ b/base/src/org/eevolution/model/X_DD_Order.java @@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for DD_Order * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent { @@ -383,6 +383,26 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent return ii.intValue(); } + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_Invoice getC_Invoice() throws Exception { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -500,36 +520,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Create Confirm. @param CreateConfirm Create Confirm */ public void setCreateConfirm (String CreateConfirm) { - - if (CreateConfirm != null && CreateConfirm.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateConfirm = CreateConfirm.substring(0, 1); - } set_Value (COLUMNNAME_CreateConfirm, CreateConfirm); } @@ -546,12 +540,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent */ public void setCreateFrom (String CreateFrom) { - - if (CreateFrom != null && CreateFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreateFrom = CreateFrom.substring(0, 1); - } set_Value (COLUMNNAME_CreateFrom, CreateFrom); } @@ -567,12 +555,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent @param CreatePackage Create Package */ public void setCreatePackage (String CreatePackage) { - - if (CreatePackage != null && CreatePackage.length() > 1) - { - log.warning("Length > 1 - truncated"); - CreatePackage = CreatePackage.substring(0, 1); - } set_Value (COLUMNNAME_CreatePackage, CreatePackage); } @@ -583,25 +565,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent return (String)get_Value(COLUMNNAME_CreatePackage); } - /** Set Distribution Order. - @param DD_Order_ID Distribution Order */ - public void setDD_Order_ID (int DD_Order_ID) - { - if (DD_Order_ID < 1) - throw new IllegalArgumentException ("DD_Order_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID)); - } - - /** Get Distribution Order. - @return Distribution Order */ - public int getDD_Order_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Date Ordered. @param DateOrdered Date of Order @@ -670,6 +633,25 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent return (Timestamp)get_Value(COLUMNNAME_DateReceived); } + /** Set Distribution Order. + @param DD_Order_ID Distribution Order */ + public void setDD_Order_ID (int DD_Order_ID) + { + if (DD_Order_ID < 1) + throw new IllegalArgumentException ("DD_Order_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID)); + } + + /** Get Distribution Order. + @return Distribution Order */ + public int getDD_Order_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** DeliveryRule AD_Reference_ID=151 */ public static final int DELIVERYRULE_AD_Reference_ID=151; /** After Receipt = R */ @@ -691,13 +673,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public void setDeliveryRule (String DeliveryRule) { if (DeliveryRule == null) throw new IllegalArgumentException ("DeliveryRule is mandatory"); - if (DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); - if (DeliveryRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryRule = DeliveryRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); + if (DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M")); else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M"); set_Value (COLUMNNAME_DeliveryRule, DeliveryRule); } /** Get Delivery Rule. @@ -723,13 +699,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public void setDeliveryViaRule (String DeliveryViaRule) { if (DeliveryViaRule == null) throw new IllegalArgumentException ("DeliveryViaRule is mandatory"); - if (DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); - if (DeliveryViaRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - DeliveryViaRule = DeliveryViaRule.substring(0, 1); - } - set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); + if (DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S")); else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S"); set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule); } /** Get Delivery Via. @@ -746,12 +716,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -800,13 +764,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -850,13 +808,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -875,12 +827,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 30) - { - log.warning("Length > 30 - truncated"); - DocumentNo = DocumentNo.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -937,13 +883,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public void setFreightCostRule (String FreightCostRule) { if (FreightCostRule == null) throw new IllegalArgumentException ("FreightCostRule is mandatory"); - if (FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); - if (FreightCostRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - FreightCostRule = FreightCostRule.substring(0, 1); - } - set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); + if (FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L")); else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L"); set_Value (COLUMNNAME_FreightCostRule, FreightCostRule); } /** Get Freight Cost Rule. @@ -960,12 +900,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent */ public void setGenerateTo (String GenerateTo) { - - if (GenerateTo != null && GenerateTo.length() > 1) - { - log.warning("Length > 1 - truncated"); - GenerateTo = GenerateTo.substring(0, 1); - } set_Value (COLUMNNAME_GenerateTo, GenerateTo); } @@ -1118,6 +1052,27 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent return false; } + /** Set Selected. + @param IsSelected Selected */ + public void setIsSelected (boolean IsSelected) + { + set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected)); + } + + /** Get Selected. + @return Selected */ + public boolean isSelected () + { + Object oo = get_Value(COLUMNNAME_IsSelected); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Sales Transaction. @param IsSOTrx This is a Sales Transaction @@ -1142,27 +1097,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent return false; } - /** Set Selected. - @param IsSelected Selected */ - public void setIsSelected (boolean IsSelected) - { - set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected)); - } - - /** Get Selected. - @return Selected */ - public boolean isSelected () - { - Object oo = get_Value(COLUMNNAME_IsSelected); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - public I_M_Shipper getM_Shipper() throws Exception { Class clazz = MTable.getClass(I_M_Shipper.Table_Name); @@ -1260,29 +1194,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent return ii.intValue(); } - /** Set Order Reference. - @param POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference) - { - - if (POReference != null && POReference.length() > 20) - { - log.warning("Length > 20 - truncated"); - POReference = POReference.substring(0, 20); - } - set_Value (COLUMNNAME_POReference, POReference); - } - - /** Get Order Reference. - @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference () - { - return (String)get_Value(COLUMNNAME_POReference); - } - /** Set Pick Date. @param PickDate Date/Time when picked for Shipment @@ -1300,6 +1211,23 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent return (Timestamp)get_Value(COLUMNNAME_PickDate); } + /** Set Order Reference. + @param POReference + Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference) + { + set_Value (COLUMNNAME_POReference, POReference); + } + + /** Get Order Reference. + @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference () + { + return (String)get_Value(COLUMNNAME_POReference); + } + /** Set Posted. @param Posted Posting status @@ -1343,13 +1271,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public void setPriorityRule (String PriorityRule) { if (PriorityRule == null) throw new IllegalArgumentException ("PriorityRule is mandatory"); - if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (PriorityRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PriorityRule = PriorityRule.substring(0, 1); - } - set_Value (COLUMNNAME_PriorityRule, PriorityRule); + if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_Value (COLUMNNAME_PriorityRule, PriorityRule); } /** Get Priority. @@ -1500,12 +1422,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent */ public void setTrackingNo (String TrackingNo) { - - if (TrackingNo != null && TrackingNo.length() > 60) - { - log.warning("Length > 60 - truncated"); - TrackingNo = TrackingNo.substring(0, 60); - } set_Value (COLUMNNAME_TrackingNo, TrackingNo); } diff --git a/base/src/org/eevolution/model/X_DD_OrderLine.java b/base/src/org/eevolution/model/X_DD_OrderLine.java index e83710959c..5b04e8b890 100644 --- a/base/src/org/eevolution/model/X_DD_OrderLine.java +++ b/base/src/org/eevolution/model/X_DD_OrderLine.java @@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for DD_OrderLine * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent { @@ -46,15 +46,17 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent { setC_UOM_ID (0); // @#C_UOM_ID@ - setDD_OrderLine_ID (0); setDD_Order_ID (0); + setDD_OrderLine_ID (0); setIsDescription (false); // N setIsInvoiced (false); setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM DD_OrderLine WHERE DD_OrderLine_ID=@DD_OrderLine_ID@ - setM_LocatorTo_ID (0); setM_Locator_ID (0); +// @M_Locator_ID@ + setM_LocatorTo_ID (0); +// @M_LocatorTo_ID@ setProcessed (false); setQtyEntered (Env.ZERO); // 1 @@ -233,6 +235,26 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent return ii.intValue(); } + /** Set Confirmed Quantity. + @param ConfirmedQty + Confirmation of a received quantity + */ + public void setConfirmedQty (BigDecimal ConfirmedQty) + { + set_Value (COLUMNNAME_ConfirmedQty, ConfirmedQty); + } + + /** Get Confirmed Quantity. + @return Confirmation of a received quantity + */ + public BigDecimal getConfirmedQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConfirmedQty); + if (bd == null) + return Env.ZERO; + return bd; + } + public I_C_Project getC_Project() throws Exception { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -310,80 +332,6 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent return ii.intValue(); } - /** Set Confirmed Quantity. - @param ConfirmedQty - Confirmation of a received quantity - */ - public void setConfirmedQty (BigDecimal ConfirmedQty) - { - set_Value (COLUMNNAME_ConfirmedQty, ConfirmedQty); - } - - /** Get Confirmed Quantity. - @return Confirmation of a received quantity - */ - public BigDecimal getConfirmedQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConfirmedQty); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Distribution Order Line. - @param DD_OrderLine_ID Distribution Order Line */ - public void setDD_OrderLine_ID (int DD_OrderLine_ID) - { - if (DD_OrderLine_ID < 1) - throw new IllegalArgumentException ("DD_OrderLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID)); - } - - /** Get Distribution Order Line. - @return Distribution Order Line */ - public int getDD_OrderLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - public org.eevolution.model.I_DD_Order getDD_Order() throws Exception - { - Class clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name); - org.eevolution.model.I_DD_Order result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (org.eevolution.model.I_DD_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_Order_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Distribution Order. - @param DD_Order_ID Distribution Order */ - public void setDD_Order_ID (int DD_Order_ID) - { - if (DD_Order_ID < 1) - throw new IllegalArgumentException ("DD_Order_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID)); - } - - /** Get Distribution Order. - @return Distribution Order */ - public int getDD_Order_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Date Delivered. @param DateDelivered Date when the product was delivered @@ -435,18 +383,66 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent return (Timestamp)get_Value(COLUMNNAME_DatePromised); } + public org.eevolution.model.I_DD_Order getDD_Order() throws Exception + { + Class clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name); + org.eevolution.model.I_DD_Order result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (org.eevolution.model.I_DD_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_Order_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Distribution Order. + @param DD_Order_ID Distribution Order */ + public void setDD_Order_ID (int DD_Order_ID) + { + if (DD_Order_ID < 1) + throw new IllegalArgumentException ("DD_Order_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID)); + } + + /** Get Distribution Order. + @return Distribution Order */ + public int getDD_Order_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Distribution Order Line. + @param DD_OrderLine_ID Distribution Order Line */ + public void setDD_OrderLine_ID (int DD_OrderLine_ID) + { + if (DD_OrderLine_ID < 1) + throw new IllegalArgumentException ("DD_OrderLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID)); + } + + /** Get Distribution Order Line. + @return Distribution Order Line */ + public int getDD_OrderLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -574,6 +570,29 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent return bd; } + /** Set Attribute Set Instance. + @param M_AttributeSetInstance_ID + Product Attribute Set Instance + */ + public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) + { + if (M_AttributeSetInstance_ID < 1) + set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null); + else + set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID)); + } + + /** Get Attribute Set Instance. + @return Product Attribute Set Instance + */ + public int getM_AttributeSetInstance_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Attribute Set Instance To. @param M_AttributeSetInstanceTo_ID Target Product Attribute Set Instance @@ -597,24 +616,39 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent return ii.intValue(); } - /** Set Attribute Set Instance. - @param M_AttributeSetInstance_ID - Product Attribute Set Instance + public I_M_Locator getM_Locator() throws Exception + { + Class clazz = MTable.getClass(I_M_Locator.Table_Name); + I_M_Locator result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_Locator)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Locator_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Locator. + @param M_Locator_ID + Warehouse Locator */ - public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) + public void setM_Locator_ID (int M_Locator_ID) { - if (M_AttributeSetInstance_ID < 1) - set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null); - else - set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID)); + if (M_Locator_ID < 1) + throw new IllegalArgumentException ("M_Locator_ID is mandatory."); + set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID)); } - /** Get Attribute Set Instance. - @return Product Attribute Set Instance + /** Get Locator. + @return Warehouse Locator */ - public int getM_AttributeSetInstance_ID () + public int getM_Locator_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID); if (ii == null) return 0; return ii.intValue(); @@ -644,30 +678,6 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent return ii.intValue(); } - /** M_Locator_ID AD_Reference_ID=191 */ - public static final int M_LOCATOR_ID_AD_Reference_ID=191; - /** Set Locator. - @param M_Locator_ID - Warehouse Locator - */ - public void setM_Locator_ID (int M_Locator_ID) - { - if (M_Locator_ID < 1) - throw new IllegalArgumentException ("M_Locator_ID is mandatory."); - set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID)); - } - - /** Get Locator. - @return Warehouse Locator - */ - public int getM_Locator_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** M_Product_ID AD_Reference_ID=171 */ public static final int M_PRODUCT_ID_AD_Reference_ID=171; /** Set Product. diff --git a/base/src/org/eevolution/model/X_EXP_Format.java b/base/src/org/eevolution/model/X_EXP_Format.java index d4f7519b16..3ae4d34626 100644 --- a/base/src/org/eevolution/model/X_EXP_Format.java +++ b/base/src/org/eevolution/model/X_EXP_Format.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for EXP_Format * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent { @@ -120,12 +120,6 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -162,12 +156,6 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -187,12 +175,6 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -229,12 +211,6 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent @param TestExportModel Test Export Model */ public void setTestExportModel (String TestExportModel) { - - if (TestExportModel != null && TestExportModel.length() > 1) - { - log.warning("Length > 1 - truncated"); - TestExportModel = TestExportModel.substring(0, 1); - } set_Value (COLUMNNAME_TestExportModel, TestExportModel); } @@ -249,12 +225,6 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent @param TestImportModel TestImportModel */ public void setTestImportModel (String TestImportModel) { - - if (TestImportModel != null && TestImportModel.length() > 1) - { - log.warning("Length > 1 - truncated"); - TestImportModel = TestImportModel.substring(0, 1); - } set_Value (COLUMNNAME_TestImportModel, TestImportModel); } @@ -273,12 +243,6 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } @@ -298,12 +262,6 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent { if (Version == null) throw new IllegalArgumentException ("Version is mandatory."); - - if (Version.length() > 40) - { - log.warning("Length > 40 - truncated"); - Version = Version.substring(0, 40); - } set_Value (COLUMNNAME_Version, Version); } @@ -321,12 +279,6 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent */ public void setWhereClause (String WhereClause) { - - if (WhereClause != null && WhereClause.length() > 255) - { - log.warning("Length > 255 - truncated"); - WhereClause = WhereClause.substring(0, 255); - } set_Value (COLUMNNAME_WhereClause, WhereClause); } diff --git a/base/src/org/eevolution/model/X_EXP_FormatLine.java b/base/src/org/eevolution/model/X_EXP_FormatLine.java index 200d8ad9c0..7a8132c391 100644 --- a/base/src/org/eevolution/model/X_EXP_FormatLine.java +++ b/base/src/org/eevolution/model/X_EXP_FormatLine.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for EXP_FormatLine * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persistent { @@ -142,12 +142,6 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste */ public void setDateFormat (String DateFormat) { - - if (DateFormat != null && DateFormat.length() > 40) - { - log.warning("Length > 40 - truncated"); - DateFormat = DateFormat.substring(0, 40); - } set_Value (COLUMNNAME_DateFormat, DateFormat); } @@ -165,12 +159,6 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -204,25 +192,6 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste return ii.intValue(); } - /** Set EXP_FormatLine_ID. - @param EXP_FormatLine_ID EXP_FormatLine_ID */ - public void setEXP_FormatLine_ID (int EXP_FormatLine_ID) - { - if (EXP_FormatLine_ID < 1) - throw new IllegalArgumentException ("EXP_FormatLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_EXP_FormatLine_ID, Integer.valueOf(EXP_FormatLine_ID)); - } - - /** Get EXP_FormatLine_ID. - @return EXP_FormatLine_ID */ - public int getEXP_FormatLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_EXP_FormatLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public org.eevolution.model.I_EXP_Format getEXP_Format() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_EXP_Format.Table_Name); @@ -259,18 +228,31 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste return ii.intValue(); } + /** Set EXP_FormatLine_ID. + @param EXP_FormatLine_ID EXP_FormatLine_ID */ + public void setEXP_FormatLine_ID (int EXP_FormatLine_ID) + { + if (EXP_FormatLine_ID < 1) + throw new IllegalArgumentException ("EXP_FormatLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_EXP_FormatLine_ID, Integer.valueOf(EXP_FormatLine_ID)); + } + + /** Get EXP_FormatLine_ID. + @return EXP_FormatLine_ID */ + public int getEXP_FormatLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_EXP_FormatLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Comment/Help. @param Help Comment or Hint */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -335,12 +317,6 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -386,13 +362,7 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste public void setType (String Type) { if (Type == null) throw new IllegalArgumentException ("Type is mandatory"); - if (Type.equals("E") || Type.equals("A") || Type.equals("M") || Type.equals("R")); else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=53241 - E - A - M - R"); - if (Type.length() > 1) - { - log.warning("Length > 1 - truncated"); - Type = Type.substring(0, 1); - } - set_Value (COLUMNNAME_Type, Type); + if (Type.equals("E") || Type.equals("A") || Type.equals("M") || Type.equals("R")); else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=53241 - E - A - M - R"); set_Value (COLUMNNAME_Type, Type); } /** Get Type. @@ -411,12 +381,6 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_EXP_Processor.java b/base/src/org/eevolution/model/X_EXP_Processor.java index c56c66e9e9..e11da959ed 100644 --- a/base/src/org/eevolution/model/X_EXP_Processor.java +++ b/base/src/org/eevolution/model/X_EXP_Processor.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for EXP_Processor * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent { @@ -79,12 +79,6 @@ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent @param Account Account */ public void setAccount (String Account) { - - if (Account != null && Account.length() > 255) - { - log.warning("Length > 255 - truncated"); - Account = Account.substring(0, 255); - } set_Value (COLUMNNAME_Account, Account); } @@ -101,12 +95,6 @@ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -178,12 +166,6 @@ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -199,12 +181,6 @@ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent @param Host Host */ public void setHost (String Host) { - - if (Host != null && Host.length() > 255) - { - log.warning("Length > 255 - truncated"); - Host = Host.substring(0, 255); - } set_Value (COLUMNNAME_Host, Host); } @@ -223,12 +199,6 @@ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -244,12 +214,6 @@ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent @param PasswordInfo PasswordInfo */ public void setPasswordInfo (String PasswordInfo) { - - if (PasswordInfo != null && PasswordInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - PasswordInfo = PasswordInfo.substring(0, 255); - } set_Value (COLUMNNAME_PasswordInfo, PasswordInfo); } @@ -285,12 +249,6 @@ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_EXP_ProcessorParameter.java b/base/src/org/eevolution/model/X_EXP_ProcessorParameter.java index 61364406ff..78726a5d3b 100644 --- a/base/src/org/eevolution/model/X_EXP_ProcessorParameter.java +++ b/base/src/org/eevolution/model/X_EXP_ProcessorParameter.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for EXP_ProcessorParameter * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParameter, I_Persistent { @@ -40,8 +40,8 @@ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParam super (ctx, EXP_ProcessorParameter_ID, trxName); /** if (EXP_ProcessorParameter_ID == 0) { - setEXP_ProcessorParameter_ID (0); setEXP_Processor_ID (0); + setEXP_ProcessorParameter_ID (0); setName (null); setValue (null); } */ @@ -81,12 +81,6 @@ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParam */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -98,25 +92,6 @@ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParam return (String)get_Value(COLUMNNAME_Description); } - /** Set EXP_ProcessorParameter_ID. - @param EXP_ProcessorParameter_ID EXP_ProcessorParameter_ID */ - public void setEXP_ProcessorParameter_ID (int EXP_ProcessorParameter_ID) - { - if (EXP_ProcessorParameter_ID < 1) - throw new IllegalArgumentException ("EXP_ProcessorParameter_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_EXP_ProcessorParameter_ID, Integer.valueOf(EXP_ProcessorParameter_ID)); - } - - /** Get EXP_ProcessorParameter_ID. - @return EXP_ProcessorParameter_ID */ - public int getEXP_ProcessorParameter_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_EXP_ProcessorParameter_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public org.eevolution.model.I_EXP_Processor getEXP_Processor() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_EXP_Processor.Table_Name); @@ -152,18 +127,31 @@ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParam return ii.intValue(); } + /** Set EXP_ProcessorParameter_ID. + @param EXP_ProcessorParameter_ID EXP_ProcessorParameter_ID */ + public void setEXP_ProcessorParameter_ID (int EXP_ProcessorParameter_ID) + { + if (EXP_ProcessorParameter_ID < 1) + throw new IllegalArgumentException ("EXP_ProcessorParameter_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_EXP_ProcessorParameter_ID, Integer.valueOf(EXP_ProcessorParameter_ID)); + } + + /** Get EXP_ProcessorParameter_ID. + @return EXP_ProcessorParameter_ID */ + public int getEXP_ProcessorParameter_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_EXP_ProcessorParameter_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Comment/Help. @param Help Comment or Hint */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -183,12 +171,6 @@ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParam { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -204,12 +186,6 @@ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParam @param ParameterValue ParameterValue */ public void setParameterValue (String ParameterValue) { - - if (ParameterValue != null && ParameterValue.length() > 60) - { - log.warning("Length > 60 - truncated"); - ParameterValue = ParameterValue.substring(0, 60); - } set_Value (COLUMNNAME_ParameterValue, ParameterValue); } @@ -228,12 +204,6 @@ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParam { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_EXP_Processor_Type.java b/base/src/org/eevolution/model/X_EXP_Processor_Type.java index 6a8e9b58a8..1e566a61f1 100644 --- a/base/src/org/eevolution/model/X_EXP_Processor_Type.java +++ b/base/src/org/eevolution/model/X_EXP_Processor_Type.java @@ -23,7 +23,7 @@ import org.compiere.model.*; /** Generated Model for EXP_Processor_Type * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_Persistent { @@ -79,12 +79,6 @@ public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -121,12 +115,6 @@ public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_ */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -144,12 +132,6 @@ public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_ { if (JavaClass == null) throw new IllegalArgumentException ("JavaClass is mandatory."); - - if (JavaClass.length() > 255) - { - log.warning("Length > 255 - truncated"); - JavaClass = JavaClass.substring(0, 255); - } set_Value (COLUMNNAME_JavaClass, JavaClass); } @@ -168,12 +150,6 @@ public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -193,12 +169,6 @@ public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_ { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_HR_Attribute.java b/base/src/org/eevolution/model/X_HR_Attribute.java index 6b0fa79a76..312140523c 100644 --- a/base/src/org/eevolution/model/X_HR_Attribute.java +++ b/base/src/org/eevolution/model/X_HR_Attribute.java @@ -28,7 +28,7 @@ import org.compiere.util.Env; /** Generated Model for HR_Attribute * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent { @@ -45,7 +45,7 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent { setHR_Attribute_ID (0); setHR_Concept_ID (0); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } @@ -187,13 +187,7 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent public void setColumnType (String ColumnType) { - if (ColumnType == null || ColumnType.equals("A") || ColumnType.equals("D") || ColumnType.equals("Q") || ColumnType.equals("T")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=53243 - A - D - Q - T"); - if (ColumnType != null && ColumnType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ColumnType = ColumnType.substring(0, 1); - } - set_Value (COLUMNNAME_ColumnType, ColumnType); + if (ColumnType == null || ColumnType.equals("A") || ColumnType.equals("D") || ColumnType.equals("Q") || ColumnType.equals("T")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=53243 - A - D - Q - T"); set_Value (COLUMNNAME_ColumnType, ColumnType); } /** Get Column Type. @@ -209,12 +203,6 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -545,12 +533,6 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 255) - { - log.warning("Length > 255 - truncated"); - TextMsg = TextMsg.substring(0, 255); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/eevolution/model/X_HR_Concept.java b/base/src/org/eevolution/model/X_HR_Concept.java index 0d6dd73106..bfc60ce1b3 100644 --- a/base/src/org/eevolution/model/X_HR_Concept.java +++ b/base/src/org/eevolution/model/X_HR_Concept.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_Concept * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent { @@ -92,13 +92,7 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public void setAccountSign (String AccountSign) { - if (AccountSign == null || AccountSign.equals("N") || AccountSign.equals("D") || AccountSign.equals("C")); else throw new IllegalArgumentException ("AccountSign Invalid value - " + AccountSign + " - Reference_ID=118 - N - D - C"); - if (AccountSign != null && AccountSign.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccountSign = AccountSign.substring(0, 1); - } - set_Value (COLUMNNAME_AccountSign, AccountSign); + if (AccountSign == null || AccountSign.equals("N") || AccountSign.equals("D") || AccountSign.equals("C")); else throw new IllegalArgumentException ("AccountSign Invalid value - " + AccountSign + " - Reference_ID=118 - N - D - C"); set_Value (COLUMNNAME_AccountSign, AccountSign); } /** Get Account Sign. @@ -124,13 +118,7 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public void setColumnType (String ColumnType) { if (ColumnType == null) throw new IllegalArgumentException ("ColumnType is mandatory"); - if (ColumnType.equals("A") || ColumnType.equals("D") || ColumnType.equals("Q") || ColumnType.equals("T")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=53243 - A - D - Q - T"); - if (ColumnType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ColumnType = ColumnType.substring(0, 1); - } - set_Value (COLUMNNAME_ColumnType, ColumnType); + if (ColumnType.equals("A") || ColumnType.equals("D") || ColumnType.equals("Q") || ColumnType.equals("T")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=53243 - A - D - Q - T"); set_Value (COLUMNNAME_ColumnType, ColumnType); } /** Get Column Type. @@ -146,12 +134,6 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -502,12 +484,6 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -536,13 +512,7 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public void setType (String Type) { if (Type == null) throw new IllegalArgumentException ("Type is mandatory"); - if (Type.equals("C") || Type.equals("E") || Type.equals("I") || Type.equals("R")); else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=53245 - C - E - I - R"); - if (Type.length() > 1) - { - log.warning("Length > 1 - truncated"); - Type = Type.substring(0, 1); - } - set_Value (COLUMNNAME_Type, Type); + if (Type.equals("C") || Type.equals("E") || Type.equals("I") || Type.equals("R")); else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=53245 - C - E - I - R"); set_Value (COLUMNNAME_Type, Type); } /** Get Type. @@ -593,12 +563,6 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_HR_Concept_Acct.java b/base/src/org/eevolution/model/X_HR_Concept_Acct.java index ecf5553e7f..52fbf7cbe8 100644 --- a/base/src/org/eevolution/model/X_HR_Concept_Acct.java +++ b/base/src/org/eevolution/model/X_HR_Concept_Acct.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for HR_Concept_Acct * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persistent { diff --git a/base/src/org/eevolution/model/X_HR_Concept_Category.java b/base/src/org/eevolution/model/X_HR_Concept_Category.java index f180f25aa9..f184d05abf 100644 --- a/base/src/org/eevolution/model/X_HR_Concept_Category.java +++ b/base/src/org/eevolution/model/X_HR_Concept_Category.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_Concept_Category * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, I_Persistent { @@ -78,12 +78,6 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -163,12 +157,6 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -194,12 +182,6 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_HR_Contract.java b/base/src/org/eevolution/model/X_HR_Contract.java index a22cb5e63d..c059a931fc 100644 --- a/base/src/org/eevolution/model/X_HR_Contract.java +++ b/base/src/org/eevolution/model/X_HR_Contract.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_Contract * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent { @@ -198,12 +198,6 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -242,12 +236,6 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -327,12 +315,6 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_HR_Department.java b/base/src/org/eevolution/model/X_HR_Department.java index ec19101832..438645819b 100644 --- a/base/src/org/eevolution/model/X_HR_Department.java +++ b/base/src/org/eevolution/model/X_HR_Department.java @@ -17,14 +17,16 @@ /** Generated Model - DO NOT CHANGE */ package org.eevolution.model; +import java.lang.reflect.Constructor; import java.sql.ResultSet; import java.util.Properties; +import java.util.logging.Level; import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Department * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent { @@ -72,18 +74,51 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent return sb.toString(); } + public I_C_Activity getC_Activity() throws Exception + { + Class clazz = MTable.getClass(I_C_Activity.Table_Name); + I_C_Activity result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Activity)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Activity_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Activity. + @param C_Activity_ID + Business Activity + */ + public void setC_Activity_ID (int C_Activity_ID) + { + if (C_Activity_ID < 1) + set_Value (COLUMNNAME_C_Activity_ID, null); + else + set_Value (COLUMNNAME_C_Activity_ID, Integer.valueOf(C_Activity_ID)); + } + + /** Get Activity. + @return Business Activity + */ + public int getC_Activity_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Activity_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -122,12 +157,6 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -153,12 +182,6 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_HR_Employee.java b/base/src/org/eevolution/model/X_HR_Employee.java index adce4db7ed..105d409f96 100644 --- a/base/src/org/eevolution/model/X_HR_Employee.java +++ b/base/src/org/eevolution/model/X_HR_Employee.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_Employee * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent { @@ -45,7 +45,7 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent setHR_Department_ID (0); setHR_Employee_ID (0); setHR_Job_ID (0); - setStartDate (new Timestamp(System.currentTimeMillis())); + setStartDate (new Timestamp( System.currentTimeMillis() )); } */ } @@ -161,12 +161,6 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent */ public void setCode (String Code) { - - if (Code != null && Code.length() > 1) - { - log.warning("Length > 1 - truncated"); - Code = Code.substring(0, 1); - } set_Value (COLUMNNAME_Code, Code); } @@ -343,12 +337,6 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent */ public void setName (String Name) { - - if (Name != null && Name.length() > 30) - { - log.warning("Length > 30 - truncated"); - Name = Name.substring(0, 30); - } set_Value (COLUMNNAME_Name, Name); } @@ -374,12 +362,6 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent */ public void setName2 (String Name2) { - - if (Name2 != null && Name2.length() > 30) - { - log.warning("Length > 30 - truncated"); - Name2 = Name2.substring(0, 30); - } set_Value (COLUMNNAME_Name2, Name2); } @@ -395,12 +377,6 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent @param NationalCode National Code */ public void setNationalCode (String NationalCode) { - - if (NationalCode != null && NationalCode.length() > 60) - { - log.warning("Length > 60 - truncated"); - NationalCode = NationalCode.substring(0, 60); - } set_Value (COLUMNNAME_NationalCode, NationalCode); } @@ -415,12 +391,6 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent @param SSCode Social Security Code */ public void setSSCode (String SSCode) { - - if (SSCode != null && SSCode.length() > 60) - { - log.warning("Length > 60 - truncated"); - SSCode = SSCode.substring(0, 60); - } set_Value (COLUMNNAME_SSCode, SSCode); } diff --git a/base/src/org/eevolution/model/X_HR_Job.java b/base/src/org/eevolution/model/X_HR_Job.java index 9081ee6a66..09f08383f6 100644 --- a/base/src/org/eevolution/model/X_HR_Job.java +++ b/base/src/org/eevolution/model/X_HR_Job.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_Job * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent { @@ -81,12 +81,6 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -201,12 +195,6 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -279,12 +267,6 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_HR_List.java b/base/src/org/eevolution/model/X_HR_List.java index 740676ff71..2e201d7e47 100644 --- a/base/src/org/eevolution/model/X_HR_List.java +++ b/base/src/org/eevolution/model/X_HR_List.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_List * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_List extends PO implements I_HR_List, I_Persistent { @@ -81,12 +81,6 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -170,6 +164,25 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent return ii.intValue(); } + /** Set Payroll List. + @param HR_List_ID Payroll List */ + public void setHR_List_ID (int HR_List_ID) + { + if (HR_List_ID < 1) + throw new IllegalArgumentException ("HR_List_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_HR_List_ID, Integer.valueOf(HR_List_ID)); + } + + /** Get Payroll List. + @return Payroll List */ + public int getHR_List_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_HR_List_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public org.eevolution.model.I_HR_ListType getHR_ListType() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_HR_ListType.Table_Name); @@ -206,25 +219,6 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent return ii.intValue(); } - /** Set Payroll List. - @param HR_List_ID Payroll List */ - public void setHR_List_ID (int HR_List_ID) - { - if (HR_List_ID < 1) - throw new IllegalArgumentException ("HR_List_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_HR_List_ID, Integer.valueOf(HR_List_ID)); - } - - /** Get Payroll List. - @return Payroll List */ - public int getHR_List_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_HR_List_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_HR_Payroll.Table_Name); @@ -293,12 +287,6 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -341,12 +329,6 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_HR_ListLine.java b/base/src/org/eevolution/model/X_HR_ListLine.java index 4411df355c..b01189ae26 100644 --- a/base/src/org/eevolution/model/X_HR_ListLine.java +++ b/base/src/org/eevolution/model/X_HR_ListLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_ListLine * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent { @@ -306,12 +306,6 @@ public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/eevolution/model/X_HR_ListType.java b/base/src/org/eevolution/model/X_HR_ListType.java index ba09b365ff..971025ae94 100644 --- a/base/src/org/eevolution/model/X_HR_ListType.java +++ b/base/src/org/eevolution/model/X_HR_ListType.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_ListType * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent { @@ -78,12 +78,6 @@ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -122,12 +116,6 @@ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -153,12 +141,6 @@ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_HR_ListVersion.java b/base/src/org/eevolution/model/X_HR_ListVersion.java index 402af42678..a6aeaca595 100644 --- a/base/src/org/eevolution/model/X_HR_ListVersion.java +++ b/base/src/org/eevolution/model/X_HR_ListVersion.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_ListVersion * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persistent { @@ -42,8 +42,8 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste super (ctx, HR_ListVersion_ID, trxName); /** if (HR_ListVersion_ID == 0) { - setHR_ListVersion_ID (0); setHR_List_ID (0); + setHR_ListVersion_ID (0); setName (null); } */ } @@ -82,12 +82,6 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -121,25 +115,6 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste return ii.intValue(); } - /** Set Payroll List Version. - @param HR_ListVersion_ID Payroll List Version */ - public void setHR_ListVersion_ID (int HR_ListVersion_ID) - { - if (HR_ListVersion_ID < 1) - throw new IllegalArgumentException ("HR_ListVersion_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_HR_ListVersion_ID, Integer.valueOf(HR_ListVersion_ID)); - } - - /** Get Payroll List Version. - @return Payroll List Version */ - public int getHR_ListVersion_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_HR_ListVersion_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public org.eevolution.model.I_HR_List getHR_List() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_HR_List.Table_Name); @@ -175,6 +150,25 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste return ii.intValue(); } + /** Set Payroll List Version. + @param HR_ListVersion_ID Payroll List Version */ + public void setHR_ListVersion_ID (int HR_ListVersion_ID) + { + if (HR_ListVersion_ID < 1) + throw new IllegalArgumentException ("HR_ListVersion_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_HR_ListVersion_ID, Integer.valueOf(HR_ListVersion_ID)); + } + + /** Get Payroll List Version. + @return Payroll List Version */ + public int getHR_ListVersion_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_HR_ListVersion_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -183,12 +177,6 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/eevolution/model/X_HR_Movement.java b/base/src/org/eevolution/model/X_HR_Movement.java index 32b47e7e3c..936efd0d3c 100644 --- a/base/src/org/eevolution/model/X_HR_Movement.java +++ b/base/src/org/eevolution/model/X_HR_Movement.java @@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_Movement * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent { @@ -47,7 +47,7 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent setHR_Concept_ID (0); setHR_Movement_ID (0); setProcessed (false); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); } */ } @@ -79,6 +79,31 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent return sb.toString(); } + /** AD_OrgTrx_ID AD_Reference_ID=130 */ + public static final int AD_ORGTRX_ID_AD_Reference_ID=130; + /** Set Trx Organization. + @param AD_OrgTrx_ID + Performing or initiating organization + */ + public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) + { + if (AD_OrgTrx_ID < 1) + set_Value (COLUMNNAME_AD_OrgTrx_ID, null); + else + set_Value (COLUMNNAME_AD_OrgTrx_ID, Integer.valueOf(AD_OrgTrx_ID)); + } + + /** Get Trx Organization. + @return Performing or initiating organization + */ + public int getAD_OrgTrx_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_OrgTrx_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_AD_Rule getAD_Rule() throws Exception { Class clazz = MTable.getClass(I_AD_Rule.Table_Name); @@ -213,6 +238,45 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent return ii.intValue(); } + public I_C_Campaign getC_Campaign() throws Exception + { + Class clazz = MTable.getClass(I_C_Campaign.Table_Name); + I_C_Campaign result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Campaign)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Campaign_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Campaign. + @param C_Campaign_ID + Marketing Campaign + */ + public void setC_Campaign_ID (int C_Campaign_ID) + { + if (C_Campaign_ID < 1) + set_Value (COLUMNNAME_C_Campaign_ID, null); + else + set_Value (COLUMNNAME_C_Campaign_ID, Integer.valueOf(C_Campaign_ID)); + } + + /** Get Campaign. + @return Marketing Campaign + */ + public int getC_Campaign_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Campaign_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** ColumnType AD_Reference_ID=53243 */ public static final int COLUMNTYPE_AD_Reference_ID=53243; /** Amount = A */ @@ -228,13 +292,7 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent public void setColumnType (String ColumnType) { - if (ColumnType == null || ColumnType.equals("A") || ColumnType.equals("D") || ColumnType.equals("Q") || ColumnType.equals("T")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=53243 - A - D - Q - T"); - if (ColumnType != null && ColumnType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ColumnType = ColumnType.substring(0, 1); - } - set_Value (COLUMNNAME_ColumnType, ColumnType); + if (ColumnType == null || ColumnType.equals("A") || ColumnType.equals("D") || ColumnType.equals("Q") || ColumnType.equals("T")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=53243 - A - D - Q - T"); set_Value (COLUMNNAME_ColumnType, ColumnType); } /** Get Column Type. @@ -244,18 +302,129 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent return (String)get_Value(COLUMNNAME_ColumnType); } + public I_C_Project getC_Project() throws Exception + { + Class clazz = MTable.getClass(I_C_Project.Table_Name); + I_C_Project result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project. + @param C_Project_ID + Financial Project + */ + public void setC_Project_ID (int C_Project_ID) + { + if (C_Project_ID < 1) + set_Value (COLUMNNAME_C_Project_ID, null); + else + set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); + } + + /** Get Project. + @return Financial Project + */ + public int getC_Project_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_ProjectPhase getC_ProjectPhase() throws Exception + { + Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); + I_C_ProjectPhase result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_ProjectPhase)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectPhase_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project Phase. + @param C_ProjectPhase_ID + Phase of a Project + */ + public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) + { + if (C_ProjectPhase_ID < 1) + set_Value (COLUMNNAME_C_ProjectPhase_ID, null); + else + set_Value (COLUMNNAME_C_ProjectPhase_ID, Integer.valueOf(C_ProjectPhase_ID)); + } + + /** Get Project Phase. + @return Phase of a Project + */ + public int getC_ProjectPhase_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectPhase_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_ProjectTask getC_ProjectTask() throws Exception + { + Class clazz = MTable.getClass(I_C_ProjectTask.Table_Name); + I_C_ProjectTask result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_ProjectTask)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectTask_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Project Task. + @param C_ProjectTask_ID + Actual Project Task in a Phase + */ + public void setC_ProjectTask_ID (int C_ProjectTask_ID) + { + if (C_ProjectTask_ID < 1) + set_Value (COLUMNNAME_C_ProjectTask_ID, null); + else + set_Value (COLUMNNAME_C_ProjectTask_ID, Integer.valueOf(C_ProjectTask_ID)); + } + + /** Get Project Task. + @return Actual Project Task in a Phase + */ + public int getC_ProjectTask_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectTask_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Description. @param Description Optional short description of the record */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -521,28 +690,40 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent return false; } - /** Set Posted. - @param Posted - Posting status - */ - public void setPosted (boolean Posted) + public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception + { + Class clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Node.Table_Name); + org.eevolution.model.I_PP_Order_Node result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (org.eevolution.model.I_PP_Order_Node)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Order_Node_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set Manufacturing Order Activity. + @param PP_Order_Node_ID Manufacturing Order Activity */ + public void setPP_Order_Node_ID (int PP_Order_Node_ID) { - set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted)); + if (PP_Order_Node_ID < 1) + set_Value (COLUMNNAME_PP_Order_Node_ID, null); + else + set_Value (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID)); } - /** Get Posted. - @return Posting status - */ - public boolean isPosted () + /** Get Manufacturing Order Activity. + @return Manufacturing Order Activity */ + public int getPP_Order_Node_ID () { - Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; + Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID); + if (ii == null) + return 0; + return ii.intValue(); } /** Set Processed. @@ -612,12 +793,6 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 255) - { - log.warning("Length > 255 - truncated"); - TextMsg = TextMsg.substring(0, 255); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } @@ -629,6 +804,56 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent return (String)get_Value(COLUMNNAME_TextMsg); } + /** User1_ID AD_Reference_ID=134 */ + public static final int USER1_ID_AD_Reference_ID=134; + /** Set User List 1. + @param User1_ID + User defined list element #1 + */ + public void setUser1_ID (int User1_ID) + { + if (User1_ID < 1) + set_Value (COLUMNNAME_User1_ID, null); + else + set_Value (COLUMNNAME_User1_ID, Integer.valueOf(User1_ID)); + } + + /** Get User List 1. + @return User defined list element #1 + */ + public int getUser1_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_User1_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** User2_ID AD_Reference_ID=137 */ + public static final int USER2_ID_AD_Reference_ID=137; + /** Set User List 2. + @param User2_ID + User defined list element #2 + */ + public void setUser2_ID (int User2_ID) + { + if (User2_ID < 1) + set_Value (COLUMNNAME_User2_ID, null); + else + set_Value (COLUMNNAME_User2_ID, Integer.valueOf(User2_ID)); + } + + /** Get User List 2. + @return User defined list element #2 + */ + public int getUser2_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_User2_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Valid from. @param ValidFrom Valid from including this date (first day) diff --git a/base/src/org/eevolution/model/X_HR_Payroll.java b/base/src/org/eevolution/model/X_HR_Payroll.java index 82aed25802..7ec815ab4a 100644 --- a/base/src/org/eevolution/model/X_HR_Payroll.java +++ b/base/src/org/eevolution/model/X_HR_Payroll.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_Payroll * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent { @@ -160,12 +160,6 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -239,12 +233,6 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -283,13 +271,7 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent public void setPaymentRule (String PaymentRule) { if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory"); - if (PaymentRule.equals("C") || PaymentRule.equals("K") || PaymentRule.equals("A") || PaymentRule.equals("D") || PaymentRule.equals("T")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=214 - C - K - A - D - T"); - if (PaymentRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PaymentRule = PaymentRule.substring(0, 1); - } - set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule.equals("C") || PaymentRule.equals("K") || PaymentRule.equals("A") || PaymentRule.equals("D") || PaymentRule.equals("T")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=214 - C - K - A - D - T"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. @@ -351,12 +333,6 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_HR_PayrollConcept.java b/base/src/org/eevolution/model/X_HR_PayrollConcept.java index f9d35c2330..6ab6bcff1d 100644 --- a/base/src/org/eevolution/model/X_HR_PayrollConcept.java +++ b/base/src/org/eevolution/model/X_HR_PayrollConcept.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_PayrollConcept * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Persistent { @@ -42,6 +42,8 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe /** if (HR_PayrollConcept_ID == 0) { setHR_PayrollConcept_ID (0); + setIsPrinted (false); +// N } */ } @@ -278,12 +280,6 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/eevolution/model/X_HR_Period.java b/base/src/org/eevolution/model/X_HR_Period.java index 384a88f17d..d868d32267 100644 --- a/base/src/org/eevolution/model/X_HR_Period.java +++ b/base/src/org/eevolution/model/X_HR_Period.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_Period * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent { @@ -44,12 +44,12 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent { setC_Period_ID (0); setC_Year_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); setHR_Payroll_ID (0); setHR_Period_ID (0); setName (null); setPeriodNo (0); - setStartDate (new Timestamp(System.currentTimeMillis())); + setStartDate (new Timestamp( System.currentTimeMillis() )); } */ } @@ -182,12 +182,6 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -314,12 +308,6 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 40) - { - log.warning("Length > 40 - truncated"); - Name = Name.substring(0, 40); - } set_Value (COLUMNNAME_Name, Name); } @@ -345,12 +333,6 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent */ public void setPeriodAction (String PeriodAction) { - - if (PeriodAction != null && PeriodAction.length() > 1) - { - log.warning("Length > 1 - truncated"); - PeriodAction = PeriodAction.substring(0, 1); - } set_Value (COLUMNNAME_PeriodAction, PeriodAction); } @@ -388,12 +370,6 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent */ public void setPeriodStatus (String PeriodStatus) { - - if (PeriodStatus != null && PeriodStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - PeriodStatus = PeriodStatus.substring(0, 1); - } set_Value (COLUMNNAME_PeriodStatus, PeriodStatus); } diff --git a/base/src/org/eevolution/model/X_HR_Process.java b/base/src/org/eevolution/model/X_HR_Process.java index 29928996a7..2eb83d584a 100644 --- a/base/src/org/eevolution/model/X_HR_Process.java +++ b/base/src/org/eevolution/model/X_HR_Process.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for HR_Process * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent { @@ -43,7 +43,7 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent /** if (HR_Process_ID == 0) { setC_DocTypeTarget_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); setDocAction (null); // CO setDocStatus (null); @@ -240,30 +240,6 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent return ii.intValue(); } - /** C_DocTypeTarget_ID AD_Reference_ID=170 */ - public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=170; - /** Set Target Document Type. - @param C_DocTypeTarget_ID - Target document type for conversing documents - */ - public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID) - { - if (C_DocTypeTarget_ID < 1) - throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory."); - set_Value (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID)); - } - - /** Get Target Document Type. - @return Target document type for conversing documents - */ - public int getC_DocTypeTarget_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_DocType getC_DocType() throws Exception { Class clazz = MTable.getClass(I_C_DocType.Table_Name); @@ -303,6 +279,47 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent return ii.intValue(); } + /** C_DocTypeTarget_ID AD_Reference_ID=170 */ + public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=170; + /** Set Target Document Type. + @param C_DocTypeTarget_ID + Target document type for conversing documents + */ + public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID) + { + if (C_DocTypeTarget_ID < 1) + throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory."); + set_Value (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID)); + } + + /** Get Target Document Type. + @return Target document type for conversing documents + */ + public int getC_DocTypeTarget_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Column SQL. + @param ColumnSQL + Virtual Column (r/o) + */ + public void setColumnSQL (String ColumnSQL) + { + set_Value (COLUMNNAME_ColumnSQL, ColumnSQL); + } + + /** Get Column SQL. + @return Virtual Column (r/o) + */ + public String getColumnSQL () + { + return (String)get_Value(COLUMNNAME_ColumnSQL); + } + public I_C_PaySelection getC_PaySelection() throws Exception { Class clazz = MTable.getClass(I_C_PaySelection.Table_Name); @@ -342,29 +359,6 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent return ii.intValue(); } - /** Set Column SQL. - @param ColumnSQL - Virtual Column (r/o) - */ - public void setColumnSQL (String ColumnSQL) - { - - if (ColumnSQL != null && ColumnSQL.length() > 255) - { - log.warning("Length > 255 - truncated"); - ColumnSQL = ColumnSQL.substring(0, 255); - } - set_Value (COLUMNNAME_ColumnSQL, ColumnSQL); - } - - /** Get Column SQL. - @return Virtual Column (r/o) - */ - public String getColumnSQL () - { - return (String)get_Value(COLUMNNAME_ColumnSQL); - } - /** Set Account Date. @param DateAcct Accounting Date @@ -421,13 +415,7 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -471,13 +459,7 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -494,12 +476,6 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 90) - { - log.warning("Length > 90 - truncated"); - DocumentNo = DocumentNo.substring(0, 90); - } set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); } @@ -718,12 +694,6 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } diff --git a/base/src/org/eevolution/model/X_HR_Year.java b/base/src/org/eevolution/model/X_HR_Year.java index 9c254d0639..de3ae33a35 100644 --- a/base/src/org/eevolution/model/X_HR_Year.java +++ b/base/src/org/eevolution/model/X_HR_Year.java @@ -26,7 +26,7 @@ import org.compiere.model.*; /** Generated Model for HR_Year * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent { @@ -46,7 +46,7 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent setHR_Year_ID (0); setNetDays (0); setQty (0); - setStartDate (new Timestamp(System.currentTimeMillis())); + setStartDate (new Timestamp( System.currentTimeMillis() )); } */ } diff --git a/base/src/org/eevolution/model/X_IMP_Processor.java b/base/src/org/eevolution/model/X_IMP_Processor.java index cf46157cac..71150d0aaa 100644 --- a/base/src/org/eevolution/model/X_IMP_Processor.java +++ b/base/src/org/eevolution/model/X_IMP_Processor.java @@ -26,7 +26,7 @@ import org.compiere.model.*; /** Generated Model for IMP_Processor * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent { @@ -84,12 +84,6 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent @param Account Account */ public void setAccount (String Account) { - - if (Account != null && Account.length() > 255) - { - log.warning("Length > 255 - truncated"); - Account = Account.substring(0, 255); - } set_Value (COLUMNNAME_Account, Account); } @@ -140,12 +134,6 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -192,13 +180,7 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent public void setFrequencyType (String FrequencyType) { if (FrequencyType == null) throw new IllegalArgumentException ("FrequencyType is mandatory"); - if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); - if (FrequencyType.length() > 1) - { - log.warning("Length > 1 - truncated"); - FrequencyType = FrequencyType.substring(0, 1); - } - set_Value (COLUMNNAME_FrequencyType, FrequencyType); + if (FrequencyType.equals("M") || FrequencyType.equals("H") || FrequencyType.equals("D")); else throw new IllegalArgumentException ("FrequencyType Invalid value - " + FrequencyType + " - Reference_ID=221 - M - H - D"); set_Value (COLUMNNAME_FrequencyType, FrequencyType); } /** Get Frequency Type. @@ -215,12 +197,6 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -236,12 +212,6 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent @param Host Host */ public void setHost (String Host) { - - if (Host != null && Host.length() > 255) - { - log.warning("Length > 255 - truncated"); - Host = Host.substring(0, 255); - } set_Value (COLUMNNAME_Host, Host); } @@ -334,12 +304,6 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -355,12 +319,6 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent @param PasswordInfo PasswordInfo */ public void setPasswordInfo (String PasswordInfo) { - - if (PasswordInfo != null && PasswordInfo.length() > 255) - { - log.warning("Length > 255 - truncated"); - PasswordInfo = PasswordInfo.substring(0, 255); - } set_Value (COLUMNNAME_PasswordInfo, PasswordInfo); } @@ -417,12 +375,6 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_IMP_ProcessorLog.java b/base/src/org/eevolution/model/X_IMP_ProcessorLog.java index 0d63704ac9..2eea3779bd 100644 --- a/base/src/org/eevolution/model/X_IMP_ProcessorLog.java +++ b/base/src/org/eevolution/model/X_IMP_ProcessorLog.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for IMP_ProcessorLog * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Persistent { @@ -40,8 +40,8 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers super (ctx, IMP_ProcessorLog_ID, trxName); /** if (IMP_ProcessorLog_ID == 0) { - setIMP_ProcessorLog_ID (0); setIMP_Processor_ID (0); + setIMP_ProcessorLog_ID (0); setIsError (true); // 'Y' } */ @@ -98,12 +98,6 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -121,12 +115,6 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -138,25 +126,6 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers return (String)get_Value(COLUMNNAME_Help); } - /** Set IMP_ProcessorLog_ID. - @param IMP_ProcessorLog_ID IMP_ProcessorLog_ID */ - public void setIMP_ProcessorLog_ID (int IMP_ProcessorLog_ID) - { - if (IMP_ProcessorLog_ID < 1) - throw new IllegalArgumentException ("IMP_ProcessorLog_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_IMP_ProcessorLog_ID, Integer.valueOf(IMP_ProcessorLog_ID)); - } - - /** Get IMP_ProcessorLog_ID. - @return IMP_ProcessorLog_ID */ - public int getIMP_ProcessorLog_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_IMP_ProcessorLog_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public org.eevolution.model.I_IMP_Processor getIMP_Processor() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_IMP_Processor.Table_Name); @@ -192,6 +161,25 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers return ii.intValue(); } + /** Set IMP_ProcessorLog_ID. + @param IMP_ProcessorLog_ID IMP_ProcessorLog_ID */ + public void setIMP_ProcessorLog_ID (int IMP_ProcessorLog_ID) + { + if (IMP_ProcessorLog_ID < 1) + throw new IllegalArgumentException ("IMP_ProcessorLog_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_IMP_ProcessorLog_ID, Integer.valueOf(IMP_ProcessorLog_ID)); + } + + /** Get IMP_ProcessorLog_ID. + @return IMP_ProcessorLog_ID */ + public int getIMP_ProcessorLog_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_IMP_ProcessorLog_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Error. @param IsError An Error occured in the execution @@ -222,12 +210,6 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers */ public void setReference (String Reference) { - - if (Reference != null && Reference.length() > 60) - { - log.warning("Length > 60 - truncated"); - Reference = Reference.substring(0, 60); - } set_Value (COLUMNNAME_Reference, Reference); } @@ -245,12 +227,6 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers */ public void setSummary (String Summary) { - - if (Summary != null && Summary.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Summary = Summary.substring(0, 2000); - } set_Value (COLUMNNAME_Summary, Summary); } @@ -268,12 +244,6 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers */ public void setTextMsg (String TextMsg) { - - if (TextMsg != null && TextMsg.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TextMsg = TextMsg.substring(0, 2000); - } set_Value (COLUMNNAME_TextMsg, TextMsg); } diff --git a/base/src/org/eevolution/model/X_IMP_ProcessorParameter.java b/base/src/org/eevolution/model/X_IMP_ProcessorParameter.java index 9d6fd1ca93..e493d625fa 100644 --- a/base/src/org/eevolution/model/X_IMP_ProcessorParameter.java +++ b/base/src/org/eevolution/model/X_IMP_ProcessorParameter.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for IMP_ProcessorParameter * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParameter, I_Persistent { @@ -40,8 +40,8 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam super (ctx, IMP_ProcessorParameter_ID, trxName); /** if (IMP_ProcessorParameter_ID == 0) { - setIMP_ProcessorParameter_ID (0); setIMP_Processor_ID (0); + setIMP_ProcessorParameter_ID (0); setName (null); setValue (null); } */ @@ -81,12 +81,6 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -104,12 +98,6 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -121,25 +109,6 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam return (String)get_Value(COLUMNNAME_Help); } - /** Set IMP_ProcessorParameter_ID. - @param IMP_ProcessorParameter_ID IMP_ProcessorParameter_ID */ - public void setIMP_ProcessorParameter_ID (int IMP_ProcessorParameter_ID) - { - if (IMP_ProcessorParameter_ID < 1) - throw new IllegalArgumentException ("IMP_ProcessorParameter_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_IMP_ProcessorParameter_ID, Integer.valueOf(IMP_ProcessorParameter_ID)); - } - - /** Get IMP_ProcessorParameter_ID. - @return IMP_ProcessorParameter_ID */ - public int getIMP_ProcessorParameter_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_IMP_ProcessorParameter_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public org.eevolution.model.I_IMP_Processor getIMP_Processor() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_IMP_Processor.Table_Name); @@ -175,6 +144,25 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam return ii.intValue(); } + /** Set IMP_ProcessorParameter_ID. + @param IMP_ProcessorParameter_ID IMP_ProcessorParameter_ID */ + public void setIMP_ProcessorParameter_ID (int IMP_ProcessorParameter_ID) + { + if (IMP_ProcessorParameter_ID < 1) + throw new IllegalArgumentException ("IMP_ProcessorParameter_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_IMP_ProcessorParameter_ID, Integer.valueOf(IMP_ProcessorParameter_ID)); + } + + /** Get IMP_ProcessorParameter_ID. + @return IMP_ProcessorParameter_ID */ + public int getIMP_ProcessorParameter_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_IMP_ProcessorParameter_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity @@ -183,12 +171,6 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -204,12 +186,6 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam @param ParameterValue ParameterValue */ public void setParameterValue (String ParameterValue) { - - if (ParameterValue != null && ParameterValue.length() > 60) - { - log.warning("Length > 60 - truncated"); - ParameterValue = ParameterValue.substring(0, 60); - } set_Value (COLUMNNAME_ParameterValue, ParameterValue); } @@ -228,12 +204,6 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_IMP_Processor_Type.java b/base/src/org/eevolution/model/X_IMP_Processor_Type.java index 0308cfd286..d361b06dea 100644 --- a/base/src/org/eevolution/model/X_IMP_Processor_Type.java +++ b/base/src/org/eevolution/model/X_IMP_Processor_Type.java @@ -23,7 +23,7 @@ import org.compiere.model.*; /** Generated Model for IMP_Processor_Type * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_Persistent { @@ -79,12 +79,6 @@ public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -102,12 +96,6 @@ public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_ */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -144,12 +132,6 @@ public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_ { if (JavaClass == null) throw new IllegalArgumentException ("JavaClass is mandatory."); - - if (JavaClass.length() > 255) - { - log.warning("Length > 255 - truncated"); - JavaClass = JavaClass.substring(0, 255); - } set_Value (COLUMNNAME_JavaClass, JavaClass); } @@ -168,12 +150,6 @@ public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_ { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -193,12 +169,6 @@ public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_ { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_PP_Cost_Collector.java b/base/src/org/eevolution/model/X_PP_Cost_Collector.java index 06fe5be858..6785a01195 100644 --- a/base/src/org/eevolution/model/X_PP_Cost_Collector.java +++ b/base/src/org/eevolution/model/X_PP_Cost_Collector.java @@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PP_Cost_Collector * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Persistent { @@ -46,10 +46,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe { setC_DocType_ID (0); setC_DocTypeTarget_ID (0); - setDateAcct (new Timestamp(System.currentTimeMillis())); + setDateAcct (new Timestamp( System.currentTimeMillis() )); // @#Date@ setM_Locator_ID (0); - setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ setMovementQty (Env.ZERO); // 0 @@ -384,12 +384,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -438,13 +432,7 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe public void setDocAction (String DocAction) { - if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction != null && DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -488,13 +476,7 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe public void setDocStatus (String DocStatus) { - if (DocStatus == null || DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus != null && DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus == null || DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -662,13 +644,7 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe public void setMovementType (String MovementType) { - if (MovementType == null || MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); - if (MovementType != null && MovementType.length() > 2) - { - log.warning("Length > 2 - truncated"); - MovementType = MovementType.substring(0, 2); - } - set_Value (COLUMNNAME_MovementType, MovementType); + if (MovementType == null || MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); set_Value (COLUMNNAME_MovementType, MovementType); } /** Get Movement Type. @@ -893,8 +869,8 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe return result; } - /** Set PP_Order_Node_ID. - @param PP_Order_Node_ID PP_Order_Node_ID */ + /** Set Manufacturing Order Activity. + @param PP_Order_Node_ID Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID) { if (PP_Order_Node_ID < 1) @@ -903,8 +879,8 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe set_Value (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID)); } - /** Get PP_Order_Node_ID. - @return PP_Order_Node_ID */ + /** Get Manufacturing Order Activity. + @return Manufacturing Order Activity */ public int getPP_Order_Node_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID); diff --git a/base/src/org/eevolution/model/X_PP_MRP.java b/base/src/org/eevolution/model/X_PP_MRP.java index f07bacc323..4750e14404 100644 --- a/base/src/org/eevolution/model/X_PP_MRP.java +++ b/base/src/org/eevolution/model/X_PP_MRP.java @@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PP_MRP * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent { @@ -44,8 +44,8 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent super (ctx, PP_MRP_ID, trxName); /** if (PP_MRP_ID == 0) { - setDateOrdered (new Timestamp(System.currentTimeMillis())); - setDatePromised (new Timestamp(System.currentTimeMillis())); + setDateOrdered (new Timestamp( System.currentTimeMillis() )); + setDatePromised (new Timestamp( System.currentTimeMillis() )); setM_Warehouse_ID (0); setPP_MRP_ID (0); setValue (null); @@ -383,12 +383,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 1020) - { - log.warning("Length > 1020 - truncated"); - Description = Description.substring(0, 1020); - } set_Value (COLUMNNAME_Description, Description); } @@ -406,12 +400,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent */ public void setDocStatus (String DocStatus) { - - if (DocStatus != null && DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } set_Value (COLUMNNAME_DocStatus, DocStatus); } @@ -686,12 +674,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent */ public void setName (String Name) { - - if (Name != null && Name.length() > 120) - { - log.warning("Length > 120 - truncated"); - Name = Name.substring(0, 120); - } set_Value (COLUMNNAME_Name, Name); } @@ -730,13 +712,7 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent public void setOrderType (String OrderType) { - if (OrderType == null || OrderType.equals("FCT") || OrderType.equals("MOP") || OrderType.equals("POO") || OrderType.equals("POR") || OrderType.equals("SOO") || OrderType.equals("DOO")); else throw new IllegalArgumentException ("OrderType Invalid value - " + OrderType + " - Reference_ID=53229 - FCT - MOP - POO - POR - SOO - DOO"); - if (OrderType != null && OrderType.length() > 3) - { - log.warning("Length > 3 - truncated"); - OrderType = OrderType.substring(0, 3); - } - set_Value (COLUMNNAME_OrderType, OrderType); + if (OrderType == null || OrderType.equals("FCT") || OrderType.equals("MOP") || OrderType.equals("POO") || OrderType.equals("POR") || OrderType.equals("SOO") || OrderType.equals("DOO")); else throw new IllegalArgumentException ("OrderType Invalid value - " + OrderType + " - Reference_ID=53229 - FCT - MOP - POO - POR - SOO - DOO"); set_Value (COLUMNNAME_OrderType, OrderType); } /** Get OrderType. @@ -865,12 +841,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent */ public void setPriority (String Priority) { - - if (Priority != null && Priority.length() > 10) - { - log.warning("Length > 10 - truncated"); - Priority = Priority.substring(0, 10); - } set_Value (COLUMNNAME_Priority, Priority); } @@ -952,13 +922,7 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent public void setTypeMRP (String TypeMRP) { - if (TypeMRP == null || TypeMRP.equals("D") || TypeMRP.equals("S")); else throw new IllegalArgumentException ("TypeMRP Invalid value - " + TypeMRP + " - Reference_ID=53230 - D - S"); - if (TypeMRP != null && TypeMRP.length() > 1) - { - log.warning("Length > 1 - truncated"); - TypeMRP = TypeMRP.substring(0, 1); - } - set_Value (COLUMNNAME_TypeMRP, TypeMRP); + if (TypeMRP == null || TypeMRP.equals("D") || TypeMRP.equals("S")); else throw new IllegalArgumentException ("TypeMRP Invalid value - " + TypeMRP + " - Reference_ID=53230 - D - S"); set_Value (COLUMNNAME_TypeMRP, TypeMRP); } /** Get TypeMRP. @@ -976,12 +940,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 80) - { - log.warning("Length > 80 - truncated"); - Value = Value.substring(0, 80); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_PP_Order.java b/base/src/org/eevolution/model/X_PP_Order.java index 1b42cfe80e..b42e74c68c 100644 --- a/base/src/org/eevolution/model/X_PP_Order.java +++ b/base/src/org/eevolution/model/X_PP_Order.java @@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent { @@ -49,10 +49,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent // 0 setC_UOM_ID (0); // @UOMConversion@=Y | @Processed@='Y' - setDateOrdered (new Timestamp(System.currentTimeMillis())); + setDateOrdered (new Timestamp( System.currentTimeMillis() )); // @#Date@ - setDatePromised (new Timestamp(System.currentTimeMillis())); - setDateStartSchedule (new Timestamp(System.currentTimeMillis())); + setDatePromised (new Timestamp( System.currentTimeMillis() )); + setDateStartSchedule (new Timestamp( System.currentTimeMillis() )); // @#Date@ setDocAction (null); // -- @@ -333,12 +333,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent */ public void setCopyFrom (String CopyFrom) { - - if (CopyFrom != null && CopyFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyFrom = CopyFrom.substring(0, 1); - } set_Value (COLUMNNAME_CopyFrom, CopyFrom); } @@ -602,12 +596,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 510) - { - log.warning("Length > 510 - truncated"); - Description = Description.substring(0, 510); - } set_Value (COLUMNNAME_Description, Description); } @@ -656,13 +644,7 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public void setDocAction (String DocAction) { if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory"); - if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -706,13 +688,7 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public void setDocStatus (String DocStatus) { if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory"); - if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -731,12 +707,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent { if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory."); - - if (DocumentNo.length() > 60) - { - log.warning("Length > 60 - truncated"); - DocumentNo = DocumentNo.substring(0, 60); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -933,12 +903,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent */ public void setLot (String Lot) { - - if (Lot != null && Lot.length() > 20) - { - log.warning("Length > 20 - truncated"); - Lot = Lot.substring(0, 20); - } set_Value (COLUMNNAME_Lot, Lot); } @@ -1053,12 +1017,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent @param OrderType OrderType */ public void setOrderType (String OrderType) { - - if (OrderType != null && OrderType.length() > 1) - { - log.warning("Length > 1 - truncated"); - OrderType = OrderType.substring(0, 1); - } set_Value (COLUMNNAME_OrderType, OrderType); } @@ -1191,13 +1149,7 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public void setPriorityRule (String PriorityRule) { if (PriorityRule == null) throw new IllegalArgumentException ("PriorityRule is mandatory"); - if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); - if (PriorityRule.length() > 1) - { - log.warning("Length > 1 - truncated"); - PriorityRule = PriorityRule.substring(0, 1); - } - set_Value (COLUMNNAME_PriorityRule, PriorityRule); + if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9")); else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9"); set_Value (COLUMNNAME_PriorityRule, PriorityRule); } /** Get Priority. @@ -1415,12 +1367,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent */ public void setScheduleType (String ScheduleType) { - - if (ScheduleType != null && ScheduleType.length() > 1) - { - log.warning("Length > 1 - truncated"); - ScheduleType = ScheduleType.substring(0, 1); - } set_Value (COLUMNNAME_ScheduleType, ScheduleType); } @@ -1438,12 +1384,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent */ public void setSerNo (String SerNo) { - - if (SerNo != null && SerNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - SerNo = SerNo.substring(0, 20); - } set_Value (COLUMNNAME_SerNo, SerNo); } diff --git a/base/src/org/eevolution/model/X_PP_Order_BOM.java b/base/src/org/eevolution/model/X_PP_Order_BOM.java index e7f0b46671..d8cb7e1ecf 100644 --- a/base/src/org/eevolution/model/X_PP_Order_BOM.java +++ b/base/src/org/eevolution/model/X_PP_Order_BOM.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order_BOM * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent { @@ -47,7 +47,7 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent setName (null); setPP_Order_BOM_ID (0); setPP_Order_ID (0); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); setValue (null); } */ } @@ -105,13 +105,7 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent public void setBOMType (String BOMType) { - if (BOMType == null || BOMType.equals("A") || BOMType.equals("O") || BOMType.equals("P") || BOMType.equals("S") || BOMType.equals("F") || BOMType.equals("M") || BOMType.equals("R") || BOMType.equals("C")); else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=347 - A - O - P - S - F - M - R - C"); - if (BOMType != null && BOMType.length() > 1) - { - log.warning("Length > 1 - truncated"); - BOMType = BOMType.substring(0, 1); - } - set_Value (COLUMNNAME_BOMType, BOMType); + if (BOMType == null || BOMType.equals("A") || BOMType.equals("O") || BOMType.equals("P") || BOMType.equals("S") || BOMType.equals("F") || BOMType.equals("M") || BOMType.equals("R") || BOMType.equals("C")); else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=347 - A - O - P - S - F - M - R - C"); set_Value (COLUMNNAME_BOMType, BOMType); } /** Get BOM Type. @@ -141,13 +135,7 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent public void setBOMUse (String BOMUse) { - if (BOMUse == null || BOMUse.equals("A") || BOMUse.equals("E") || BOMUse.equals("M") || BOMUse.equals("P") || BOMUse.equals("Q")); else throw new IllegalArgumentException ("BOMUse Invalid value - " + BOMUse + " - Reference_ID=348 - A - E - M - P - Q"); - if (BOMUse != null && BOMUse.length() > 1) - { - log.warning("Length > 1 - truncated"); - BOMUse = BOMUse.substring(0, 1); - } - set_Value (COLUMNNAME_BOMUse, BOMUse); + if (BOMUse == null || BOMUse.equals("A") || BOMUse.equals("E") || BOMUse.equals("M") || BOMUse.equals("P") || BOMUse.equals("Q")); else throw new IllegalArgumentException ("BOMUse Invalid value - " + BOMUse + " - Reference_ID=348 - A - E - M - P - Q"); set_Value (COLUMNNAME_BOMUse, BOMUse); } /** Get BOM Use. @@ -164,12 +152,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent */ public void setCopyFrom (String CopyFrom) { - - if (CopyFrom != null && CopyFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyFrom = CopyFrom.substring(0, 1); - } set_Value (COLUMNNAME_CopyFrom, CopyFrom); } @@ -225,12 +207,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -248,12 +224,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 20) - { - log.warning("Length > 20 - truncated"); - DocumentNo = DocumentNo.substring(0, 20); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -271,12 +241,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -396,12 +360,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -500,12 +458,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent @param Revision Revision */ public void setRevision (String Revision) { - - if (Revision != null && Revision.length() > 10) - { - log.warning("Length > 10 - truncated"); - Revision = Revision.substring(0, 10); - } set_Value (COLUMNNAME_Revision, Revision); } @@ -560,12 +512,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 80) - { - log.warning("Length > 80 - truncated"); - Value = Value.substring(0, 80); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_PP_Order_BOMLine.java b/base/src/org/eevolution/model/X_PP_Order_BOMLine.java index fe8bfcdabf..f5a4730c18 100644 --- a/base/src/org/eevolution/model/X_PP_Order_BOMLine.java +++ b/base/src/org/eevolution/model/X_PP_Order_BOMLine.java @@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order_BOMLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Persistent { @@ -61,7 +61,7 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers setQtyRequiered (Env.ZERO); setQtyReserved (Env.ZERO); setQtyScrap (Env.ZERO); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); // @#Date@ } */ } @@ -145,12 +145,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers */ public void setBackflushGroup (String BackflushGroup) { - - if (BackflushGroup != null && BackflushGroup.length() > 30) - { - log.warning("Length > 30 - truncated"); - BackflushGroup = BackflushGroup.substring(0, 30); - } set_ValueNoCheck (COLUMNNAME_BackflushGroup, BackflushGroup); } @@ -187,13 +181,7 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers public void setComponentType (String ComponentType) { - if (ComponentType == null || ComponentType.equals("BY") || ComponentType.equals("CO") || ComponentType.equals("PH") || ComponentType.equals("PK") || ComponentType.equals("PL") || ComponentType.equals("TL") || ComponentType.equals("OP") || ComponentType.equals("VA")); else throw new IllegalArgumentException ("ComponentType Invalid value - " + ComponentType + " - Reference_ID=53225 - BY - CO - PH - PK - PL - TL - OP - VA"); - if (ComponentType != null && ComponentType.length() > 2) - { - log.warning("Length > 2 - truncated"); - ComponentType = ComponentType.substring(0, 2); - } - set_Value (COLUMNNAME_ComponentType, ComponentType); + if (ComponentType == null || ComponentType.equals("BY") || ComponentType.equals("CO") || ComponentType.equals("PH") || ComponentType.equals("PK") || ComponentType.equals("PL") || ComponentType.equals("TL") || ComponentType.equals("OP") || ComponentType.equals("VA")); else throw new IllegalArgumentException ("ComponentType Invalid value - " + ComponentType + " - Reference_ID=53225 - BY - CO - PH - PK - PL - TL - OP - VA"); set_Value (COLUMNNAME_ComponentType, ComponentType); } /** Get Component Type. @@ -265,12 +253,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -288,12 +270,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers */ public void setFeature (String Feature) { - - if (Feature != null && Feature.length() > 30) - { - log.warning("Length > 30 - truncated"); - Feature = Feature.substring(0, 30); - } set_Value (COLUMNNAME_Feature, Feature); } @@ -331,12 +307,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -409,13 +379,7 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers public void setIssueMethod (String IssueMethod) { - if (IssueMethod == null || IssueMethod.equals("0") || IssueMethod.equals("1")); else throw new IllegalArgumentException ("IssueMethod Invalid value - " + IssueMethod + " - Reference_ID=53226 - 0 - 1"); - if (IssueMethod != null && IssueMethod.length() > 1) - { - log.warning("Length > 1 - truncated"); - IssueMethod = IssueMethod.substring(0, 1); - } - set_Value (COLUMNNAME_IssueMethod, IssueMethod); + if (IssueMethod == null || IssueMethod.equals("0") || IssueMethod.equals("1")); else throw new IllegalArgumentException ("IssueMethod Invalid value - " + IssueMethod + " - Reference_ID=53226 - 0 - 1"); set_Value (COLUMNNAME_IssueMethod, IssueMethod); } /** Get Issue Method. diff --git a/base/src/org/eevolution/model/X_PP_Order_BOMLineMA.java b/base/src/org/eevolution/model/X_PP_Order_BOMLineMA.java index b52c6f0f0f..9314d69971 100644 --- a/base/src/org/eevolution/model/X_PP_Order_BOMLineMA.java +++ b/base/src/org/eevolution/model/X_PP_Order_BOMLineMA.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for PP_Order_BOMLineMA * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order_BOMLineMA extends PO implements I_PP_Order_BOMLineMA, I_Persistent { diff --git a/base/src/org/eevolution/model/X_PP_Order_Cost.java b/base/src/org/eevolution/model/X_PP_Order_Cost.java index 198c8dbe0b..437bbc24ec 100644 --- a/base/src/org/eevolution/model/X_PP_Order_Cost.java +++ b/base/src/org/eevolution/model/X_PP_Order_Cost.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for PP_Order_Cost * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent { @@ -181,13 +181,7 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent public void setCostingMethod (String CostingMethod) { - if (CostingMethod == null || CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x")); else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x"); - if (CostingMethod != null && CostingMethod.length() > 1) - { - log.warning("Length > 1 - truncated"); - CostingMethod = CostingMethod.substring(0, 1); - } - set_ValueNoCheck (COLUMNNAME_CostingMethod, CostingMethod); + if (CostingMethod == null || CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x")); else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x"); set_ValueNoCheck (COLUMNNAME_CostingMethod, CostingMethod); } /** Get Costing Method. diff --git a/base/src/org/eevolution/model/X_PP_Order_Node.java b/base/src/org/eevolution/model/X_PP_Order_Node.java index 91f447060c..b35b1c0d35 100644 --- a/base/src/org/eevolution/model/X_PP_Order_Node.java +++ b/base/src/org/eevolution/model/X_PP_Order_Node.java @@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order_Node * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent { @@ -131,13 +131,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public void setAction (String Action) { if (Action == null) throw new IllegalArgumentException ("Action is mandatory"); - if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B"); - if (Action.length() > 1) - { - log.warning("Length > 1 - truncated"); - Action = Action.substring(0, 1); - } - set_Value (COLUMNNAME_Action, Action); + if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B"); set_Value (COLUMNNAME_Action, Action); } /** Get Action. @@ -542,12 +536,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent */ public void setAttributeName (String AttributeName) { - - if (AttributeName != null && AttributeName.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeName = AttributeName.substring(0, 60); - } set_Value (COLUMNNAME_AttributeName, AttributeName); } @@ -565,12 +553,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent */ public void setAttributeValue (String AttributeValue) { - - if (AttributeValue != null && AttributeValue.length() > 60) - { - log.warning("Length > 60 - truncated"); - AttributeValue = AttributeValue.substring(0, 60); - } set_Value (COLUMNNAME_AttributeValue, AttributeValue); } @@ -708,12 +690,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -762,13 +738,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public void setDocAction (String DocAction) { - if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); - if (DocAction != null && DocAction.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocAction = DocAction.substring(0, 2); - } - set_Value (COLUMNNAME_DocAction, DocAction); + if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC")); else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC"); set_Value (COLUMNNAME_DocAction, DocAction); } /** Get Document Action. @@ -812,13 +782,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public void setDocStatus (String DocStatus) { - if (DocStatus == null || DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); - if (DocStatus != null && DocStatus.length() > 2) - { - log.warning("Length > 2 - truncated"); - DocStatus = DocStatus.substring(0, 2); - } - set_Value (COLUMNNAME_DocStatus, DocStatus); + if (DocStatus == null || DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus); } /** Get Document Status. @@ -891,12 +855,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -921,13 +879,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public void setFinishMode (String FinishMode) { - if (FinishMode == null || FinishMode.equals("A") || FinishMode.equals("M")); else throw new IllegalArgumentException ("FinishMode Invalid value - " + FinishMode + " - Reference_ID=303 - A - M"); - if (FinishMode != null && FinishMode.length() > 1) - { - log.warning("Length > 1 - truncated"); - FinishMode = FinishMode.substring(0, 1); - } - set_Value (COLUMNNAME_FinishMode, FinishMode); + if (FinishMode == null || FinishMode.equals("A") || FinishMode.equals("M")); else throw new IllegalArgumentException ("FinishMode Invalid value - " + FinishMode + " - Reference_ID=303 - A - M"); set_Value (COLUMNNAME_FinishMode, FinishMode); } /** Get Finish Mode. @@ -944,12 +896,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -1040,13 +986,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public void setJoinElement (String JoinElement) { if (JoinElement == null) throw new IllegalArgumentException ("JoinElement is mandatory"); - if (JoinElement.equals("A") || JoinElement.equals("X")); else throw new IllegalArgumentException ("JoinElement Invalid value - " + JoinElement + " - Reference_ID=301 - A - X"); - if (JoinElement.length() > 1) - { - log.warning("Length > 1 - truncated"); - JoinElement = JoinElement.substring(0, 1); - } - set_Value (COLUMNNAME_JoinElement, JoinElement); + if (JoinElement.equals("A") || JoinElement.equals("X")); else throw new IllegalArgumentException ("JoinElement Invalid value - " + JoinElement + " - Reference_ID=301 - A - X"); set_Value (COLUMNNAME_JoinElement, JoinElement); } /** Get Join Element. @@ -1102,12 +1042,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -1179,8 +1113,8 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent return ii.intValue(); } - /** Set PP_Order_Node_ID. - @param PP_Order_Node_ID PP_Order_Node_ID */ + /** Set Manufacturing Order Activity. + @param PP_Order_Node_ID Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID) { if (PP_Order_Node_ID < 1) @@ -1188,8 +1122,8 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID)); } - /** Get PP_Order_Node_ID. - @return PP_Order_Node_ID */ + /** Get Manufacturing Order Activity. + @return Manufacturing Order Activity */ public int getPP_Order_Node_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID); @@ -1408,13 +1342,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public void setSplitElement (String SplitElement) { if (SplitElement == null) throw new IllegalArgumentException ("SplitElement is mandatory"); - if (SplitElement.equals("A") || SplitElement.equals("X")); else throw new IllegalArgumentException ("SplitElement Invalid value - " + SplitElement + " - Reference_ID=301 - A - X"); - if (SplitElement.length() > 1) - { - log.warning("Length > 1 - truncated"); - SplitElement = SplitElement.substring(0, 1); - } - set_Value (COLUMNNAME_SplitElement, SplitElement); + if (SplitElement.equals("A") || SplitElement.equals("X")); else throw new IllegalArgumentException ("SplitElement Invalid value - " + SplitElement + " - Reference_ID=301 - A - X"); set_Value (COLUMNNAME_SplitElement, SplitElement); } /** Get Split Element. @@ -1477,13 +1405,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public void setStartMode (String StartMode) { - if (StartMode == null || StartMode.equals("A") || StartMode.equals("M")); else throw new IllegalArgumentException ("StartMode Invalid value - " + StartMode + " - Reference_ID=303 - A - M"); - if (StartMode != null && StartMode.length() > 1) - { - log.warning("Length > 1 - truncated"); - StartMode = StartMode.substring(0, 1); - } - set_Value (COLUMNNAME_StartMode, StartMode); + if (StartMode == null || StartMode.equals("A") || StartMode.equals("M")); else throw new IllegalArgumentException ("StartMode Invalid value - " + StartMode + " - Reference_ID=303 - A - M"); set_Value (COLUMNNAME_StartMode, StartMode); } /** Get Start Mode. @@ -1507,13 +1429,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public void setSubflowExecution (String SubflowExecution) { - if (SubflowExecution == null || SubflowExecution.equals("A") || SubflowExecution.equals("S")); else throw new IllegalArgumentException ("SubflowExecution Invalid value - " + SubflowExecution + " - Reference_ID=307 - A - S"); - if (SubflowExecution != null && SubflowExecution.length() > 1) - { - log.warning("Length > 1 - truncated"); - SubflowExecution = SubflowExecution.substring(0, 1); - } - set_Value (COLUMNNAME_SubflowExecution, SubflowExecution); + if (SubflowExecution == null || SubflowExecution.equals("A") || SubflowExecution.equals("S")); else throw new IllegalArgumentException ("SubflowExecution Invalid value - " + SubflowExecution + " - Reference_ID=307 - A - S"); set_Value (COLUMNNAME_SubflowExecution, SubflowExecution); } /** Get Subflow Execution. @@ -1583,12 +1499,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_PP_Order_NodeNext.java b/base/src/org/eevolution/model/X_PP_Order_NodeNext.java index 5d543c7e27..812291f48d 100644 --- a/base/src/org/eevolution/model/X_PP_Order_NodeNext.java +++ b/base/src/org/eevolution/model/X_PP_Order_NodeNext.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for PP_Order_NodeNext * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Persistent { @@ -147,12 +147,6 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -172,12 +166,6 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -286,8 +274,8 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe return result; } - /** Set PP_Order_Node_ID. - @param PP_Order_Node_ID PP_Order_Node_ID */ + /** Set Manufacturing Order Activity. + @param PP_Order_Node_ID Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID) { if (PP_Order_Node_ID < 1) @@ -295,8 +283,8 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID)); } - /** Get PP_Order_Node_ID. - @return PP_Order_Node_ID */ + /** Get Manufacturing Order Activity. + @return Manufacturing Order Activity */ public int getPP_Order_Node_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID); @@ -353,12 +341,6 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe */ public void setTransitionCode (String TransitionCode) { - - if (TransitionCode != null && TransitionCode.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - TransitionCode = TransitionCode.substring(0, 2000); - } set_Value (COLUMNNAME_TransitionCode, TransitionCode); } diff --git a/base/src/org/eevolution/model/X_PP_Order_Node_Asset.java b/base/src/org/eevolution/model/X_PP_Order_Node_Asset.java index 1273b9e2e7..4d8492f5c6 100644 --- a/base/src/org/eevolution/model/X_PP_Order_Node_Asset.java +++ b/base/src/org/eevolution/model/X_PP_Order_Node_Asset.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for PP_Order_Node_Asset * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset, I_Persistent { @@ -184,8 +184,8 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset, return result; } - /** Set PP_Order_Node_ID. - @param PP_Order_Node_ID PP_Order_Node_ID */ + /** Set Manufacturing Order Activity. + @param PP_Order_Node_ID Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID) { if (PP_Order_Node_ID < 1) @@ -193,8 +193,8 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset, set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID)); } - /** Get PP_Order_Node_ID. - @return PP_Order_Node_ID */ + /** Get Manufacturing Order Activity. + @return Manufacturing Order Activity */ public int getPP_Order_Node_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID); diff --git a/base/src/org/eevolution/model/X_PP_Order_Node_Product.java b/base/src/org/eevolution/model/X_PP_Order_Node_Product.java index e6fdddf648..bb7b3497ce 100644 --- a/base/src/org/eevolution/model/X_PP_Order_Node_Product.java +++ b/base/src/org/eevolution/model/X_PP_Order_Node_Product.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for PP_Order_Node_Product * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Product, I_Persistent { @@ -165,8 +165,8 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ return result; } - /** Set PP_Order_Node_ID. - @param PP_Order_Node_ID PP_Order_Node_ID */ + /** Set Manufacturing Order Activity. + @param PP_Order_Node_ID Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID) { if (PP_Order_Node_ID < 1) @@ -174,8 +174,8 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID)); } - /** Get PP_Order_Node_ID. - @return PP_Order_Node_ID */ + /** Get Manufacturing Order Activity. + @return Manufacturing Order Activity */ public int getPP_Order_Node_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID); diff --git a/base/src/org/eevolution/model/X_PP_Order_Workflow.java b/base/src/org/eevolution/model/X_PP_Order_Workflow.java index 261027d809..f2940c1117 100644 --- a/base/src/org/eevolution/model/X_PP_Order_Workflow.java +++ b/base/src/org/eevolution/model/X_PP_Order_Workflow.java @@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order_Workflow * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Persistent { @@ -116,13 +116,7 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe public void setAccessLevel (String AccessLevel) { if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); - if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); - if (AccessLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - AccessLevel = AccessLevel.substring(0, 1); - } - set_Value (COLUMNNAME_AccessLevel, AccessLevel); + if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); set_Value (COLUMNNAME_AccessLevel, AccessLevel); } /** Get Data Access Level. @@ -335,12 +329,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe { if (Author == null) throw new IllegalArgumentException ("Author is mandatory."); - - if (Author.length() > 20) - { - log.warning("Length > 20 - truncated"); - Author = Author.substring(0, 20); - } set_Value (COLUMNNAME_Author, Author); } @@ -378,12 +366,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -401,12 +383,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 32) - { - log.warning("Length > 32 - truncated"); - DocumentNo = DocumentNo.substring(0, 32); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -459,13 +435,7 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe public void setDurationUnit (String DurationUnit) { if (DurationUnit == null) throw new IllegalArgumentException ("DurationUnit is mandatory"); - if (DurationUnit.equals("Y") || DurationUnit.equals("M") || DurationUnit.equals("D") || DurationUnit.equals("h") || DurationUnit.equals("m") || DurationUnit.equals("s")); else throw new IllegalArgumentException ("DurationUnit Invalid value - " + DurationUnit + " - Reference_ID=299 - Y - M - D - h - m - s"); - if (DurationUnit.length() > 1) - { - log.warning("Length > 1 - truncated"); - DurationUnit = DurationUnit.substring(0, 1); - } - set_Value (COLUMNNAME_DurationUnit, DurationUnit); + if (DurationUnit.equals("Y") || DurationUnit.equals("M") || DurationUnit.equals("D") || DurationUnit.equals("h") || DurationUnit.equals("m") || DurationUnit.equals("s")); else throw new IllegalArgumentException ("DurationUnit Invalid value - " + DurationUnit + " - Reference_ID=299 - Y - M - D - h - m - s"); set_Value (COLUMNNAME_DurationUnit, DurationUnit); } /** Get Duration Unit. @@ -484,12 +454,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } @@ -507,12 +471,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -593,12 +551,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -669,8 +621,8 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe return result; } - /** Set PP_Order_Node_ID. - @param PP_Order_Node_ID PP_Order_Node_ID */ + /** Set Manufacturing Order Activity. + @param PP_Order_Node_ID Manufacturing Order Activity */ public void setPP_Order_Node_ID (int PP_Order_Node_ID) { if (PP_Order_Node_ID < 1) @@ -679,8 +631,8 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe set_Value (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID)); } - /** Get PP_Order_Node_ID. - @return PP_Order_Node_ID */ + /** Get Manufacturing Order Activity. + @return Manufacturing Order Activity */ public int getPP_Order_Node_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID); @@ -747,13 +699,7 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe public void setProcessType (String ProcessType) { - if (ProcessType == null || ProcessType.equals("BF") || ProcessType.equals("CF") || ProcessType.equals("DR") || ProcessType.equals("JS") || ProcessType.equals("MR") || ProcessType.equals("PL")); else throw new IllegalArgumentException ("ProcessType Invalid value - " + ProcessType + " - Reference_ID=53224 - BF - CF - DR - JS - MR - PL"); - if (ProcessType != null && ProcessType.length() > 2) - { - log.warning("Length > 2 - truncated"); - ProcessType = ProcessType.substring(0, 2); - } - set_Value (COLUMNNAME_ProcessType, ProcessType); + if (ProcessType == null || ProcessType.equals("BF") || ProcessType.equals("CF") || ProcessType.equals("DR") || ProcessType.equals("JS") || ProcessType.equals("MR") || ProcessType.equals("PL")); else throw new IllegalArgumentException ("ProcessType Invalid value - " + ProcessType + " - Reference_ID=53224 - BF - CF - DR - JS - MR - PL"); set_Value (COLUMNNAME_ProcessType, ProcessType); } /** Get ProcessType. @@ -780,13 +726,7 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe public void setPublishStatus (String PublishStatus) { if (PublishStatus == null) throw new IllegalArgumentException ("PublishStatus is mandatory"); - if (PublishStatus.equals("R") || PublishStatus.equals("T") || PublishStatus.equals("U") || PublishStatus.equals("V")); else throw new IllegalArgumentException ("PublishStatus Invalid value - " + PublishStatus + " - Reference_ID=310 - R - T - U - V"); - if (PublishStatus.length() > 1) - { - log.warning("Length > 1 - truncated"); - PublishStatus = PublishStatus.substring(0, 1); - } - set_Value (COLUMNNAME_PublishStatus, PublishStatus); + if (PublishStatus.equals("R") || PublishStatus.equals("T") || PublishStatus.equals("U") || PublishStatus.equals("V")); else throw new IllegalArgumentException ("PublishStatus Invalid value - " + PublishStatus + " - Reference_ID=310 - R - T - U - V"); set_Value (COLUMNNAME_PublishStatus, PublishStatus); } /** Get Publication Status. @@ -896,12 +836,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe { if (ValidateWorkflow == null) throw new IllegalArgumentException ("ValidateWorkflow is mandatory."); - - if (ValidateWorkflow.length() > 1) - { - log.warning("Length > 1 - truncated"); - ValidateWorkflow = ValidateWorkflow.substring(0, 1); - } set_Value (COLUMNNAME_ValidateWorkflow, ValidateWorkflow); } @@ -952,12 +886,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe */ public void setValue (String Value) { - - if (Value != null && Value.length() > 240) - { - log.warning("Length > 240 - truncated"); - Value = Value.substring(0, 240); - } set_Value (COLUMNNAME_Value, Value); } @@ -1026,13 +954,7 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe public void setWorkflowType (String WorkflowType) { - if (WorkflowType == null || WorkflowType.equals("S") || WorkflowType.equals("M") || WorkflowType.equals("T") || WorkflowType.equals("Q")); else throw new IllegalArgumentException ("WorkflowType Invalid value - " + WorkflowType + " - Reference_ID=108 - S - M - T - Q"); - if (WorkflowType != null && WorkflowType.length() > 1) - { - log.warning("Length > 1 - truncated"); - WorkflowType = WorkflowType.substring(0, 1); - } - set_Value (COLUMNNAME_WorkflowType, WorkflowType); + if (WorkflowType == null || WorkflowType.equals("S") || WorkflowType.equals("M") || WorkflowType.equals("T") || WorkflowType.equals("Q")); else throw new IllegalArgumentException ("WorkflowType Invalid value - " + WorkflowType + " - Reference_ID=108 - S - M - T - Q"); set_Value (COLUMNNAME_WorkflowType, WorkflowType); } /** Get Workflow Type. diff --git a/base/src/org/eevolution/model/X_PP_Product_BOM.java b/base/src/org/eevolution/model/X_PP_Product_BOM.java index 04a13e8485..41edb00aa4 100644 --- a/base/src/org/eevolution/model/X_PP_Product_BOM.java +++ b/base/src/org/eevolution/model/X_PP_Product_BOM.java @@ -18,18 +18,16 @@ package org.eevolution.model; import java.lang.reflect.Constructor; -import java.math.BigDecimal; import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; import java.util.logging.Level; import org.compiere.model.*; -import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Product_BOM * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persistent { @@ -47,7 +45,7 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste setM_Product_ID (0); setName (null); setPP_Product_BOM_ID (0); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); // @#Date@ setValue (null); } */ @@ -81,25 +79,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste return sb.toString(); } - /** Set Amount. - @param Amt - Amount - */ - public void setAmt (BigDecimal Amt) - { - throw new IllegalArgumentException ("Amt is virtual column"); } - - /** Get Amount. - @return Amount - */ - public BigDecimal getAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Amt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** BOMType AD_Reference_ID=347 */ public static final int BOMTYPE_AD_Reference_ID=347; /** Current Active = A */ @@ -125,13 +104,7 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste public void setBOMType (String BOMType) { - if (BOMType == null || BOMType.equals("A") || BOMType.equals("O") || BOMType.equals("P") || BOMType.equals("S") || BOMType.equals("F") || BOMType.equals("M") || BOMType.equals("R") || BOMType.equals("C")); else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=347 - A - O - P - S - F - M - R - C"); - if (BOMType != null && BOMType.length() > 1) - { - log.warning("Length > 1 - truncated"); - BOMType = BOMType.substring(0, 1); - } - set_Value (COLUMNNAME_BOMType, BOMType); + if (BOMType == null || BOMType.equals("A") || BOMType.equals("O") || BOMType.equals("P") || BOMType.equals("S") || BOMType.equals("F") || BOMType.equals("M") || BOMType.equals("R") || BOMType.equals("C")); else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=347 - A - O - P - S - F - M - R - C"); set_Value (COLUMNNAME_BOMType, BOMType); } /** Get BOM Type. @@ -161,13 +134,7 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste public void setBOMUse (String BOMUse) { - if (BOMUse == null || BOMUse.equals("A") || BOMUse.equals("E") || BOMUse.equals("M") || BOMUse.equals("P") || BOMUse.equals("Q")); else throw new IllegalArgumentException ("BOMUse Invalid value - " + BOMUse + " - Reference_ID=348 - A - E - M - P - Q"); - if (BOMUse != null && BOMUse.length() > 1) - { - log.warning("Length > 1 - truncated"); - BOMUse = BOMUse.substring(0, 1); - } - set_Value (COLUMNNAME_BOMUse, BOMUse); + if (BOMUse == null || BOMUse.equals("A") || BOMUse.equals("E") || BOMUse.equals("M") || BOMUse.equals("P") || BOMUse.equals("Q")); else throw new IllegalArgumentException ("BOMUse Invalid value - " + BOMUse + " - Reference_ID=348 - A - E - M - P - Q"); set_Value (COLUMNNAME_BOMUse, BOMUse); } /** Get BOM Use. @@ -184,12 +151,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste */ public void setCopyFrom (String CopyFrom) { - - if (CopyFrom != null && CopyFrom.length() > 1) - { - log.warning("Length > 1 - truncated"); - CopyFrom = CopyFrom.substring(0, 1); - } set_Value (COLUMNNAME_CopyFrom, CopyFrom); } @@ -201,26 +162,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste return (String)get_Value(COLUMNNAME_CopyFrom); } - /** Set Cost. - @param Cost - Cost information - */ - public void setCost (BigDecimal Cost) - { - set_Value (COLUMNNAME_Cost, Cost); - } - - /** Get Cost. - @return Cost information - */ - public BigDecimal getCost () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Cost); - if (bd == null) - return Env.ZERO; - return bd; - } - public I_C_UOM getC_UOM() throws Exception { Class clazz = MTable.getClass(I_C_UOM.Table_Name); @@ -266,12 +207,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -289,12 +224,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste */ public void setDocumentNo (String DocumentNo) { - - if (DocumentNo != null && DocumentNo.length() > 22) - { - log.warning("Length > 22 - truncated"); - DocumentNo = DocumentNo.substring(0, 22); - } set_Value (COLUMNNAME_DocumentNo, DocumentNo); } @@ -312,12 +241,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -329,25 +252,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste return (String)get_Value(COLUMNNAME_Help); } - /** Set Margin %. - @param Margin - Margin for a product as a percentage - */ - public void setMargin (BigDecimal Margin) - { - throw new IllegalArgumentException ("Margin is virtual column"); } - - /** Get Margin %. - @return Margin for a product as a percentage - */ - public BigDecimal getMargin () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Margin); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Attribute Set Instance. @param M_AttributeSetInstance_ID Product Attribute Set Instance @@ -410,45 +314,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste return ii.intValue(); } - public I_M_PriceList_Version getM_PriceList_Version() throws Exception - { - Class clazz = MTable.getClass(I_M_PriceList_Version.Table_Name); - I_M_PriceList_Version result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_M_PriceList_Version)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_PriceList_Version_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Price List Version. - @param M_PriceList_Version_ID - Identifies a unique instance of a Price List - */ - public void setM_PriceList_Version_ID (int M_PriceList_Version_ID) - { - if (M_PriceList_Version_ID < 1) - set_ValueNoCheck (COLUMNNAME_M_PriceList_Version_ID, null); - else - set_ValueNoCheck (COLUMNNAME_M_PriceList_Version_ID, Integer.valueOf(M_PriceList_Version_ID)); - } - - /** Get Price List Version. - @return Identifies a unique instance of a Price List - */ - public int getM_PriceList_Version_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_PriceList_Version_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_M_Product getM_Product() throws Exception { Class clazz = MTable.getClass(I_M_Product.Table_Name); @@ -495,12 +360,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); - - if (Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -534,26 +393,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste return ii.intValue(); } - /** Set Price. - @param Price - Price - */ - public void setPrice (BigDecimal Price) - { - set_Value (COLUMNNAME_Price, Price); - } - - /** Get Price. - @return Price - */ - public BigDecimal getPrice () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Price); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Process Now. @param Processing Process Now */ public void setProcessing (boolean Processing) @@ -579,12 +418,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste @param Revision Revision */ public void setRevision (String Revision) { - - if (Revision != null && Revision.length() > 10) - { - log.warning("Length > 10 - truncated"); - Revision = Revision.substring(0, 10); - } set_Value (COLUMNNAME_Revision, Revision); } @@ -639,12 +472,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste { if (Value == null) throw new IllegalArgumentException ("Value is mandatory."); - - if (Value.length() > 80) - { - log.warning("Length > 80 - truncated"); - Value = Value.substring(0, 80); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_PP_Product_BOMLine.java b/base/src/org/eevolution/model/X_PP_Product_BOMLine.java index ea310c29ce..0ffe8f6d4f 100644 --- a/base/src/org/eevolution/model/X_PP_Product_BOMLine.java +++ b/base/src/org/eevolution/model/X_PP_Product_BOMLine.java @@ -28,7 +28,7 @@ import org.compiere.util.Env; /** Generated Model for PP_Product_BOMLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_Persistent { @@ -50,7 +50,7 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ setM_Product_ID (0); setPP_Product_BOM_ID (0); setPP_Product_BOMLine_ID (0); - setValidFrom (new Timestamp(System.currentTimeMillis())); + setValidFrom (new Timestamp( System.currentTimeMillis() )); // @#Date@ } */ } @@ -109,12 +109,6 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ */ public void setBackflushGroup (String BackflushGroup) { - - if (BackflushGroup != null && BackflushGroup.length() > 20) - { - log.warning("Length > 20 - truncated"); - BackflushGroup = BackflushGroup.substring(0, 20); - } set_Value (COLUMNNAME_BackflushGroup, BackflushGroup); } @@ -151,13 +145,7 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ public void setComponentType (String ComponentType) { - if (ComponentType == null || ComponentType.equals("BY") || ComponentType.equals("CO") || ComponentType.equals("PH") || ComponentType.equals("PK") || ComponentType.equals("PL") || ComponentType.equals("TL") || ComponentType.equals("OP") || ComponentType.equals("VA")); else throw new IllegalArgumentException ("ComponentType Invalid value - " + ComponentType + " - Reference_ID=53225 - BY - CO - PH - PK - PL - TL - OP - VA"); - if (ComponentType != null && ComponentType.length() > 2) - { - log.warning("Length > 2 - truncated"); - ComponentType = ComponentType.substring(0, 2); - } - set_Value (COLUMNNAME_ComponentType, ComponentType); + if (ComponentType == null || ComponentType.equals("BY") || ComponentType.equals("CO") || ComponentType.equals("PH") || ComponentType.equals("PK") || ComponentType.equals("PL") || ComponentType.equals("TL") || ComponentType.equals("OP") || ComponentType.equals("VA")); else throw new IllegalArgumentException ("ComponentType Invalid value - " + ComponentType + " - Reference_ID=53225 - BY - CO - PH - PK - PL - TL - OP - VA"); set_Value (COLUMNNAME_ComponentType, ComponentType); } /** Get Component Type. @@ -213,12 +201,6 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -236,12 +218,6 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ */ public void setFeature (String Feature) { - - if (Feature != null && Feature.length() > 30) - { - log.warning("Length > 30 - truncated"); - Feature = Feature.substring(0, 30); - } set_Value (COLUMNNAME_Feature, Feature); } @@ -279,12 +255,6 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ */ public void setHelp (String Help) { - - if (Help != null && Help.length() > 2000) - { - log.warning("Length > 2000 - truncated"); - Help = Help.substring(0, 2000); - } set_Value (COLUMNNAME_Help, Help); } @@ -357,13 +327,7 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ public void setIssueMethod (String IssueMethod) { if (IssueMethod == null) throw new IllegalArgumentException ("IssueMethod is mandatory"); - if (IssueMethod.equals("0") || IssueMethod.equals("1")); else throw new IllegalArgumentException ("IssueMethod Invalid value - " + IssueMethod + " - Reference_ID=53226 - 0 - 1"); - if (IssueMethod.length() > 1) - { - log.warning("Length > 1 - truncated"); - IssueMethod = IssueMethod.substring(0, 1); - } - set_Value (COLUMNNAME_IssueMethod, IssueMethod); + if (IssueMethod.equals("0") || IssueMethod.equals("1")); else throw new IllegalArgumentException ("IssueMethod Invalid value - " + IssueMethod + " - Reference_ID=53226 - 0 - 1"); set_Value (COLUMNNAME_IssueMethod, IssueMethod); } /** Get Issue Method. @@ -669,20 +633,4 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ { return (Timestamp)get_Value(COLUMNNAME_ValidTo); } - - /** Set Search Key. - @param Value - Search key for the record in the format required - must be unique - */ - public void setValue (String Value) - { - throw new IllegalArgumentException ("Value is virtual column"); } - - /** Get Search Key. - @return Search key for the record in the format required - must be unique - */ - public String getValue () - { - return (String)get_Value(COLUMNNAME_Value); - } } \ No newline at end of file diff --git a/base/src/org/eevolution/model/X_PP_Product_Planning.java b/base/src/org/eevolution/model/X_PP_Product_Planning.java index 8188082867..f67a4d0c75 100644 --- a/base/src/org/eevolution/model/X_PP_Product_Planning.java +++ b/base/src/org/eevolution/model/X_PP_Product_Planning.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for PP_Product_Planning * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, I_Persistent { @@ -469,13 +469,7 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, public void setOrder_Policy (String Order_Policy) { - if (Order_Policy == null || Order_Policy.equals("FQ") || Order_Policy.equals("LFL") || Order_Policy.equals("POQ")); else throw new IllegalArgumentException ("Order_Policy Invalid value - " + Order_Policy + " - Reference_ID=53228 - FQ - LFL - POQ"); - if (Order_Policy != null && Order_Policy.length() > 3) - { - log.warning("Length > 3 - truncated"); - Order_Policy = Order_Policy.substring(0, 3); - } - set_Value (COLUMNNAME_Order_Policy, Order_Policy); + if (Order_Policy == null || Order_Policy.equals("FQ") || Order_Policy.equals("LFL") || Order_Policy.equals("POQ")); else throw new IllegalArgumentException ("Order_Policy Invalid value - " + Order_Policy + " - Reference_ID=53228 - FQ - LFL - POQ"); set_Value (COLUMNNAME_Order_Policy, Order_Policy); } /** Get Order Policy. diff --git a/base/src/org/eevolution/model/X_PP_WF_Node_Asset.java b/base/src/org/eevolution/model/X_PP_WF_Node_Asset.java index fdfd5349bd..65cd835394 100644 --- a/base/src/org/eevolution/model/X_PP_WF_Node_Asset.java +++ b/base/src/org/eevolution/model/X_PP_WF_Node_Asset.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for PP_WF_Node_Asset * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Persistent { diff --git a/base/src/org/eevolution/model/X_PP_WF_Node_Product.java b/base/src/org/eevolution/model/X_PP_WF_Node_Product.java index fdc9a7a868..64b40fc66d 100644 --- a/base/src/org/eevolution/model/X_PP_WF_Node_Product.java +++ b/base/src/org/eevolution/model/X_PP_WF_Node_Product.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for PP_WF_Node_Product * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_Persistent { @@ -131,13 +131,7 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_ public void setConfigurationLevel (String ConfigurationLevel) { - if (ConfigurationLevel == null || ConfigurationLevel.equals("S") || ConfigurationLevel.equals("C") || ConfigurationLevel.equals("O")); else throw new IllegalArgumentException ("ConfigurationLevel Invalid value - " + ConfigurationLevel + " - Reference_ID=53222 - S - C - O"); - if (ConfigurationLevel != null && ConfigurationLevel.length() > 1) - { - log.warning("Length > 1 - truncated"); - ConfigurationLevel = ConfigurationLevel.substring(0, 1); - } - set_Value (COLUMNNAME_ConfigurationLevel, ConfigurationLevel); + if (ConfigurationLevel == null || ConfigurationLevel.equals("S") || ConfigurationLevel.equals("C") || ConfigurationLevel.equals("O")); else throw new IllegalArgumentException ("ConfigurationLevel Invalid value - " + ConfigurationLevel + " - Reference_ID=53222 - S - C - O"); set_Value (COLUMNNAME_ConfigurationLevel, ConfigurationLevel); } /** Get Configuration Level. @@ -156,12 +150,6 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_ */ public void setEntityType (String EntityType) { - - if (EntityType.length() > 40) - { - log.warning("Length > 40 - truncated"); - EntityType = EntityType.substring(0, 40); - } set_Value (COLUMNNAME_EntityType, EntityType); } diff --git a/base/src/org/eevolution/model/X_QM_Specification.java b/base/src/org/eevolution/model/X_QM_Specification.java index 6506ceacce..d9c5e2638a 100644 --- a/base/src/org/eevolution/model/X_QM_Specification.java +++ b/base/src/org/eevolution/model/X_QM_Specification.java @@ -26,7 +26,7 @@ import org.compiere.model.*; /** Generated Model for QM_Specification * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_QM_Specification extends PO implements I_QM_Specification, I_Persistent { @@ -120,12 +120,6 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 255) - { - log.warning("Length > 255 - truncated"); - Description = Description.substring(0, 255); - } set_Value (COLUMNNAME_Description, Description); } @@ -219,12 +213,6 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers */ public void setName (String Name) { - - if (Name != null && Name.length() > 60) - { - log.warning("Length > 60 - truncated"); - Name = Name.substring(0, 60); - } set_Value (COLUMNNAME_Name, Name); } @@ -334,12 +322,6 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_QM_SpecificationLine.java b/base/src/org/eevolution/model/X_QM_SpecificationLine.java index bc09f5fdf1..fd0b6d488b 100644 --- a/base/src/org/eevolution/model/X_QM_SpecificationLine.java +++ b/base/src/org/eevolution/model/X_QM_SpecificationLine.java @@ -26,7 +26,7 @@ import org.compiere.model.*; /** Generated Model for QM_SpecificationLine * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine, I_Persistent { @@ -89,13 +89,7 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine public void setAndOr (String AndOr) { if (AndOr == null) throw new IllegalArgumentException ("AndOr is mandatory"); - if (AndOr.equals("A") || AndOr.equals("O")); else throw new IllegalArgumentException ("AndOr Invalid value - " + AndOr + " - Reference_ID=204 - A - O"); - if (AndOr.length() > 1) - { - log.warning("Length > 1 - truncated"); - AndOr = AndOr.substring(0, 1); - } - set_Value (COLUMNNAME_AndOr, AndOr); + if (AndOr.equals("A") || AndOr.equals("O")); else throw new IllegalArgumentException ("AndOr Invalid value - " + AndOr + " - Reference_ID=204 - A - O"); set_Value (COLUMNNAME_AndOr, AndOr); } /** Get And/Or. @@ -171,13 +165,7 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine public void setOperation (String Operation) { if (Operation == null) throw new IllegalArgumentException ("Operation is mandatory"); - if (Operation.equals("==") || Operation.equals(">=") || Operation.equals(">>") || Operation.equals("<<") || Operation.equals("~~") || Operation.equals("<=") || Operation.equals("AB") || Operation.equals("SQ") || Operation.equals("!=")); else throw new IllegalArgumentException ("Operation Invalid value - " + Operation + " - Reference_ID=205 - == - >= - >> - << - ~~ - <= - AB - SQ - !="); - if (Operation.length() > 2) - { - log.warning("Length > 2 - truncated"); - Operation = Operation.substring(0, 2); - } - set_Value (COLUMNNAME_Operation, Operation); + if (Operation.equals("==") || Operation.equals(">=") || Operation.equals(">>") || Operation.equals("<<") || Operation.equals("~~") || Operation.equals("<=") || Operation.equals("AB") || Operation.equals("SQ") || Operation.equals("!=")); else throw new IllegalArgumentException ("Operation Invalid value - " + Operation + " - Reference_ID=205 - == - >= - >> - << - ~~ - <= - AB - SQ - !="); set_Value (COLUMNNAME_Operation, Operation); } /** Get Operation. @@ -188,25 +176,6 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine return (String)get_Value(COLUMNNAME_Operation); } - /** Set QM_SpecificationLine_ID. - @param QM_SpecificationLine_ID QM_SpecificationLine_ID */ - public void setQM_SpecificationLine_ID (int QM_SpecificationLine_ID) - { - if (QM_SpecificationLine_ID < 1) - throw new IllegalArgumentException ("QM_SpecificationLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_QM_SpecificationLine_ID, Integer.valueOf(QM_SpecificationLine_ID)); - } - - /** Get QM_SpecificationLine_ID. - @return QM_SpecificationLine_ID */ - public int getQM_SpecificationLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_QM_SpecificationLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public org.eevolution.model.I_QM_Specification getQM_Specification() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_QM_Specification.Table_Name); @@ -243,6 +212,25 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine return ii.intValue(); } + /** Set QM_SpecificationLine_ID. + @param QM_SpecificationLine_ID QM_SpecificationLine_ID */ + public void setQM_SpecificationLine_ID (int QM_SpecificationLine_ID) + { + if (QM_SpecificationLine_ID < 1) + throw new IllegalArgumentException ("QM_SpecificationLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_QM_SpecificationLine_ID, Integer.valueOf(QM_SpecificationLine_ID)); + } + + /** Get QM_SpecificationLine_ID. + @return QM_SpecificationLine_ID */ + public int getQM_SpecificationLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_QM_SpecificationLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Sequence. @param SeqNo Method of ordering records; lowest number comes first @@ -269,12 +257,6 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine */ public void setValidFrom (String ValidFrom) { - - if (ValidFrom != null && ValidFrom.length() > 22) - { - log.warning("Length > 22 - truncated"); - ValidFrom = ValidFrom.substring(0, 22); - } set_Value (COLUMNNAME_ValidFrom, ValidFrom); } @@ -309,12 +291,6 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine */ public void setValue (String Value) { - - if (Value != null && Value.length() > 40) - { - log.warning("Length > 40 - truncated"); - Value = Value.substring(0, 40); - } set_Value (COLUMNNAME_Value, Value); } diff --git a/base/src/org/eevolution/model/X_RV_PP_WIP.java b/base/src/org/eevolution/model/X_RV_PP_WIP.java index 9349a45e4b..01fd0043d1 100644 --- a/base/src/org/eevolution/model/X_RV_PP_WIP.java +++ b/base/src/org/eevolution/model/X_RV_PP_WIP.java @@ -23,7 +23,7 @@ import org.compiere.model.*; /** Generated Model for RV_PP_WIP * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_RV_PP_WIP extends PO implements I_RV_PP_WIP, I_Persistent { diff --git a/base/src/org/eevolution/model/X_T_BOMLine.java b/base/src/org/eevolution/model/X_T_BOMLine.java index 7d1a11948a..551f21ec82 100644 --- a/base/src/org/eevolution/model/X_T_BOMLine.java +++ b/base/src/org/eevolution/model/X_T_BOMLine.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for T_BOMLine * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent { @@ -157,12 +157,6 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent @param Levels Levels */ public void setLevels (String Levels) { - - if (Levels != null && Levels.length() > 250) - { - log.warning("Length > 250 - truncated"); - Levels = Levels.substring(0, 250); - } set_Value (COLUMNNAME_Levels, Levels); } @@ -212,45 +206,6 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent return ii.intValue(); } - public org.eevolution.model.I_PP_Product_BOMLine getPP_Product_BOMLine() throws Exception - { - Class clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOMLine.Table_Name); - org.eevolution.model.I_PP_Product_BOMLine result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (org.eevolution.model.I_PP_Product_BOMLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Product_BOMLine_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set BOM Line. - @param PP_Product_BOMLine_ID - BOM Line - */ - public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID) - { - if (PP_Product_BOMLine_ID < 1) - set_Value (COLUMNNAME_PP_Product_BOMLine_ID, null); - else - set_Value (COLUMNNAME_PP_Product_BOMLine_ID, Integer.valueOf(PP_Product_BOMLine_ID)); - } - - /** Get BOM Line. - @return BOM Line - */ - public int getPP_Product_BOMLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOMLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception { Class clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name); @@ -290,6 +245,45 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent return ii.intValue(); } + public org.eevolution.model.I_PP_Product_BOMLine getPP_Product_BOMLine() throws Exception + { + Class clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOMLine.Table_Name); + org.eevolution.model.I_PP_Product_BOMLine result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (org.eevolution.model.I_PP_Product_BOMLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Product_BOMLine_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw e; + } + return result; + } + + /** Set BOM Line. + @param PP_Product_BOMLine_ID + BOM Line + */ + public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID) + { + if (PP_Product_BOMLine_ID < 1) + set_Value (COLUMNNAME_PP_Product_BOMLine_ID, null); + else + set_Value (COLUMNNAME_PP_Product_BOMLine_ID, Integer.valueOf(PP_Product_BOMLine_ID)); + } + + /** Get BOM Line. + @return BOM Line + */ + public int getPP_Product_BOMLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOMLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Sel_Product_ID. @param Sel_Product_ID Sel_Product_ID */ public void setSel_Product_ID (int Sel_Product_ID) diff --git a/base/src/org/eevolution/model/X_T_MRP_CRP.java b/base/src/org/eevolution/model/X_T_MRP_CRP.java index d39db7dd68..f3f85b282d 100644 --- a/base/src/org/eevolution/model/X_T_MRP_CRP.java +++ b/base/src/org/eevolution/model/X_T_MRP_CRP.java @@ -25,7 +25,7 @@ import org.compiere.model.*; /** Generated Model for T_MRP_CRP * @author Adempiere (generated) - * @version Release 3.5.0 - $Id$ */ + * @version Release 3.5.2a - $Id$ */ public class X_T_MRP_CRP extends PO implements I_T_MRP_CRP, I_Persistent { @@ -117,12 +117,6 @@ public class X_T_MRP_CRP extends PO implements I_T_MRP_CRP, I_Persistent */ public void setDescription (String Description) { - - if (Description != null && Description.length() > 50) - { - log.warning("Length > 50 - truncated"); - Description = Description.substring(0, 50); - } set_Value (COLUMNNAME_Description, Description); }