📄 x_ad_issue.java
字号:
/** Generated Model - DO NOT CHANGE - Copyright (C) 1999-2005 Jorg Janke */
package org.compiere.model;
import java.util.*;
import java.sql.*;
import java.math.*;
import org.compiere.util.*;
/** Generated Model for AD_Issue
* @author Jorg Janke (generated)
* @version Release 2.5.3b - 2006-02-09 16:42:57.405 */
public class X_AD_Issue extends PO
{
/** Standard Constructor */
public X_AD_Issue (Properties 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 */
public X_AD_Issue (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AD_Table_ID=828 */
public static final int Table_ID=828;
/** TableName=AD_Issue */
public static final String Table_Name="AD_Issue";
protected static KeyNamePair Model = new KeyNamePair(828,"AD_Issue");
protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel 6 - System - Client */
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID);
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_AD_Issue[").append(get_ID()).append("]");
return sb.toString();
}
/** Set Special Form.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Comments or additional information */
public void setComments (String Comments)
{
if (Comments != null && Comments.length() > 2000)
{
log.warning("Length > 2000 - truncated");
Comments = Comments.substring(0,1999);
}
set_Value ("Comments", Comments);
}
/** Get Comments.
Comments or additional information */
public String getComments()
{
return (String)get_Value("Comments");
}
/** Set DB Address.
JDBC URL of the database server */
public void setDBAddress (String DBAddress)
{
if (DBAddress != null && DBAddress.length() > 255)
{
log.warning("Length > 255 - truncated");
DBAddress = DBAddress.substring(0,254);
}
set_ValueNoCheck ("DBAddress", DBAddress);
}
/** Get DB Address.
JDBC URL of the database server */
public String getDBAddress()
{
return (String)get_Value("DBAddress");
}
/** Set Database.
Database Information */
public void setDatabaseInfo (String DatabaseInfo)
{
if (DatabaseInfo != null && DatabaseInfo.length() > 255)
{
log.warning("Length > 255 - truncated");
DatabaseInfo = DatabaseInfo.substring(0,254);
}
set_ValueNoCheck ("DatabaseInfo", DatabaseInfo);
}
/** Get Database.
Database Information */
public String getDatabaseInfo()
{
return (String)get_Value("DatabaseInfo");
}
/** Set Error Trace.
System Error Trace */
public void setErrorTrace (String ErrorTrace)
{
if (ErrorTrace != null && ErrorTrace.length() > 2000)
{
log.warning("Length > 2000 - truncated");
ErrorTrace = ErrorTrace.substring(0,1999);
}
set_Value ("ErrorTrace", ErrorTrace);
}
/** Get Error Trace.
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";
/** Set Reproducible.
Problem can re reproduced in Gardenworld */
public void setIsReproducible (String IsReproducible)
{
if (IsReproducible == null) throw new IllegalArgumentException ("IsReproducible is mandatory");
if (IsReproducible == null || IsReproducible.equals("N") || IsReproducible.equals("Y"));
else throw new IllegalArgumentException ("IsReproducible Invalid value - " + IsReproducible + " - Reference_ID=319 - N - Y");
if (IsReproducible != null && IsReproducible.length() > 1)
{
log.warning("Length > 1 - truncated");
IsReproducible = IsReproducible.substring(0,0);
}
set_Value ("IsReproducible", IsReproducible);
}
/** Get Reproducible.
Problem can re 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";
/** Set Vanilla System.
The system was NOT compiled from Source - i.e. standard distribution */
public void setIsVanillaSystem (String IsVanillaSystem)
{
if (IsVanillaSystem == null) throw new IllegalArgumentException ("IsVanillaSystem is mandatory");
if (IsVanillaSystem == null || IsVanillaSystem.equals("N") || IsVanillaSystem.equals("Y"));
else throw new IllegalArgumentException ("IsVanillaSystem Invalid value - " + IsVanillaSystem + " - Reference_ID=319 - N - Y");
if (IsVanillaSystem != null && IsVanillaSystem.length() > 1)
{
log.warning("Length > 1 - truncated");
IsVanillaSystem = IsVanillaSystem.substring(0,0);
}
set_Value ("IsVanillaSystem", IsVanillaSystem);
}
/** Get Vanilla System.
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";
/** Set Source.
Issue Source */
public void setIssueSource (String IssueSource)
{
if (IssueSource == null) throw new IllegalArgumentException ("IssueSource is mandatory");
if (IssueSource == null || IssueSource.equals("B") || IssueSource.equals("F") || IssueSource.equals("P") || IssueSource.equals("R") || IssueSource.equals("T") || IssueSource.equals("W") || IssueSource.equals("X"));
else throw new IllegalArgumentException ("IssueSource Invalid value - " + IssueSource + " - Reference_ID=104 - B - F - P - R - T - W - X");
if (IssueSource != null && IssueSource.length() > 1)
{
log.warning("Length > 1 - truncated");
IssueSource = IssueSource.substring(0,0);
}
set_Value ("IssueSource", IssueSource);
}
/** Get Source.
Issue Source */
public String getIssueSource()
{
return (String)get_Value("IssueSource");
}
/** Set Issue Summary.
Issue Summary */
public void setIssueSummary (String IssueSummary)
{
if (IssueSummary == null) throw new IllegalArgumentException ("IssueSummary is mandatory.");
if (IssueSummary.length() > 2000)
{
log.warning("Length > 2000 - truncated");
IssueSummary = IssueSummary.substring(0,1999);
}
set_Value ("IssueSummary", IssueSummary);
}
/** Get Issue Summary.
Issue Summary */
public String getIssueSummary()
{
return (String)get_Value("IssueSummary");
}
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getIssueSummary());
}
/** Set Java Info.
Java Version Info */
public void setJavaInfo (String JavaInfo)
{
if (JavaInfo != null && JavaInfo.length() > 255)
{
log.warning("Length > 255 - truncated");
JavaInfo = JavaInfo.substring(0,254);
}
set_ValueNoCheck ("JavaInfo", JavaInfo);
}
/** Get Java Info.
Java Version Info */
public String getJavaInfo()
{
return (String)get_Value("JavaInfo");
}
/** Set Line.
Line No */
public void setLineNo (int LineNo)
{
set_Value ("LineNo", new Integer(LineNo));
}
/** Get Line.
Line No */
public int getLineNo()
{
Integer ii = (Integer)get_Value("LineNo");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Local Host.
Local Host Info */
public void setLocal_Host (String Local_Host)
{
if (Local_Host != null && Local_Host.length() > 120)
{
log.warning("Length > 120 - truncated");
Local_Host = Local_Host.substring(0,119);
}
set_ValueNoCheck ("Local_Host", Local_Host);
}
/** Get Local Host.
Local Host Info */
public String getLocal_Host()
{
return (String)get_Value("Local_Host");
}
/** Set Logger.
Logger Name */
public void setLoggerName (String LoggerName)
{
if (LoggerName != null && LoggerName.length() > 60)
{
log.warning("Length > 60 - truncated");
LoggerName = LoggerName.substring(0,59);
}
set_Value ("LoggerName", LoggerName);
}
/** Get Logger.
Logger Name */
public String getLoggerName()
{
return (String)get_Value("LoggerName");
}
/** Set Name.
Alphanumeric identifier of the entity */
public void setName (String Name)
{
if (Name == null) throw new IllegalArgumentException ("Name is mandatory.");
if (Name.length() > 120)
{
log.warning("Length > 120 - truncated");
Name = Name.substring(0,119);
}
set_ValueNoCheck ("Name", Name);
}
/** Get Name.
Alphanumeric identifier of the entity */
public String getName()
{
return (String)get_Value("Name");
}
/** Set Operating System.
Operating System Info */
public void setOperatingSystemInfo (String OperatingSystemInfo)
{
if (OperatingSystemInfo != null && OperatingSystemInfo.length() > 255)
{
log.warning("Length > 255 - truncated");
OperatingSystemInfo = OperatingSystemInfo.substring(0,254);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -