Adempiere 3.5.2a

org.compiere.model
Class X_PA_GoalRestriction

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_PA_GoalRestriction
All Implemented Interfaces:
Serializable, Comparator, I_PA_GoalRestriction, I_Persistent, Evaluatee
Direct Known Subclasses:
MGoalRestriction

public class X_PA_GoalRestriction
extends PO
implements I_PA_GoalRestriction, I_Persistent

Generated Model for PA_GoalRestriction

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int GOALRESTRICTIONTYPE_AD_Reference_ID
          GoalRestrictionType AD_Reference_ID=368
static String GOALRESTRICTIONTYPE_BusinessPartner
          Business Partner = B
static String GOALRESTRICTIONTYPE_BusPartnerGroup
          Bus.Partner Group = G
static String GOALRESTRICTIONTYPE_Organization
          Organization = O
static String GOALRESTRICTIONTYPE_Product
          Product = P
static String GOALRESTRICTIONTYPE_ProductCategory
          Product Category = C
static int ORG_ID_AD_Reference_ID
          Org_ID AD_Reference_ID=322
 
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_GoalRestriction
accessLevel, COLUMNNAME_C_BP_Group_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_GoalRestrictionType, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_Org_ID, COLUMNNAME_PA_Goal_ID, COLUMNNAME_PA_GoalRestriction_ID, Model, Table_ID, Table_Name
 
Constructor Summary
X_PA_GoalRestriction(Properties ctx, int PA_GoalRestriction_ID, String trxName)
          Standard Constructor
