Adempiere 3.5.2a

org.compiere.model
Class X_PA_Goal

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_PA_Goal
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int MEASUREDISPLAY_AD_Reference_ID
          MeasureDisplay AD_Reference_ID=367
static String MEASUREDISPLAY_Day
          Day = 8
static String MEASUREDISPLAY_Month
          Month = 5
static String MEASUREDISPLAY_Quarter
          Quarter = 3
static String MEASUREDISPLAY_Total
          Total = 0
static String MEASUREDISPLAY_Week
          Week = 7
static String MEASUREDISPLAY_Year
          Year = 1
static int MEASURESCOPE_AD_Reference_ID
          MeasureScope AD_Reference_ID=367
static String MEASURESCOPE_Day
          Day = 8
static String MEASURESCOPE_Month
          Month = 5
static String MEASURESCOPE_Quarter
          Quarter = 3
static String MEASURESCOPE_Total
          Total = 0
static String MEASURESCOPE_Week
          Week = 7
static String MEASURESCOPE_Year
          Year = 1
static int PA_GOALPARENT_ID_AD_Reference_ID
          PA_GoalParent_ID AD_Reference_ID=230
 
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, 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_Role_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_DateFrom, COLUMNNAME_DateLastRun, COLUMNNAME_DateTo, COLUMNNAME_Description, COLUMNNAME_GoalPerformance, COLUMNNAME_IsSummary, COLUMNNAME_MeasureActual, COLUMNNAME_MeasureDisplay, COLUMNNAME_MeasureScope, COLUMNNAME_MeasureTarget, COLUMNNAME_Name, COLUMNNAME_Note, COLUMNNAME_PA_ColorSchema_ID, COLUMNNAME_PA_Goal_ID, COLUMNNAME_PA_GoalParent_ID, COLUMNNAME_PA_Measure_ID, COLUMNNAME_RelativeWeight, COLUMNNAME_SeqNo, Model, Table_ID, Table_Name
 
Constructor Summary
X_PA_Goal(Properties ctx, int PA_Goal_ID, String trxName)
          Standard Constructor
