Package org.compiere.model
Class X_PA_Goal
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_PA_Goal
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_PA_Goal
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MGoal
Generated Model for PA_Goal
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ChartType AD_Reference_ID=53315static final String
Area Chart = ACstatic final String
Bar Chart = BCstatic final String
Line Chart = LCstatic final String
Pie Chart = PCstatic final String
Ring Chart = RCstatic final String
Waterfall Chart = WCstatic final int
MeasureDisplay AD_Reference_ID=367static final String
Day = 8static final String
Month = 5static final String
Quarter = 3static final String
Total = 0static final String
Week = 7static final String
Year = 1static final int
MeasureScope AD_Reference_ID=367static final String
Day = 8static final String
Month = 5static final String
Quarter = 3static final String
Total = 0static final String
Week = 7static final String
Year = 1Fields 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_Goal
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Role_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_ChartType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateFrom, COLUMNNAME_DateLastRun, COLUMNNAME_DateTo, COLUMNNAME_Description, COLUMNNAME_GoalPerformance, COLUMNNAME_IsActive, COLUMNNAME_IsSummary, COLUMNNAME_MeasureActual, COLUMNNAME_MeasureDisplay, COLUMNNAME_MeasureScope, COLUMNNAME_MeasureTarget, COLUMNNAME_Name, COLUMNNAME_Note, COLUMNNAME_PA_ColorSchema_ID, COLUMNNAME_PA_Goal_ID, COLUMNNAME_PA_Goal_UU, COLUMNNAME_PA_GoalParent_ID, COLUMNNAME_PA_Measure_ID, COLUMNNAME_RelativeWeight, COLUMNNAME_SeqNo, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_PA_Goal
(Properties ctx, int PA_Goal_ID, String trxName) Standard ConstructorX_PA_Goal
(Properties ctx, int PA_Goal_ID, String trxName, String... virtualColumns) Standard ConstructorX_PA_Goal
(Properties ctx, String PA_Goal_UU, String trxName) Standard ConstructorX_PA_Goal
(Properties ctx, String PA_Goal_UU, String trxName, String... virtualColumns) Standard ConstructorX_PA_Goal
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Role.int
Get User/Contact.Get Chart Type.Get Date From.Get Date Last Run.Get Date To.Get Description.Get Performance Goal.Get Record ID/ColumnNameGet Measure Actual.Get Measure Display.Get Measure Scope.Get Measure Target.getName()
Get Name.getNote()
Get Note.int
Get Color Schema.int
Get Goal.Get PA_Goal_UU.int
Get Parent Goal.int
Get Measure.Get Relative Weight.int
getSeqNo()
Get Sequence.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Summary Level.void
setAD_Role_ID
(int AD_Role_ID) Set Role.void
setAD_User_ID
(int AD_User_ID) Set User/Contact.void
setChartType
(String ChartType) Set Chart Type.void
setDateFrom
(Timestamp DateFrom) Set Date From.void
setDateLastRun
(Timestamp DateLastRun) Set Date Last Run.void
Set Date To.void
setDescription
(String Description) Set Description.void
setGoalPerformance
(BigDecimal GoalPerformance) Set Performance Goal.void
setIsSummary
(boolean IsSummary) Set Summary Level.void
setMeasureActual
(BigDecimal MeasureActual) Set Measure Actual.void
setMeasureDisplay
(String MeasureDisplay) Set Measure Display.void
setMeasureScope
(String MeasureScope) Set Measure Scope.void
setMeasureTarget
(BigDecimal MeasureTarget) Set Measure Target.void
Set Name.void
Set Note.void
setPA_ColorSchema_ID
(int PA_ColorSchema_ID) Set Color Schema.void
setPA_Goal_ID
(int PA_Goal_ID) Set Goal.void
setPA_Goal_UU
(String PA_Goal_UU) Set PA_Goal_UU.void
setPA_GoalParent_ID
(int PA_GoalParent_ID) Set Parent Goal.void
setPA_Measure_ID
(int PA_Measure_ID) Set Measure.void
setRelativeWeight
(BigDecimal RelativeWeight) Set Relative Weight.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_Goal
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
-
CHARTTYPE_AD_Reference_ID
public static final int CHARTTYPE_AD_Reference_IDChartType AD_Reference_ID=53315- See Also:
-
CHARTTYPE_AreaChart
Area Chart = AC- See Also:
-
CHARTTYPE_BarChart
Bar Chart = BC- See Also:
-
CHARTTYPE_LineChart
Line Chart = LC- See Also:
-
CHARTTYPE_PieChart
Pie Chart = PC- See Also:
-
CHARTTYPE_RingChart
Ring Chart = RC- See Also:
-
CHARTTYPE_WaterfallChart
Waterfall Chart = WC- See Also:
-
MEASUREDISPLAY_AD_Reference_ID
public static final int MEASUREDISPLAY_AD_Reference_IDMeasureDisplay AD_Reference_ID=367- See Also:
-
MEASUREDISPLAY_Total
Total = 0- See Also:
-
MEASUREDISPLAY_Year
Year = 1- See Also:
-
MEASUREDISPLAY_Quarter
Quarter = 3- See Also:
-
MEASUREDISPLAY_Month
Month = 5- See Also:
-
MEASUREDISPLAY_Week
Week = 7- See Also:
-
MEASUREDISPLAY_Day
Day = 8- See Also:
-
MEASURESCOPE_AD_Reference_ID
public static final int MEASURESCOPE_AD_Reference_IDMeasureScope AD_Reference_ID=367- See Also:
-
MEASURESCOPE_Total
Total = 0- See Also:
-
MEASURESCOPE_Year
Year = 1- See Also:
-
MEASURESCOPE_Quarter
Quarter = 3- See Also:
-
MEASURESCOPE_Month
Month = 5- See Also:
-
MEASURESCOPE_Week
Week = 7- See Also:
-
MEASURESCOPE_Day
Day = 8- See Also:
-
-
Constructor Details
-
X_PA_Goal
Standard Constructor -
X_PA_Goal
Standard Constructor -
X_PA_Goal
Standard Constructor -
X_PA_Goal
Standard Constructor -
X_PA_Goal
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_Role
- Specified by:
getAD_Role
in interfaceI_PA_Goal
- Throws:
RuntimeException
-
setAD_Role_ID
public void setAD_Role_ID(int AD_Role_ID) Set Role.- Specified by:
setAD_Role_ID
in interfaceI_PA_Goal
- Parameters:
AD_Role_ID
- Responsibility Role
-
getAD_Role_ID
public int getAD_Role_ID()Get Role.- Specified by:
getAD_Role_ID
in interfaceI_PA_Goal
- Returns:
- Responsibility Role
-
getAD_User
- Specified by:
getAD_User
in interfaceI_PA_Goal
- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID) Set User/Contact.- Specified by:
setAD_User_ID
in interfaceI_PA_Goal
- Parameters:
AD_User_ID
- User within the system - Internal or Business Partner Contact
-
getAD_User_ID
public int getAD_User_ID()Get User/Contact.- Specified by:
getAD_User_ID
in interfaceI_PA_Goal
- Returns:
- User within the system - Internal or Business Partner Contact
-
setChartType
Set Chart Type.- Specified by:
setChartType
in interfaceI_PA_Goal
- Parameters:
ChartType
- Type of chart to render
-
getChartType
Get Chart Type.- Specified by:
getChartType
in interfaceI_PA_Goal
- Returns:
- Type of chart to render
-
setDateFrom
Set Date From.- Specified by:
setDateFrom
in interfaceI_PA_Goal
- Parameters:
DateFrom
- Starting date for a range
-
getDateFrom
Get Date From.- Specified by:
getDateFrom
in interfaceI_PA_Goal
- Returns:
- Starting date for a range
-
setDateLastRun
Set Date Last Run.- Specified by:
setDateLastRun
in interfaceI_PA_Goal
- Parameters:
DateLastRun
- Date the process was last run.
-
getDateLastRun
Get Date Last Run.- Specified by:
getDateLastRun
in interfaceI_PA_Goal
- Returns:
- Date the process was last run.
-
setDateTo
Set Date To. -
getDateTo
Get Date To. -
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_PA_Goal
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_PA_Goal
- Returns:
- Optional short description of the record
-
setGoalPerformance
Set Performance Goal.- Specified by:
setGoalPerformance
in interfaceI_PA_Goal
- Parameters:
GoalPerformance
- Target achievement from 0..1
-
getGoalPerformance
Get Performance Goal.- Specified by:
getGoalPerformance
in interfaceI_PA_Goal
- Returns:
- Target achievement from 0..1
-
setIsSummary
public void setIsSummary(boolean IsSummary) Set Summary Level.- Specified by:
setIsSummary
in interfaceI_PA_Goal
- Parameters:
IsSummary
- This is a summary entity
-
isSummary
public boolean isSummary()Get Summary Level. -
setMeasureActual
Set Measure Actual.- Specified by:
setMeasureActual
in interfaceI_PA_Goal
- Parameters:
MeasureActual
- Actual value that has been measured.
-
getMeasureActual
Get Measure Actual.- Specified by:
getMeasureActual
in interfaceI_PA_Goal
- Returns:
- Actual value that has been measured.
-
setMeasureDisplay
Set Measure Display.- Specified by:
setMeasureDisplay
in interfaceI_PA_Goal
- Parameters:
MeasureDisplay
- Measure Scope initially displayed
-
getMeasureDisplay
Get Measure Display.- Specified by:
getMeasureDisplay
in interfaceI_PA_Goal
- Returns:
- Measure Scope initially displayed
-
setMeasureScope
Set Measure Scope.- Specified by:
setMeasureScope
in interfaceI_PA_Goal
- Parameters:
MeasureScope
- Performance Measure Scope
-
getMeasureScope
Get Measure Scope.- Specified by:
getMeasureScope
in interfaceI_PA_Goal
- Returns:
- Performance Measure Scope
-
setMeasureTarget
Set Measure Target.- Specified by:
setMeasureTarget
in interfaceI_PA_Goal
- Parameters:
MeasureTarget
- Target value for measure
-
getMeasureTarget
Get Measure Target.- Specified by:
getMeasureTarget
in interfaceI_PA_Goal
- Returns:
- Target value for measure
-
setName
Set Name. -
getName
Get Name. -
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setNote
Set Note. -
getNote
Get Note. -
getPA_ColorSchema
- Specified by:
getPA_ColorSchema
in interfaceI_PA_Goal
- Throws:
RuntimeException
-
setPA_ColorSchema_ID
public void setPA_ColorSchema_ID(int PA_ColorSchema_ID) Set Color Schema.- Specified by:
setPA_ColorSchema_ID
in interfaceI_PA_Goal
- Parameters:
PA_ColorSchema_ID
- Performance Color Schema
-
getPA_ColorSchema_ID
public int getPA_ColorSchema_ID()Get Color Schema.- Specified by:
getPA_ColorSchema_ID
in interfaceI_PA_Goal
- Returns:
- Performance Color Schema
-
setPA_Goal_ID
public void setPA_Goal_ID(int PA_Goal_ID) Set Goal.- Specified by:
setPA_Goal_ID
in interfaceI_PA_Goal
- Parameters:
PA_Goal_ID
- Performance Goal
-
getPA_Goal_ID
public int getPA_Goal_ID()Get Goal.- Specified by:
getPA_Goal_ID
in interfaceI_PA_Goal
- Returns:
- Performance Goal
-
getPA_GoalParent
- Specified by:
getPA_GoalParent
in interfaceI_PA_Goal
- Throws:
RuntimeException
-
setPA_GoalParent_ID
public void setPA_GoalParent_ID(int PA_GoalParent_ID) Set Parent Goal.- Specified by:
setPA_GoalParent_ID
in interfaceI_PA_Goal
- Parameters:
PA_GoalParent_ID
- Parent Goal
-
getPA_GoalParent_ID
public int getPA_GoalParent_ID()Get Parent Goal.- Specified by:
getPA_GoalParent_ID
in interfaceI_PA_Goal
- Returns:
- Parent Goal
-
setPA_Goal_UU
Set PA_Goal_UU.- Specified by:
setPA_Goal_UU
in interfaceI_PA_Goal
- Parameters:
PA_Goal_UU
- PA_Goal_UU
-
getPA_Goal_UU
Get PA_Goal_UU.- Specified by:
getPA_Goal_UU
in interfaceI_PA_Goal
- Returns:
- PA_Goal_UU
-
getPA_Measure
- Specified by:
getPA_Measure
in interfaceI_PA_Goal
- Throws:
RuntimeException
-
setPA_Measure_ID
public void setPA_Measure_ID(int PA_Measure_ID) Set Measure.- Specified by:
setPA_Measure_ID
in interfaceI_PA_Goal
- 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_Goal
- Returns:
- Concrete Performance Measurement
-
setRelativeWeight
Set Relative Weight.- Specified by:
setRelativeWeight
in interfaceI_PA_Goal
- Parameters:
RelativeWeight
- Relative weight of this step (0 = ignored)
-
getRelativeWeight
Get Relative Weight.- Specified by:
getRelativeWeight
in interfaceI_PA_Goal
- Returns:
- Relative weight of this step (0 = ignored)
-
setSeqNo
public void setSeqNo(int SeqNo) Set Sequence. -
getSeqNo
public int getSeqNo()Get Sequence.
-