Package org.compiere.model
Class X_PA_GoalRestriction
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_PA_GoalRestriction
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,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 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
GOALRESTRICTIONTYPE_AD_Reference_ID
GoalRestrictionType AD_Reference_ID=368static String
GOALRESTRICTIONTYPE_BusinessPartner
Business Partner = Bstatic String
GOALRESTRICTIONTYPE_BusPartnerGroup
Bus.Partner Group = Gstatic String
GOALRESTRICTIONTYPE_Organization
Organization = Ostatic String
GOALRESTRICTIONTYPE_Product
Product = Pstatic String
GOALRESTRICTIONTYPE_ProductCategory
Product Category = C-
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_GoalRestriction
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_BP_Group_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_GoalRestrictionType, COLUMNNAME_IsActive, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_Org_ID, COLUMNNAME_PA_Goal_ID, COLUMNNAME_PA_GoalRestriction_ID, COLUMNNAME_PA_GoalRestriction_UU, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_PA_GoalRestriction(Properties ctx, int PA_GoalRestriction_ID, String trxName)
Standard ConstructorX_PA_GoalRestriction(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_C_BP_Group
getC_BP_Group()
int
getC_BP_Group_ID()
Get Business Partner Group.I_C_BPartner
getC_BPartner()
int
getC_BPartner_ID()
Get Business Partner.String
getGoalRestrictionType()
Get Restriction Type.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_Product
getM_Product()
I_M_Product_Category
getM_Product_Category()
int
getM_Product_Category_ID()
Get Product Category.int
getM_Product_ID()
Get Product.String
getName()
Get Name.int
getOrg_ID()
Get Organization.I_PA_Goal
getPA_Goal()
int
getPA_Goal_ID()
Get Goal.int
getPA_GoalRestriction_ID()
Get Goal Restriction.String
getPA_GoalRestriction_UU()
Get PA_GoalRestriction_UU.protected POInfo
initPO(Properties ctx)
Load Meta Datavoid
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.void
setPA_GoalRestriction_UU(String PA_GoalRestriction_UU)
Set PA_GoalRestriction_UU.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_GoalRestriction
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
-
GOALRESTRICTIONTYPE_AD_Reference_ID
public static final int GOALRESTRICTIONTYPE_AD_Reference_ID
GoalRestrictionType AD_Reference_ID=368- See Also:
- Constant Field Values
-
GOALRESTRICTIONTYPE_BusinessPartner
public static final String GOALRESTRICTIONTYPE_BusinessPartner
Business Partner = B- See Also:
- Constant Field Values
-
GOALRESTRICTIONTYPE_ProductCategory
public static final String GOALRESTRICTIONTYPE_ProductCategory
Product Category = C- See Also:
- Constant Field Values
-
GOALRESTRICTIONTYPE_BusPartnerGroup
public static final String GOALRESTRICTIONTYPE_BusPartnerGroup
Bus.Partner Group = G- See Also:
- Constant Field Values
-
GOALRESTRICTIONTYPE_Organization
public static final String GOALRESTRICTIONTYPE_Organization
Organization = O- See Also:
- Constant Field Values
-
GOALRESTRICTIONTYPE_Product
public static final String GOALRESTRICTIONTYPE_Product
Product = P- 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 classPO
- Returns:
- 6 - System - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getC_BPartner
public I_C_BPartner getC_BPartner() throws RuntimeException
- Specified by:
getC_BPartner
in interfaceI_PA_GoalRestriction
- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.- Specified by:
setC_BPartner_ID
in interfaceI_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 interfaceI_PA_GoalRestriction
- Returns:
- Identifies a Business Partner
-
getC_BP_Group
public I_C_BP_Group getC_BP_Group() throws RuntimeException
- Specified by:
getC_BP_Group
in interfaceI_PA_GoalRestriction
- Throws:
RuntimeException
-
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 interfaceI_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 interfaceI_PA_GoalRestriction
- Returns:
- Business Partner Group
-
setGoalRestrictionType
public void setGoalRestrictionType(String GoalRestrictionType)
Set Restriction Type.- Specified by:
setGoalRestrictionType
in interfaceI_PA_GoalRestriction
- Parameters:
GoalRestrictionType
- Goal Restriction Type
-
getGoalRestrictionType
public String getGoalRestrictionType()
Get Restriction Type.- Specified by:
getGoalRestrictionType
in interfaceI_PA_GoalRestriction
- Returns:
- Goal Restriction Type
-
getM_Product_Category
public I_M_Product_Category getM_Product_Category() throws RuntimeException
- Specified by:
getM_Product_Category
in interfaceI_PA_GoalRestriction
- Throws:
RuntimeException
-
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 interfaceI_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 interfaceI_PA_GoalRestriction
- Returns:
- Category of a Product
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_PA_GoalRestriction
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_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 interfaceI_PA_GoalRestriction
- Returns:
- Product, Service, Item
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_PA_GoalRestriction
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_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 interfaceI_PA_GoalRestriction
- Parameters:
Org_ID
- Organizational entity within client
-
getOrg_ID
public int getOrg_ID()
Get Organization.- Specified by:
getOrg_ID
in interfaceI_PA_GoalRestriction
- Returns:
- Organizational entity within client
-
getPA_Goal
public I_PA_Goal getPA_Goal() throws RuntimeException
- Specified by:
getPA_Goal
in interfaceI_PA_GoalRestriction
- Throws:
RuntimeException
-
setPA_Goal_ID
public void setPA_Goal_ID(int PA_Goal_ID)
Set Goal.- Specified by:
setPA_Goal_ID
in interfaceI_PA_GoalRestriction
- Parameters:
PA_Goal_ID
- Performance Goal
-
getPA_Goal_ID
public int getPA_Goal_ID()
Get Goal.- Specified by:
getPA_Goal_ID
in interfaceI_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 interfaceI_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 interfaceI_PA_GoalRestriction
- Returns:
- Performance Goal Restriction
-
setPA_GoalRestriction_UU
public void setPA_GoalRestriction_UU(String PA_GoalRestriction_UU)
Set PA_GoalRestriction_UU.- Specified by:
setPA_GoalRestriction_UU
in interfaceI_PA_GoalRestriction
- Parameters:
PA_GoalRestriction_UU
- PA_GoalRestriction_UU
-
getPA_GoalRestriction_UU
public String getPA_GoalRestriction_UU()
Get PA_GoalRestriction_UU.- Specified by:
getPA_GoalRestriction_UU
in interfaceI_PA_GoalRestriction
- Returns:
- PA_GoalRestriction_UU
-
-