|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_PA_ReportColumn
org.compiere.report.MReportColumn
public class MReportColumn
Report Column Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MReportColumn(Ctx ctx,
int PA_ReportColumn_ID,
String trxName)
Constructor |
|
MReportColumn(Ctx ctx,
ResultSet rs,
String trxName)
Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MReportColumn |
copy(Ctx ctx,
int AD_Client_ID,
int AD_Org_ID,
int PA_ReportColumnSet_ID,
MReportColumn source,
String trxName)
Copy |
String |
getCalculationType()
Get Calculation Type |
String |
getElementType()
Get Element Type |
BigDecimal |
getRelativePeriod()
Get Relative Period |
int |
getRelativePeriodAsInt()
Get Relative Period As Int |
String |
getSelectClause(boolean withSum)
Get Column SQL Select Clause. |
String |
getWhereClause(int PA_Hierarchy_ID)
Get Segment Value Where Clause |
boolean |
isCalculationTypeAdd()
Calculation Type Add |
boolean |
isCalculationTypePercent()
Calculation Type Percent |
boolean |
isCalculationTypeRange()
Calculation Type Range |
boolean |
isCalculationTypeSubtract()
Calculation Type Subtract |
boolean |
isColumnTypeCalculation()
Column Type Calculation |
boolean |
isColumnTypeRelativePeriod()
Column Type Relative Period |
boolean |
isColumnTypeSegmentValue()
Column Type Segment Value |
boolean |
isPeriod()
Is it Period Info ? |
boolean |
isTotal()
Is it Total Info ? |
boolean |
isYear()
Is it Year Info ? |
String |
toString()
Get String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MReportColumn(Ctx ctx,
int PA_ReportColumn_ID,
String trxName)
ctx - contextPA_ReportColumn_ID - idtrxName - transaction
public MReportColumn(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - ResultSet to load fromtrxName - transaction| Method Detail |
|---|
public static MReportColumn copy(Ctx ctx,
int AD_Client_ID,
int AD_Org_ID,
int PA_ReportColumnSet_ID,
MReportColumn source,
String trxName)
ctx - contextAD_Client_ID - parentAD_Org_ID - parentPA_ReportColumnSet_ID - parentsource - copy sourcetrxName - transaction
public String getSelectClause(boolean withSum)
withSum - with SUM() function
public boolean isPeriod()
public boolean isYear()
public boolean isTotal()
public String getWhereClause(int PA_Hierarchy_ID)
PA_Hierarchy_ID - hierarchy
public String toString()
toString in class X_PA_ReportColumnpublic boolean isCalculationTypeRange()
public boolean isCalculationTypeAdd()
public boolean isCalculationTypeSubtract()
public boolean isCalculationTypePercent()
public boolean isColumnTypeCalculation()
public boolean isColumnTypeRelativePeriod()
public boolean isColumnTypeSegmentValue()
public int getRelativePeriodAsInt()
public BigDecimal getRelativePeriod()
getRelativePeriod in class X_PA_ReportColumnpublic String getElementType()
getElementType in class X_PA_ReportColumnpublic String getCalculationType()
getCalculationType in class X_PA_ReportColumnprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||