Package org.compiere.model
Class X_PA_RatioElement
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_PA_RatioElement
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,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 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPOSTINGTYPE_ActualActual = Astatic intPOSTINGTYPE_AD_Reference_IDPostingType AD_Reference_ID=125static StringPOSTINGTYPE_BudgetBudget = Bstatic StringPOSTINGTYPE_CommitmentCommitment = Estatic StringPOSTINGTYPE_ReservationReservation = Rstatic StringPOSTINGTYPE_StatisticalStatistical = Sstatic StringRATIOELEMENTTYPE_AccountValueAccount Value = Astatic intRATIOELEMENTTYPE_AD_Reference_IDRatioElementType AD_Reference_ID=372static StringRATIOELEMENTTYPE_CalculationCalculation = Xstatic StringRATIOELEMENTTYPE_ConstantConstant = Cstatic StringRATIOELEMENTTYPE_RatioRatio = Rstatic intRATIOOPERAND_AD_Reference_IDRatioOperand AD_Reference_ID=373static StringRATIOOPERAND_DivideDivide = Dstatic StringRATIOOPERAND_MinusMinus = Nstatic StringRATIOOPERAND_MultiplyMultiply = Mstatic StringRATIOOPERAND_PlusPlus = 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, LOCAL_TRX_PREFIX, 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_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_ConstantValue, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_Name, COLUMNNAME_PA_MeasureCalc_ID, COLUMNNAME_PA_Ratio_ID, COLUMNNAME_PA_RatioElement_ID, COLUMNNAME_PA_RatioElement_UU, COLUMNNAME_PA_RatioUsed_ID, COLUMNNAME_PostingType, COLUMNNAME_RatioElementType, COLUMNNAME_RatioOperand, COLUMNNAME_SeqNo, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_PA_RatioElement(Properties ctx, int PA_RatioElement_ID, String trxName)Standard ConstructorX_PA_RatioElement(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelI_C_ElementValuegetAccount()intgetAccount_ID()Get Account.BigDecimalgetConstantValue()Get Constant Value.StringgetDescription()Get Description.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameStringgetName()Get Name.I_PA_MeasureCalcgetPA_MeasureCalc()intgetPA_MeasureCalc_ID()Get Measure Calculation.I_PA_RatiogetPA_Ratio()intgetPA_Ratio_ID()Get Ratio.intgetPA_RatioElement_ID()Get Ratio Element.StringgetPA_RatioElement_UU()Get PA_RatioElement_UU.I_PA_RatiogetPA_RatioUsed()intgetPA_RatioUsed_ID()Get Ratio Used.StringgetPostingType()Get PostingType.StringgetRatioElementType()Get Element Type.StringgetRatioOperand()Get Operand.intgetSeqNo()Get Sequence.protected POInfoinitPO(Properties ctx)Load Meta DatavoidsetAccount_ID(int Account_ID)Set Account.voidsetConstantValue(BigDecimal ConstantValue)Set Constant Value.voidsetDescription(String Description)Set Description.voidsetName(String Name)Set Name.voidsetPA_MeasureCalc_ID(int PA_MeasureCalc_ID)Set Measure Calculation.voidsetPA_Ratio_ID(int PA_Ratio_ID)Set Ratio.voidsetPA_RatioElement_ID(int PA_RatioElement_ID)Set Ratio Element.voidsetPA_RatioElement_UU(String PA_RatioElement_UU)Set PA_RatioElement_UU.voidsetPA_RatioUsed_ID(int PA_RatioUsed_ID)Set Ratio Used.voidsetPostingType(String PostingType)Set PostingType.voidsetRatioElementType(String RatioElementType)Set Element Type.voidsetRatioOperand(String RatioOperand)Set Operand.voidsetSeqNo(int SeqNo)Set Sequence.StringtoString()String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, 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_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_PA_RatioElement
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
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_Reservation
public static final String POSTINGTYPE_Reservation
Reservation = R- See Also:
- Constant Field Values
-
POSTINGTYPE_Statistical
public static final String POSTINGTYPE_Statistical
Statistical = S- 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_AccountValue
public static final String RATIOELEMENTTYPE_AccountValue
Account Value = A- See Also:
- Constant Field Values
-
RATIOELEMENTTYPE_Constant
public static final String RATIOELEMENTTYPE_Constant
Constant = C- See Also:
- Constant Field Values
-
RATIOELEMENTTYPE_Ratio
public static final String RATIOELEMENTTYPE_Ratio
Ratio = R- See Also:
- Constant Field Values
-
RATIOELEMENTTYPE_Calculation
public static final String RATIOELEMENTTYPE_Calculation
Calculation = X- 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_Divide
public static final String RATIOOPERAND_Divide
Divide = D- See Also:
- Constant Field Values
-
RATIOOPERAND_Multiply
public static final String RATIOOPERAND_Multiply
Multiply = M- See Also:
- Constant Field Values
-
RATIOOPERAND_Minus
public static final String RATIOOPERAND_Minus
Minus = N- See Also:
- Constant Field Values
-
RATIOOPERAND_Plus
public static final String RATIOOPERAND_Plus
Plus = P- 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_AccessLevelin classPO- Returns:
- 2 - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAccount
public I_C_ElementValue getAccount() throws RuntimeException
- Specified by:
getAccountin interfaceI_PA_RatioElement- Throws:
RuntimeException
-
setAccount_ID
public void setAccount_ID(int Account_ID)
Set Account.- Specified by:
setAccount_IDin interfaceI_PA_RatioElement- Parameters:
Account_ID- Account used
-
getAccount_ID
public int getAccount_ID()
Get Account.- Specified by:
getAccount_IDin interfaceI_PA_RatioElement- Returns:
- Account used
-
setConstantValue
public void setConstantValue(BigDecimal ConstantValue)
Set Constant Value.- Specified by:
setConstantValuein interfaceI_PA_RatioElement- Parameters:
ConstantValue- Constant value
-
getConstantValue
public BigDecimal getConstantValue()
Get Constant Value.- Specified by:
getConstantValuein interfaceI_PA_RatioElement- Returns:
- Constant value
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_PA_RatioElement- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_PA_RatioElement- Returns:
- Optional short description of the record
-
setName
public void setName(String Name)
Set Name.- Specified by:
setNamein interfaceI_PA_RatioElement- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getNamein interfaceI_PA_RatioElement- Returns:
- Alphanumeric identifier of the entity
-
getPA_MeasureCalc
public I_PA_MeasureCalc getPA_MeasureCalc() throws RuntimeException
- Specified by:
getPA_MeasureCalcin interfaceI_PA_RatioElement- Throws:
RuntimeException
-
setPA_MeasureCalc_ID
public void setPA_MeasureCalc_ID(int PA_MeasureCalc_ID)
Set Measure Calculation.- Specified by:
setPA_MeasureCalc_IDin interfaceI_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_IDin interfaceI_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_IDin interfaceI_PA_RatioElement- Parameters:
PA_RatioElement_ID- Performance Ratio Element
-
getPA_RatioElement_ID
public int getPA_RatioElement_ID()
Get Ratio Element.- Specified by:
getPA_RatioElement_IDin interfaceI_PA_RatioElement- Returns:
- Performance Ratio Element
-
setPA_RatioElement_UU
public void setPA_RatioElement_UU(String PA_RatioElement_UU)
Set PA_RatioElement_UU.- Specified by:
setPA_RatioElement_UUin interfaceI_PA_RatioElement- Parameters:
PA_RatioElement_UU- PA_RatioElement_UU
-
getPA_RatioElement_UU
public String getPA_RatioElement_UU()
Get PA_RatioElement_UU.- Specified by:
getPA_RatioElement_UUin interfaceI_PA_RatioElement- Returns:
- PA_RatioElement_UU
-
getPA_Ratio
public I_PA_Ratio getPA_Ratio() throws RuntimeException
- Specified by:
getPA_Ratioin interfaceI_PA_RatioElement- Throws:
RuntimeException
-
setPA_Ratio_ID
public void setPA_Ratio_ID(int PA_Ratio_ID)
Set Ratio.- Specified by:
setPA_Ratio_IDin interfaceI_PA_RatioElement- Parameters:
PA_Ratio_ID- Performance Ratio
-
getPA_Ratio_ID
public int getPA_Ratio_ID()
Get Ratio.- Specified by:
getPA_Ratio_IDin interfaceI_PA_RatioElement- Returns:
- Performance Ratio
-
getPA_RatioUsed
public I_PA_Ratio getPA_RatioUsed() throws RuntimeException
- Specified by:
getPA_RatioUsedin interfaceI_PA_RatioElement- Throws:
RuntimeException
-
setPA_RatioUsed_ID
public void setPA_RatioUsed_ID(int PA_RatioUsed_ID)
Set Ratio Used.- Specified by:
setPA_RatioUsed_IDin interfaceI_PA_RatioElement- Parameters:
PA_RatioUsed_ID- Performance Ratio Used
-
getPA_RatioUsed_ID
public int getPA_RatioUsed_ID()
Get Ratio Used.- Specified by:
getPA_RatioUsed_IDin interfaceI_PA_RatioElement- Returns:
- Performance Ratio Used
-
setPostingType
public void setPostingType(String PostingType)
Set PostingType.- Specified by:
setPostingTypein interfaceI_PA_RatioElement- Parameters:
PostingType- The type of posted amount for the transaction
-
getPostingType
public String getPostingType()
Get PostingType.- Specified by:
getPostingTypein interfaceI_PA_RatioElement- Returns:
- The type of posted amount for the transaction
-
setRatioElementType
public void setRatioElementType(String RatioElementType)
Set Element Type.- Specified by:
setRatioElementTypein interfaceI_PA_RatioElement- Parameters:
RatioElementType- Ratio Element Type
-
getRatioElementType
public String getRatioElementType()
Get Element Type.- Specified by:
getRatioElementTypein interfaceI_PA_RatioElement- Returns:
- Ratio Element Type
-
setRatioOperand
public void setRatioOperand(String RatioOperand)
Set Operand.- Specified by:
setRatioOperandin interfaceI_PA_RatioElement- Parameters:
RatioOperand- Ratio Operand
-
getRatioOperand
public String getRatioOperand()
Get Operand.- Specified by:
getRatioOperandin interfaceI_PA_RatioElement- Returns:
- Ratio Operand
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.- Specified by:
setSeqNoin interfaceI_PA_RatioElement- Parameters:
SeqNo- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()
Get Sequence.- Specified by:
getSeqNoin interfaceI_PA_RatioElement- Returns:
- Method of ordering records; lowest number comes first
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
-