X_I_Request.java

Index Score
org.compiere.model
Compiere

View: Reasons, Metrics, Source Code

These are the metrics that contribute to the Enerjy Score for this file, ranked by impact. So the metrics listed at the top influence the score to a greater extent that the metrics listed at the bottom.

MetricDescription
DECL_COMMENTSComments in declarations
FUNCTIONSNumber of function declarations
CYCLOMATICCyclomatic complexity
JAVA0034JAVA0034 Missing braces in if statement
RETURNSNumber of return points from functions
INTERFACE_COMPLEXITYInterface complexity
COMPARISONSNumber of comparison operators
LOCLines of code
BLOCKSNumber of blocks
DOC_COMMENTNumber of javadoc comment lines
SIZESize of the file in bytes
OPERATORSNumber of operators
PROGRAM_LENGTHHalstead program length
LINESNumber of lines in the source file
OPERANDSNumber of operands
PARAMSNumber of formal parameter declarations
LOGICAL_LINESNumber of statements
ELOCEffective lines of code
COMMENTSComment lines
UNIQUE_OPERANDSNumber of unique operands
PROGRAM_VOCABHalstead program vocabulary
JAVA0278JAVA0278 Unnecessary use of Boolean constructor
JAVA0233JAVA0233 Definition of serialVersionUID other than 'private static final long serialVersionUID'
JAVA0144JAVA0144 Line exceeds maximum M characters
JAVA0064JAVA0064 N variations of identifier name (maximum: M)
JAVA0117JAVA0117 Missing javadoc: method 'method'
PROGRAM_VOLUMEHalstead program volume
JAVA0136JAVA0136 N methods defined in class (maximum: M)
EXEC_COMMENTSComments in executable code
JAVA0126JAVA0126 Method declares unchecked exception in throws
LINE_COMMENTNumber of line comments
JAVA0110JAVA0110 Incorrect javadoc: no @return tag
WHITESPACENumber of whitespace lines
LOOPSNumber of loops
JAVA0108JAVA0108 Incorrect javadoc: no @param tag for 'parameter'
JAVA0003JAVA0003 Minimize use of on-demand (.*) imports
JAVA0145JAVA0145 Tab character used in source file
/****************************************************************************** * Product: Compiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * * under the terms version 2 of the GNU General Public License as published * * by the Free Software Foundation. This program is distributed in the hope * * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * * with this program, if not, write to the Free Software Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * For the text or an alternative of this public license, you may reach us * * ComPiere, Inc., 3600 Bridge Parkway #102, Redwood City, CA 94065, USA * * or via info@compiere.org or http://www.compiere.org/license.html * *****************************************************************************/ package org.compiere.model; /** Generated Model - DO NOT CHANGE */ import java.sql.*; import java.math.*; import org.compiere.framework.*; import org.compiere.util.*; /** Generated Model for I_Request * @author Jorg Janke (generated) * @version Release 3.1.0 - $Id$ */ public class X_I_Request extends PO { /** Standard Constructor @param ctx context @param I_Request_ID id @param trxName transaction */ public X_I_Request (Ctx ctx, int I_Request_ID, String trxName) { super (ctx, I_Request_ID, trxName); /** if (I_Request_ID == 0) { setI_IsImported (null); // N setI_Request_ID (0); } */ } /** Load Constructor @param ctx context @param rs result set @param trxName transaction */ public X_I_Request (Ctx ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); } /** Serial Version No */ static final long serialVersionUID = 27495937220789L; /** Last Updated Timestamp 2008-06-18 10:58:24.0 */ public static final long updatedMS = 1213811904000L; /** AD_Table_ID=940 */ public static final int Table_ID=940; /** TableName=I_Request */ public static final String Table_Name="I_Request"; protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_Request"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @return 2 - Client */ protected int get_AccessLevel() { return accessLevel.intValue(); } /** Load Meta Data @param ctx context @return PO Info */ protected POInfo initPO (Ctx ctx) { POInfo poi = POInfo.getPOInfo (ctx, Table_ID); return poi; } /** Info @return info */ public String toString() { StringBuffer sb = new StringBuffer ("X_I_Request[").append(get_ID()).append("]"); return sb.toString(); } /** Set Role. @param AD_Role_ID Responsibility Role */ public void setAD_Role_ID (int AD_Role_ID) { if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null); else set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); } /** Get Role. @return Responsibility Role */ public int getAD_Role_ID() { Integer ii = (Integer)get_Value("AD_Role_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Table. @param AD_Table_ID Database Table information */ public void setAD_Table_ID (int AD_Table_ID) { if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); else set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); } /** Get Table. @return Database Table information */ public int getAD_Table_ID() { Integer ii = (Integer)get_Value("AD_Table_ID"); if (ii == null) return 0; 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 <= 0) set_Value ("AD_User_ID", null); else set_Value ("AD_User_ID", new Integer(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("AD_User_ID"); if (ii == null) return 0; 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 <= 0) set_Value ("A_Asset_ID", null); else set_Value ("A_Asset_ID", new Integer(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ public int getA_Asset_ID() { Integer ii = (Integer)get_Value("A_Asset_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Activity Name. @param ActivityName Activity Name */ public void setActivityName (String ActivityName) { int length = p_info.getFieldLength("ActivityName"); if (ActivityName != null && ActivityName.length() > length) { log.warning("Length > " + length + " - truncated"); ActivityName = ActivityName.substring(0,length); } set_Value ("ActivityName", ActivityName); } /** Get Activity Name. @return Activity Name */ public String getActivityName() { return (String)get_Value("ActivityName"); } /** Set Activity Key. @param ActivityValue Activity Key */ public void setActivityValue (String ActivityValue) { int length = p_info.getFieldLength("ActivityValue"); if (ActivityValue != null && ActivityValue.length() > length) { log.warning("Length > " + length + " - truncated"); ActivityValue = ActivityValue.substring(0,length); } set_Value ("ActivityValue", ActivityValue); } /** Get Activity Key. @return Activity Key */ public String getActivityValue() { return (String)get_Value("ActivityValue"); } /** Set Asset Name. @param AssetName Asset Name */ public void setAssetName (String AssetName) { int length = p_info.getFieldLength("AssetName"); if (AssetName != null && AssetName.length() > length) { log.warning("Length > " + length + " - truncated"); AssetName = AssetName.substring(0,length); } set_Value ("AssetName", AssetName); } /** Get Asset Name. @return Asset Name */ public String getAssetName() { return (String)get_Value("AssetName"); } /** Set Asset Key. @param AssetValue Asset Key */ public void setAssetValue (String AssetValue) { int length = p_info.getFieldLength("AssetValue"); if (AssetValue != null && AssetValue.length() > length) { log.warning("Length > " + length + " - truncated"); AssetValue = AssetValue.substring(0,length); } set_Value ("AssetValue", AssetValue); } /** Get Asset Key. @return Asset Key */ public String getAssetValue() { return (String)get_Value("AssetValue"); } /** Set Business Partner Name. @param BPartnerName Business Partner Name */ public void setBPartnerName (String BPartnerName) { int length = p_info.getFieldLength("BPartnerName"); if (BPartnerName != null && BPartnerName.length() > length) { log.warning("Length > " + length + " - truncated"); BPartnerName = BPartnerName.substring(0,length); } set_Value ("BPartnerName", BPartnerName); } /** Get Business Partner Name. @return Business Partner Name */ public String getBPartnerName() { return (String)get_Value("BPartnerName"); } /** Set BPartner (Agent) Name. @param BPartnerSRName BPartner (Agent) Name */ public void setBPartnerSRName (String BPartnerSRName) { int length = p_info.getFieldLength("BPartnerSRName"); if (BPartnerSRName != null && BPartnerSRName.length() > length) { log.warning("Length > " + length + " - truncated"); BPartnerSRName = BPartnerSRName.substring(0,length); } set_Value ("BPartnerSRName", BPartnerSRName); } /** Get BPartner (Agent) Name. @return BPartner (Agent) Name */ public String getBPartnerSRName() { return (String)get_Value("BPartnerSRName"); } /** Set BPartner (Agent) Key. @param BPartnerSRValue BPartner (Agent) Key */ public void setBPartnerSRValue (String BPartnerSRValue) { int length = p_info.getFieldLength("BPartnerSRValue"); if (BPartnerSRValue != null && BPartnerSRValue.length() > length) { log.warning("Length > " + length + " - truncated"); BPartnerSRValue = BPartnerSRValue.substring(0,length); } set_Value ("BPartnerSRValue", BPartnerSRValue); } /** Get BPartner (Agent) Key. @return BPartner (Agent) Key */ public String getBPartnerSRValue() { return (String)get_Value("BPartnerSRValue"); } /** Set Business Partner Key. @param BPartnerValue Key of the Business Partner */ public void setBPartnerValue (String BPartnerValue) { int length = p_info.getFieldLength("BPartnerValue"); if (BPartnerValue != null && BPartnerValue.length() > length) { log.warning("Length > " + length + " - truncated"); BPartnerValue = BPartnerValue.substring(0,length); } set_Value ("BPartnerValue", BPartnerValue); } /** Get Business Partner Key. @return Key of the Business Partner */ public String getBPartnerValue() { return (String)get_Value("BPartnerValue"); } /** Set Activity. @param C_Activity_ID Business Activity */ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); } /** Get Activity. @return Business Activity */ public int getC_Activity_ID() { Integer ii = (Integer)get_Value("C_Activity_ID"); if (ii == null) return 0; 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 <= 0) set_Value ("C_BPartnerSR_ID", null); else set_Value ("C_BPartnerSR_ID", new Integer(C_BPartnerSR_ID)); } /** Get BPartner (Agent). @return Business Partner (Agent or Sales Rep) */ public int getC_BPartnerSR_ID() { Integer ii = (Integer)get_Value("C_BPartnerSR_ID"); if (ii == null) return 0; 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 <= 0) set_Value ("C_BPartner_ID", null); else set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); } /** Get Business Partner. @return Identifies a Business Partner */ public int getC_BPartner_ID() { Integer ii = (Integer)get_Value("C_BPartner_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Campaign. @param C_Campaign_ID Marketing Campaign */ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ public int getC_Campaign_ID() { Integer ii = (Integer)get_Value("C_Campaign_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Invoice. @param C_Invoice_ID Invoice Identifier */ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ public int getC_Invoice_ID() { Integer ii = (Integer)get_Value("C_Invoice_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Lead. @param C_Lead_ID Business Lead */ public void setC_Lead_ID (int C_Lead_ID) { if (C_Lead_ID <= 0) set_Value ("C_Lead_ID", null); else set_Value ("C_Lead_ID", new Integer(C_Lead_ID)); } /** Get Lead. @return Business Lead */ public int getC_Lead_ID() { Integer ii = (Integer)get_Value("C_Lead_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Order. @param C_Order_ID Order */ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_Value ("C_Order_ID", null); else set_Value ("C_Order_ID", new Integer(C_Order_ID)); } /** Get Order. @return Order */ public int getC_Order_ID() { Integer ii = (Integer)get_Value("C_Order_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Payment. @param C_Payment_ID Payment identifier */ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ public int getC_Payment_ID() { Integer ii = (Integer)get_Value("C_Payment_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Project. @param C_Project_ID Financial Project */ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else set_Value ("C_Project_ID", new Integer(C_Project_ID)); } /** Get Project. @return Financial Project */ public int getC_Project_ID() { Integer ii = (Integer)get_Value("C_Project_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Sales Region. @param C_SalesRegion_ID Sales coverage region */ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ public int getC_SalesRegion_ID() { Integer ii = (Integer)get_Value("C_SalesRegion_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Campaign Name. @param CampaignName Campaign Name */ public void setCampaignName (String CampaignName) { int length = p_info.getFieldLength("CampaignName"); if (CampaignName != null && CampaignName.length() > length) { log.warning("Length > " + length + " - truncated"); CampaignName = CampaignName.substring(0,length); } set_Value ("CampaignName", CampaignName); } /** Get Campaign Name. @return Campaign Name */ public String getCampaignName() { return (String)get_Value("CampaignName"); } /** Set Campaign Key. @param CampaignValue Campaign Key */ public void setCampaignValue (String CampaignValue) { int length = p_info.getFieldLength("CampaignValue"); if (CampaignValue != null && CampaignValue.length() > length) { log.warning("Length > " + length + " - truncated"); CampaignValue = CampaignValue.substring(0,length); } set_Value ("CampaignValue", CampaignValue); } /** Get Campaign Key. @return Campaign Key */ public String getCampaignValue() { return (String)get_Value("CampaignValue"); } /** Set Category Name. @param CategoryName Name of the Category */ public void setCategoryName (String CategoryName) { int length = p_info.getFieldLength("CategoryName"); if (CategoryName != null && CategoryName.length() > length) { log.warning("Length > " + length + " - truncated"); CategoryName = CategoryName.substring(0,length); } set_Value ("CategoryName", CategoryName); } /** Get Category Name. @return Name of the Category */ public String getCategoryName() { return (String)get_Value("CategoryName"); } /** Set Change Request Name. @param ChangeRequestName Change Request Name */ public void setChangeRequestName (String ChangeRequestName) { int length = p_info.getFieldLength("ChangeRequestName"); if (ChangeRequestName != null && ChangeRequestName.length() > length) { log.warning("Length > " + length + " - truncated"); ChangeRequestName = ChangeRequestName.substring(0,length); } set_Value ("ChangeRequestName", ChangeRequestName); } /** Get Change Request Name. @return Change Request Name */ public String getChangeRequestName() { return (String)get_Value("ChangeRequestName"); } /** Set Tenant Name. @param ClientName Tenant Name */ public void setClientName (String ClientName) { int length = p_info.getFieldLength("ClientName"); if (ClientName != null && ClientName.length() > length) { log.warning("Length > " + length + " - truncated"); ClientName = ClientName.substring(0,length); } set_Value ("ClientName", ClientName); } /** Get Tenant Name. @return Tenant Name */ public String getClientName() { return (String)get_Value("ClientName"); } /** Set Tenant Key. @param ClientValue Key of the Tenant */ public void setClientValue (String ClientValue) { int length = p_info.getFieldLength("ClientValue"); if (ClientValue != null && ClientValue.length() > length) { log.warning("Length > " + length + " - truncated"); ClientValue = ClientValue.substring(0,length); } set_Value ("ClientValue", ClientValue); } /** Get Tenant Key. @return Key of the Tenant */ public String getClientValue() { return (String)get_Value("ClientValue"); } /** Set Close Date. @param CloseDate Close Date */ public void setCloseDate (Timestamp CloseDate) { set_ValueNoCheck ("CloseDate", CloseDate); } /** Get Close Date. @return Close Date */ public Timestamp getCloseDate() { return (Timestamp)get_Value("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"; /** Is test a valid value. @param test testvalue @return true if valid **/ public boolean isConfidentialTypeValid (String test) { return test == null || test.equals("A") || test.equals("C") || test.equals("I") || test.equals("P"); } /** Set Confidentiality. @param ConfidentialType Type of Confidentiality */ public void setConfidentialType (String ConfidentialType) { if (!isConfidentialTypeValid(ConfidentialType)) throw new IllegalArgumentException ("ConfidentialType Invalid value - " + ConfidentialType + " - Reference_ID=340 - A - C - I - P"); int length = p_info.getFieldLength("ConfidentialType"); if (ConfidentialType != null && ConfidentialType.length() > length) { log.warning("Length > " + length + " - truncated"); ConfidentialType = ConfidentialType.substring(0,length); } set_Value ("ConfidentialType", ConfidentialType); } /** Get Confidentiality. @return Type of Confidentiality */ public String getConfidentialType() { return (String)get_Value("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"; /** Is test a valid value. @param test testvalue @return true if valid **/ public boolean isConfidentialTypeEntryValid (String test) { return test == null || test.equals("A") || test.equals("C") || test.equals("I") || test.equals("P"); } /** Set Entry Access Level. @param ConfidentialTypeEntry Confidentiality of the individual entry */ public void setConfidentialTypeEntry (String ConfidentialTypeEntry) { if (!isConfidentialTypeEntryValid(ConfidentialTypeEntry)) throw new IllegalArgumentException ("ConfidentialTypeEntry Invalid value - " + ConfidentialTypeEntry + " - Reference_ID=340 - A - C - I - P"); int length = p_info.getFieldLength("ConfidentialTypeEntry"); if (ConfidentialTypeEntry != null && ConfidentialTypeEntry.length() > length) { log.warning("Length > " + length + " - truncated"); ConfidentialTypeEntry = ConfidentialTypeEntry.substring(0,length); } set_Value ("ConfidentialTypeEntry", ConfidentialTypeEntry); } /** Get Entry Access Level. @return Confidentiality of the individual entry */ public String getConfidentialTypeEntry() { return (String)get_Value("ConfidentialTypeEntry"); } /** Set Contact Name. @param ContactName Business Partner Contact Name */ public void setContactName (String ContactName) { int length = p_info.getFieldLength("ContactName"); if (ContactName != null && ContactName.length() > length) { log.warning("Length > " + length + " - truncated"); ContactName = ContactName.substring(0,length); } set_Value ("ContactName", ContactName); } /** Get Contact Name. @return Business Partner Contact Name */ public String getContactName() { return (String)get_Value("ContactName"); } /** Set Contact Key. @param ContactValue Key of the Contact */ public void setContactValue (String ContactValue) { int length = p_info.getFieldLength("ContactValue"); if (ContactValue != null && ContactValue.length() > length) { log.warning("Length > " + length + " - truncated"); ContactValue = ContactValue.substring(0,length); } set_Value ("ContactValue", ContactValue); } /** Get Contact Key. @return Key of the Contact */ public String getContactValue() { return (String)get_Value("ContactValue"); } /** Set Complete Plan. @param DateCompletePlan Planned Completion Date */ public void setDateCompletePlan (Timestamp DateCompletePlan) { set_ValueNoCheck ("DateCompletePlan", DateCompletePlan); } /** Get Complete Plan. @return Planned Completion Date */ public Timestamp getDateCompletePlan() { return (Timestamp)get_Value("DateCompletePlan"); } /** Set Date last action. @param DateLastAction Date this request was last acted on */ public void setDateLastAction (Timestamp DateLastAction) { set_ValueNoCheck ("DateLastAction", DateLastAction); } /** Get Date last action. @return Date this request was last acted on */ public Timestamp getDateLastAction() { return (Timestamp)get_Value("DateLastAction"); } /** Set Last Alert. @param DateLastAlert Date when last alert were sent */ public void setDateLastAlert (Timestamp DateLastAlert) { set_ValueNoCheck ("DateLastAlert", DateLastAlert); } /** Get Last Alert. @return Date when last alert were sent */ public Timestamp getDateLastAlert() { return (Timestamp)get_Value("DateLastAlert"); } /** Set Date next action. @param DateNextAction Date that this request should be acted on */ public void setDateNextAction (Timestamp DateNextAction) { set_ValueNoCheck ("DateNextAction", DateNextAction); } /** Get Date next action. @return Date that this request should be acted on */ public Timestamp getDateNextAction() { return (Timestamp)get_Value("DateNextAction"); } /** Set Start Plan. @param DateStartPlan Planned Start Date */ public void setDateStartPlan (Timestamp DateStartPlan) { set_ValueNoCheck ("DateStartPlan", DateStartPlan); } /** Get Start Plan. @return Planned Start Date */ public Timestamp getDateStartPlan() { return (Timestamp)get_Value("DateStartPlan"); } /** Set Document No. @param DocumentNo Document sequence number of the document */ public void setDocumentNo (String DocumentNo) { int length = p_info.getFieldLength("DocumentNo"); if (DocumentNo != null && DocumentNo.length() > length) { log.warning("Length > " + length + " - truncated"); DocumentNo = DocumentNo.substring(0,length); } set_Value ("DocumentNo", DocumentNo); } /** Get Document No. @return Document sequence number of the document */ public String getDocumentNo() { return (String)get_Value("DocumentNo"); } /** DueType AD_Reference_ID=222 */ public static final int DUETYPE_AD_Reference_ID=222; /** Overdue = 3 */ public static final String DUETYPE_Overdue = "3"; /** Due = 5 */ public static final String DUETYPE_Due = "5"; /** Scheduled = 7 */ public static final String DUETYPE_Scheduled = "7"; /** Is test a valid value. @param test testvalue @return true if valid **/ public boolean isDueTypeValid (String test) { return test == null || test.equals("3") || test.equals("5") || test.equals("7"); } /** Set Aging Status. @param DueType Status of the next action for this Request */ public void setDueType (String DueType) { if (!isDueTypeValid(DueType)) throw new IllegalArgumentException ("DueType Invalid value - " + DueType + " - Reference_ID=222 - 3 - 5 - 7"); int length = p_info.getFieldLength("DueType"); if (DueType != null && DueType.length() > length) { log.warning("Length > " + length + " - truncated"); DueType = DueType.substring(0,length); } set_Value ("DueType", DueType); } /** Get Aging Status. @return Status of the next action for this Request */ public String getDueType() { return (String)get_Value("DueType"); } /** Set End Time. @param EndTime End of the time span */ public void setEndTime (Timestamp EndTime) { set_ValueNoCheck ("EndTime", EndTime); } /** Get End Time. @return End of the time span */ public Timestamp getEndTime() { return (Timestamp)get_Value("EndTime"); } /** Set Group Name. @param GroupName Group Name */ public void setGroupName (String GroupName) { int length = p_info.getFieldLength("GroupName"); if (GroupName != null && GroupName.length() > length) { log.warning("Length > " + length + " - truncated"); GroupName = GroupName.substring(0,length); } set_Value ("GroupName", GroupName); } /** Get Group Name. @return Group Name */ public String getGroupName() { return (String)get_Value("GroupName"); } /** Set Import Error Message. @param I_ErrorMsg Messages generated from import process */ public void setI_ErrorMsg (String I_ErrorMsg) { int length = p_info.getFieldLength("I_ErrorMsg"); if (I_ErrorMsg != null && I_ErrorMsg.length() > length) { log.warning("Length > " + length + " - truncated"); I_ErrorMsg = I_ErrorMsg.substring(0,length); } set_Value ("I_ErrorMsg", I_ErrorMsg); } /** Get Import Error Message. @return Messages generated from import process */ public String getI_ErrorMsg() { return (String)get_Value("I_ErrorMsg"); } /** I_IsImported AD_Reference_ID=420 */ public static final int I_ISIMPORTED_AD_Reference_ID=420; /** Error = E */ public static final String I_ISIMPORTED_Error = "E"; /** No = N */ public static final String I_ISIMPORTED_No = "N"; /** Yes = Y */ public static final String I_ISIMPORTED_Yes = "Y"; /** Is test a valid value. @param test testvalue @return true if valid **/ public boolean isI_IsImportedValid (String test) { return test.equals("E") || test.equals("N") || test.equals("Y"); } /** Set Imported. @param I_IsImported Has this import been processed? */ public void setI_IsImported (String I_IsImported) { if (I_IsImported == null) throw new IllegalArgumentException ("I_IsImported is mandatory"); if (!isI_IsImportedValid(I_IsImported)) throw new IllegalArgumentException ("I_IsImported Invalid value - " + I_IsImported + " - Reference_ID=420 - E - N - Y"); int length = p_info.getFieldLength("I_IsImported"); if (I_IsImported.length() > length) { log.warning("Length > " + length + " - truncated"); I_IsImported = I_IsImported.substring(0,length); } set_Value ("I_IsImported", I_IsImported); } /** Get Imported. @return Has this import been processed? */ public String getI_IsImported() { return (String)get_Value("I_IsImported"); } /** Set I_Request_ID. @param I_Request_ID I_Request_ID */ public void setI_Request_ID (int I_Request_ID) { if (I_Request_ID < 1) throw new IllegalArgumentException ("I_Request_ID is mandatory."); set_ValueNoCheck ("I_Request_ID", new Integer(I_Request_ID)); } /** Get I_Request_ID. @return I_Request_ID */ public int getI_Request_ID() { Integer ii = (Integer)get_Value("I_Request_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Shipment/Receipt Document No. @param InOutDocumentNo Shipment/Receipt Document No */ public void setInOutDocumentNo (String InOutDocumentNo) { int length = p_info.getFieldLength("InOutDocumentNo"); if (InOutDocumentNo != null && InOutDocumentNo.length() > length) { log.warning("Length > " + length + " - truncated"); InOutDocumentNo = InOutDocumentNo.substring(0,length); } set_Value ("InOutDocumentNo", InOutDocumentNo); } /** Get Shipment/Receipt Document No. @return Shipment/Receipt Document No */ public String getInOutDocumentNo() { return (String)get_Value("InOutDocumentNo"); } /** Set Invoice Document No. @param InvoiceDocumentNo Document Number of the Invoice */ public void setInvoiceDocumentNo (String InvoiceDocumentNo) { int length = p_info.getFieldLength("InvoiceDocumentNo"); if (InvoiceDocumentNo != null && InvoiceDocumentNo.length() > length) { log.warning("Length > " + length + " - truncated"); InvoiceDocumentNo = InvoiceDocumentNo.substring(0,length); } set_Value ("InvoiceDocumentNo", InvoiceDocumentNo); } /** Get Invoice Document No. @return Document Number of the Invoice */ public String getInvoiceDocumentNo() { return (String)get_Value("InvoiceDocumentNo"); } /** Set Escalated. @param IsEscalated This request has been escalated */ public void setIsEscalated (boolean IsEscalated) { set_Value ("IsEscalated", new Boolean(IsEscalated)); } /** Get Escalated. @return This request has been escalated */ public boolean isEscalated() { Object oo = get_Value("IsEscalated"); if (oo != null) { if (oo instanceof Boolean) return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; } /** Set Invoiced. @param IsInvoiced Is this invoiced? */ public void setIsInvoiced (boolean IsInvoiced) { set_Value ("IsInvoiced", new Boolean(IsInvoiced)); } /** Get Invoiced. @return Is this invoiced? */ public boolean isInvoiced() { Object oo = get_Value("IsInvoiced"); 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 */ public void setIsSelfService (boolean IsSelfService) { set_Value ("IsSelfService", new Boolean(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ public boolean isSelfService() { Object oo = get_Value("IsSelfService"); if (oo != null) { if (oo instanceof Boolean) return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; } /** Set Last Result. @param LastResult Result of last contact */ public void setLastResult (String LastResult) { int length = p_info.getFieldLength("LastResult"); if (LastResult != null && LastResult.length() > length) { log.warning("Length > " + length + " - truncated"); LastResult = LastResult.substring(0,length); } set_Value ("LastResult", LastResult); } /** Get Last Result. @return Result of last contact */ public String getLastResult() { return (String)get_Value("LastResult"); } /** Set Lead Document No. @param LeadDocumentNo Lead Document No */ public void setLeadDocumentNo (String LeadDocumentNo) { int length = p_info.getFieldLength("LeadDocumentNo"); if (LeadDocumentNo != null && LeadDocumentNo.length() > length) { log.warning("Length > " + length + " - truncated"); LeadDocumentNo = LeadDocumentNo.substring(0,length); } set_Value ("LeadDocumentNo", LeadDocumentNo); } /** Get Lead Document No. @return Lead Document No */ public String getLeadDocumentNo() { return (String)get_Value("LeadDocumentNo"); } /** Set Change Request. @param M_ChangeRequest_ID BOM (Engineering) Change Request */ public void setM_ChangeRequest_ID (int M_ChangeRequest_ID) { if (M_ChangeRequest_ID <= 0) set_Value ("M_ChangeRequest_ID", null); else set_Value ("M_ChangeRequest_ID", new Integer(M_ChangeRequest_ID)); } /** Get Change Request. @return BOM (Engineering) Change Request */ public int getM_ChangeRequest_ID() { Integer ii = (Integer)get_Value("M_ChangeRequest_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Shipment/Receipt. @param M_InOut_ID Material Shipment Document */ public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID <= 0) set_Value ("M_InOut_ID", null); else set_Value ("M_InOut_ID", new Integer(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ public int getM_InOut_ID() { Integer ii = (Integer)get_Value("M_InOut_ID"); if (ii == null) return 0; 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 <= 0) set_Value ("M_ProductSpent_ID", null); else set_Value ("M_ProductSpent_ID", new Integer(M_ProductSpent_ID)); } /** Get Product Used. @return Product/Resource/Service used in Request */ public int getM_ProductSpent_ID() { Integer ii = (Integer)get_Value("M_ProductSpent_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Product. @param M_Product_ID Product, Service, Item */ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else set_Value ("M_Product_ID", new Integer(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ public int getM_Product_ID() { Integer ii = (Integer)get_Value("M_Product_ID"); if (ii == null) return 0; return ii.intValue(); } /** NextAction AD_Reference_ID=219 */ public static final int NEXTACTION_AD_Reference_ID=219; /** Follow up = F */ public static final String NEXTACTION_FollowUp = "F"; /** None = N */ public static final String NEXTACTION_None = "N"; /** Is test a valid value. @param test testvalue @return true if valid **/ public boolean isNextActionValid (String test) { return test == null || test.equals("F") || test.equals("N"); } /** Set Next action. @param NextAction Next Action to be taken */ public void setNextAction (String NextAction) { if (!isNextActionValid(NextAction)) throw new IllegalArgumentException ("NextAction Invalid value - " + NextAction + " - Reference_ID=219 - F - N"); int length = p_info.getFieldLength("NextAction"); if (NextAction != null && NextAction.length() > length) { log.warning("Length > " + length + " - truncated"); NextAction = NextAction.substring(0,length); } set_Value ("NextAction", NextAction); } /** Get Next action. @return Next Action to be taken */ public String getNextAction() { return (String)get_Value("NextAction"); } /** Set Order Document No. @param OrderDocumentNo Order Document No */ public void setOrderDocumentNo (String OrderDocumentNo) { int length = p_info.getFieldLength("OrderDocumentNo"); if (OrderDocumentNo != null && OrderDocumentNo.length() > length) { log.warning("Length > " + length + " - truncated"); OrderDocumentNo = OrderDocumentNo.substring(0,length); } set_Value ("OrderDocumentNo", OrderDocumentNo); } /** Get Order Document No. @return Order Document No */ public String getOrderDocumentNo() { return (String)get_Value("OrderDocumentNo"); } /** Set Organization Name. @param OrgName Name of the Organization */ public void setOrgName (String OrgName) { int length = p_info.getFieldLength("OrgName"); if (OrgName != null && OrgName.length() > length) { log.warning("Length > " + length + " - truncated"); OrgName = OrgName.substring(0,length); } set_Value ("OrgName", OrgName); } /** Get Organization Name. @return Name of the Organization */ public String getOrgName() { return (String)get_Value("OrgName"); } /** Set Organization Key. @param OrgValue Key of the Organization */ public void setOrgValue (String OrgValue) { int length = p_info.getFieldLength("OrgValue"); if (OrgValue != null && OrgValue.length() > length) { log.warning("Length > " + length + " - truncated"); OrgValue = OrgValue.substring(0,length); } set_Value ("OrgValue", OrgValue); } /** Get Organization Key. @return Key of the Organization */ public String getOrgValue() { return (String)get_Value("OrgValue"); } /** Set Payment Document No. @param PaymentDocumentNo Document number of the Payment */ public void setPaymentDocumentNo (String PaymentDocumentNo) { int length = p_info.getFieldLength("PaymentDocumentNo"); if (PaymentDocumentNo != null && PaymentDocumentNo.length() > length) { log.warning("Length > " + length + " - truncated"); PaymentDocumentNo = PaymentDocumentNo.substring(0,length); } set_Value ("PaymentDocumentNo", PaymentDocumentNo); } /** Get Payment Document No. @return Document number of the Payment */ public String getPaymentDocumentNo() { return (String)get_Value("PaymentDocumentNo"); } /** Priority AD_Reference_ID=154 */ public static final int PRIORITY_AD_Reference_ID=154; /** Urgent = 1 */ public static final String PRIORITY_Urgent = "1"; /** High = 3 */ public static final String PRIORITY_High = "3"; /** Medium = 5 */ public static final String PRIORITY_Medium = "5"; /** Low = 7 */ public static final String PRIORITY_Low = "7"; /** Minor = 9 */ public static final String PRIORITY_Minor = "9"; /** Is test a valid value. @param test testvalue @return true if valid **/ public boolean isPriorityValid (String test) { return test == null || test.equals("1") || test.equals("3") || test.equals("5") || test.equals("7") || test.equals("9"); } /** Set Priority. @param Priority Indicates if this request is of a high, medium or low priority. */ public void setPriority (String Priority) { if (!isPriorityValid(Priority)) throw new IllegalArgumentException ("Priority Invalid value - " + Priority + " - Reference_ID=154 - 1 - 3 - 5 - 7 - 9"); int length = p_info.getFieldLength("Priority"); if (Priority != null && Priority.length() > length) { log.warning("Length > " + length + " - truncated"); Priority = Priority.substring(0,length); } set_Value ("Priority", Priority); } /** Get Priority. @return Indicates if this request is of a high, medium or low priority. */ public String getPriority() { return (String)get_Value("Priority"); } /** PriorityUser AD_Reference_ID=154 */ public static final int PRIORITYUSER_AD_Reference_ID=154; /** Urgent = 1 */ public static final String PRIORITYUSER_Urgent = "1"; /** High = 3 */ public static final String PRIORITYUSER_High = "3"; /** Medium = 5 */ public static final String PRIORITYUSER_Medium = "5"; /** Low = 7 */ public static final String PRIORITYUSER_Low = "7"; /** Minor = 9 */ public static final String PRIORITYUSER_Minor = "9"; /** Is test a valid value. @param test testvalue @return true if valid **/ public boolean isPriorityUserValid (String test) { return test == null || test.equals("1") || test.equals("3") || test.equals("5") || test.equals("7") || test.equals("9"); } /** Set User Priority. @param PriorityUser Priority of the issue for the User */ public void setPriorityUser (String PriorityUser) { if (!isPriorityUserValid(PriorityUser)) throw new IllegalArgumentException ("PriorityUser Invalid value - " + PriorityUser + " - Reference_ID=154 - 1 - 3 - 5 - 7 - 9"); int length = p_info.getFieldLength("PriorityUser"); if (PriorityUser != null && PriorityUser.length() > length) { log.warning("Length > " + length + " - truncated"); PriorityUser = PriorityUser.substring(0,length); } set_Value ("PriorityUser", PriorityUser); } /** Get User Priority. @return Priority of the issue for the User */ public String getPriorityUser() { return (String)get_Value("PriorityUser"); } /** Set Processed. @param Processed The document has been processed */ public void setProcessed (boolean Processed) { set_Value ("Processed", new Boolean(Processed)); } /** Get Processed. @return The document has been processed */ public boolean isProcessed() { Object oo = get_Value("Processed"); 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) { set_Value ("Processing", new Boolean(Processing)); } /** Get Process Now. @return Process Now */ public boolean isProcessing() { Object oo = get_Value("Processing"); if (oo != null) { if (oo instanceof Boolean) return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; } /** Set Product Name. @param ProductName Name of the Product */ public void setProductName (String ProductName) { int length = p_info.getFieldLength("ProductName"); if (ProductName != null && ProductName.length() > length) { log.warning("Length > " + length + " - truncated"); ProductName = ProductName.substring(0,length); } set_Value ("ProductName", ProductName); } /** Get Product Name. @return Name of the Product */ public String getProductName() { return (String)get_Value("ProductName"); } /** Set Product Used Name. @param ProductSpentName Product Used Name */ public void setProductSpentName (String ProductSpentName) { int length = p_info.getFieldLength("ProductSpentName"); if (ProductSpentName != null && ProductSpentName.length() > length) { log.warning("Length > " + length + " - truncated"); ProductSpentName = ProductSpentName.substring(0,length); } set_Value ("ProductSpentName", ProductSpentName); } /** Get Product Used Name. @return Product Used Name */ public String getProductSpentName() { return (String)get_Value("ProductSpentName"); } /** Set Product Used Key. @param ProductSpentValue Product Used Key */ public void setProductSpentValue (String ProductSpentValue) { int length = p_info.getFieldLength("ProductSpentValue"); if (ProductSpentValue != null && ProductSpentValue.length() > length) { log.warning("Length > " + length + " - truncated"); ProductSpentValue = ProductSpentValue.substring(0,length); } set_Value ("ProductSpentValue", ProductSpentValue); } /** Get Product Used Key. @return Product Used Key */ public String getProductSpentValue() { return (String)get_Value("ProductSpentValue"); } /** Set Product Key. @param ProductValue Key of the Product */ public void setProductValue (String ProductValue) { int length = p_info.getFieldLength("ProductValue"); if (ProductValue != null && ProductValue.length() > length) { log.warning("Length > " + length + " - truncated"); ProductValue = ProductValue.substring(0,length); } set_Value ("ProductValue", ProductValue); } /** Get Product Key. @return Key of the Product */ public String getProductValue() { return (String)get_Value("ProductValue"); } /** Set Project Name. @param ProjectName Name of the Project */ public void setProjectName (String ProjectName) { int length = p_info.getFieldLength("ProjectName"); if (ProjectName != null && ProjectName.length() > length) { log.warning("Length > " + length + " - truncated"); ProjectName = ProjectName.substring(0,length); } set_Value ("ProjectName", ProjectName); } /** Get Project Name. @return Name of the Project */ public String getProjectName() { return (String)get_Value("ProjectName"); } /** Set Project Key. @param ProjectValue Key of the Project */ public void setProjectValue (String ProjectValue) { int length = p_info.getFieldLength("ProjectValue"); if (ProjectValue != null && ProjectValue.length() > length) { log.warning("Length > " + length + " - truncated"); ProjectValue = ProjectValue.substring(0,length); } set_Value ("ProjectValue", ProjectValue); } /** Get Project Key. @return Key of the Project */ public String getProjectValue() { return (String)get_Value("ProjectValue"); } /** Set Quantity Invoiced. @param QtyInvoiced Invoiced Quantity */ public void setQtyInvoiced (BigDecimal QtyInvoiced) { set_Value ("QtyInvoiced", QtyInvoiced); } /** Get Quantity Invoiced. @return Invoiced Quantity */ public BigDecimal getQtyInvoiced() { BigDecimal bd = (BigDecimal)get_Value("QtyInvoiced"); if (bd == null) return Env.ZERO; return bd; } /** Set Quantity Plan. @param QtyPlan Planned Quantity */ public void setQtyPlan (BigDecimal QtyPlan) { set_Value ("QtyPlan", QtyPlan); } /** Get Quantity Plan. @return Planned Quantity */ public BigDecimal getQtyPlan() { BigDecimal bd = (BigDecimal)get_Value("QtyPlan"); if (bd == null) return Env.ZERO; return bd; } /** Set Quantity Used. @param QtySpent Quantity used for this event */ public void setQtySpent (BigDecimal QtySpent) { set_Value ("QtySpent", QtySpent); } /** Get Quantity Used. @return Quantity used for this event */ public BigDecimal getQtySpent() { BigDecimal bd = (BigDecimal)get_Value("QtySpent"); if (bd == null) return Env.ZERO; return bd; } /** Set Category. @param R_Category_ID Request Category */ public void setR_Category_ID (int R_Category_ID) { if (R_Category_ID <= 0) set_Value ("R_Category_ID", null); else set_Value ("R_Category_ID", new Integer(R_Category_ID)); } /** Get Category. @return Request Category */ public int getR_Category_ID() { Integer ii = (Integer)get_Value("R_Category_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Group. @param R_Group_ID Request Group */ public void setR_Group_ID (int R_Group_ID) { if (R_Group_ID <= 0) set_Value ("R_Group_ID", null); else set_Value ("R_Group_ID", new Integer(R_Group_ID)); } /** Get Group. @return Request Group */ public int getR_Group_ID() { Integer ii = (Integer)get_Value("R_Group_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. @param R_RequestRelated_ID Related Request (Master Issue...) */ public void setR_RequestRelated_ID (int R_RequestRelated_ID) { if (R_RequestRelated_ID <= 0) set_Value ("R_RequestRelated_ID", null); else set_Value ("R_RequestRelated_ID", new Integer(R_RequestRelated_ID)); } /** Get Related Request. @return Related Request (Master Issue...) */ public int getR_RequestRelated_ID() { Integer ii = (Integer)get_Value("R_RequestRelated_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Request Type. @param R_RequestType_ID Type of request (e.g. Inquiry, Complaint...) */ public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID <= 0) set_Value ("R_RequestType_ID", null); else set_Value ("R_RequestType_ID", new Integer(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint...) */ public int getR_RequestType_ID() { Integer ii = (Integer)get_Value("R_RequestType_ID"); if (ii == null) return 0; 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 <= 0) set_Value ("R_Request_ID", null); else set_Value ("R_Request_ID", new Integer(R_Request_ID)); } /** Get Request. @return Request from a Business Partner or Prospect */ public int getR_Request_ID() { Integer ii = (Integer)get_Value("R_Request_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Resolution. @param R_Resolution_ID Request Resolution */ public void setR_Resolution_ID (int R_Resolution_ID) { if (R_Resolution_ID <= 0) set_Value ("R_Resolution_ID", null); else set_Value ("R_Resolution_ID", new Integer(R_Resolution_ID)); } /** Get Resolution. @return Request Resolution */ public int getR_Resolution_ID() { Integer ii = (Integer)get_Value("R_Resolution_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Source. @param R_Source_ID Source for the Lead or Request */ public void setR_Source_ID (int R_Source_ID) { if (R_Source_ID <= 0) set_Value ("R_Source_ID", null); else set_Value ("R_Source_ID", new Integer(R_Source_ID)); } /** Get Source. @return Source for the Lead or Request */ public int getR_Source_ID() { Integer ii = (Integer)get_Value("R_Source_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Status. @param R_Status_ID Request Status */ public void setR_Status_ID (int R_Status_ID) { if (R_Status_ID <= 0) set_Value ("R_Status_ID", null); else set_Value ("R_Status_ID", new Integer(R_Status_ID)); } /** Get Status. @return Request Status */ public int getR_Status_ID() { Integer ii = (Integer)get_Value("R_Status_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Request Type Name. @param ReqTypeName Request Type Name */ public void setReqTypeName (String ReqTypeName) { int length = p_info.getFieldLength("ReqTypeName"); if (ReqTypeName != null && ReqTypeName.length() > length) { log.warning("Length > " + length + " - truncated"); ReqTypeName = ReqTypeName.substring(0,length); } set_Value ("ReqTypeName", ReqTypeName); } /** Get Request Type Name. @return Request Type Name */ public String getReqTypeName() { return (String)get_Value("ReqTypeName"); } /** Set Request Amount. @param RequestAmt Amount associated with this request */ public void setRequestAmt (BigDecimal RequestAmt) { set_Value ("RequestAmt", RequestAmt); } /** Get Request Amount. @return Amount associated with this request */ public BigDecimal getRequestAmt() { BigDecimal bd = (BigDecimal)get_Value("RequestAmt"); if (bd == null) return Env.ZERO; return bd; } /** Set Request Related Doc No. @param RequestRelatedDocNo Request Related Doc No */ public void setRequestRelatedDocNo (String RequestRelatedDocNo) { int length = p_info.getFieldLength("RequestRelatedDocNo"); if (RequestRelatedDocNo != null && RequestRelatedDocNo.length() > length) { log.warning("Length > " + length + " - truncated"); RequestRelatedDocNo = RequestRelatedDocNo.substring(0,length); } set_Value ("RequestRelatedDocNo", RequestRelatedDocNo); } /** Get Request Related Doc No. @return Request Related Doc No */ public String getRequestRelatedDocNo() { return (String)get_Value("RequestRelatedDocNo"); } /** Set Resolution Name. @param ResolutionName Resolution Name */ public void setResolutionName (String ResolutionName) { int length = p_info.getFieldLength("ResolutionName"); if (ResolutionName != null && ResolutionName.length() > length) { log.warning("Length > " + length + " - truncated"); ResolutionName = ResolutionName.substring(0,length); } set_Value ("ResolutionName", ResolutionName); } /** Get Resolution Name. @return Resolution Name */ public String getResolutionName() { return (String)get_Value("ResolutionName"); } /** Set Result. @param Result Result of the action taken */ public void setResult (String Result) { int length = p_info.getFieldLength("Result"); if (Result != null && Result.length() > length) { log.warning("Length > " + length + " - truncated"); Result = Result.substring(0,length); } set_Value ("Result", Result); } /** Get Result. @return Result of the action taken */ public String getResult() { return (String)get_Value("Result"); } /** Set Role Name. @param RoleName Role Name */ public void setRoleName (String RoleName) { int length = p_info.getFieldLength("RoleName"); if (RoleName != null && RoleName.length() > length) { log.warning("Length > " + length + " - truncated"); RoleName = RoleName.substring(0,length); } set_Value ("RoleName", RoleName); } /** Get Role Name. @return Role Name */ public String getRoleName() { return (String)get_Value("RoleName"); } /** Set Sales Region Name. @param SalesRegionName Sales Region Name */ public void setSalesRegionName (String SalesRegionName) { int length = p_info.getFieldLength("SalesRegionName"); if (SalesRegionName != null && SalesRegionName.length() > length) { log.warning("Length > " + length + " - truncated"); SalesRegionName = SalesRegionName.substring(0,length); } set_Value ("SalesRegionName", SalesRegionName); } /** Get Sales Region Name. @return Sales Region Name */ public String getSalesRegionName() { return (String)get_Value("SalesRegionName"); } /** Set Sales Region Key. @param SalesRegionValue Sales Region Key */ public void setSalesRegionValue (String SalesRegionValue) { int length = p_info.getFieldLength("SalesRegionValue"); if (SalesRegionValue != null && SalesRegionValue.length() > length) { log.warning("Length > " + length + " - truncated"); SalesRegionValue = SalesRegionValue.substring(0,length); } set_Value ("SalesRegionValue", SalesRegionValue); } /** Get Sales Region Key. @return Sales Region Key */ public String getSalesRegionValue() { return (String)get_Value("SalesRegionValue"); } /** Set Representative Name. @param SalesRepName Representative Name */ public void setSalesRepName (String SalesRepName) { int length = p_info.getFieldLength("SalesRepName"); if (SalesRepName != null && SalesRepName.length() > length) { log.warning("Length > " + length + " - truncated"); SalesRepName = SalesRepName.substring(0,length); } set_Value ("SalesRepName", SalesRepName); } /** Get Representative Name. @return Representative Name */ public String getSalesRepName() { return (String)get_Value("SalesRepName"); } /** Set Representative Key. @param SalesRepValue Representative Key */ public void setSalesRepValue (String SalesRepValue) { int length = p_info.getFieldLength("SalesRepValue"); if (SalesRepValue != null && SalesRepValue.length() > length) { log.warning("Length > " + length + " - truncated"); SalesRepValue = SalesRepValue.substring(0,length); } set_Value ("SalesRepValue", SalesRepValue); } /** Get Representative Key. @return Representative Key */ public String getSalesRepValue() { return (String)get_Value("SalesRepValue"); } /** SalesRep_ID AD_Reference_ID=286 */ public static final int SALESREP_ID_AD_Reference_ID=286; /** Set Representative. @param SalesRep_ID Company Agent like Sales Representative, Purchase Agent, and Customer Service Representative... */ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_Value ("SalesRep_ID", null); else set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); } /** Get Representative. @return Company Agent like Sales Representative, Purchase Agent, and Customer Service Representative... */ public int getSalesRep_ID() { Integer ii = (Integer)get_Value("SalesRep_ID"); if (ii == null) return 0; return ii.intValue(); } /** Set Source Name. @param SourceName Source Name */ public void setSourceName (String SourceName) { int length = p_info.getFieldLength("SourceName"); if (SourceName != null && SourceName.length() > length) { log.warning("Length > " + length + " - truncated"); SourceName = SourceName.substring(0,length); } set_Value ("SourceName", SourceName); } /** Get Source Name. @return Source Name */ public String getSourceName() { return (String)get_Value("SourceName"); } /** Set Source Key. @param SourceValue Source Key */ public void setSourceValue (String SourceValue) { int length = p_info.getFieldLength("SourceValue"); if (SourceValue != null && SourceValue.length() > length) { log.warning("Length > " + length + " - truncated"); SourceValue = SourceValue.substring(0,length); } set_Value ("SourceValue", SourceValue); } /** Get Source Key. @return Source Key */ public String getSourceValue() { return (String)get_Value("SourceValue"); } /** Set Start Date. @param StartDate First effective day (inclusive) */ public void setStartDate (Timestamp StartDate) { set_ValueNoCheck ("StartDate", StartDate); } /** Get Start Date. @return First effective day (inclusive) */ public Timestamp getStartDate() { return (Timestamp)get_Value("StartDate"); } /** Set Start Time. @param StartTime Time started */ public void setStartTime (Timestamp StartTime) { set_ValueNoCheck ("StartTime", StartTime); } /** Get Start Time. @return Time started */ public Timestamp getStartTime() { return (Timestamp)get_Value("StartTime"); } /** Set Status Name. @param StatusName Status Name */ public void setStatusName (String StatusName) { int length = p_info.getFieldLength("StatusName"); if (StatusName != null && StatusName.length() > length) { log.warning("Length > " + length + " - truncated"); StatusName = StatusName.substring(0,length); } set_Value ("StatusName", StatusName); } /** Get Status Name. @return Status Name */ public String getStatusName() { return (String)get_Value("StatusName"); } /** Set Summary. @param Summary Textual summary of this request */ public void setSummary (String Summary) { int length = p_info.getFieldLength("Summary"); if (Summary != null && Summary.length() > length) { log.warning("Length > " + length + " - truncated"); Summary = Summary.substring(0,length); } set_Value ("Summary", Summary); } /** Get Summary. @return Textual summary of this request */ public String getSummary() { return (String)get_Value("Summary"); } /** Set DB Table Name. @param TableName Name of the table in the database */ public void setTableName (String TableName) { int length = p_info.getFieldLength("TableName"); if (TableName != null && TableName.length() > length) { log.warning("Length > " + length + " - truncated"); TableName = TableName.substring(0,length); } set_Value ("TableName", TableName); } /** Get DB Table Name. @return Name of the table in the database */ public String getTableName() { return (String)get_Value("TableName"); } /** TaskStatus AD_Reference_ID=366 */ public static final int TASKSTATUS_AD_Reference_ID=366; /** 0% Not Started = 0 */ public static final String TASKSTATUS_0NotStarted = "0"; /** 20% Started = 2 */ public static final String TASKSTATUS_20Started = "2"; /** 40% Busy = 4 */ public static final String TASKSTATUS_40Busy = "4"; /** 60% Good Progress = 6 */ public static final String TASKSTATUS_60GoodProgress = "6"; /** 80% Nearly Done = 8 */ public static final String TASKSTATUS_80NearlyDone = "8"; /** 90% Finishing = 9 */ public static final String TASKSTATUS_90Finishing = "9"; /** 95% Almost Done = A */ public static final String TASKSTATUS_95AlmostDone = "A"; /** 99% Cleaning up = C */ public static final String TASKSTATUS_99CleaningUp = "C"; /** 100% Complete = D */ public static final String TASKSTATUS_100Complete = "D"; /** Is test a valid value. @param test testvalue @return true if valid **/ public boolean isTaskStatusValid (String test) { return test == null || test.equals("0") || test.equals("2") || test.equals("4") || test.equals("6") || test.equals("8") || test.equals("9") || test.equals("A") || test.equals("C") || test.equals("D"); } /** Set Task Status. @param TaskStatus Status of the Task */ public void setTaskStatus (String TaskStatus) { if (!isTaskStatusValid(TaskStatus)) throw new IllegalArgumentException ("TaskStatus Invalid value - " + TaskStatus + " - Reference_ID=366 - 0 - 2 - 4 - 6 - 8 - 9 - A - C - D"); int length = p_info.getFieldLength("TaskStatus"); if (TaskStatus != null && TaskStatus.length() > length) { log.warning("Length > " + length + " - truncated"); TaskStatus = TaskStatus.substring(0,length); } set_Value ("TaskStatus", TaskStatus); } /** Get Task Status. @return Status of the Task */ public String getTaskStatus() { return (String)get_Value("TaskStatus"); } }

The table below shows all metrics for X_I_Request.java.

MetricValueDescription
BLOCKS275.00Number of blocks
BLOCK_COMMENT 0.00Number of block comment lines
COMMENTS525.00Comment lines
COMMENT_DENSITY 0.61Comment density
COMPARISONS225.00Number of comparison operators
CYCLOMATIC436.00Cyclomatic complexity
DECL_COMMENTS269.00Comments in declarations
DOC_COMMENT525.00Number of javadoc comment lines
ELOC867.00Effective lines of code
EXEC_COMMENTS 1.00Comments in executable code
EXITS24.00Procedure exits
FUNCTIONS215.00Number of function declarations
HALSTEAD_DIFFICULTY81.44Halstead difficulty
HALSTEAD_EFFORT 0.00Halstead effort
INTERFACE_COMPLEXITY383.00Interface complexity
JAVA0001 0.00JAVA0001 Package name does not contain only lower case letters
JAVA0002 0.00JAVA0002 Package name does not begin with a top level domain name or country code
JAVA0003 1.00JAVA0003 Minimize use of on-demand (.*) imports
JAVA0004 0.00JAVA0004 Unnecessary import from java.lang
JAVA0005 1.00JAVA0005 Imports not in specified order
JAVA0006 0.00JAVA0006 Empty finally block
JAVA0007 0.00JAVA0007 Should not declare public field
JAVA0008 0.00JAVA0008 Empty catch block
JAVA0009 0.00JAVA0009 Protected member in final class
JAVA0010 0.00JAVA0010 Non-instantiable class does not contain a non-private static member
JAVA0011 0.00JAVA0011 Abstract class does not contain an abstract method
JAVA0012 0.00JAVA0012 Non-constructor method with same name as declaring class
JAVA0013 0.00JAVA0013 Non-blank final field is not static
JAVA0014 0.00JAVA0014 Class with only static members has non-private constructor
JAVA0015 0.00JAVA0015 Package class contains public nested type
JAVA0016 0.00JAVA0016 Abstract class contains public constructor
JAVA0017 0.00JAVA0017 Class name does not have required form
JAVA0018 0.00JAVA0018 Method name does not have required form
JAVA0019 0.00JAVA0019 Interface name does not have required form
JAVA0020 0.00JAVA0020 Field name does not have required form
JAVA0021 0.00JAVA0021 Interface method name does not have required form
JAVA0022 0.00JAVA0022 Static final field name does not have required form
JAVA0023 0.00JAVA0023 Empty finalize method
JAVA0024 0.00JAVA0024 Empty class
JAVA0025 0.00JAVA0025 Method override is empty
JAVA0026 0.00JAVA0026 Finalize method with parameters
JAVA0029 0.00JAVA0029 Private method not used
JAVA0030 0.00JAVA0030 Private field not used
JAVA0031 0.00JAVA0031 Case statement not properly closed
JAVA0032 0.00JAVA0032 Switch statement missing default
JAVA0033 0.00JAVA0033 default: not last case in switch statement
JAVA0034101.00JAVA0034 Missing braces in if statement
JAVA0035 0.00JAVA0035 Missing braces in for statement
JAVA0036 0.00JAVA0036 Missing braces in while statement
JAVA0038 0.00JAVA0038 Non-case label in switch statement
JAVA0039 0.00JAVA0039 Break statement with label
JAVA0040 0.00JAVA0040 Switch statement contains N cases (maximum: M)
JAVA0041 0.00JAVA0041 Nested synchronized block
JAVA0042 0.00JAVA0042 Empty synchronized statement
JAVA0043 0.00JAVA0043 Inner class does not use outer class
JAVA0044 0.00JAVA0044 Serializable class with no instance variables
JAVA0045 0.00JAVA0045 Serializable class with only transient fields
JAVA0046 0.00JAVA0046 Name of class not derived from Exception ends with 'Exception'
JAVA0047 0.00JAVA0047 Serializable class derives from invalid base class
JAVA0048 0.00JAVA0048 Name of class derived from Exception does not end with 'Exception'
JAVA0049 0.00JAVA0049 Nested block at depth N (maximum: M)
JAVA0050 0.00JAVA0050 Class derives from java.lang.Error
JAVA0051 0.00JAVA0051 Class derives from java.lang.RuntimeException
JAVA0052 0.00JAVA0052 Class derives from java.lang.Throwable
JAVA0053 0.00JAVA0053 Unused label
JAVA0054 0.00JAVA0054 Inheritance depth N exceeds maximum M
JAVA0055 0.00JAVA0055 Class should be interface
JAVA0056 0.00JAVA0056 Unnecessary abstract modifier for interface or annotation
JAVA0057 0.00JAVA0057 Unnecessary default constructor
JAVA0058 0.00JAVA0058 Constructor calls super()
JAVA0059 0.00JAVA0059 Method override only calls super()
JAVA0061 0.00JAVA0061 Inaccessible member in anonymous class
JAVA0062 0.00JAVA0062 Public class missing public member or protected constructor
JAVA0063 0.00JAVA0063 Identifier name should not contain '$'
JAVA0064 3.00JAVA0064 N variations of identifier name (maximum: M)
JAVA0065 0.00JAVA0065 Unnecessary final modifier for method in final class
JAVA0066 0.00JAVA0066 Unnecessary modifier for interface nested type
JAVA0067 0.00JAVA0067 Array descriptor on identifier name
JAVA0068 0.00JAVA0068 Modifiers not declared in recommended order
JAVA0071 0.00JAVA0071 Strings compared with ==
JAVA0073 0.00JAVA0073 Integer division in floating-point context
JAVA0074 0.00JAVA0074 Use of Object.notify()
JAVA0075 0.00JAVA0075 Method parameter hides field
JAVA0076 0.00JAVA0076 Use of magic number
JAVA0077 0.00JAVA0077 Private field not used in declaring class
JAVA0078 0.00JAVA0078 Floating point values compared with ==
JAVA0079 0.00JAVA0079 Use of instance to reference static member
JAVA0080 0.00JAVA0080 Import declaration not used
JAVA0081 0.00JAVA0081 Boolean literal in comparison
JAVA0082 0.00JAVA0082 Unnecessary widening cast
JAVA0083 0.00JAVA0083 Unnecessary instanceof test
JAVA0084 0.00JAVA0084 Should use compound assignment operator
JAVA0085 0.00JAVA0085 Use of sun.* class
JAVA0087 0.00JAVA0087 Use of Thread.sleep()
JAVA0089 0.00JAVA0089 Use of restricted package
JAVA0092 0.00JAVA0092 Use of restricted type
JAVA0093 0.00JAVA0093 Redundant assignment
JAVA0094 0.00JAVA0094 Field hides a superclass field
JAVA0095 0.00JAVA0095 Uninitialized private field
JAVA0096 0.00JAVA0096 Field in nested class hides outer field
JAVA0098 0.00JAVA0098 Minimize use of implicit field initializers
JAVA0100 0.00JAVA0100 Class contains N non-final fields (maximum: M)
JAVA0101 0.00JAVA0101 Unnecessary modifier for field in interface
JAVA0102 0.00JAVA0102 Last statement in finalize() not super.finalize()
JAVA0103 0.00JAVA0103 Explicit call to finalize()
JAVA0104 0.00JAVA0104 finalize() only calls super.finalize()
JAVA0105 0.00JAVA0105 Duplicate import declaration
JAVA0106 0.00JAVA0106 Unnecessary import from current package
JAVA0108 0.00JAVA0108 Incorrect javadoc: no @param tag for 'parameter'
JAVA0109 0.00JAVA0109 Incorrect javadoc: no parameter 'parameter'
JAVA0110 0.00JAVA0110 Incorrect javadoc: no @return tag
JAVA0111 0.00JAVA0111 Incorrect javadoc: @return tag for void method
JAVA0112 0.00JAVA0112 Incorrect javadoc: no exception 'exception' in throws
JAVA0113 0.00JAVA0113 Incorrect javadoc: no @author tag
JAVA0114 0.00JAVA0114 Incorrect javadoc: no @version tag
JAVA0115 0.00JAVA0115 Incorrect javadoc: no @throws or @exception tag for 'exception'
JAVA0116 0.00JAVA0116 Missing javadoc: field 'field'
JAVA0117 0.00JAVA0117 Missing javadoc: method 'method'
JAVA0118 0.00JAVA0118 Missing javadoc: type 'type'
JAVA0119 0.00JAVA0119 Control variable changed within body of for loop
JAVA0123 0.00JAVA0123 Use all three components of for loop
JAVA0125 0.00JAVA0125 Continue statement with label
JAVA0126 0.00JAVA0126 Method declares unchecked exception in throws
JAVA0128 0.00JAVA0128 Public constructor in non-public class
JAVA0130 0.00JAVA0130 Non-static method does not use instance fields
JAVA0131 0.00JAVA0131 Compatible method does not override base
JAVA0132 0.00JAVA0132 Method overload with compatible signature
JAVA0133 0.00JAVA0133 Non-synchronized method overrides synchronized method
JAVA0135 0.00JAVA0135 Only one of Object.equals and Object.hashCode defined: missing 'method'
JAVA0136 1.00JAVA0136 N methods defined in class (maximum: M)
JAVA0137 0.00JAVA0137 Non-abstract class missing constructor
JAVA0138 0.00JAVA0138 N parameters defined for method (maximum: M)
JAVA0139 0.00JAVA0139 Definition of main other than public static void main(java.lang.String[])
JAVA0141 0.00JAVA0141 Unnecessary modifier for method in interface
JAVA0143 0.00JAVA0143 Synchronized method
JAVA0144 3.00JAVA0144 Line exceeds maximum M characters
JAVA0145 1.00JAVA0145 Tab character used in source file
JAVA0150 0.00JAVA0150 java.lang.Error (or subclass) thrown
JAVA0153 0.00JAVA0153 Inefficient conversion of integer to string
JAVA0159 0.00JAVA0159 Inefficient conversion of string to integer
JAVA0160 0.00JAVA0160 Method does not throw specified exception
JAVA0161 0.00JAVA0161 Conditional wait() not in loop
JAVA0163 0.00JAVA0163 Empty statement
JAVA0165 0.00JAVA0165 Conflicting return statement in finally block
JAVA0166 0.00JAVA0166 Generic exception caught
JAVA0167 0.00JAVA0167 ThreadDeath not rethrown
JAVA0169 0.00JAVA0169 Unnecessary catch block: exception 'exception'
JAVA0170 0.00JAVA0170 Caught exception not derived from java.lang.Exception
JAVA0171 0.00JAVA0171 Unused local variable
JAVA0173 0.00JAVA0173 Unused method parameter
JAVA0174 0.00JAVA0174 Assigned local variable never used
JAVA0175 0.00JAVA0175 Successive assignment to variable
JAVA0176 0.00JAVA0176 Local variable name does not have required form
JAVA0177 0.00JAVA0177 Variable declaration missing initializer
JAVA0179 0.00JAVA0179 Local variable hides visible field
JAVA0233 1.00JAVA0233 Definition of serialVersionUID other than 'private static final long serialVersionUID'
JAVA0234 0.00JAVA0234 Class is Serializable but does not define serialVersionUID
JAVA0235 0.00JAVA0235 Class defines serialVersionUID but does not implement Serializable
JAVA0236 0.00JAVA0236 Attempt to clone an object which does not implement Cloneable
JAVA0237 1.00JAVA0237 Class implements Cloneable but does not have public clone method
JAVA0238 0.00JAVA0238 Clone method does not call super.clone()
JAVA0239 0.00JAVA0239 Class declares 'readObject' or 'writeObject' but does not implement Serializable
JAVA0240 0.00JAVA0240 Serializable class which declares readObject or writeObject but not both
JAVA0241 0.00JAVA0241 'readObject' or 'writeObject' should be declared private in Serializable class
JAVA0242 0.00JAVA0242 Transient field in non-Serializable class
JAVA0243 0.00JAVA0243 'readResolve' or 'writeReplace' should be declared private or protected
JAVA0244 0.00JAVA0244 Field or method name in subclass differs only by case from inherited field or method
JAVA0245 0.00JAVA0245 JUnit TestCase with non-trivial constructor
JAVA0246 0.00JAVA0246 JUnit assertXXX statement missing message parameter
JAVA0247 0.00JAVA0247 JUnit 'setUp()' and 'tearDown()' should call super method
JAVA0248 0.00JAVA0248 JUnit method 'setUp' or 'tearDown' with incorrect signature
JAVA0249 0.00JAVA0249 JUnit TestCase 'suite()' should be declared static
JAVA0250 0.00JAVA0250 JUnit TestCase declares testXXX method with incorrect signature
JAVA0251 0.00JAVA0251 Use '%n' for line breaks in printf/format for platform independence
JAVA0252 0.00JAVA0252 'enum' is a Java 1.5 reserved word
JAVA0253 0.00JAVA0253 Not all enum constants consumed in switch statement
JAVA0254 0.00JAVA0254 Use enhanced for loop construct instead of Iterator
JAVA0255 0.00JAVA0255 Result of method invocation not used
JAVA0256 0.00JAVA0256 Assignment of external collection/array to field
JAVA0257 0.00JAVA0257 Use of 'Constant Interface' anti-pattern
JAVA0258 0.00JAVA0258 Implement Iterable for foreach compatibility
JAVA0259 0.00JAVA0259 Return of collection/array field
JAVA0260 0.00JAVA0260 Use 'enum' instead of Enumerated Type pattern
JAVA0261 0.00JAVA0261 Use specialized Enum collection types
JAVA0262 0.00JAVA0262 Use of char in integer context
JAVA0263 0.00JAVA0263 Long literal ends with 'l' instead of 'L'
JAVA0264 0.00JAVA0264 Integer math in long context - check for overflow
JAVA0265 0.00JAVA0265 Use of Throwable.printStackTrace()
JAVA0266 0.00JAVA0266 Use of System.out
JAVA0267 0.00JAVA0267 Use of System.err
JAVA0269 0.00JAVA0269 Contents of StringBuffer never used
JAVA0270 0.00JAVA0270 Use Java 5.0 enhanced for loop construct to iterate over all elements in an array
JAVA0271 0.00JAVA0271 Minimize use of on-demand (.*) static imports
JAVA0272 0.00JAVA0272 Thread.run() called
JAVA0273 0.00JAVA0273 Non-final derivative of Thread calls start() in constructor
JAVA0274 0.00JAVA0274 Serializable class has a synchronized readObject()
JAVA0275 0.00JAVA0275 Serializable class has a synchronized writeObject() and no other synchronized methods
JAVA0276 0.00JAVA0276 Unnecessary use of String constructor
JAVA0277 0.00JAVA0277 Iterator.next() implementation does not throw NoSuchElementException
JAVA0278 5.00JAVA0278 Unnecessary use of Boolean constructor
JAVA0279 0.00JAVA0279 Serialization method readObject or readObjectNoData calls an overridable method
JAVA0280 0.00JAVA0280 IllegalMonitorStateException caught
JAVA0281 0.00JAVA0281 Iterator.next() not called in loop
JAVA0282 0.00JAVA0282 Call to Iterator.next() in loop which does not test Iterator.hasNext()
JAVA0283 0.00JAVA0283 Control variable not updated in loop body
JAVA0284 0.00JAVA0284 Explicit garbage collection
JAVA0285 0.00JAVA0285 Dereference of potentially null variable
JAVA0286 0.00JAVA0286 Dereference of null variable
JAVA0287 0.00JAVA0287 Unnecessary null check
JAVA0288 0.00JAVA0288 Inconsistent null check
LINES1960.00Number of lines in the source file
LINE_COMMENT 0.00Number of line comments
LOC1419.00Lines of code
LOGICAL_LINES556.00Number of statements
LOOPS 0.00Number of loops
NEST_DEPTH 2.00Maximum nesting depth
OPERANDS2815.00Number of operands
OPERATORS5437.00Number of operators
PARAMS116.00Number of formal parameter declarations
PROGRAM_LENGTH8252.00Halstead program length
PROGRAM_VOCAB713.00Halstead program vocabulary
PROGRAM_VOLUME 0.00Halstead program volume
RETURNS267.00Number of return points from functions
SIZE58835.00Size of the file in bytes
UNIQUE_OPERANDS674.00Number of unique operands
UNIQUE_OPERATORS39.00Number of unique operators
WHITESPACE16.00Number of whitespace lines