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
public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent
Generated Model for PA_Goal- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
CHARTTYPE_AD_Reference_ID
ChartType AD_Reference_ID=53315static String
CHARTTYPE_AreaChart
Area Chart = ACstatic String
CHARTTYPE_BarChart
Bar Chart = BCstatic String
CHARTTYPE_LineChart
Line Chart = LCstatic String
CHARTTYPE_PieChart
Pie Chart = PCstatic String
CHARTTYPE_RingChart
Ring Chart = RCstatic String
CHARTTYPE_WaterfallChart
Waterfall Chart = WCstatic int
MEASUREDISPLAY_AD_Reference_ID
MeasureDisplay AD_Reference_ID=367static String
MEASUREDISPLAY_Day
Day = 8static String
MEASUREDISPLAY_Month
Month = 5static String
MEASUREDISPLAY_Quarter
Quarter = 3static String
MEASUREDISPLAY_Total
Total = 0static String
MEASUREDISPLAY_Week
Week = 7static String
MEASUREDISPLAY_Year
Year = 1static int
MEASURESCOPE_AD_Reference_ID
MeasureScope AD_Reference_ID=367static String
MEASURESCOPE_Day
Day = 8static String
MEASURESCOPE_Month
Month = 5static String
MEASURESCOPE_Quarter
Quarter = 3static String
MEASURESCOPE_Total
Total = 0static String
MEASURESCOPE_Week
Week = 7static String
MEASURESCOPE_Year
Year = 1-
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_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
Constructors Constructor Description X_PA_Goal(Properties ctx, int PA_Goal_ID, String trxName)
Standard ConstructorX_PA_Goal(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_AD_Role
getAD_Role()
int
getAD_Role_ID()
Get Role.I_AD_User
getAD_User()
int
getAD_User_ID()
Get User/Contact.String
getChartType()
Get Chart Type.Timestamp
getDateFrom()
Get Date From.Timestamp
getDateLastRun()
Get Date last run.Timestamp
getDateTo()
Get Date To.String
getDescription()
Get Description.BigDecimal
getGoalPerformance()
Get Performance Goal.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameBigDecimal
getMeasureActual()
Get Measure Actual.String
getMeasureDisplay()
Get Measure Display.String
getMeasureScope()
Get Measure Scope.BigDecimal
getMeasureTarget()
Get Measure Target.String
getName()
Get Name.String
getNote()
Get Note.I_PA_ColorSchema
getPA_ColorSchema()
int
getPA_ColorSchema_ID()
Get Color Schema.int
getPA_Goal_ID()
Get Goal.String
getPA_Goal_UU()
Get PA_Goal_UU.I_PA_Goal
getPA_GoalParent()
int
getPA_GoalParent_ID()
Get Parent Goal.I_PA_Measure
getPA_Measure()
int
getPA_Measure_ID()
Get Measure.BigDecimal
getRelativeWeight()
Get Relative Weight.int
getSeqNo()
Get Sequence.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isSummary()
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
setDateTo(Timestamp DateTo)
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
setName(String Name)
Set Name.void
setNote(String Note)
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.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_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 Detail
-
CHARTTYPE_AD_Reference_ID
public static final int CHARTTYPE_AD_Reference_ID
ChartType AD_Reference_ID=53315- See Also:
- Constant Field Values
-
CHARTTYPE_AreaChart
public static final String CHARTTYPE_AreaChart
Area Chart = AC- See Also:
- Constant Field Values
-
CHARTTYPE_BarChart
public static final String CHARTTYPE_BarChart
Bar Chart = BC- See Also:
- Constant Field Values
-
CHARTTYPE_LineChart
public static final String CHARTTYPE_LineChart
Line Chart = LC- See Also:
- Constant Field Values
-
CHARTTYPE_PieChart
public static final String CHARTTYPE_PieChart
Pie Chart = PC- See Also:
- Constant Field Values
-
CHARTTYPE_RingChart
public static final String CHARTTYPE_RingChart
Ring Chart = RC- See Also:
- Constant Field Values
-
CHARTTYPE_WaterfallChart
public static final String CHARTTYPE_WaterfallChart
Waterfall Chart = WC- See Also:
- Constant Field Values
-
MEASUREDISPLAY_AD_Reference_ID
public static final int MEASUREDISPLAY_AD_Reference_ID
MeasureDisplay AD_Reference_ID=367- See Also:
- Constant Field Values
-
MEASUREDISPLAY_Total
public static final String MEASUREDISPLAY_Total
Total = 0- See Also:
- Constant Field Values
-
MEASUREDISPLAY_Year
public static final String MEASUREDISPLAY_Year
Year = 1- See Also:
- Constant Field Values
-
MEASUREDISPLAY_Quarter
public static final String MEASUREDISPLAY_Quarter
Quarter = 3- See Also:
- Constant Field Values
-
MEASUREDISPLAY_Month
public static final String MEASUREDISPLAY_Month
Month = 5- See Also:
- Constant Field Values
-
MEASUREDISPLAY_Week
public static final String MEASUREDISPLAY_Week
Week = 7- See Also:
- Constant Field Values
-
MEASUREDISPLAY_Day
public static final String MEASUREDISPLAY_Day
Day = 8- See Also:
- Constant Field Values
-
MEASURESCOPE_AD_Reference_ID
public static final int MEASURESCOPE_AD_Reference_ID
MeasureScope AD_Reference_ID=367- See Also:
- Constant Field Values
-
MEASURESCOPE_Total
public static final String MEASURESCOPE_Total
Total = 0- See Also:
- Constant Field Values
-
MEASURESCOPE_Year
public static final String MEASURESCOPE_Year
Year = 1- See Also:
- Constant Field Values
-
MEASURESCOPE_Quarter
public static final String MEASURESCOPE_Quarter
Quarter = 3- See Also:
- Constant Field Values
-
MEASURESCOPE_Month
public static final String MEASURESCOPE_Month
Month = 5- See Also:
- Constant Field Values
-
MEASURESCOPE_Week
public static final String MEASURESCOPE_Week
Week = 7- See Also:
- Constant Field Values
-
MEASURESCOPE_Day
public static final String MEASURESCOPE_Day
Day = 8- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_PA_Goal
public X_PA_Goal(Properties ctx, int PA_Goal_ID, String trxName)
Standard Constructor
-
X_PA_Goal
public X_PA_Goal(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
-
getAD_Role
public I_AD_Role getAD_Role() throws RuntimeException
- 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
public I_AD_User getAD_User() throws RuntimeException
- 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
public void setChartType(String ChartType)
Set Chart Type.- Specified by:
setChartType
in interfaceI_PA_Goal
- Parameters:
ChartType
- Type of chart to render
-
getChartType
public String getChartType()
Get Chart Type.- Specified by:
getChartType
in interfaceI_PA_Goal
- Returns:
- Type of chart to render
-
setDateFrom
public void setDateFrom(Timestamp DateFrom)
Set Date From.- Specified by:
setDateFrom
in interfaceI_PA_Goal
- Parameters:
DateFrom
- Starting date for a range
-
getDateFrom
public Timestamp getDateFrom()
Get Date From.- Specified by:
getDateFrom
in interfaceI_PA_Goal
- Returns:
- Starting date for a range
-
setDateLastRun
public void setDateLastRun(Timestamp DateLastRun)
Set Date last run.- Specified by:
setDateLastRun
in interfaceI_PA_Goal
- Parameters:
DateLastRun
- Date the process was last run.
-
getDateLastRun
public Timestamp getDateLastRun()
Get Date last run.- Specified by:
getDateLastRun
in interfaceI_PA_Goal
- Returns:
- Date the process was last run.
-
setDateTo
public void setDateTo(Timestamp DateTo)
Set Date To.
-
getDateTo
public Timestamp getDateTo()
Get Date To.
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_PA_Goal
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_PA_Goal
- Returns:
- Optional short description of the record
-
setGoalPerformance
public void setGoalPerformance(BigDecimal GoalPerformance)
Set Performance Goal.- Specified by:
setGoalPerformance
in interfaceI_PA_Goal
- Parameters:
GoalPerformance
- Target achievement from 0..1
-
getGoalPerformance
public BigDecimal 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
public void setMeasureActual(BigDecimal MeasureActual)
Set Measure Actual.- Specified by:
setMeasureActual
in interfaceI_PA_Goal
- Parameters:
MeasureActual
- Actual value that has been measured.
-
getMeasureActual
public BigDecimal getMeasureActual()
Get Measure Actual.- Specified by:
getMeasureActual
in interfaceI_PA_Goal
- Returns:
- Actual value that has been measured.
-
setMeasureDisplay
public void setMeasureDisplay(String MeasureDisplay)
Set Measure Display.- Specified by:
setMeasureDisplay
in interfaceI_PA_Goal
- Parameters:
MeasureDisplay
- Measure Scope initially displayed
-
getMeasureDisplay
public String getMeasureDisplay()
Get Measure Display.- Specified by:
getMeasureDisplay
in interfaceI_PA_Goal
- Returns:
- Measure Scope initially displayed
-
setMeasureScope
public void setMeasureScope(String MeasureScope)
Set Measure Scope.- Specified by:
setMeasureScope
in interfaceI_PA_Goal
- Parameters:
MeasureScope
- Performance Measure Scope
-
getMeasureScope
public String getMeasureScope()
Get Measure Scope.- Specified by:
getMeasureScope
in interfaceI_PA_Goal
- Returns:
- Performance Measure Scope
-
setMeasureTarget
public void setMeasureTarget(BigDecimal MeasureTarget)
Set Measure Target.- Specified by:
setMeasureTarget
in interfaceI_PA_Goal
- Parameters:
MeasureTarget
- Target value for measure
-
getMeasureTarget
public BigDecimal getMeasureTarget()
Get Measure Target.- Specified by:
getMeasureTarget
in interfaceI_PA_Goal
- Returns:
- Target value for measure
-
setName
public void setName(String Name)
Set Name.
-
getName
public String getName()
Get Name.
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setNote
public void setNote(String Note)
Set Note.
-
getNote
public String getNote()
Get Note.
-
getPA_ColorSchema
public I_PA_ColorSchema getPA_ColorSchema() throws RuntimeException
- 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
public I_PA_Goal getPA_GoalParent() throws RuntimeException
- 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
public void setPA_Goal_UU(String PA_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
public String getPA_Goal_UU()
Get PA_Goal_UU.- Specified by:
getPA_Goal_UU
in interfaceI_PA_Goal
- Returns:
- PA_Goal_UU
-
getPA_Measure
public I_PA_Measure getPA_Measure() throws RuntimeException
- 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
public void setRelativeWeight(BigDecimal RelativeWeight)
Set Relative Weight.- Specified by:
setRelativeWeight
in interfaceI_PA_Goal
- Parameters:
RelativeWeight
- Relative weight of this step (0 = ignored)
-
getRelativeWeight
public BigDecimal 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.
-
-