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 intCHARTTYPE_AD_Reference_IDChartType AD_Reference_ID=53315static StringCHARTTYPE_AreaChartArea Chart = ACstatic StringCHARTTYPE_BarChartBar Chart = BCstatic StringCHARTTYPE_LineChartLine Chart = LCstatic StringCHARTTYPE_PieChartPie Chart = PCstatic StringCHARTTYPE_RingChartRing Chart = RCstatic StringCHARTTYPE_WaterfallChartWaterfall Chart = WCstatic intMEASUREDISPLAY_AD_Reference_IDMeasureDisplay AD_Reference_ID=367static StringMEASUREDISPLAY_DayDay = 8static StringMEASUREDISPLAY_MonthMonth = 5static StringMEASUREDISPLAY_QuarterQuarter = 3static StringMEASUREDISPLAY_TotalTotal = 0static StringMEASUREDISPLAY_WeekWeek = 7static StringMEASUREDISPLAY_YearYear = 1static intMEASURESCOPE_AD_Reference_IDMeasureScope AD_Reference_ID=367static StringMEASURESCOPE_DayDay = 8static StringMEASURESCOPE_MonthMonth = 5static StringMEASURESCOPE_QuarterQuarter = 3static StringMEASURESCOPE_TotalTotal = 0static StringMEASURESCOPE_WeekWeek = 7static StringMEASURESCOPE_YearYear = 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 intget_AccessLevel()AccessLevelI_AD_RolegetAD_Role()intgetAD_Role_ID()Get Role.I_AD_UsergetAD_User()intgetAD_User_ID()Get User/Contact.StringgetChartType()Get Chart Type.TimestampgetDateFrom()Get Date From.TimestampgetDateLastRun()Get Date last run.TimestampgetDateTo()Get Date To.StringgetDescription()Get Description.BigDecimalgetGoalPerformance()Get Performance Goal.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameBigDecimalgetMeasureActual()Get Measure Actual.StringgetMeasureDisplay()Get Measure Display.StringgetMeasureScope()Get Measure Scope.BigDecimalgetMeasureTarget()Get Measure Target.StringgetName()Get Name.StringgetNote()Get Note.I_PA_ColorSchemagetPA_ColorSchema()intgetPA_ColorSchema_ID()Get Color Schema.intgetPA_Goal_ID()Get Goal.StringgetPA_Goal_UU()Get PA_Goal_UU.I_PA_GoalgetPA_GoalParent()intgetPA_GoalParent_ID()Get Parent Goal.I_PA_MeasuregetPA_Measure()intgetPA_Measure_ID()Get Measure.BigDecimalgetRelativeWeight()Get Relative Weight.intgetSeqNo()Get Sequence.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisSummary()Get Summary Level.voidsetAD_Role_ID(int AD_Role_ID)Set Role.voidsetAD_User_ID(int AD_User_ID)Set User/Contact.voidsetChartType(String ChartType)Set Chart Type.voidsetDateFrom(Timestamp DateFrom)Set Date From.voidsetDateLastRun(Timestamp DateLastRun)Set Date last run.voidsetDateTo(Timestamp DateTo)Set Date To.voidsetDescription(String Description)Set Description.voidsetGoalPerformance(BigDecimal GoalPerformance)Set Performance Goal.voidsetIsSummary(boolean IsSummary)Set Summary Level.voidsetMeasureActual(BigDecimal MeasureActual)Set Measure Actual.voidsetMeasureDisplay(String MeasureDisplay)Set Measure Display.voidsetMeasureScope(String MeasureScope)Set Measure Scope.voidsetMeasureTarget(BigDecimal MeasureTarget)Set Measure Target.voidsetName(String Name)Set Name.voidsetNote(String Note)Set Note.voidsetPA_ColorSchema_ID(int PA_ColorSchema_ID)Set Color Schema.voidsetPA_Goal_ID(int PA_Goal_ID)Set Goal.voidsetPA_Goal_UU(String PA_Goal_UU)Set PA_Goal_UU.voidsetPA_GoalParent_ID(int PA_GoalParent_ID)Set Parent Goal.voidsetPA_Measure_ID(int PA_Measure_ID)Set Measure.voidsetRelativeWeight(BigDecimal RelativeWeight)Set Relative Weight.voidsetSeqNo(int SeqNo)Set Sequence.StringtoString()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_AccessLevelin 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_Rolein interfaceI_PA_Goal- Throws:
RuntimeException
-
setAD_Role_ID
public void setAD_Role_ID(int AD_Role_ID)
Set Role.- Specified by:
setAD_Role_IDin interfaceI_PA_Goal- Parameters:
AD_Role_ID- Responsibility Role
-
getAD_Role_ID
public int getAD_Role_ID()
Get Role.- Specified by:
getAD_Role_IDin interfaceI_PA_Goal- Returns:
- Responsibility Role
-
getAD_User
public I_AD_User getAD_User() throws RuntimeException
- Specified by:
getAD_Userin interfaceI_PA_Goal- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID)
Set User/Contact.- Specified by:
setAD_User_IDin 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_IDin interfaceI_PA_Goal- Returns:
- User within the system - Internal or Business Partner Contact
-
setChartType
public void setChartType(String ChartType)
Set Chart Type.- Specified by:
setChartTypein interfaceI_PA_Goal- Parameters:
ChartType- Type of chart to render
-
getChartType
public String getChartType()
Get Chart Type.- Specified by:
getChartTypein interfaceI_PA_Goal- Returns:
- Type of chart to render
-
setDateFrom
public void setDateFrom(Timestamp DateFrom)
Set Date From.- Specified by:
setDateFromin interfaceI_PA_Goal- Parameters:
DateFrom- Starting date for a range
-
getDateFrom
public Timestamp getDateFrom()
Get Date From.- Specified by:
getDateFromin interfaceI_PA_Goal- Returns:
- Starting date for a range
-
setDateLastRun
public void setDateLastRun(Timestamp DateLastRun)
Set Date last run.- Specified by:
setDateLastRunin interfaceI_PA_Goal- Parameters:
DateLastRun- Date the process was last run.
-
getDateLastRun
public Timestamp getDateLastRun()
Get Date last run.- Specified by:
getDateLastRunin 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:
setDescriptionin interfaceI_PA_Goal- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_PA_Goal- Returns:
- Optional short description of the record
-
setGoalPerformance
public void setGoalPerformance(BigDecimal GoalPerformance)
Set Performance Goal.- Specified by:
setGoalPerformancein interfaceI_PA_Goal- Parameters:
GoalPerformance- Target achievement from 0..1
-
getGoalPerformance
public BigDecimal getGoalPerformance()
Get Performance Goal.- Specified by:
getGoalPerformancein interfaceI_PA_Goal- Returns:
- Target achievement from 0..1
-
setIsSummary
public void setIsSummary(boolean IsSummary)
Set Summary Level.- Specified by:
setIsSummaryin 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:
setMeasureActualin interfaceI_PA_Goal- Parameters:
MeasureActual- Actual value that has been measured.
-
getMeasureActual
public BigDecimal getMeasureActual()
Get Measure Actual.- Specified by:
getMeasureActualin interfaceI_PA_Goal- Returns:
- Actual value that has been measured.
-
setMeasureDisplay
public void setMeasureDisplay(String MeasureDisplay)
Set Measure Display.- Specified by:
setMeasureDisplayin interfaceI_PA_Goal- Parameters:
MeasureDisplay- Measure Scope initially displayed
-
getMeasureDisplay
public String getMeasureDisplay()
Get Measure Display.- Specified by:
getMeasureDisplayin interfaceI_PA_Goal- Returns:
- Measure Scope initially displayed
-
setMeasureScope
public void setMeasureScope(String MeasureScope)
Set Measure Scope.- Specified by:
setMeasureScopein interfaceI_PA_Goal- Parameters:
MeasureScope- Performance Measure Scope
-
getMeasureScope
public String getMeasureScope()
Get Measure Scope.- Specified by:
getMeasureScopein interfaceI_PA_Goal- Returns:
- Performance Measure Scope
-
setMeasureTarget
public void setMeasureTarget(BigDecimal MeasureTarget)
Set Measure Target.- Specified by:
setMeasureTargetin interfaceI_PA_Goal- Parameters:
MeasureTarget- Target value for measure
-
getMeasureTarget
public BigDecimal getMeasureTarget()
Get Measure Target.- Specified by:
getMeasureTargetin 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_ColorSchemain interfaceI_PA_Goal- Throws:
RuntimeException
-
setPA_ColorSchema_ID
public void setPA_ColorSchema_ID(int PA_ColorSchema_ID)
Set Color Schema.- Specified by:
setPA_ColorSchema_IDin 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_IDin 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_IDin interfaceI_PA_Goal- Parameters:
PA_Goal_ID- Performance Goal
-
getPA_Goal_ID
public int getPA_Goal_ID()
Get Goal.- Specified by:
getPA_Goal_IDin interfaceI_PA_Goal- Returns:
- Performance Goal
-
getPA_GoalParent
public I_PA_Goal getPA_GoalParent() throws RuntimeException
- Specified by:
getPA_GoalParentin interfaceI_PA_Goal- Throws:
RuntimeException
-
setPA_GoalParent_ID
public void setPA_GoalParent_ID(int PA_GoalParent_ID)
Set Parent Goal.- Specified by:
setPA_GoalParent_IDin interfaceI_PA_Goal- Parameters:
PA_GoalParent_ID- Parent Goal
-
getPA_GoalParent_ID
public int getPA_GoalParent_ID()
Get Parent Goal.- Specified by:
getPA_GoalParent_IDin 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_UUin 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_UUin interfaceI_PA_Goal- Returns:
- PA_Goal_UU
-
getPA_Measure
public I_PA_Measure getPA_Measure() throws RuntimeException
- Specified by:
getPA_Measurein interfaceI_PA_Goal- Throws:
RuntimeException
-
setPA_Measure_ID
public void setPA_Measure_ID(int PA_Measure_ID)
Set Measure.- Specified by:
setPA_Measure_IDin interfaceI_PA_Goal- Parameters:
PA_Measure_ID- Concrete Performance Measurement
-
getPA_Measure_ID
public int getPA_Measure_ID()
Get Measure.- Specified by:
getPA_Measure_IDin interfaceI_PA_Goal- Returns:
- Concrete Performance Measurement
-
setRelativeWeight
public void setRelativeWeight(BigDecimal RelativeWeight)
Set Relative Weight.- Specified by:
setRelativeWeightin interfaceI_PA_Goal- Parameters:
RelativeWeight- Relative weight of this step (0 = ignored)
-
getRelativeWeight
public BigDecimal getRelativeWeight()
Get Relative Weight.- Specified by:
getRelativeWeightin interfaceI_PA_Goal- Returns:
- Relative weight of this step (0 = ignored)
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.
-
-