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
Generated Model for PA_GoalRestriction
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
GoalRestrictionType AD_Reference_ID=368static final String
Business Partner = Bstatic final String
Bus.Partner Group = Gstatic final String
Organization = Ostatic final String
Product = Pstatic final String
Product Category = CFields 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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_PA_GoalRestriction
(Properties ctx, int PA_GoalRestriction_ID, String trxName) Standard ConstructorX_PA_GoalRestriction
(Properties ctx, int PA_GoalRestriction_ID, String trxName, String... virtualColumns) Standard ConstructorX_PA_GoalRestriction
(Properties ctx, String PA_GoalRestriction_UU, String trxName) Standard ConstructorX_PA_GoalRestriction
(Properties ctx, String PA_GoalRestriction_UU, String trxName, String... virtualColumns) Standard ConstructorX_PA_GoalRestriction
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Business Partner Group.int
Get Business Partner.Get Restriction Type.Get Record ID/ColumnNameint
Get Product Category.int
Get Product.getName()
Get Name.int
Get Organization.int
Get Goal.int
Get Goal Restriction.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
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.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
GOALRESTRICTIONTYPE_AD_Reference_ID
public static final int GOALRESTRICTIONTYPE_AD_Reference_IDGoalRestrictionType AD_Reference_ID=368- See Also:
-
GOALRESTRICTIONTYPE_BusinessPartner
Business Partner = B- See Also:
-
GOALRESTRICTIONTYPE_ProductCategory
Product Category = C- See Also:
-
GOALRESTRICTIONTYPE_BusPartnerGroup
Bus.Partner Group = G- See Also:
-
GOALRESTRICTIONTYPE_Organization
Organization = O- See Also:
-
GOALRESTRICTIONTYPE_Product
Product = P- See Also:
-
-
Constructor Details
-
X_PA_GoalRestriction
Standard Constructor -
X_PA_GoalRestriction
public X_PA_GoalRestriction(Properties ctx, int PA_GoalRestriction_ID, String trxName, String... virtualColumns) Standard Constructor -
X_PA_GoalRestriction
Standard Constructor -
X_PA_GoalRestriction
public X_PA_GoalRestriction(Properties ctx, String PA_GoalRestriction_UU, String trxName, String... virtualColumns) Standard Constructor -
X_PA_GoalRestriction
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getC_BPartner
- 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
- 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
Set Restriction Type.- Specified by:
setGoalRestrictionType
in interfaceI_PA_GoalRestriction
- Parameters:
GoalRestrictionType
- Goal Restriction Type
-
getGoalRestrictionType
Get Restriction Type.- Specified by:
getGoalRestrictionType
in interfaceI_PA_GoalRestriction
- Returns:
- Goal Restriction Type
-
getM_Product_Category
- 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
- 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
Set Name.- Specified by:
setName
in interfaceI_PA_GoalRestriction
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_PA_GoalRestriction
- Returns:
- Alphanumeric identifier of the entity
-
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 tenant
-
getOrg_ID
public int getOrg_ID()Get Organization.- Specified by:
getOrg_ID
in interfaceI_PA_GoalRestriction
- Returns:
- Organizational entity within tenant
-
getPA_Goal
- 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
Set PA_GoalRestriction_UU.- Specified by:
setPA_GoalRestriction_UU
in interfaceI_PA_GoalRestriction
- Parameters:
PA_GoalRestriction_UU
- PA_GoalRestriction_UU
-
getPA_GoalRestriction_UU
Get PA_GoalRestriction_UU.- Specified by:
getPA_GoalRestriction_UU
in interfaceI_PA_GoalRestriction
- Returns:
- PA_GoalRestriction_UU
-