X_PA_Goal(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_Role_ID()
          Get Role.
 I_AD_Role getAD_Role()
           
 int getAD_User_ID()
          Get User/Contact.
 I_AD_User getAD_User()
           
 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/ColumnName
 BigDecimal 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.
 int getPA_ColorSchema_ID()
          Get Color Schema.
 I_PA_ColorSchema getPA_ColorSchema()
           
 int getPA_Goal_ID()
          Get Goal.
 int getPA_GoalParent_ID()
          Get Parent Goal.
 int getPA_Measure_ID()
          Get Measure.
 I_PA_Measure getPA_Measure()
           
 BigDecimal getRelativeWeight()
          Get Relative Weight.
 int getSeqNo()
          Get Sequence.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean 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 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_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, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

MEASUREDISPLAY_AD_Reference_ID

public static final int MEASUREDISPLAY_AD_Reference_ID
MeasureDisplay AD_Reference_ID=367

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_Total

public static final String MEASUREDISPLAY_Total
Total = 0

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_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_Total

public static final String MEASURESCOPE_Total
Total = 0

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

PA_GOALPARENT_ID_AD_Reference_ID

public static final int PA_GOALPARENT_ID_AD_Reference_ID
PA_GoalParent_ID AD_Reference_ID=230

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 class PO
Returns:
6 - System - Client

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

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

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

getAD_Role

public I_AD_Role getAD_Role()
                     throws Exception
Specified by:
getAD_Role in interface I_PA_Goal
Throws:
Exception

setAD_Role_ID

public void setAD_Role_ID(int AD_Role_ID)
Set Role.

Specified by:
setAD_Role_ID in interface I_PA_Goal
Parameters:
AD_Role_ID - Responsibility Role

getAD_Role_ID

public int getAD_Role_ID()
Get Role.

Specified by:
getAD_Role_ID in interface I_PA_Goal
Returns:
Responsibility Role

getAD_User

public I_AD_User getAD_User()
                     throws Exception
Specified by:
getAD_User in interface I_PA_Goal
Throws:
Exception

setAD_User_ID

public void setAD_User_ID(int AD_User_ID)
Set User/Contact.

Specified by:
setAD_User_ID in interface I_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 interface I_PA_Goal
Returns:
User within the system - Internal or Business Partner Contact

setDateFrom

public void setDateFrom(Timestamp DateFrom)
Set Date From.

Specified by:
setDateFrom in interface I_PA_Goal
Parameters:
DateFrom - Starting date for a range

getDateFrom

public Timestamp getDateFrom()
Get Date From.

Specified by:
getDateFrom in interface I_PA_Goal
Returns:
Starting date for a range

setDateLastRun

public void setDateLastRun(Timestamp DateLastRun)
Set Date last run.

Specified by:
setDateLastRun in interface I_PA_Goal
Parameters:
DateLastRun - Date the process was last run.

getDateLastRun

public Timestamp getDateLastRun()
Get Date last run.

Specified by:
getDateLastRun in interface I_PA_Goal
Returns:
Date the process was last run.

setDateTo

public void setDateTo(Timestamp DateTo)
Set Date To.

Specified by:
setDateTo in interface I_PA_Goal
Parameters:
DateTo - End date of a date range

getDateTo

public Timestamp getDateTo()
Get Date To.

Specified by:
getDateTo in interface I_PA_Goal
Returns:
End date of a date range

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_PA_Goal
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_PA_Goal
Returns:
Optional short description of the record

setGoalPerformance

public void setGoalPerformance(BigDecimal GoalPerformance)
Set Performance Goal.

Specified by:
setGoalPerformance in interface I_PA_Goal
Parameters:
GoalPerformance - Target achievement from 0..1

getGoalPerformance

public BigDecimal getGoalPerformance()
Get Performance Goal.

Specified by:
getGoalPerformance in interface I_PA_Goal
Returns:
Target achievement from 0..1

setIsSummary

public void setIsSummary(boolean IsSummary)
Set Summary Level.

Specified by:
setIsSummary in interface I_PA_Goal
Parameters:
IsSummary - This is a summary entity

isSummary

public boolean isSummary()
Get Summary Level.

Specified by:
isSummary in interface I_PA_Goal
Returns:
This is a summary entity

setMeasureActual

public void setMeasureActual(BigDecimal MeasureActual)
Set Measure Actual.

Specified by:
setMeasureActual in interface I_PA_Goal
Parameters:
MeasureActual - Actual value that has been measured.

getMeasureActual

public BigDecimal getMeasureActual()
Get Measure Actual.

Specified by:
getMeasureActual in interface I_PA_Goal
Returns:
Actual value that has been measured.

setMeasureDisplay

public void setMeasureDisplay(String MeasureDisplay)
Set Measure Display.

Specified by:
setMeasureDisplay in interface I_PA_Goal
Parameters:
MeasureDisplay - Measure Scope initially displayed

getMeasureDisplay

public String getMeasureDisplay()
Get Measure Display.

Specified by:
getMeasureDisplay in interface I_PA_Goal
Returns:
Measure Scope initially displayed

setMeasureScope

public void setMeasureScope(String MeasureScope)
Set Measure Scope.

Specified by:
setMeasureScope in interface I_PA_Goal
Parameters:
MeasureScope - Performance Measure Scope

getMeasureScope

public String getMeasureScope()
Get Measure Scope.

Specified by:
getMeasureScope in interface I_PA_Goal
Returns:
Performance Measure Scope

setMeasureTarget

public void setMeasureTarget(BigDecimal MeasureTarget)
Set Measure Target.

Specified by:
setMeasureTarget in interface I_PA_Goal
Parameters:
MeasureTarget - Target value for measure

getMeasureTarget

public BigDecimal getMeasureTarget()
Get Measure Target.

Specified by:
getMeasureTarget in interface I_PA_Goal
Returns:
Target value for measure

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_PA_Goal
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_PA_Goal
Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setNote

public void setNote(String Note)
Set Note.

Specified by:
setNote in interface I_PA_Goal
Parameters:
Note - Optional additional user defined information

getNote

public String getNote()
Get Note.

Specified by:
getNote in interface I_PA_Goal
Returns:
Optional additional user defined information

getPA_ColorSchema

public I_PA_ColorSchema getPA_ColorSchema()
                                   throws Exception
Specified by:
getPA_ColorSchema in interface I_PA_Goal
Throws:
Exception

setPA_ColorSchema_ID

public void setPA_ColorSchema_ID(int PA_ColorSchema_ID)
Set Color Schema.

Specified by:
setPA_ColorSchema_ID in interface I_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 interface I_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 interface I_PA_Goal
Parameters:
PA_Goal_ID - Performance Goal

getPA_Goal_ID

public int getPA_Goal_ID()
Get Goal.

Specified by:
getPA_Goal_ID in interface I_PA_Goal
Returns:
Performance Goal

setPA_GoalParent_ID

public void setPA_GoalParent_ID(int PA_GoalParent_ID)
Set Parent Goal.

Specified by:
setPA_GoalParent_ID in interface I_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 interface I_PA_Goal
Returns:
Parent Goal

getPA_Measure

public I_PA_Measure getPA_Measure()
                           throws Exception
Specified by:
getPA_Measure in interface I_PA_Goal
Throws:
Exception

setPA_Measure_ID

public void setPA_Measure_ID(int PA_Measure_ID)
Set Measure.

Specified by:
setPA_Measure_ID in interface I_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 interface I_PA_Goal
Returns:
Concrete Performance Measurement

setRelativeWeight

public void setRelativeWeight(BigDecimal RelativeWeight)
Set Relative Weight.

Specified by:
setRelativeWeight in interface I_PA_Goal
Parameters:
RelativeWeight - Relative weight of this step (0 = ignored)

getRelativeWeight

public BigDecimal getRelativeWeight()
Get Relative Weight.

Specified by:
getRelativeWeight in interface I_PA_Goal
Returns:
Relative weight of this step (0 = ignored)

setSeqNo

public void setSeqNo(int SeqNo)
Set Sequence.

Specified by:
setSeqNo in interface I_PA_Goal
Parameters:
SeqNo - Method of ordering records; lowest number comes first

getSeqNo

public int getSeqNo()
Get Sequence.

Specified by:
getSeqNo in interface I_PA_Goal
Returns:
Method of ordering records; lowest number comes first

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.