⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 x_ad_printformatitem.java

📁 大家共享愉快, 共享愉快, 共享愉快, 共享愉快,共享愉快
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/** 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_PrintFormatItem
 *  @author Jorg Janke (generated) 
 *  @version Release 2.5.3b - 2006-02-09 16:42:57.67 */
public class X_AD_PrintFormatItem extends PO
{
/** Standard Constructor */
public X_AD_PrintFormatItem (Properties ctx, int AD_PrintFormatItem_ID, String trxName)
{
super (ctx, AD_PrintFormatItem_ID, trxName);
/** if (AD_PrintFormatItem_ID == 0)
{
setAD_Column_ID (0);
setAD_PrintFormatChild_ID (0);
setAD_PrintFormatItem_ID (0);
setAD_PrintFormat_ID (0);
setFieldAlignmentType (null);	// D
setImageIsAttached (false);
setIsAveraged (false);
setIsCentrallyMaintained (false);
setIsCounted (false);
setIsDeviationCalc (false);
setIsFilledRectangle (false);	// N
setIsFixedWidth (false);
setIsGroupBy (false);
setIsHeightOneLine (true);	// Y
setIsImageField (false);
setIsMaxCalc (false);
setIsMinCalc (false);
setIsNextLine (true);	// Y
setIsNextPage (false);
setIsOrderBy (false);
setIsPageBreak (false);
setIsPrinted (true);	// Y
setIsRelativePosition (true);	// Y
setIsRunningTotal (false);
setIsSetNLPosition (false);
setIsSummarized (false);
setIsSuppressNull (false);
setIsVarianceCalc (false);
setLineAlignmentType (null);	// X
setMaxHeight (0);
setMaxWidth (0);
setName (null);
setPrintAreaType (null);	// C
setPrintFormatType (null);	// F
setSeqNo (0);	// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_PrintFormatItem WHERE AD_PrintFormat_ID=@AD_PrintFormat_ID@
setSortNo (0);
setXPosition (0);
setXSpace (0);
setYPosition (0);
setYSpace (0);
}
 */
}
/** Load Constructor */
public X_AD_PrintFormatItem (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AD_Table_ID=489 */
public static final int Table_ID=489;

/** TableName=AD_PrintFormatItem */
public static final String Table_Name="AD_PrintFormatItem";

protected static KeyNamePair Model = new KeyNamePair(489,"AD_PrintFormatItem");

protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel 7 - System - Client - Org  */
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_PrintFormatItem[").append(get_ID()).append("]");
return sb.toString();
}
/** Set Column.
Column in the table */
public void setAD_Column_ID (int AD_Column_ID)
{
if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory.");
set_Value ("AD_Column_ID", new Integer(AD_Column_ID));
}
/** Get Column.
Column in the table */
public int getAD_Column_ID() 
{
Integer ii = (Integer)get_Value("AD_Column_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Print Color.
Color used for printing and display */
public void setAD_PrintColor_ID (int AD_PrintColor_ID)
{
if (AD_PrintColor_ID <= 0) set_Value ("AD_PrintColor_ID", null);
 else 
set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID));
}
/** Get Print Color.
Color used for printing and display */
public int getAD_PrintColor_ID() 
{
Integer ii = (Integer)get_Value("AD_PrintColor_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Print Font.
Maintain Print Font */
public void setAD_PrintFont_ID (int AD_PrintFont_ID)
{
if (AD_PrintFont_ID <= 0) set_Value ("AD_PrintFont_ID", null);
 else 
set_Value ("AD_PrintFont_ID", new Integer(AD_PrintFont_ID));
}
/** Get Print Font.
Maintain Print Font */
public int getAD_PrintFont_ID() 
{
Integer ii = (Integer)get_Value("AD_PrintFont_ID");
if (ii == null) return 0;
return ii.intValue();
}

/** AD_PrintFormatChild_ID AD_Reference_ID=259 */
public static final int AD_PRINTFORMATCHILD_ID_AD_Reference_ID=259;
/** Set Included Print Format.
Print format that is included here. */
public void setAD_PrintFormatChild_ID (int AD_PrintFormatChild_ID)
{
if (AD_PrintFormatChild_ID < 1) throw new IllegalArgumentException ("AD_PrintFormatChild_ID is mandatory.");
set_Value ("AD_PrintFormatChild_ID", new Integer(AD_PrintFormatChild_ID));
}
/** Get Included Print Format.
Print format that is included here. */
public int getAD_PrintFormatChild_ID() 
{
Integer ii = (Integer)get_Value("AD_PrintFormatChild_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Print Format Item.
Item/Column in the Print format */
public void setAD_PrintFormatItem_ID (int AD_PrintFormatItem_ID)
{
if (AD_PrintFormatItem_ID < 1) throw new IllegalArgumentException ("AD_PrintFormatItem_ID is mandatory.");
set_ValueNoCheck ("AD_PrintFormatItem_ID", new Integer(AD_PrintFormatItem_ID));
}
/** Get Print Format Item.
Item/Column in the Print format */
public int getAD_PrintFormatItem_ID() 
{
Integer ii = (Integer)get_Value("AD_PrintFormatItem_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Print Format.
Data Print Format */
public void setAD_PrintFormat_ID (int AD_PrintFormat_ID)
{
if (AD_PrintFormat_ID < 1) throw new IllegalArgumentException ("AD_PrintFormat_ID is mandatory.");
set_ValueNoCheck ("AD_PrintFormat_ID", new Integer(AD_PrintFormat_ID));
}
/** Get Print Format.
Data Print Format */
public int getAD_PrintFormat_ID() 
{
Integer ii = (Integer)get_Value("AD_PrintFormat_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Graph.
Graph included in Reports */
public void setAD_PrintGraph_ID (int AD_PrintGraph_ID)
{
if (AD_PrintGraph_ID <= 0) set_Value ("AD_PrintGraph_ID", null);
 else 
set_Value ("AD_PrintGraph_ID", new Integer(AD_PrintGraph_ID));
}
/** Get Graph.
Graph included in Reports */
public int getAD_PrintGraph_ID() 
{
Integer ii = (Integer)get_Value("AD_PrintGraph_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Arc Diameter.
Arc Diameter for rounded Rectangles */
public void setArcDiameter (int ArcDiameter)
{
set_Value ("ArcDiameter", new Integer(ArcDiameter));
}
/** Get Arc Diameter.
Arc Diameter for rounded Rectangles */
public int getArcDiameter() 
{
Integer ii = (Integer)get_Value("ArcDiameter");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Below Column.
Print this column below the column index entered */
public void setBelowColumn (int BelowColumn)
{
set_Value ("BelowColumn", new Integer(BelowColumn));
}
/** Get Below Column.
Print this column below the column index entered */
public int getBelowColumn() 
{
Integer ii = (Integer)get_Value("BelowColumn");
if (ii == null) return 0;
return ii.intValue();
}

/** FieldAlignmentType AD_Reference_ID=253 */
public static final int FIELDALIGNMENTTYPE_AD_Reference_ID=253;
/** Block = B */
public static final String FIELDALIGNMENTTYPE_Block = "B";
/** Center = C */
public static final String FIELDALIGNMENTTYPE_Center = "C";
/** Default = D */
public static final String FIELDALIGNMENTTYPE_Default = "D";
/** Leading (left) = L */
public static final String FIELDALIGNMENTTYPE_LeadingLeft = "L";
/** Trailing (right) = T */
public static final String FIELDALIGNMENTTYPE_TrailingRight = "T";
/** Set Field Alignment.
Field Text Alignment */
public void setFieldAlignmentType (String FieldAlignmentType)
{
if (FieldAlignmentType == null) throw new IllegalArgumentException ("FieldAlignmentType is mandatory");
if (FieldAlignmentType.equals("B") || FieldAlignmentType.equals("C") || FieldAlignmentType.equals("D") || FieldAlignmentType.equals("L") || FieldAlignmentType.equals("T"));
 else throw new IllegalArgumentException ("FieldAlignmentType Invalid value - " + FieldAlignmentType + " - Reference_ID=253 - B - C - D - L - T");
if (FieldAlignmentType.length() > 1)
{
log.warning("Length > 1 - truncated");
FieldAlignmentType = FieldAlignmentType.substring(0,0);
}
set_Value ("FieldAlignmentType", FieldAlignmentType);
}
/** Get Field Alignment.
Field Text Alignment */
public String getFieldAlignmentType() 
{
return (String)get_Value("FieldAlignmentType");
}
/** Set Image attached.
The image to be printed is attached to the record */
public void setImageIsAttached (boolean ImageIsAttached)
{
set_Value ("ImageIsAttached", new Boolean(ImageIsAttached));
}
/** Get Image attached.
The image to be printed is attached to the record */
public boolean isImageIsAttached() 
{
Object oo = get_Value("ImageIsAttached");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Image URL.
URL of  image */
public void setImageURL (String ImageURL)
{
if (ImageURL != null && ImageURL.length() > 120)
{
log.warning("Length > 120 - truncated");
ImageURL = ImageURL.substring(0,119);
}
set_Value ("ImageURL", ImageURL);
}
/** Get Image URL.
URL of  image */
public String getImageURL() 
{
return (String)get_Value("ImageURL");
}
/** Set Calculate Mean (?).
Calculate Average of numeric content or length */
public void setIsAveraged (boolean IsAveraged)
{
set_Value ("IsAveraged", new Boolean(IsAveraged));
}
/** Get Calculate Mean (?).
Calculate Average of numeric content or length */
public boolean isAveraged() 
{
Object oo = get_Value("IsAveraged");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Centrally maintained.
Information maintained in System Element table */
public void setIsCentrallyMaintained (boolean IsCentrallyMaintained)
{
set_Value ("IsCentrallyMaintained", new Boolean(IsCentrallyMaintained));
}
/** Get Centrally maintained.
Information maintained in System Element table */
public boolean isCentrallyMaintained() 
{
Object oo = get_Value("IsCentrallyMaintained");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Calculate Count (?).
Count number of not empty elements */
public void setIsCounted (boolean IsCounted)
{
set_Value ("IsCounted", new Boolean(IsCounted));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -