Adempiere 3.5.2a

org.compiere.model
Class X_PA_RatioElement

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_PA_RatioElement
All Implemented Interfaces:
Serializable, Comparator, I_PA_RatioElement, I_Persistent, Evaluatee

public class X_PA_RatioElement
extends PO
implements I_PA_RatioElement, I_Persistent

Generated Model for PA_RatioElement

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int ACCOUNT_ID_AD_Reference_ID
          Account_ID AD_Reference_ID=331
static int PA_RATIOUSED_ID_AD_Reference_ID
          PA_RatioUsed_ID AD_Reference_ID=371
static String POSTINGTYPE_Actual
          Actual = A
static int POSTINGTYPE_AD_Reference_ID
          PostingType AD_Reference_ID=125
static String POSTINGTYPE_Budget
          Budget = B
static String POSTINGTYPE_Commitment
          Commitment = E
static String POSTINGTYPE_Reservation
          Reservation = R
static String POSTINGTYPE_Statistical
          Statistical = S
static String RATIOELEMENTTYPE_AccountValue
          Account Value = A
static int RATIOELEMENTTYPE_AD_Reference_ID
          RatioElementType AD_Reference_ID=372
static String RATIOELEMENTTYPE_Calculation
          Calculation = X
static String RATIOELEMENTTYPE_Constant
          Constant = C
static String RATIOELEMENTTYPE_Ratio
          Ratio = R
static int RATIOOPERAND_AD_Reference_ID
          RatioOperand AD_Reference_ID=373
static String RATIOOPERAND_Divide
          Divide = D
static String RATIOOPERAND_Minus
          Minus = N
static String RATIOOPERAND_Multiply
          Multiply = M
static String RATIOOPERAND_Plus
          Plus = P
 
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.compiere.model.I_PA_RatioElement
accessLevel, COLUMNNAME_Account_ID, COLUMNNAME_ConstantValue, COLUMNNAME_Description, COLUMNNAME_Name, COLUMNNAME_PA_MeasureCalc_ID, COLUMNNAME_PA_Ratio_ID, COLUMNNAME_PA_RatioElement_ID, COLUMNNAME_PA_RatioUsed_ID, COLUMNNAME_PostingType, COLUMNNAME_RatioElementType, COLUMNNAME_RatioOperand, COLUMNNAME_SeqNo, Model, Table_ID, Table_Name
 
Constructor Summary
X_PA_RatioElement(Properties ctx, int PA_RatioElement_ID, String trxName)
          Standard Constructor
