Package org.compiere.model
Class X_PA_Measure
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_PA_Measure
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_PA_Measure
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MMeasure
public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent
Generated Model for PA_Measure- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MEASUREDATATYPE_AD_Reference_ID
MeasureDataType AD_Reference_ID=369static String
MEASUREDATATYPE_QtyAmountInTime
Qty/Amount in Time = Tstatic String
MEASUREDATATYPE_StatusQtyAmount
Status Qty/Amount = Sstatic String
MEASURETYPE_Achievements
Achievements = Astatic int
MEASURETYPE_AD_Reference_ID
MeasureType AD_Reference_ID=231static String
MEASURETYPE_Calculated
Calculated = Cstatic String
MEASURETYPE_Manual
Manual = Mstatic String
MEASURETYPE_Project
Project = Pstatic String
MEASURETYPE_Ratio
Ratio = Rstatic String
MEASURETYPE_Request
Request = Qstatic String
MEASURETYPE_UserDefined
User defined = U-
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_Measure
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_ProjectType_ID, COLUMNNAME_CalculationClass, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_ManualActual, COLUMNNAME_ManualNote, COLUMNNAME_MeasureDataType, COLUMNNAME_MeasureType, COLUMNNAME_Name, COLUMNNAME_PA_Benchmark_ID, COLUMNNAME_PA_Hierarchy_ID, COLUMNNAME_PA_Measure_ID, COLUMNNAME_PA_Measure_UU, COLUMNNAME_PA_MeasureCalc_ID, COLUMNNAME_PA_Ratio_ID, COLUMNNAME_R_RequestType_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_PA_Measure(Properties ctx, int PA_Measure_ID, String trxName)
Standard ConstructorX_PA_Measure(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_ProjectType
getC_ProjectType()
int
getC_ProjectType_ID()
Get Project Type.String
getCalculationClass()
Get Calculation Class.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameBigDecimal
getManualActual()
Get Manual Actual.String
getManualNote()
Get Note.String
getMeasureDataType()
Get Measure Data Type.String
getMeasureType()
Get Measure Type.String
getName()
Get Name.I_PA_Benchmark
getPA_Benchmark()
int
getPA_Benchmark_ID()
Get Benchmark.I_PA_Hierarchy
getPA_Hierarchy()
int
getPA_Hierarchy_ID()
Get Reporting Hierarchy.int
getPA_Measure_ID()
Get Measure.String
getPA_Measure_UU()
Get PA_Measure_UU.I_PA_MeasureCalc
getPA_MeasureCalc()
int
getPA_MeasureCalc_ID()
Get Measure Calculation.I_PA_Ratio
getPA_Ratio()
int
getPA_Ratio_ID()
Get Ratio.I_R_RequestType
getR_RequestType()
int
getR_RequestType_ID()
Get Request Type.protected POInfo
initPO(Properties ctx)
Load Meta Datavoid
setC_ProjectType_ID(int C_ProjectType_ID)
Set Project Type.void
setCalculationClass(String CalculationClass)
Set Calculation Class.void
setDescription(String Description)
Set Description.void
setManualActual(BigDecimal ManualActual)
Set Manual Actual.void
setManualNote(String ManualNote)
Set Note.void
setMeasureDataType(String MeasureDataType)
Set Measure Data Type.void
setMeasureType(String MeasureType)
Set Measure Type.void
setName(String Name)
Set Name.void
setPA_Benchmark_ID(int PA_Benchmark_ID)
Set Benchmark.void
setPA_Hierarchy_ID(int PA_Hierarchy_ID)
Set Reporting Hierarchy.void
setPA_Measure_ID(int PA_Measure_ID)
Set Measure.void
setPA_Measure_UU(String PA_Measure_UU)
Set PA_Measure_UU.void
setPA_MeasureCalc_ID(int PA_MeasureCalc_ID)
Set Measure Calculation.void
setPA_Ratio_ID(int PA_Ratio_ID)
Set Ratio.void
setR_RequestType_ID(int R_RequestType_ID)
Set Request Type.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_Measure
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
-
MEASUREDATATYPE_AD_Reference_ID
public static final int MEASUREDATATYPE_AD_Reference_ID
MeasureDataType AD_Reference_ID=369- See Also:
- Constant Field Values
-
MEASUREDATATYPE_StatusQtyAmount
public static final String MEASUREDATATYPE_StatusQtyAmount
Status Qty/Amount = S- See Also:
- Constant Field Values
-
MEASUREDATATYPE_QtyAmountInTime
public static final String MEASUREDATATYPE_QtyAmountInTime
Qty/Amount in Time = T- See Also:
- Constant Field Values
-
MEASURETYPE_AD_Reference_ID
public static final int MEASURETYPE_AD_Reference_ID
MeasureType AD_Reference_ID=231- See Also:
- Constant Field Values
-
MEASURETYPE_Achievements
public static final String MEASURETYPE_Achievements
Achievements = A- See Also:
- Constant Field Values
-
MEASURETYPE_Calculated
public static final String MEASURETYPE_Calculated
Calculated = C- See Also:
- Constant Field Values
-
MEASURETYPE_Manual
public static final String MEASURETYPE_Manual
Manual = M- See Also:
- Constant Field Values
-
MEASURETYPE_Project
public static final String MEASURETYPE_Project
Project = P- See Also:
- Constant Field Values
-
MEASURETYPE_Request
public static final String MEASURETYPE_Request
Request = Q- See Also:
- Constant Field Values
-
MEASURETYPE_Ratio
public static final String MEASURETYPE_Ratio
Ratio = R- See Also:
- Constant Field Values
-
MEASURETYPE_UserDefined
public static final String MEASURETYPE_UserDefined
User defined = U- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_PA_Measure
public X_PA_Measure(Properties ctx, int PA_Measure_ID, String trxName)
Standard Constructor
-
X_PA_Measure
public X_PA_Measure(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setCalculationClass
public void setCalculationClass(String CalculationClass)
Set Calculation Class.- Specified by:
setCalculationClass
in interfaceI_PA_Measure
- Parameters:
CalculationClass
- Java Class for calculation, implementing Interface Measure
-
getCalculationClass
public String getCalculationClass()
Get Calculation Class.- Specified by:
getCalculationClass
in interfaceI_PA_Measure
- Returns:
- Java Class for calculation, implementing Interface Measure
-
getC_ProjectType
public I_C_ProjectType getC_ProjectType() throws RuntimeException
- Specified by:
getC_ProjectType
in interfaceI_PA_Measure
- Throws:
RuntimeException
-
setC_ProjectType_ID
public void setC_ProjectType_ID(int C_ProjectType_ID)
Set Project Type.- Specified by:
setC_ProjectType_ID
in interfaceI_PA_Measure
- Parameters:
C_ProjectType_ID
- Type of the project
-
getC_ProjectType_ID
public int getC_ProjectType_ID()
Get Project Type.- Specified by:
getC_ProjectType_ID
in interfaceI_PA_Measure
- Returns:
- Type of the project
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_PA_Measure
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_PA_Measure
- Returns:
- Optional short description of the record
-
setManualActual
public void setManualActual(BigDecimal ManualActual)
Set Manual Actual.- Specified by:
setManualActual
in interfaceI_PA_Measure
- Parameters:
ManualActual
- Manually entered actual value
-
getManualActual
public BigDecimal getManualActual()
Get Manual Actual.- Specified by:
getManualActual
in interfaceI_PA_Measure
- Returns:
- Manually entered actual value
-
setManualNote
public void setManualNote(String ManualNote)
Set Note.- Specified by:
setManualNote
in interfaceI_PA_Measure
- Parameters:
ManualNote
- Note for manual entry
-
getManualNote
public String getManualNote()
Get Note.- Specified by:
getManualNote
in interfaceI_PA_Measure
- Returns:
- Note for manual entry
-
setMeasureDataType
public void setMeasureDataType(String MeasureDataType)
Set Measure Data Type.- Specified by:
setMeasureDataType
in interfaceI_PA_Measure
- Parameters:
MeasureDataType
- Type of data - Status or in Time
-
getMeasureDataType
public String getMeasureDataType()
Get Measure Data Type.- Specified by:
getMeasureDataType
in interfaceI_PA_Measure
- Returns:
- Type of data - Status or in Time
-
setMeasureType
public void setMeasureType(String MeasureType)
Set Measure Type.- Specified by:
setMeasureType
in interfaceI_PA_Measure
- Parameters:
MeasureType
- Determines how the actual performance is derived
-
getMeasureType
public String getMeasureType()
Get Measure Type.- Specified by:
getMeasureType
in interfaceI_PA_Measure
- Returns:
- Determines how the actual performance is derived
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_PA_Measure
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_PA_Measure
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getPA_Benchmark
public I_PA_Benchmark getPA_Benchmark() throws RuntimeException
- Specified by:
getPA_Benchmark
in interfaceI_PA_Measure
- Throws:
RuntimeException
-
setPA_Benchmark_ID
public void setPA_Benchmark_ID(int PA_Benchmark_ID)
Set Benchmark.- Specified by:
setPA_Benchmark_ID
in interfaceI_PA_Measure
- Parameters:
PA_Benchmark_ID
- Performance Benchmark
-
getPA_Benchmark_ID
public int getPA_Benchmark_ID()
Get Benchmark.- Specified by:
getPA_Benchmark_ID
in interfaceI_PA_Measure
- Returns:
- Performance Benchmark
-
getPA_Hierarchy
public I_PA_Hierarchy getPA_Hierarchy() throws RuntimeException
- Specified by:
getPA_Hierarchy
in interfaceI_PA_Measure
- Throws:
RuntimeException
-
setPA_Hierarchy_ID
public void setPA_Hierarchy_ID(int PA_Hierarchy_ID)
Set Reporting Hierarchy.- Specified by:
setPA_Hierarchy_ID
in interfaceI_PA_Measure
- Parameters:
PA_Hierarchy_ID
- Optional Reporting Hierarchy - If not selected the default hierarchy trees are used.
-
getPA_Hierarchy_ID
public int getPA_Hierarchy_ID()
Get Reporting Hierarchy.- Specified by:
getPA_Hierarchy_ID
in interfaceI_PA_Measure
- Returns:
- Optional Reporting Hierarchy - If not selected the default hierarchy trees are used.
-
getPA_MeasureCalc
public I_PA_MeasureCalc getPA_MeasureCalc() throws RuntimeException
- Specified by:
getPA_MeasureCalc
in interfaceI_PA_Measure
- 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_Measure
- 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_Measure
- Returns:
- Calculation method for measuring performance
-
setPA_Measure_ID
public void setPA_Measure_ID(int PA_Measure_ID)
Set Measure.- Specified by:
setPA_Measure_ID
in interfaceI_PA_Measure
- Parameters:
PA_Measure_ID
- Concrete Performance Measurement
-
getPA_Measure_ID
public int getPA_Measure_ID()
Get Measure.- Specified by:
getPA_Measure_ID
in interfaceI_PA_Measure
- Returns:
- Concrete Performance Measurement
-
setPA_Measure_UU
public void setPA_Measure_UU(String PA_Measure_UU)
Set PA_Measure_UU.- Specified by:
setPA_Measure_UU
in interfaceI_PA_Measure
- Parameters:
PA_Measure_UU
- PA_Measure_UU
-
getPA_Measure_UU
public String getPA_Measure_UU()
Get PA_Measure_UU.- Specified by:
getPA_Measure_UU
in interfaceI_PA_Measure
- Returns:
- PA_Measure_UU
-
getPA_Ratio
public I_PA_Ratio getPA_Ratio() throws RuntimeException
- Specified by:
getPA_Ratio
in interfaceI_PA_Measure
- Throws:
RuntimeException
-
setPA_Ratio_ID
public void setPA_Ratio_ID(int PA_Ratio_ID)
Set Ratio.- Specified by:
setPA_Ratio_ID
in interfaceI_PA_Measure
- Parameters:
PA_Ratio_ID
- Performance Ratio
-
getPA_Ratio_ID
public int getPA_Ratio_ID()
Get Ratio.- Specified by:
getPA_Ratio_ID
in interfaceI_PA_Measure
- Returns:
- Performance Ratio
-
getR_RequestType
public I_R_RequestType getR_RequestType() throws RuntimeException
- Specified by:
getR_RequestType
in interfaceI_PA_Measure
- Throws:
RuntimeException
-
setR_RequestType_ID
public void setR_RequestType_ID(int R_RequestType_ID)
Set Request Type.- Specified by:
setR_RequestType_ID
in interfaceI_PA_Measure
- Parameters:
R_RequestType_ID
- Type of request (e.g. Inquiry, Complaint, ..)
-
getR_RequestType_ID
public int getR_RequestType_ID()
Get Request Type.- Specified by:
getR_RequestType_ID
in interfaceI_PA_Measure
- Returns:
- Type of request (e.g. Inquiry, Complaint, ..)
-
-