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
Generated Model for PA_RatioElement
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Actual = Astatic final int
PostingType AD_Reference_ID=125static final String
Budget = Bstatic final String
Commitment = Estatic final String
Reservation = Rstatic final String
Statistical = Sstatic final String
Account Value = Astatic final int
RatioElementType AD_Reference_ID=372static final String
Calculation = Xstatic final String
Constant = Cstatic final String
Ratio = Rstatic final int
RatioOperand AD_Reference_ID=373static final String
Divide = Dstatic final String
Minus = Nstatic final String
Multiply = Mstatic final String
Plus = PFields 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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_PA_RatioElement
(Properties ctx, int PA_RatioElement_ID, String trxName) Standard ConstructorX_PA_RatioElement
(Properties ctx, int PA_RatioElement_ID, String trxName, String... virtualColumns) Standard ConstructorX_PA_RatioElement
(Properties ctx, String PA_RatioElement_UU, String trxName) Standard ConstructorX_PA_RatioElement
(Properties ctx, String PA_RatioElement_UU, String trxName, String... virtualColumns) Standard ConstructorX_PA_RatioElement
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Account.Get Constant Value.Get Description.Get Record ID/ColumnNamegetName()
Get Name.int
Get Measure Calculation.int
Get Ratio.int
Get Ratio Element.Get PA_RatioElement_UU.int
Get Ratio Used.Get Posting Type.Get Element Type.Get Operand.int
getSeqNo()
Get Sequence.protected POInfo
initPO
(Properties ctx) Load Meta Datavoid
setAccount_ID
(int Account_ID) Set Account.void
setConstantValue
(BigDecimal ConstantValue) Set Constant Value.void
setDescription
(String Description) Set Description.void
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_RatioElement_UU
(String PA_RatioElement_UU) Set PA_RatioElement_UU.void
setPA_RatioUsed_ID
(int PA_RatioUsed_ID) Set Ratio Used.void
setPostingType
(String PostingType) Set Posting Type.void
setRatioElementType
(String RatioElementType) Set Element Type.void
setRatioOperand
(String RatioOperand) Set Operand.void
setSeqNo
(int SeqNo) Set Sequence.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
POSTINGTYPE_AD_Reference_ID
public static final int POSTINGTYPE_AD_Reference_IDPostingType AD_Reference_ID=125- See Also:
-
POSTINGTYPE_Actual
Actual = A- See Also:
-
POSTINGTYPE_Budget
Budget = B- See Also:
-
POSTINGTYPE_Commitment
Commitment = E- See Also:
-
POSTINGTYPE_Reservation
Reservation = R- See Also:
-
POSTINGTYPE_Statistical
Statistical = S- See Also:
-
RATIOELEMENTTYPE_AD_Reference_ID
public static final int RATIOELEMENTTYPE_AD_Reference_IDRatioElementType AD_Reference_ID=372- See Also:
-
RATIOELEMENTTYPE_AccountValue
Account Value = A- See Also:
-
RATIOELEMENTTYPE_Constant
Constant = C- See Also:
-
RATIOELEMENTTYPE_Ratio
Ratio = R- See Also:
-
RATIOELEMENTTYPE_Calculation
Calculation = X- See Also:
-
RATIOOPERAND_AD_Reference_ID
public static final int RATIOOPERAND_AD_Reference_IDRatioOperand AD_Reference_ID=373- See Also:
-
RATIOOPERAND_Divide
Divide = D- See Also:
-
RATIOOPERAND_Multiply
Multiply = M- See Also:
-
RATIOOPERAND_Minus
Minus = N- See Also:
-
RATIOOPERAND_Plus
Plus = P- See Also:
-
-
Constructor Details
-
X_PA_RatioElement
Standard Constructor -
X_PA_RatioElement
public X_PA_RatioElement(Properties ctx, int PA_RatioElement_ID, String trxName, String... virtualColumns) Standard Constructor -
X_PA_RatioElement
Standard Constructor -
X_PA_RatioElement
public X_PA_RatioElement(Properties ctx, String PA_RatioElement_UU, String trxName, String... virtualColumns) Standard Constructor -
X_PA_RatioElement
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAccount
- Specified by:
getAccount
in interfaceI_PA_RatioElement
- Throws:
RuntimeException
-
setAccount_ID
public void setAccount_ID(int Account_ID) Set Account.- Specified by:
setAccount_ID
in interfaceI_PA_RatioElement
- Parameters:
Account_ID
- Account used
-
getAccount_ID
public int getAccount_ID()Get Account.- Specified by:
getAccount_ID
in interfaceI_PA_RatioElement
- Returns:
- Account used
-
setConstantValue
Set Constant Value.- Specified by:
setConstantValue
in interfaceI_PA_RatioElement
- Parameters:
ConstantValue
- Constant value
-
getConstantValue
Get Constant Value.- Specified by:
getConstantValue
in interfaceI_PA_RatioElement
- Returns:
- Constant value
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_PA_RatioElement
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_PA_RatioElement
- Returns:
- Optional short description of the record
-
setName
Set Name.- Specified by:
setName
in interfaceI_PA_RatioElement
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_PA_RatioElement
- Returns:
- Alphanumeric identifier of the entity
-
getPA_MeasureCalc
- Specified by:
getPA_MeasureCalc
in interfaceI_PA_RatioElement
- Throws:
RuntimeException
-
setPA_MeasureCalc_ID
public void setPA_MeasureCalc_ID(int PA_MeasureCalc_ID) Set Measure Calculation.- Specified by:
setPA_MeasureCalc_ID
in 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_ID
in 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_ID
in 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_ID
in interfaceI_PA_RatioElement
- Returns:
- Performance Ratio Element
-
setPA_RatioElement_UU
Set PA_RatioElement_UU.- Specified by:
setPA_RatioElement_UU
in interfaceI_PA_RatioElement
- Parameters:
PA_RatioElement_UU
- PA_RatioElement_UU
-
getPA_RatioElement_UU
Get PA_RatioElement_UU.- Specified by:
getPA_RatioElement_UU
in interfaceI_PA_RatioElement
- Returns:
- PA_RatioElement_UU
-
getPA_Ratio
- Specified by:
getPA_Ratio
in interfaceI_PA_RatioElement
- Throws:
RuntimeException
-
setPA_Ratio_ID
public void setPA_Ratio_ID(int PA_Ratio_ID) Set Ratio.- Specified by:
setPA_Ratio_ID
in interfaceI_PA_RatioElement
- Parameters:
PA_Ratio_ID
- Performance Ratio
-
getPA_Ratio_ID
public int getPA_Ratio_ID()Get Ratio.- Specified by:
getPA_Ratio_ID
in interfaceI_PA_RatioElement
- Returns:
- Performance Ratio
-
getPA_RatioUsed
- Specified by:
getPA_RatioUsed
in interfaceI_PA_RatioElement
- Throws:
RuntimeException
-
setPA_RatioUsed_ID
public void setPA_RatioUsed_ID(int PA_RatioUsed_ID) Set Ratio Used.- Specified by:
setPA_RatioUsed_ID
in 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_ID
in interfaceI_PA_RatioElement
- Returns:
- Performance Ratio Used
-
setPostingType
Set Posting Type.- Specified by:
setPostingType
in interfaceI_PA_RatioElement
- Parameters:
PostingType
- The type of posted amount for the transaction
-
getPostingType
Get Posting Type.- Specified by:
getPostingType
in interfaceI_PA_RatioElement
- Returns:
- The type of posted amount for the transaction
-
setRatioElementType
Set Element Type.- Specified by:
setRatioElementType
in interfaceI_PA_RatioElement
- Parameters:
RatioElementType
- Ratio Element Type
-
getRatioElementType
Get Element Type.- Specified by:
getRatioElementType
in interfaceI_PA_RatioElement
- Returns:
- Ratio Element Type
-
setRatioOperand
Set Operand.- Specified by:
setRatioOperand
in interfaceI_PA_RatioElement
- Parameters:
RatioOperand
- Ratio Operand
-
getRatioOperand
Get Operand.- Specified by:
getRatioOperand
in interfaceI_PA_RatioElement
- Returns:
- Ratio Operand
-
setSeqNo
public void setSeqNo(int SeqNo) Set Sequence.- Specified by:
setSeqNo
in interfaceI_PA_RatioElement
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()Get Sequence.- Specified by:
getSeqNo
in interfaceI_PA_RatioElement
- Returns:
- Method of ordering records; lowest number comes first
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-