X_PA_GoalRestriction(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_BP_Group_ID()
          Get Business Partner Group.
 I_C_BP_Group getC_BP_Group()
           
 int getC_BPartner_ID()
          Get Business Partner .
 I_C_BPartner getC_BPartner()
           
 String getGoalRestrictionType()
          Get Restriction Type.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_Product_Category_ID()
          Get Product Category.
 I_M_Product_Category getM_Product_Category()
           
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_Product()
           
 String getName()
          Get Name.
 int getOrg_ID()
          Get Organization.
 int getPA_Goal_ID()
          Get Goal.
 I_PA_Goal getPA_Goal()
           
 int getPA_GoalRestriction_ID()
          Get Goal Restriction.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 void setC_BP_Group_ID(int C_BP_Group_ID)
          Set Business Partner Group.
 void setC_BPartner_ID(int C_BPartner_ID)
          Set Business Partner .
 void setGoalRestrictionType(String GoalRestrictionType)
          Set Restriction Type.
 void setM_Product_Category_ID(int M_Product_Category_ID)
          Set Product Category.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setName(String Name)
          Set Name.
 void setOrg_ID(int Org_ID)
          Set Organization.
 void setPA_Goal_ID(int PA_Goal_ID)
          Set Goal.
 void setPA_GoalRestriction_ID(int PA_GoalRestriction_ID)
          Set Goal Restriction.
 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

GOALRESTRICTIONTYPE_AD_Reference_ID

public static final int GOALRESTRICTIONTYPE_AD_Reference_ID
GoalRestrictionType AD_Reference_ID=368

See Also:
Constant Field Values

GOALRESTRICTIONTYPE_Organization

public static final String GOALRESTRICTIONTYPE_Organization
Organization = O

See Also:
Constant Field Values

GOALRESTRICTIONTYPE_BusinessPartner

public static final String GOALRESTRICTIONTYPE_BusinessPartner
Business Partner = B

See Also:
Constant Field Values

GOALRESTRICTIONTYPE_Product

public static final String GOALRESTRICTIONTYPE_Product
Product = P

See Also:
Constant Field Values

GOALRESTRICTIONTYPE_BusPartnerGroup

public static final String GOALRESTRICTIONTYPE_BusPartnerGroup
Bus.Partner Group = G

See Also:
Constant Field Values

GOALRESTRICTIONTYPE_ProductCategory

public static final String GOALRESTRICTIONTYPE_ProductCategory
Product Category = C

See Also:
Constant Field Values

ORG_ID_AD_Reference_ID

public static final int ORG_ID_AD_Reference_ID
Org_ID AD_Reference_ID=322

See Also:
Constant Field Values
Constructor Detail

X_PA_GoalRestriction

public X_PA_GoalRestriction(Properties ctx,
                            int PA_GoalRestriction_ID,
                            String trxName)
Standard Constructor


X_PA_GoalRestriction

public X_PA_GoalRestriction(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

getC_BPartner

public I_C_BPartner getC_BPartner()
                           throws Exception
Specified by:
getC_BPartner in interface I_PA_GoalRestriction
Throws:
Exception

setC_BPartner_ID

public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner .

Specified by:
setC_BPartner_ID in interface I_PA_GoalRestriction
Parameters:
C_BPartner_ID - Identifies a Business Partner

getC_BPartner_ID

public int getC_BPartner_ID()
Get Business Partner .

Specified by:
getC_BPartner_ID in interface I_PA_GoalRestriction
Returns:
Identifies a Business Partner

getC_BP_Group

public I_C_BP_Group getC_BP_Group()
                           throws Exception
Specified by:
getC_BP_Group in interface I_PA_GoalRestriction
Throws:
Exception

setC_BP_Group_ID

public void setC_BP_Group_ID(int C_BP_Group_ID)
Set Business Partner Group.

Specified by:
setC_BP_Group_ID in interface I_PA_GoalRestriction
Parameters:
C_BP_Group_ID - Business Partner Group

getC_BP_Group_ID

public int getC_BP_Group_ID()
Get Business Partner Group.

Specified by:
getC_BP_Group_ID in interface I_PA_GoalRestriction
Returns:
Business Partner Group

setGoalRestrictionType

public void setGoalRestrictionType(String GoalRestrictionType)
Set Restriction Type.

Specified by:
setGoalRestrictionType in interface I_PA_GoalRestriction
Parameters:
GoalRestrictionType - Goal Restriction Type

getGoalRestrictionType

public String getGoalRestrictionType()
Get Restriction Type.

Specified by:
getGoalRestrictionType in interface I_PA_GoalRestriction
Returns:
Goal Restriction Type

getM_Product_Category

public I_M_Product_Category getM_Product_Category()
                                           throws Exception
Specified by:
getM_Product_Category in interface I_PA_GoalRestriction
Throws:
Exception

setM_Product_Category_ID

public void setM_Product_Category_ID(int M_Product_Category_ID)
Set Product Category.

Specified by:
setM_Product_Category_ID in interface I_PA_GoalRestriction
Parameters:
M_Product_Category_ID - Category of a Product

getM_Product_Category_ID

public int getM_Product_Category_ID()
Get Product Category.

Specified by:
getM_Product_Category_ID in interface I_PA_GoalRestriction
Returns:
Category of a Product

getM_Product

public I_M_Product getM_Product()
                         throws Exception
Specified by:
getM_Product in interface I_PA_GoalRestriction
Throws:
Exception

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Specified by:
setM_Product_ID in interface I_PA_GoalRestriction
Parameters:
M_Product_ID - Product, Service, Item

getM_Product_ID

public int getM_Product_ID()
Get Product.

Specified by:
getM_Product_ID in interface I_PA_GoalRestriction
Returns:
Product, Service, Item

setName

public void setName(String Name)
Set Name.

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

getName

public String getName()
Get Name.

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

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setOrg_ID

public void setOrg_ID(int Org_ID)
Set Organization.

Specified by:
setOrg_ID in interface I_PA_GoalRestriction
Parameters:
Org_ID - Organizational entity within client

getOrg_ID

public int getOrg_ID()
Get Organization.

Specified by:
getOrg_ID in interface I_PA_GoalRestriction
Returns:
Organizational entity within client

getPA_Goal

public I_PA_Goal getPA_Goal()
                     throws Exception
Specified by:
getPA_Goal in interface I_PA_GoalRestriction
Throws:
Exception

setPA_Goal_ID

public void setPA_Goal_ID(int PA_Goal_ID)
Set Goal.

Specified by:
setPA_Goal_ID in interface I_PA_GoalRestriction
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_GoalRestriction
Returns:
Performance Goal

setPA_GoalRestriction_ID

public void setPA_GoalRestriction_ID(int PA_GoalRestriction_ID)
Set Goal Restriction.

Specified by:
setPA_GoalRestriction_ID in interface I_PA_GoalRestriction
Parameters:
PA_GoalRestriction_ID - Performance Goal Restriction

getPA_GoalRestriction_ID

public int getPA_GoalRestriction_ID()
Get Goal Restriction.

Specified by:
getPA_GoalRestriction_ID in interface I_PA_GoalRestriction
Returns:
Performance Goal Restriction

Adempiere 3.5.2a

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