X_AD_Issue.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.
/******************************************************************************
* 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 AD_Issue
* @author Jorg Janke (generated)
* @version Release 3.1.0 - $Id$ */
public class X_AD_Issue extends PO
{
/** Standard Constructor
@param ctx context
@param AD_Issue_ID id
@param trxName transaction
*/
public X_AD_Issue (Ctx ctx, int AD_Issue_ID, String trxName)
{
super (ctx, AD_Issue_ID, trxName);
/** if (AD_Issue_ID == 0)
{
setAD_Issue_ID (0);
setIssueSummary (null);
setName (null); // .
setProcessed (false); // N
setReleaseNo (null); // .
setSystemStatus (null); // E
setUserName (null); // .
setVersion (null); // .
}
*/
}
/** Load Constructor
@param ctx context
@param rs result set
@param trxName transaction
*/
public X_AD_Issue (Ctx ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** Serial Version No */
static final long serialVersionUID = 27495261242789L;
/** Last Updated Timestamp 2008-06-10 15:12:06.0 */
public static final long updatedMS = 1213135926000L;
/** AD_Table_ID=828 */
public static final int Table_ID=828;
/** TableName=AD_Issue */
public static final String Table_Name="AD_Issue";
protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Issue");
protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel
@return 6 - System - 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_AD_Issue[").append(get_ID()).append("]");
return sb.toString();
}
/** Set Special Form.
@param AD_Form_ID Special Form */
public void setAD_Form_ID (int AD_Form_ID)
{
if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null);
else
set_Value ("AD_Form_ID", new Integer(AD_Form_ID));
}
/** Get Special Form.
@return Special Form */
public int getAD_Form_ID()
{
Integer ii = (Integer)get_Value("AD_Form_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set System Issue.
@param AD_Issue_ID Automatically created or manually entered System Issue */
public void setAD_Issue_ID (int AD_Issue_ID)
{
if (AD_Issue_ID < 1) throw new IllegalArgumentException ("AD_Issue_ID is mandatory.");
set_ValueNoCheck ("AD_Issue_ID", new Integer(AD_Issue_ID));
}
/** Get System Issue.
@return Automatically created or manually entered System Issue */
public int getAD_Issue_ID()
{
Integer ii = (Integer)get_Value("AD_Issue_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Process.
@param AD_Process_ID Process or Report */
public void setAD_Process_ID (int AD_Process_ID)
{
if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null);
else
set_Value ("AD_Process_ID", new Integer(AD_Process_ID));
}
/** Get Process.
@return Process or Report */
public int getAD_Process_ID()
{
Integer ii = (Integer)get_Value("AD_Process_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Window.
@param AD_Window_ID Data entry or display window */
public void setAD_Window_ID (int AD_Window_ID)
{
if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null);
else
set_Value ("AD_Window_ID", new Integer(AD_Window_ID));
}
/** Get Window.
@return Data entry or display window */
public int getAD_Window_ID()
{
Integer ii = (Integer)get_Value("AD_Window_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_ValueNoCheck ("A_Asset_ID", null);
else
set_ValueNoCheck ("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 Comments.
@param Comments Comments or additional information */
public void setComments (String Comments)
{
int length = p_info.getFieldLength("Comments");
if (Comments != null && Comments.length() > length)
{
log.warning("Length > " + length + " - truncated");
Comments = Comments.substring(0,length);
}
set_Value ("Comments", Comments);
}
/** Get Comments.
@return Comments or additional information */
public String getComments()
{
return (String)get_Value("Comments");
}
/** Set DB Address.
@param DBAddress JDBC URL of the database server */
public void setDBAddress (String DBAddress)
{
int length = p_info.getFieldLength("DBAddress");
if (DBAddress != null && DBAddress.length() > length)
{
log.warning("Length > " + length + " - truncated");
DBAddress = DBAddress.substring(0,length);
}
set_ValueNoCheck ("DBAddress", DBAddress);
}
/** Get DB Address.
@return JDBC URL of the database server */
public String getDBAddress()
{
return (String)get_Value("DBAddress");
}
/** Set Database.
@param DatabaseInfo Database Information */
public void setDatabaseInfo (String DatabaseInfo)
{
int length = p_info.getFieldLength("DatabaseInfo");
if (DatabaseInfo != null && DatabaseInfo.length() > length)
{
log.warning("Length > " + length + " - truncated");
DatabaseInfo = DatabaseInfo.substring(0,length);
}
set_ValueNoCheck ("DatabaseInfo", DatabaseInfo);
}
/** Get Database.
@return Database Information */
public String getDatabaseInfo()
{
return (String)get_Value("DatabaseInfo");
}
/** Set Error Trace.
@param ErrorTrace System Error Trace */
public void setErrorTrace (String ErrorTrace)
{
int length = p_info.getFieldLength("ErrorTrace");
if (ErrorTrace != null && ErrorTrace.length() > length)
{
log.warning("Length > " + length + " - truncated");
ErrorTrace = ErrorTrace.substring(0,length);
}
set_Value ("ErrorTrace", ErrorTrace);
}
/** Get Error Trace.
@return System Error Trace */
public String getErrorTrace()
{
return (String)get_Value("ErrorTrace");
}
/** IsReproducible AD_Reference_ID=319 */
public static final int ISREPRODUCIBLE_AD_Reference_ID=319;
/** No = N */
public static final String ISREPRODUCIBLE_No = "N";
/** Yes = Y */
public static final String ISREPRODUCIBLE_Yes = "Y";
/** Is test a valid value.
@param test testvalue
@return true if valid **/
public boolean isIsReproducibleValid (String test)
{
return test == null || test.equals("N") || test.equals("Y");
}
/** Set Reproducible.
@param IsReproducible Problem can be reproduced in Gardenworld */
public void setIsReproducible (String IsReproducible)
{
if (!isIsReproducibleValid(IsReproducible))
throw new IllegalArgumentException ("IsReproducible Invalid value - " + IsReproducible + " - Reference_ID=319 - N - Y");
int length = p_info.getFieldLength("IsReproducible");
if (IsReproducible != null && IsReproducible.length() > length)
{
log.warning("Length > " + length + " - truncated");
IsReproducible = IsReproducible.substring(0,length);
}
set_Value ("IsReproducible", IsReproducible);
}
/** Get Reproducible.
@return Problem can be reproduced in Gardenworld */
public String getIsReproducible()
{
return (String)get_Value("IsReproducible");
}
/** IsVanillaSystem AD_Reference_ID=319 */
public static final int ISVANILLASYSTEM_AD_Reference_ID=319;
/** No = N */
public static final String ISVANILLASYSTEM_No = "N";
/** Yes = Y */
public static final String ISVANILLASYSTEM_Yes = "Y";
/** Is test a valid value.
@param test testvalue
@return true if valid **/
public boolean isIsVanillaSystemValid (String test)
{
return test == null || test.equals("N") || test.equals("Y");
}
/** Set Vanilla System.
@param IsVanillaSystem The system was NOT compiled from Source - i.e. standard distribution */
public void setIsVanillaSystem (String IsVanillaSystem)
{
if (!isIsVanillaSystemValid(IsVanillaSystem))
throw new IllegalArgumentException ("IsVanillaSystem Invalid value - " + IsVanillaSystem + " - Reference_ID=319 - N - Y");
int length = p_info.getFieldLength("IsVanillaSystem");
if (IsVanillaSystem != null && IsVanillaSystem.length() > length)
{
log.warning("Length > " + length + " - truncated");
IsVanillaSystem = IsVanillaSystem.substring(0,length);
}
set_Value ("IsVanillaSystem", IsVanillaSystem);
}
/** Get Vanilla System.
@return The system was NOT compiled from Source - i.e. standard distribution */
public String getIsVanillaSystem()
{
return (String)get_Value("IsVanillaSystem");
}
/** IssueSource AD_Reference_ID=104 */
public static final int ISSUESOURCE_AD_Reference_ID=104;
/** Workbench = B */
public static final String ISSUESOURCE_Workbench = "B";
/** WorkFlow = F */
public static final String ISSUESOURCE_WorkFlow = "F";
/** Process = P */
public static final String ISSUESOURCE_Process = "P";
/** Report = R */
public static final String ISSUESOURCE_Report = "R";
/** Task = T */
public static final String ISSUESOURCE_Task = "T";
/** Window = W */
public static final String ISSUESOURCE_Window = "W";
/** Form = X */
public static final String ISSUESOURCE_Form = "X";
/** Is test a valid value.
@param test testvalue
@return true if valid **/
public boolean isIssueSourceValid (String test)
{
return test == null || test.equals("B") || test.equals("F") || test.equals("P") || test.equals("R") || test.equals("T") || test.equals("W") || test.equals("X");
}
/** Set Source.
@param IssueSource Issue Source */
public void setIssueSource (String IssueSource)
{
if (!isIssueSourceValid(IssueSource))
throw new IllegalArgumentException ("IssueSource Invalid value - " + IssueSource + " - Reference_ID=104 - B - F - P - R - T - W - X");
int length = p_info.getFieldLength("IssueSource");
if (IssueSource != null && IssueSource.length() > length)
{
log.warning("Length > " + length + " - truncated");
IssueSource = IssueSource.substring(0,length);
}
set_Value ("IssueSource", IssueSource);
}
/** Get Source.
@return Issue Source */
public String getIssueSource()
{
return (String)get_Value("IssueSource");
}
/** Set Issue Summary.
@param IssueSummary Issue Summary */
public void setIssueSummary (String IssueSummary)
{
if (IssueSummary == null) throw new IllegalArgumentException ("IssueSummary is mandatory.");
int length = p_info.getFieldLength("IssueSummary");
if (IssueSummary.length() > length)
{
log.warning("Length > " + length + " - truncated");
IssueSummary = IssueSummary.substring(0,length);
}
set_Value ("IssueSummary", IssueSummary);
}
/** Get Issue Summary.
@return Issue Summary */
public String getIssueSummary()
{
return (String)get_Value("IssueSummary");
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair */
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getIssueSummary());
}
/** Set Java Info.
@param JavaInfo Java Version Info */
public void setJavaInfo (String JavaInfo)
{
int length = p_info.getFieldLength("JavaInfo");
if (JavaInfo != null && JavaInfo.length() > length)
{
log.warning("Length > " + length + " - truncated");
JavaInfo = JavaInfo.substring(0,length);
}
set_ValueNoCheck ("JavaInfo", JavaInfo);
}
/** Get Java Info.
@return Java Version Info */
public String getJavaInfo()
{
return (String)get_Value("JavaInfo");
}
/** Set Line.
@param LineNo Line No */
public void setLineNo (int LineNo)
{
set_Value ("LineNo", new Integer(LineNo));
}
/** Get Line.
@return Line No */
public int getLineNo()
{
Integer ii = (Integer)get_Value("LineNo");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Local Host.
@param Local_Host Local Host Info */
public void setLocal_Host (String Local_Host)
{
int length = p_info.getFieldLength("Local_Host");
if (Local_Host != null && Local_Host.length() > length)
{
log.warning("Length > " + length + " - truncated");
Local_Host = Local_Host.substring(0,length);
}
set_ValueNoCheck ("Local_Host", Local_Host);
}
/** Get Local Host.
@return Local Host Info */
public String getLocal_Host()
{
return (String)get_Value("Local_Host");
}
/** Set Logger.
@param LoggerName Logger Name */
public void setLoggerName (String LoggerName)
{
int length = p_info.getFieldLength("LoggerName");
if (LoggerName != null && LoggerName.length() > length)
{
log.warning("Length > " + length + " - truncated");
LoggerName = LoggerName.substring(0,length);
}
set_Value ("LoggerName", LoggerName);
}
/** Get Logger.
@return Logger Name */
public String getLoggerName()
{
return (String)get_Value("LoggerName");
}
/** Set Name.
@param Name Alphanumeric identifier of the entity */
public void setName (String Name)
{
if (Name == null) throw new IllegalArgumentException ("Name is mandatory.");
int length = p_info.getFieldLength("Name");
if (Name.length() > length)
{
log.warning("Length > " + length + " - truncated");
Name = Name.substring(0,length);
}
set_ValueNoCheck ("Name", Name);
}
/** Get Name.
@return Alphanumeric identifier of the entity */
public String getName()
{
return (String)get_Value("Name");
}
/** Set Operating System.
@param OperatingSystemInfo Operating System Info */
public void setOperatingSystemInfo (String OperatingSystemInfo)
{
int length = p_info.getFieldLength("OperatingSystemInfo");
if (OperatingSystemInfo != null && OperatingSystemInfo.length() > length)
{
log.warning("Length > " + length + " - truncated");
OperatingSystemInfo = OperatingSystemInfo.substring(0,length);
}
set_ValueNoCheck ("OperatingSystemInfo", OperatingSystemInfo);
}
/** Get Operating System.
@return Operating System Info */
public String getOperatingSystemInfo()
{
return (String)get_Value("OperatingSystemInfo");
}
/** Set Processed.
@param Processed The document has been processed */
public void setProcessed (boolean Processed)
{
set_ValueNoCheck ("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 Profile.
@param ProfileInfo Information to help profiling the system for solving support issues */
public void setProfileInfo (String ProfileInfo)
{
int length = p_info.getFieldLength("ProfileInfo");
if (ProfileInfo != null && ProfileInfo.length() > length)
{
log.warning("Length > " + length + " - truncated");
ProfileInfo = ProfileInfo.substring(0,length);
}
set_ValueNoCheck ("ProfileInfo", ProfileInfo);
}
/** Get Profile.
@return Information to help profiling the system for solving support issues */
public String getProfileInfo()
{
return (String)get_Value("ProfileInfo");
}
/** Set Known Issue.
@param R_IssueKnown_ID Known Issue */
public void setR_IssueKnown_ID (int R_IssueKnown_ID)
{
if (R_IssueKnown_ID <= 0) set_Value ("R_IssueKnown_ID", null);
else
set_Value ("R_IssueKnown_ID", new Integer(R_IssueKnown_ID));
}
/** Get Known Issue.
@return Known Issue */
public int getR_IssueKnown_ID()
{
Integer ii = (Integer)get_Value("R_IssueKnown_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Issue Project.
@param R_IssueProject_ID Implementation Projects */
public void setR_IssueProject_ID (int R_IssueProject_ID)
{
if (R_IssueProject_ID <= 0) set_Value ("R_IssueProject_ID", null);
else
set_Value ("R_IssueProject_ID", new Integer(R_IssueProject_ID));
}
/** Get Issue Project.
@return Implementation Projects */
public int getR_IssueProject_ID()
{
Integer ii = (Integer)get_Value("R_IssueProject_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Issue System.
@param R_IssueSystem_ID System creating the issue */
public void setR_IssueSystem_ID (int R_IssueSystem_ID)
{
if (R_IssueSystem_ID <= 0) set_Value ("R_IssueSystem_ID", null);
else
set_Value ("R_IssueSystem_ID", new Integer(R_IssueSystem_ID));
}
/** Get Issue System.
@return System creating the issue */
public int getR_IssueSystem_ID()
{
Integer ii = (Integer)get_Value("R_IssueSystem_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Issue User.
@param R_IssueUser_ID User who reported issues */
public void setR_IssueUser_ID (int R_IssueUser_ID)
{
if (R_IssueUser_ID <= 0) set_Value ("R_IssueUser_ID", null);
else
set_Value ("R_IssueUser_ID", new Integer(R_IssueUser_ID));
}
/** Get Issue User.
@return User who reported issues */
public int getR_IssueUser_ID()
{
Integer ii = (Integer)get_Value("R_IssueUser_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_ValueNoCheck ("R_Request_ID", null);
else
set_ValueNoCheck ("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 Record ID.
@param Record_ID Direct internal record ID */
public void setRecord_ID (int Record_ID)
{
if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null);
else
set_ValueNoCheck ("Record_ID", new Integer(Record_ID));
}
/** Get Record ID.
@return Direct internal record ID */
public int getRecord_ID()
{
Integer ii = (Integer)get_Value("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.");
int length = p_info.getFieldLength("ReleaseNo");
if (ReleaseNo.length() > length)
{
log.warning("Length > " + length + " - truncated");
ReleaseNo = ReleaseNo.substring(0,length);
}
set_ValueNoCheck ("ReleaseNo", ReleaseNo);
}
/** Get Release No.
@return Internal Release Number */
public String getReleaseNo()
{
return (String)get_Value("ReleaseNo");
}
/** Set Release Tag.
@param ReleaseTag Release Tag */
public void setReleaseTag (String ReleaseTag)
{
int length = p_info.getFieldLength("ReleaseTag");
if (ReleaseTag != null && ReleaseTag.length() > length)
{
log.warning("Length > " + length + " - truncated");
ReleaseTag = ReleaseTag.substring(0,length);
}
set_Value ("ReleaseTag", ReleaseTag);
}
/** Get Release Tag.
@return Release Tag */
public String getReleaseTag()
{
return (String)get_Value("ReleaseTag");
}
/** Set Remote Addr.
@param Remote_Addr Remote Address */
public void setRemote_Addr (String Remote_Addr)
{
int length = p_info.getFieldLength("Remote_Addr");
if (Remote_Addr != null && Remote_Addr.length() > length)
{
log.warning("Length > " + length + " - truncated");
Remote_Addr = Remote_Addr.substring(0,length);
}
set_ValueNoCheck ("Remote_Addr", Remote_Addr);
}
/** Get Remote Addr.
@return Remote Address */
public String getRemote_Addr()
{
return (String)get_Value("Remote_Addr");
}
/** Set Remote Host.
@param Remote_Host Remote host Info */
public void setRemote_Host (String Remote_Host)
{
int length = p_info.getFieldLength("Remote_Host");
if (Remote_Host != null && Remote_Host.length() > length)
{
log.warning("Length > " + length + " - truncated");
Remote_Host = Remote_Host.substring(0,length);
}
set_ValueNoCheck ("Remote_Host", Remote_Host);
}
/** Get Remote Host.
@return Remote host Info */
public String getRemote_Host()
{
return (String)get_Value("Remote_Host");
}
/** Set Request Document No.
@param RequestDocumentNo Compiere Request Document No */
public void setRequestDocumentNo (String RequestDocumentNo)
{
int length = p_info.getFieldLength("RequestDocumentNo");
if (RequestDocumentNo != null && RequestDocumentNo.length() > length)
{
log.warning("Length > " + length + " - truncated");
RequestDocumentNo = RequestDocumentNo.substring(0,length);
}
set_ValueNoCheck ("RequestDocumentNo", RequestDocumentNo);
}
/** Get Request Document No.
@return Compiere Request Document No */
public String getRequestDocumentNo()
{
return (String)get_Value("RequestDocumentNo");
}
/** Set Response Text.
@param ResponseText Request Response Text */
public void setResponseText (String ResponseText)
{
int length = p_info.getFieldLength("ResponseText");
if (ResponseText != null && ResponseText.length() > length)
{
log.warning("Length > " + length + " - truncated");
ResponseText = ResponseText.substring(0,length);
}
set_ValueNoCheck ("ResponseText", ResponseText);
}
/** Get Response Text.
@return Request Response Text */
public String getResponseText()
{
return (String)get_Value("ResponseText");
}
/** Set Source Class.
@param SourceClassName Source Class Name */
public void setSourceClassName (String SourceClassName)
{
int length = p_info.getFieldLength("SourceClassName");
if (SourceClassName != null && SourceClassName.length() > length)
{
log.warning("Length > " + length + " - truncated");
SourceClassName = SourceClassName.substring(0,length);
}
set_Value ("SourceClassName", SourceClassName);
}
/** Get Source Class.
@return Source Class Name */
public String getSourceClassName()
{
return (String)get_Value("SourceClassName");
}
/** Set Source Method.
@param SourceMethodName Source Method Name */
public void setSourceMethodName (String SourceMethodName)
{
int length = p_info.getFieldLength("SourceMethodName");
if (SourceMethodName != null && SourceMethodName.length() > length)
{
log.warning("Length > " + length + " - truncated");
SourceMethodName = SourceMethodName.substring(0,length);
}
set_Value ("SourceMethodName", SourceMethodName);
}
/** Get Source Method.
@return Source Method Name */
public String getSourceMethodName()
{
return (String)get_Value("SourceMethodName");
}
/** Set Stack Trace.
@param StackTrace System Log Trace */
public void setStackTrace (String StackTrace)
{
int length = p_info.getFieldLength("StackTrace");
if (StackTrace != null && StackTrace.length() > length)
{
log.warning("Length > " + length + " - truncated");
StackTrace = StackTrace.substring(0,length);
}
set_Value ("StackTrace", StackTrace);
}
/** Get Stack Trace.
@return System Log Trace */
public String getStackTrace()
{
return (String)get_Value("StackTrace");
}
/** Set Statistics.
@param StatisticsInfo Information to help profiling the system for solving support issues */
public void setStatisticsInfo (String StatisticsInfo)
{
int length = p_info.getFieldLength("StatisticsInfo");
if (StatisticsInfo != null && StatisticsInfo.length() > length)
{
log.warning("Length > " + length + " - truncated");
StatisticsInfo = StatisticsInfo.substring(0,length);
}
set_ValueNoCheck ("StatisticsInfo", StatisticsInfo);
}
/** Get Statistics.
@return Information to help profiling the system for solving support issues */
public String getStatisticsInfo()
{
return (String)get_Value("StatisticsInfo");
}
/** Set Support EMail.
@param SupportEMail EMail address to send support information and updates to */
public void setSupportEMail (String SupportEMail)
{
int length = p_info.getFieldLength("SupportEMail");
if (SupportEMail != null && SupportEMail.length() > length)
{
log.warning("Length > " + length + " - truncated");
SupportEMail = SupportEMail.substring(0,length);
}
set_Value ("SupportEMail", SupportEMail);
}
/** Get Support EMail.
@return EMail address to send support information and updates to */
public String getSupportEMail()
{
return (String)get_Value("SupportEMail");
}
/** SystemStatus AD_Reference_ID=374 */
public static final int SYSTEMSTATUS_AD_Reference_ID=374;
/** Evaluation = E */
public static final String SYSTEMSTATUS_Evaluation = "E";
/** Implementation = I */
public static final String SYSTEMSTATUS_Implementation = "I";
/** Production = P */
public static final String SYSTEMSTATUS_Production = "P";
/** Is test a valid value.
@param test testvalue
@return true if valid **/
public boolean isSystemStatusValid (String test)
{
return test.equals("E") || test.equals("I") || test.equals("P");
}
/** Set System Status.
@param SystemStatus Status of the system - Support priority depends on system status */
public void setSystemStatus (String SystemStatus)
{
if (SystemStatus == null) throw new IllegalArgumentException ("SystemStatus is mandatory");
if (!isSystemStatusValid(SystemStatus))
throw new IllegalArgumentException ("SystemStatus Invalid value - " + SystemStatus + " - Reference_ID=374 - E - I - P");
int length = p_info.getFieldLength("SystemStatus");
if (SystemStatus.length() > length)
{
log.warning("Length > " + length + " - truncated");
SystemStatus = SystemStatus.substring(0,length);
}
set_Value ("SystemStatus", SystemStatus);
}
/** Get System Status.
@return Status of the system - Support priority depends on system status */
public String getSystemStatus()
{
return (String)get_Value("SystemStatus");
}
/** Set Registered EMail.
@param UserName Email of the responsible for the System */
public void setUserName (String UserName)
{
if (UserName == null) throw new IllegalArgumentException ("UserName is mandatory.");
int length = p_info.getFieldLength("UserName");
if (UserName.length() > length)
{
log.warning("Length > " + length + " - truncated");
UserName = UserName.substring(0,length);
}
set_ValueNoCheck ("UserName", UserName);
}
/** Get Registered EMail.
@return Email of the responsible for the System */
public String getUserName()
{
return (String)get_Value("UserName");
}
/** Set Version.
@param Version Version of the table definition */
public void setVersion (String Version)
{
if (Version == null) throw new IllegalArgumentException ("Version is mandatory.");
int length = p_info.getFieldLength("Version");
if (Version.length() > length)
{
log.warning("Length > " + length + " - truncated");
Version = Version.substring(0,length);
}
set_ValueNoCheck ("Version", Version);
}
/** Get Version.
@return Version of the table definition */
public String getVersion()
{
return (String)get_Value("Version");
}
}
The table below shows all metrics for X_AD_Issue.java.




