📄 x_c_acctprocessorlog.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 C_AcctProcessorLog
* @author Jorg Janke (generated)
* @version Release 2.5.3b - 2006-02-09 16:42:59.061 */
public class X_C_AcctProcessorLog extends PO
{
/** Standard Constructor */
public X_C_AcctProcessorLog (Properties ctx, int C_AcctProcessorLog_ID, String trxName)
{
super (ctx, C_AcctProcessorLog_ID, trxName);
/** if (C_AcctProcessorLog_ID == 0)
{
setC_AcctProcessorLog_ID (0);
setC_AcctProcessor_ID (0);
setIsError (false);
}
*/
}
/** Load Constructor */
public X_C_AcctProcessorLog (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AD_Table_ID=694 */
public static final int Table_ID=694;
/** TableName=C_AcctProcessorLog */
public static final String Table_Name="C_AcctProcessorLog";
protected static KeyNamePair Model = new KeyNamePair(694,"C_AcctProcessorLog");
protected BigDecimal accessLevel = new BigDecimal(2);
/** AccessLevel 2 - 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_C_AcctProcessorLog[").append(get_ID()).append("]");
return sb.toString();
}
/** Set BinaryData.
Binary Data */
public void setBinaryData (byte[] BinaryData)
{
set_Value ("BinaryData", BinaryData);
}
/** Get BinaryData.
Binary Data */
public byte[] getBinaryData()
{
return (byte[])get_Value("BinaryData");
}
/** Set Accounting Processor Log.
Result of the execution of the Accounting Processor */
public void setC_AcctProcessorLog_ID (int C_AcctProcessorLog_ID)
{
if (C_AcctProcessorLog_ID < 1) throw new IllegalArgumentException ("C_AcctProcessorLog_ID is mandatory.");
set_ValueNoCheck ("C_AcctProcessorLog_ID", new Integer(C_AcctProcessorLog_ID));
}
/** Get Accounting Processor Log.
Result of the execution of the Accounting Processor */
public int getC_AcctProcessorLog_ID()
{
Integer ii = (Integer)get_Value("C_AcctProcessorLog_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Accounting Processor.
Accounting Processor/Server Parameters */
public void setC_AcctProcessor_ID (int C_AcctProcessor_ID)
{
if (C_AcctProcessor_ID < 1) throw new IllegalArgumentException ("C_AcctProcessor_ID is mandatory.");
set_ValueNoCheck ("C_AcctProcessor_ID", new Integer(C_AcctProcessor_ID));
}
/** Get Accounting Processor.
Accounting Processor/Server Parameters */
public int getC_AcctProcessor_ID()
{
Integer ii = (Integer)get_Value("C_AcctProcessor_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Description.
Optional short description of the record */
public void setDescription (String Description)
{
if (Description != null && Description.length() > 255)
{
log.warning("Length > 255 - truncated");
Description = Description.substring(0,254);
}
set_Value ("Description", Description);
}
/** Get Description.
Optional short description of the record */
public String getDescription()
{
return (String)get_Value("Description");
}
/** Set Error.
An Error occured in the execution */
public void setIsError (boolean IsError)
{
set_Value ("IsError", new Boolean(IsError));
}
/** Get Error.
An Error occured in the execution */
public boolean isError()
{
Object oo = get_Value("IsError");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Reference.
Reference for this record */
public void setReference (String Reference)
{
if (Reference != null && Reference.length() > 60)
{
log.warning("Length > 60 - truncated");
Reference = Reference.substring(0,59);
}
set_Value ("Reference", Reference);
}
/** Get Reference.
Reference for this record */
public String getReference()
{
return (String)get_Value("Reference");
}
/** Set Summary.
Textual summary of this request */
public void setSummary (String Summary)
{
if (Summary != null && Summary.length() > 2000)
{
log.warning("Length > 2000 - truncated");
Summary = Summary.substring(0,1999);
}
set_Value ("Summary", Summary);
}
/** Get Summary.
Textual summary of this request */
public String getSummary()
{
return (String)get_Value("Summary");
}
/** Set Text Message.
Text Message */
public void setTextMsg (String TextMsg)
{
if (TextMsg != null && TextMsg.length() > 2000)
{
log.warning("Length > 2000 - truncated");
TextMsg = TextMsg.substring(0,1999);
}
set_Value ("TextMsg", TextMsg);
}
/** Get Text Message.
Text Message */
public String getTextMsg()
{
return (String)get_Value("TextMsg");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -