Package org.compiere.model
Class X_M_PromotionPreCondition
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_PromotionPreCondition
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_PromotionPreCondition
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPromotionPreCondition
public class X_M_PromotionPreCondition
extends PO
implements I_M_PromotionPreCondition, I_Persistent
Generated Model for M_PromotionPreCondition
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
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, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_M_PromotionPreCondition
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_BP_Group_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_EndDate, COLUMNNAME_IsActive, COLUMNNAME_M_PriceList_ID, COLUMNNAME_M_Promotion_ID, COLUMNNAME_M_PromotionPreCondition_ID, COLUMNNAME_M_PromotionPreCondition_UU, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_PromotionCode, COLUMNNAME_PromotionCounter, COLUMNNAME_PromotionUsageLimit, COLUMNNAME_SeqNo, COLUMNNAME_StartDate, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_M_PromotionPreCondition
(Properties ctx, int M_PromotionPreCondition_ID, String trxName) Standard ConstructorX_M_PromotionPreCondition
(Properties ctx, int M_PromotionPreCondition_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_PromotionPreCondition
(Properties ctx, String M_PromotionPreCondition_UU, String trxName) Standard ConstructorX_M_PromotionPreCondition
(Properties ctx, String M_PromotionPreCondition_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_PromotionPreCondition
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Activity.int
Get Business Partner Group.int
Get Business Partner.Get End Date.int
Get Price List.int
Get Promotion.int
Get Promotion Pre Condition.Get M_PromotionPreCondition_UU.int
Get Warehouse.Get Promotion Code.int
Get Usage Counter.int
Get Usage Limit.int
getSeqNo()
Get Sequence.Get Start Date.protected POInfo
initPO
(Properties ctx) Load Meta Datavoid
setC_Activity_ID
(int C_Activity_ID) Set Activity.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
setEndDate
(Timestamp EndDate) Set End Date.void
setM_PriceList_ID
(int M_PriceList_ID) Set Price List.void
setM_Promotion_ID
(int M_Promotion_ID) Set Promotion.void
setM_PromotionPreCondition_ID
(int M_PromotionPreCondition_ID) Set Promotion Pre Condition.void
setM_PromotionPreCondition_UU
(String M_PromotionPreCondition_UU) Set M_PromotionPreCondition_UU.void
setM_Warehouse_ID
(int M_Warehouse_ID) Set Warehouse.void
setPromotionCode
(String PromotionCode) Set Promotion Code.void
setPromotionCounter
(int PromotionCounter) Set Usage Counter.void
setPromotionUsageLimit
(int PromotionUsageLimit) Set Usage Limit.void
setSeqNo
(int SeqNo) Set Sequence.void
setStartDate
(Timestamp StartDate) Set Start Date.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_M_PromotionPreCondition
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
-
Constructor Details
-
X_M_PromotionPreCondition
Standard Constructor -
X_M_PromotionPreCondition
public X_M_PromotionPreCondition(Properties ctx, int M_PromotionPreCondition_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_PromotionPreCondition
Standard Constructor -
X_M_PromotionPreCondition
public X_M_PromotionPreCondition(Properties ctx, String M_PromotionPreCondition_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_PromotionPreCondition
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getC_Activity
- Specified by:
getC_Activity
in interfaceI_M_PromotionPreCondition
- Throws:
RuntimeException
-
setC_Activity_ID
public void setC_Activity_ID(int C_Activity_ID) Set Activity.- Specified by:
setC_Activity_ID
in interfaceI_M_PromotionPreCondition
- Parameters:
C_Activity_ID
- Business Activity
-
getC_Activity_ID
public int getC_Activity_ID()Get Activity.- Specified by:
getC_Activity_ID
in interfaceI_M_PromotionPreCondition
- Returns:
- Business Activity
-
getC_BPartner
- Specified by:
getC_BPartner
in interfaceI_M_PromotionPreCondition
- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID) Set Business Partner.- Specified by:
setC_BPartner_ID
in interfaceI_M_PromotionPreCondition
- 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_M_PromotionPreCondition
- Returns:
- Identifies a Business Partner
-
getC_BP_Group
- Specified by:
getC_BP_Group
in interfaceI_M_PromotionPreCondition
- 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_M_PromotionPreCondition
- 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_M_PromotionPreCondition
- Returns:
- Business Partner Group
-
setEndDate
Set End Date.- Specified by:
setEndDate
in interfaceI_M_PromotionPreCondition
- Parameters:
EndDate
- Last effective date (inclusive)
-
getEndDate
Get End Date.- Specified by:
getEndDate
in interfaceI_M_PromotionPreCondition
- Returns:
- Last effective date (inclusive)
-
getM_PriceList
- Specified by:
getM_PriceList
in interfaceI_M_PromotionPreCondition
- Throws:
RuntimeException
-
setM_PriceList_ID
public void setM_PriceList_ID(int M_PriceList_ID) Set Price List.- Specified by:
setM_PriceList_ID
in interfaceI_M_PromotionPreCondition
- Parameters:
M_PriceList_ID
- Unique identifier of a Price List
-
getM_PriceList_ID
public int getM_PriceList_ID()Get Price List.- Specified by:
getM_PriceList_ID
in interfaceI_M_PromotionPreCondition
- Returns:
- Unique identifier of a Price List
-
getM_Promotion
- Specified by:
getM_Promotion
in interfaceI_M_PromotionPreCondition
- Throws:
RuntimeException
-
setM_Promotion_ID
public void setM_Promotion_ID(int M_Promotion_ID) Set Promotion.- Specified by:
setM_Promotion_ID
in interfaceI_M_PromotionPreCondition
- Parameters:
M_Promotion_ID
- Promotion
-
getM_Promotion_ID
public int getM_Promotion_ID()Get Promotion.- Specified by:
getM_Promotion_ID
in interfaceI_M_PromotionPreCondition
- Returns:
- Promotion
-
setM_PromotionPreCondition_ID
public void setM_PromotionPreCondition_ID(int M_PromotionPreCondition_ID) Set Promotion Pre Condition.- Specified by:
setM_PromotionPreCondition_ID
in interfaceI_M_PromotionPreCondition
- Parameters:
M_PromotionPreCondition_ID
- Promotion Pre Condition
-
getM_PromotionPreCondition_ID
public int getM_PromotionPreCondition_ID()Get Promotion Pre Condition.- Specified by:
getM_PromotionPreCondition_ID
in interfaceI_M_PromotionPreCondition
- Returns:
- Promotion Pre Condition
-
setM_PromotionPreCondition_UU
Set M_PromotionPreCondition_UU.- Specified by:
setM_PromotionPreCondition_UU
in interfaceI_M_PromotionPreCondition
- Parameters:
M_PromotionPreCondition_UU
- M_PromotionPreCondition_UU
-
getM_PromotionPreCondition_UU
Get M_PromotionPreCondition_UU.- Specified by:
getM_PromotionPreCondition_UU
in interfaceI_M_PromotionPreCondition
- Returns:
- M_PromotionPreCondition_UU
-
getM_Warehouse
- Specified by:
getM_Warehouse
in interfaceI_M_PromotionPreCondition
- Throws:
RuntimeException
-
setM_Warehouse_ID
public void setM_Warehouse_ID(int M_Warehouse_ID) Set Warehouse.- Specified by:
setM_Warehouse_ID
in interfaceI_M_PromotionPreCondition
- Parameters:
M_Warehouse_ID
- Storage Warehouse and Service Point
-
getM_Warehouse_ID
public int getM_Warehouse_ID()Get Warehouse.- Specified by:
getM_Warehouse_ID
in interfaceI_M_PromotionPreCondition
- Returns:
- Storage Warehouse and Service Point
-
setPromotionCode
Set Promotion Code.- Specified by:
setPromotionCode
in interfaceI_M_PromotionPreCondition
- Parameters:
PromotionCode
- User entered promotion code at sales time
-
getPromotionCode
Get Promotion Code.- Specified by:
getPromotionCode
in interfaceI_M_PromotionPreCondition
- Returns:
- User entered promotion code at sales time
-
setPromotionCounter
public void setPromotionCounter(int PromotionCounter) Set Usage Counter.- Specified by:
setPromotionCounter
in interfaceI_M_PromotionPreCondition
- Parameters:
PromotionCounter
- Usage counter
-
getPromotionCounter
public int getPromotionCounter()Get Usage Counter.- Specified by:
getPromotionCounter
in interfaceI_M_PromotionPreCondition
- Returns:
- Usage counter
-
setPromotionUsageLimit
public void setPromotionUsageLimit(int PromotionUsageLimit) Set Usage Limit.- Specified by:
setPromotionUsageLimit
in interfaceI_M_PromotionPreCondition
- Parameters:
PromotionUsageLimit
- Maximum usage limit
-
getPromotionUsageLimit
public int getPromotionUsageLimit()Get Usage Limit.- Specified by:
getPromotionUsageLimit
in interfaceI_M_PromotionPreCondition
- Returns:
- Maximum usage limit
-
setSeqNo
public void setSeqNo(int SeqNo) Set Sequence.- Specified by:
setSeqNo
in interfaceI_M_PromotionPreCondition
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()Get Sequence.- Specified by:
getSeqNo
in interfaceI_M_PromotionPreCondition
- Returns:
- Method of ordering records; lowest number comes first
-
setStartDate
Set Start Date.- Specified by:
setStartDate
in interfaceI_M_PromotionPreCondition
- Parameters:
StartDate
- First effective day (inclusive)
-
getStartDate
Get Start Date.- Specified by:
getStartDate
in interfaceI_M_PromotionPreCondition
- Returns:
- First effective day (inclusive)
-