Compiere 3.1

org.compiere.model
Class X_PA_RatioElement

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_PA_RatioElement
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee

public class X_PA_RatioElement
extends PO

Generated Model for PA_RatioElement

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int ACCOUNT_ID_AD_Reference_ID
          Account_ID AD_Reference_ID=331
protected static KeyNamePair Model
           
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
static int Table_ID
          AD_Table_ID=836
static String Table_Name
          TableName=PA_RatioElement
static long updatedMS
          Last Updated Timestamp 2008-06-10 15:12:06.0
 
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
X_PA_RatioElement(Ctx ctx, int PA_RatioElement_ID, String trxName)
          Standard Constructor
X_PA_RatioElement(Ctx 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.
 int getPA_Ratio_ID()
          Get 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(Ctx ctx)
          Load Meta Data
 boolean isPostingTypeValid(String test)
          Is test a valid value.
 boolean isRatioElementTypeValid(String test)
          Is test a valid value.
 boolean isRatioOperandValid(String test)
          Is test a valid value.
 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()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=836

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=PA_RatioElement

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

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_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(Ctx ctx,
                         int PA_RatioElement_ID,
                         String trxName)
Standard Constructor

Parameters:
ctx - context
PA_RatioElement_ID - id
trxName - transaction

X_PA_RatioElement

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

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

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

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

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

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAccount_ID

public void setAccount_ID(int Account_ID)
Set Account.

Parameters:
Account_ID - Account used

getAccount_ID

public int getAccount_ID()
Get Account.

Returns:
Account used

setConstantValue

public void setConstantValue(BigDecimal ConstantValue)
Set Constant Value.

Parameters:
ConstantValue - Constant value

getConstantValue

public BigDecimal getConstantValue()
Get Constant Value.

Returns:
Constant value

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setName

public void setName(String Name)
Set Name.

Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Returns:
Alphanumeric identifier of the entity

setPA_MeasureCalc_ID

public void setPA_MeasureCalc_ID(int PA_MeasureCalc_ID)
Set Measure Calculation.

Parameters:
PA_MeasureCalc_ID - Calculation method for measuring performance

getPA_MeasureCalc_ID

public int getPA_MeasureCalc_ID()
Get Measure Calculation.

Returns:
Calculation method for measuring performance

setPA_RatioElement_ID

public void setPA_RatioElement_ID(int PA_RatioElement_ID)
Set Ratio Element.

Parameters:
PA_RatioElement_ID - Performance Ratio Element

getPA_RatioElement_ID

public int getPA_RatioElement_ID()
Get Ratio Element.

Returns:
Performance Ratio Element

setPA_RatioUsed_ID

public void setPA_RatioUsed_ID(int PA_RatioUsed_ID)
Set Ratio Used.

Parameters:
PA_RatioUsed_ID - Performance Ratio Used

getPA_RatioUsed_ID

public int getPA_RatioUsed_ID()
Get Ratio Used.

Returns:
Performance Ratio Used

setPA_Ratio_ID

public void setPA_Ratio_ID(int PA_Ratio_ID)
Set Ratio.

Parameters:
PA_Ratio_ID - Performance Ratio

getPA_Ratio_ID

public int getPA_Ratio_ID()
Get Ratio.

Returns:
Performance Ratio

isPostingTypeValid

public boolean isPostingTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setPostingType

public void setPostingType(String PostingType)
Set PostingType.

Parameters:
PostingType - The type of posted amount for the transaction

getPostingType

public String getPostingType()
Get PostingType.

Returns:
The type of posted amount for the transaction

isRatioElementTypeValid

public boolean isRatioElementTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setRatioElementType

public void setRatioElementType(String RatioElementType)
Set Element Type.

Parameters:
RatioElementType - Ratio Element Type

getRatioElementType

public String getRatioElementType()
Get Element Type.

Returns:
Ratio Element Type

isRatioOperandValid

public boolean isRatioOperandValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setRatioOperand

public void setRatioOperand(String RatioOperand)
Set Operand.

Parameters:
RatioOperand - Ratio Operand

getRatioOperand

public String getRatioOperand()
Get Operand.

Returns:
Ratio Operand

setSeqNo

public void setSeqNo(int SeqNo)
Set Sequence.

Parameters:
SeqNo - Method of ordering elements; lowest number comes first

getSeqNo

public int getSeqNo()
Get Sequence.

Returns:
Method of ordering elements; lowest number comes first

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.