X_PA_RatioElement(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAccount_ID()
          Get Account.
 BigDecimal getConstantValue()
          Get Constant Value.
 String getDescription()
          Get Description.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getName()
          Get Name.
 int getPA_MeasureCalc_ID()
          Get Measure Calculation.
 I_PA_MeasureCalc getPA_MeasureCalc()
           
 int getPA_Ratio_ID()
          Get Ratio.
 I_PA_Ratio getPA_Ratio()
           
 int getPA_RatioElement_ID()
          Get Ratio Element.
 int getPA_RatioUsed_ID()
          Get Ratio Used.
 String getPostingType()
          Get PostingType.
 String getRatioElementType()
          Get Element Type.
 String getRatioOperand()
          Get Operand.
 int getSeqNo()
          Get Sequence.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 void setAccount_ID(int Account_ID)
          Set Account.
 void setConstantValue(BigDecimal ConstantValue)
          Set Constant Value.
 void setDescription(String Description)
          Set Description.
 void setName(String Name)
          Set Name.
 void setPA_MeasureCalc_ID(int PA_MeasureCalc_ID)
          Set Measure Calculation.
 void setPA_Ratio_ID(int PA_Ratio_ID)
          Set Ratio.
 void setPA_RatioElement_ID(int PA_RatioElement_ID)
          Set Ratio Element.
 void setPA_RatioUsed_ID(int PA_RatioUsed_ID)
          Set Ratio Used.
 void setPostingType(String PostingType)
          Set PostingType.
 void setRatioElementType(String RatioElementType)
          Set Element Type.
 void setRatioOperand(String RatioOperand)
          Set Operand.
 void setSeqNo(int SeqNo)
          Set Sequence.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

ACCOUNT_ID_AD_Reference_ID

public static final int ACCOUNT_ID_AD_Reference_ID
Account_ID AD_Reference_ID=331

See Also:
Constant Field Values

PA_RATIOUSED_ID_AD_Reference_ID

public static final int PA_RATIOUSED_ID_AD_Reference_ID
PA_RatioUsed_ID AD_Reference_ID=371

See Also:
Constant Field Values

POSTINGTYPE_AD_Reference_ID

public static final int POSTINGTYPE_AD_Reference_ID
PostingType AD_Reference_ID=125

See Also:
Constant Field Values

POSTINGTYPE_Actual

public static final String POSTINGTYPE_Actual
Actual = A

See Also:
Constant Field Values

POSTINGTYPE_Budget

public static final String POSTINGTYPE_Budget
Budget = B

See Also:
Constant Field Values

POSTINGTYPE_Commitment

public static final String POSTINGTYPE_Commitment
Commitment = E

See Also:
Constant Field Values

POSTINGTYPE_Statistical

public static final String POSTINGTYPE_Statistical
Statistical = S

See Also:
Constant Field Values

POSTINGTYPE_Reservation

public static final String POSTINGTYPE_Reservation
Reservation = R

See Also:
Constant Field Values

RATIOELEMENTTYPE_AD_Reference_ID

public static final int RATIOELEMENTTYPE_AD_Reference_ID
RatioElementType AD_Reference_ID=372

See Also:
Constant Field Values

RATIOELEMENTTYPE_Ratio

public static final String RATIOELEMENTTYPE_Ratio
Ratio = R

See Also:
Constant Field Values

RATIOELEMENTTYPE_Constant

public static final String RATIOELEMENTTYPE_Constant
Constant = C

See Also:
Constant Field Values

RATIOELEMENTTYPE_Calculation

public static final String RATIOELEMENTTYPE_Calculation
Calculation = X

See Also:
Constant Field Values

RATIOELEMENTTYPE_AccountValue

public static final String RATIOELEMENTTYPE_AccountValue
Account Value = A

See Also:
Constant Field Values

RATIOOPERAND_AD_Reference_ID

public static final int RATIOOPERAND_AD_Reference_ID
RatioOperand AD_Reference_ID=373

See Also:
Constant Field Values

RATIOOPERAND_Plus

public static final String RATIOOPERAND_Plus
Plus = P

See Also:
Constant Field Values

RATIOOPERAND_Minus

public static final String RATIOOPERAND_Minus
Minus = N

See Also:
Constant Field Values

RATIOOPERAND_Multiply

public static final String RATIOOPERAND_Multiply
Multiply = M

See Also:
Constant Field Values

RATIOOPERAND_Divide

public static final String RATIOOPERAND_Divide
Divide = D

See Also:
Constant Field Values
Constructor Detail

X_PA_RatioElement

public X_PA_RatioElement(Properties ctx,
                         int PA_RatioElement_ID,
                         String trxName)
Standard Constructor


X_PA_RatioElement

public X_PA_RatioElement(Properties ctx,
                         ResultSet rs,
                         String trxName)
Load Constructor

Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
2 - Client

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setAccount_ID

public void setAccount_ID(int Account_ID)
Set Account.

Specified by:
setAccount_ID in interface I_PA_RatioElement
Parameters:
Account_ID - Account used

getAccount_ID

public int getAccount_ID()
Get Account.

Specified by:
getAccount_ID in interface I_PA_RatioElement
Returns:
Account used

setConstantValue

public void setConstantValue(BigDecimal ConstantValue)
Set Constant Value.

Specified by:
setConstantValue in interface I_PA_RatioElement
Parameters:
ConstantValue - Constant value

getConstantValue

public BigDecimal getConstantValue()
Get Constant Value.

Specified by:
getConstantValue in interface I_PA_RatioElement
Returns:
Constant value

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_PA_RatioElement
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_PA_RatioElement
Returns:
Optional short description of the record

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_PA_RatioElement
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_PA_RatioElement
Returns:
Alphanumeric identifier of the entity

getPA_MeasureCalc

public I_PA_MeasureCalc getPA_MeasureCalc()
                                   throws Exception
Specified by:
getPA_MeasureCalc in interface I_PA_RatioElement
Throws:
Exception

setPA_MeasureCalc_ID

public void setPA_MeasureCalc_ID(int PA_MeasureCalc_ID)
Set Measure Calculation.

Specified by:
setPA_MeasureCalc_ID in interface I_PA_RatioElement
Parameters:
PA_MeasureCalc_ID - Calculation method for measuring performance

getPA_MeasureCalc_ID

public int getPA_MeasureCalc_ID()
Get Measure Calculation.

Specified by:
getPA_MeasureCalc_ID in interface I_PA_RatioElement
Returns:
Calculation method for measuring performance

setPA_RatioElement_ID

public void setPA_RatioElement_ID(int PA_RatioElement_ID)
Set Ratio Element.

Specified by:
setPA_RatioElement_ID in interface I_PA_RatioElement
Parameters:
PA_RatioElement_ID - Performance Ratio Element

getPA_RatioElement_ID

public int getPA_RatioElement_ID()
Get Ratio Element.

Specified by:
getPA_RatioElement_ID in interface I_PA_RatioElement
Returns:
Performance Ratio Element

getPA_Ratio

public I_PA_Ratio getPA_Ratio()
                       throws Exception
Specified by:
getPA_Ratio in interface I_PA_RatioElement
Throws:
Exception

setPA_Ratio_ID

public void setPA_Ratio_ID(int PA_Ratio_ID)
Set Ratio.

Specified by:
setPA_Ratio_ID in interface I_PA_RatioElement
Parameters:
PA_Ratio_ID - Performace Ratio

getPA_Ratio_ID

public int getPA_Ratio_ID()
Get Ratio.

Specified by:
getPA_Ratio_ID in interface I_PA_RatioElement
Returns:
Performace Ratio

setPA_RatioUsed_ID

public void setPA_RatioUsed_ID(int PA_RatioUsed_ID)
Set Ratio Used.

Specified by:
setPA_RatioUsed_ID in interface I_PA_RatioElement
Parameters:
PA_RatioUsed_ID - Performace Ratio Used

getPA_RatioUsed_ID

public int getPA_RatioUsed_ID()
Get Ratio Used.

Specified by:
getPA_RatioUsed_ID in interface I_PA_RatioElement
Returns:
Performace Ratio Used

setPostingType

public void setPostingType(String PostingType)
Set PostingType.

Specified by:
setPostingType in interface I_PA_RatioElement
Parameters:
PostingType - The type of posted amount for the transaction

getPostingType

public String getPostingType()
Get PostingType.

Specified by:
getPostingType in interface I_PA_RatioElement
Returns:
The type of posted amount for the transaction

setRatioElementType

public void setRatioElementType(String RatioElementType)
Set Element Type.

Specified by:
setRatioElementType in interface I_PA_RatioElement
Parameters:
RatioElementType - Ratio Element Type

getRatioElementType

public String getRatioElementType()
Get Element Type.

Specified by:
getRatioElementType in interface I_PA_RatioElement
Returns:
Ratio Element Type

setRatioOperand

public void setRatioOperand(String RatioOperand)
Set Operand.

Specified by:
setRatioOperand in interface I_PA_RatioElement
Parameters:
RatioOperand - Ratio Operand

getRatioOperand

public String getRatioOperand()
Get Operand.

Specified by:
getRatioOperand in interface I_PA_RatioElement
Returns:
Ratio Operand

setSeqNo

public void setSeqNo(int SeqNo)
Set Sequence.

Specified by:
setSeqNo in interface I_PA_RatioElement
Parameters:
SeqNo - Method of ordering records; lowest number comes first

getSeqNo

public int getSeqNo()
Get Sequence.

Specified by:
getSeqNo in interface I_PA_RatioElement
Returns:
Method of ordering records; lowest number comes first

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.