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 String
POSTINGTYPE_Actual
Actual = Astatic int
POSTINGTYPE_AD_Reference_ID
PostingType AD_Reference_ID=125static String
POSTINGTYPE_Budget
Budget = Bstatic String
POSTINGTYPE_Commitment
Commitment = Estatic String
POSTINGTYPE_Reservation
Reservation = Rstatic String
POSTINGTYPE_Statistical
Statistical = Sstatic String
RATIOELEMENTTYPE_AccountValue
Account Value = Astatic int
RATIOELEMENTTYPE_AD_Reference_ID
RatioElementType AD_Reference_ID=372static String
RATIOELEMENTTYPE_Calculation
Calculation = Xstatic String
RATIOELEMENTTYPE_Constant
Constant = Cstatic String
RATIOELEMENTTYPE_Ratio
Ratio = Rstatic int
RATIOOPERAND_AD_Reference_ID
RatioOperand AD_Reference_ID=373static String
RATIOOPERAND_Divide
Divide = Dstatic String
RATIOOPERAND_Minus
Minus = Nstatic String
RATIOOPERAND_Multiply
Multiply = Mstatic 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, 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 int
get_AccessLevel()
AccessLevelI_C_ElementValue
getAccount()
int
getAccount_ID()
Get Account.BigDecimal
getConstantValue()
Get Constant Value.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.I_PA_MeasureCalc
getPA_MeasureCalc()
int
getPA_MeasureCalc_ID()
Get Measure Calculation.I_PA_Ratio
getPA_Ratio()
int
getPA_Ratio_ID()
Get Ratio.int
getPA_RatioElement_ID()
Get Ratio Element.String
getPA_RatioElement_UU()
Get PA_RatioElement_UU.I_PA_Ratio
getPA_RatioUsed()
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 Datavoid
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_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 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, 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_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAccount
public I_C_ElementValue getAccount() throws RuntimeException
- 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
public void setConstantValue(BigDecimal ConstantValue)
Set Constant Value.- Specified by:
setConstantValue
in interfaceI_PA_RatioElement
- Parameters:
ConstantValue
- Constant value
-
getConstantValue
public BigDecimal getConstantValue()
Get Constant Value.- Specified by:
getConstantValue
in interfaceI_PA_RatioElement
- Returns:
- Constant value
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_PA_RatioElement
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_PA_RatioElement
- Returns:
- Optional short description of the record
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_PA_RatioElement
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_PA_RatioElement
- Returns:
- Alphanumeric identifier of the entity
-
getPA_MeasureCalc
public I_PA_MeasureCalc getPA_MeasureCalc() throws RuntimeException
- 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
public void setPA_RatioElement_UU(String PA_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
public String getPA_RatioElement_UU()
Get PA_RatioElement_UU.- Specified by:
getPA_RatioElement_UU
in interfaceI_PA_RatioElement
- Returns:
- PA_RatioElement_UU
-
getPA_Ratio
public I_PA_Ratio getPA_Ratio() throws RuntimeException
- 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
public I_PA_Ratio getPA_RatioUsed() throws RuntimeException
- 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
public void setPostingType(String PostingType)
Set PostingType.- Specified by:
setPostingType
in interfaceI_PA_RatioElement
- Parameters:
PostingType
- The type of posted amount for the transaction
-
getPostingType
public String getPostingType()
Get PostingType.- Specified by:
getPostingType
in interfaceI_PA_RatioElement
- Returns:
- The type of posted amount for the transaction
-
setRatioElementType
public void setRatioElementType(String RatioElementType)
Set Element Type.- Specified by:
setRatioElementType
in interfaceI_PA_RatioElement
- Parameters:
RatioElementType
- Ratio Element Type
-
getRatioElementType
public String getRatioElementType()
Get Element Type.- Specified by:
getRatioElementType
in interfaceI_PA_RatioElement
- Returns:
- Ratio Element Type
-
setRatioOperand
public void setRatioOperand(String RatioOperand)
Set Operand.- Specified by:
setRatioOperand
in interfaceI_PA_RatioElement
- Parameters:
RatioOperand
- Ratio Operand
-
getRatioOperand
public String 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
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
-