Compiere 3.1

org.compiere.model
Class X_PA_Goal

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_PA_Goal
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MGoal

public class X_PA_Goal
extends PO

Generated Model for PA_Goal

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
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
protected static KeyNamePair Model
           
static int PA_GOALPARENT_ID_AD_Reference_ID
          PA_GoalParent_ID AD_Reference_ID=230
static int Table_ID
          AD_Table_ID=440
static String Table_Name
          TableName=PA_Goal
static long updatedMS
          Last Updated Timestamp 2008-06-10 15:12:06.0
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_PA_Goal(Ctx ctx, int PA_Goal_ID, String trxName)
          Standard Constructor
X_PA_Goal(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_Role_ID()
          Get Role.
 int getAD_User_ID()
          Get User/Contact.
 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.
 int getPA_Goal_ID()
          Get Goal.
 int getPA_GoalParent_ID()
          Get Parent Goal.
 int getPA_Measure_ID()
          Get Measure.
 BigDecimal getRelativeWeight()
          Get Relative Weight.
 int getSeqNo()
          Get Sequence.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isMeasureDisplayValid(String test)
          Is test a valid value.
 boolean isMeasureScopeValid(String test)
          Is test a valid value.
 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()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=440

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=PA_Goal

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

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

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(Ctx ctx,
                 int PA_Goal_ID,
                 String trxName)
Standard Constructor

Parameters:
ctx - context
PA_Goal_ID - id
trxName - transaction

X_PA_Goal

public X_PA_Goal(Ctx ctx,
                 ResultSet rs,
                 String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
6 - System - Client

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

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

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_Role_ID

public void setAD_Role_ID(int AD_Role_ID)
Set Role.

Parameters:
AD_Role_ID - Responsibility Role

getAD_Role_ID

public int getAD_Role_ID()
Get Role.

Returns:
Responsibility Role

setAD_User_ID

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

Parameters:
AD_User_ID - User within the system - Internal or Business Partner Contact

getAD_User_ID

public int getAD_User_ID()
Get User/Contact.

Returns:
User within the system - Internal or Business Partner Contact

setDateFrom

public void setDateFrom(Timestamp DateFrom)
Set Date From.

Parameters:
DateFrom - Starting date for a range

getDateFrom

public Timestamp getDateFrom()
Get Date From.

Returns:
Starting date for a range

setDateLastRun

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

Parameters:
DateLastRun - Date the process was last run.

getDateLastRun

public Timestamp getDateLastRun()
Get Date last run.

Returns:
Date the process was last run.

setDateTo

public void setDateTo(Timestamp DateTo)
Set Date To.

Parameters:
DateTo - End date of a date range

getDateTo

public Timestamp getDateTo()
Get Date To.

Returns:
End date of a date range

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setGoalPerformance

public void setGoalPerformance(BigDecimal GoalPerformance)
Set Performance Goal.

Parameters:
GoalPerformance - Target achievement from 0..1

getGoalPerformance

public BigDecimal getGoalPerformance()
Get Performance Goal.

Returns:
Target achievement from 0..1

setIsSummary

public void setIsSummary(boolean IsSummary)
Set Summary Level.

Parameters:
IsSummary - This is a summary entity

isSummary

public boolean isSummary()
Get Summary Level.

Returns:
This is a summary entity

setMeasureActual

public void setMeasureActual(BigDecimal MeasureActual)
Set Measure Actual.

Parameters:
MeasureActual - Actual value that has been measured.

getMeasureActual

public BigDecimal getMeasureActual()
Get Measure Actual.

Returns:
Actual value that has been measured.

isMeasureDisplayValid

public boolean isMeasureDisplayValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setMeasureDisplay

public void setMeasureDisplay(String MeasureDisplay)
Set Measure Display.

Parameters:
MeasureDisplay - Measure Scope initially displayed

getMeasureDisplay

public String getMeasureDisplay()
Get Measure Display.

Returns:
Measure Scope initially displayed

isMeasureScopeValid

public boolean isMeasureScopeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setMeasureScope

public void setMeasureScope(String MeasureScope)
Set Measure Scope.

Parameters:
MeasureScope - Performance Measure Scope

getMeasureScope

public String getMeasureScope()
Get Measure Scope.

Returns:
Performance Measure Scope

setMeasureTarget

public void setMeasureTarget(BigDecimal MeasureTarget)
Set Measure Target.

Parameters:
MeasureTarget - Target value for measure

getMeasureTarget

public BigDecimal getMeasureTarget()
Get Measure Target.

Returns:
Target value for measure

setName

public void setName(String Name)
Set Name.

Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

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.

Parameters:
Note - Optional additional user defined information

getNote

public String getNote()
Get Note.

Returns:
Optional additional user defined information

setPA_ColorSchema_ID

public void setPA_ColorSchema_ID(int PA_ColorSchema_ID)
Set Color Schema.

Parameters:
PA_ColorSchema_ID - Performance Color Schema

getPA_ColorSchema_ID

public int getPA_ColorSchema_ID()
Get Color Schema.

Returns:
Performance Color Schema

setPA_GoalParent_ID

public void setPA_GoalParent_ID(int PA_GoalParent_ID)
Set Parent Goal.

Parameters:
PA_GoalParent_ID - Parent Goal

getPA_GoalParent_ID

public int getPA_GoalParent_ID()
Get Parent Goal.

Returns:
Parent Goal

setPA_Goal_ID

public void setPA_Goal_ID(int PA_Goal_ID)
Set Goal.

Parameters:
PA_Goal_ID - Performance Goal

getPA_Goal_ID

public int getPA_Goal_ID()
Get Goal.

Returns:
Performance Goal

setPA_Measure_ID

public void setPA_Measure_ID(int PA_Measure_ID)
Set Measure.

Parameters:
PA_Measure_ID - Concrete Performance Measurement

getPA_Measure_ID

public int getPA_Measure_ID()
Get Measure.

Returns:
Concrete Performance Measurement

setRelativeWeight

public void setRelativeWeight(BigDecimal RelativeWeight)
Set Relative Weight.

Parameters:
RelativeWeight - Relative weight of this step (0 = ignored)

getRelativeWeight

public BigDecimal getRelativeWeight()
Get Relative Weight.

Returns:
Relative weight of this step (0 = ignored)

setSeqNo

public void setSeqNo(int SeqNo)
Set Sequence.

Parameters:
SeqNo - Method of ordering elements; lowest number comes first

getSeqNo

public int getSeqNo()
Get Sequence.

Returns:
Method of ordering elements; lowest number comes first

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.