Package org.compiere.model
Class MDiscountSchemaLine
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_M_DiscountSchemaLine
-
- org.compiere.model.MDiscountSchemaLine
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_DiscountSchemaLine
,I_Persistent
,Evaluatee
,ImmutablePOSupport
public class MDiscountSchemaLine extends X_M_DiscountSchemaLine implements ImmutablePOSupport
Discount Schema Line (Price List) Model- Version:
- $Id: MDiscountSchemaLine.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
- Author:
- Jorg Janke
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.compiere.model.X_M_DiscountSchemaLine
LIMIT_BASE_AD_Reference_ID, LIMIT_BASE_FixedPrice, LIMIT_BASE_LimitPOPrice, LIMIT_BASE_ListPrice, LIMIT_BASE_ProductCost, LIMIT_BASE_StandardPrice, LIMIT_ROUNDING_AD_Reference_ID, LIMIT_ROUNDING_CurrencyPrecision, LIMIT_ROUNDING_Dime102030, LIMIT_ROUNDING_EndingIn95, LIMIT_ROUNDING_Hundred, LIMIT_ROUNDING_Nickel051015, LIMIT_ROUNDING_NoRounding, LIMIT_ROUNDING_Quarter255075, LIMIT_ROUNDING_Ten10002000, LIMIT_ROUNDING_Thousand, LIMIT_ROUNDING_WholeNumber00, LIST_BASE_AD_Reference_ID, LIST_BASE_FixedPrice, LIST_BASE_LimitPOPrice, LIST_BASE_ListPrice, LIST_BASE_ProductCost, LIST_BASE_StandardPrice, LIST_ROUNDING_AD_Reference_ID, LIST_ROUNDING_CurrencyPrecision, LIST_ROUNDING_Dime102030, LIST_ROUNDING_EndingIn95, LIST_ROUNDING_Hundred, LIST_ROUNDING_Nickel051015, LIST_ROUNDING_NoRounding, LIST_ROUNDING_Quarter255075, LIST_ROUNDING_Ten10002000, LIST_ROUNDING_Thousand, LIST_ROUNDING_WholeNumber00, STD_BASE_AD_Reference_ID, STD_BASE_FixedPrice, STD_BASE_LimitPOPrice, STD_BASE_ListPrice, STD_BASE_ProductCost, STD_BASE_StandardPrice, STD_ROUNDING_AD_Reference_ID, STD_ROUNDING_CurrencyPrecision, STD_ROUNDING_Dime102030, STD_ROUNDING_EndingIn95, STD_ROUNDING_Hundred, STD_ROUNDING_Nickel051015, STD_ROUNDING_NoRounding, STD_ROUNDING_Quarter255075, STD_ROUNDING_Ten10002000, STD_ROUNDING_Thousand, STD_ROUNDING_WholeNumber00
-
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_M_DiscountSchemaLine
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_ConversionType_ID, COLUMNNAME_Classification, COLUMNNAME_ConversionDate, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Group1, COLUMNNAME_Group2, COLUMNNAME_IsActive, COLUMNNAME_IsIgnoreIsCurrentVendor, COLUMNNAME_Limit_AddAmt, COLUMNNAME_Limit_Base, COLUMNNAME_Limit_Discount, COLUMNNAME_Limit_Fixed, COLUMNNAME_Limit_MaxAmt, COLUMNNAME_Limit_MinAmt, COLUMNNAME_Limit_Rounding, COLUMNNAME_List_AddAmt, COLUMNNAME_List_Base, COLUMNNAME_List_Discount, COLUMNNAME_List_Fixed, COLUMNNAME_List_MaxAmt, COLUMNNAME_List_MinAmt, COLUMNNAME_List_Rounding, COLUMNNAME_M_DiscountSchema_ID, COLUMNNAME_M_DiscountSchemaLine_ID, COLUMNNAME_M_DiscountSchemaLine_UU, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_SeqNo, COLUMNNAME_Std_AddAmt, COLUMNNAME_Std_Base, COLUMNNAME_Std_Discount, COLUMNNAME_Std_Fixed, COLUMNNAME_Std_MaxAmt, COLUMNNAME_Std_MinAmt, COLUMNNAME_Std_Rounding, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_VendorCategory, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description MDiscountSchemaLine(Properties ctx, int M_DiscountSchemaLine_ID, String trxName)
Standard ConstructorMDiscountSchemaLine(Properties ctx, ResultSet rs, String trxName)
Load ConstructorMDiscountSchemaLine(Properties ctx, MDiscountSchemaLine copy)
MDiscountSchemaLine(Properties ctx, MDiscountSchemaLine copy, String trxName)
MDiscountSchemaLine(MDiscountSchemaLine copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
beforeSave(boolean newRecord)
Before SaveMDiscountSchemaLine
markImmutable()
mark PO as immutable-
Methods inherited from class org.compiere.model.X_M_DiscountSchemaLine
get_AccessLevel, getC_BPartner, getC_BPartner_ID, getC_ConversionType, getC_ConversionType_ID, getClassification, getConversionDate, getDescription, getGroup1, getGroup2, getKeyNamePair, getLimit_AddAmt, getLimit_Base, getLimit_Discount, getLimit_Fixed, getLimit_MaxAmt, getLimit_MinAmt, getLimit_Rounding, getList_AddAmt, getList_Base, getList_Discount, getList_Fixed, getList_MaxAmt, getList_MinAmt, getList_Rounding, getM_DiscountSchema, getM_DiscountSchema_ID, getM_DiscountSchemaLine_ID, getM_DiscountSchemaLine_UU, getM_Product, getM_Product_Category, getM_Product_Category_ID, getM_Product_ID, getSeqNo, getStd_AddAmt, getStd_Base, getStd_Discount, getStd_Fixed, getStd_MaxAmt, getStd_MinAmt, getStd_Rounding, getVendorCategory, initPO, isIgnoreIsCurrentVendor, setC_BPartner_ID, setC_ConversionType_ID, setClassification, setConversionDate, setDescription, setGroup1, setGroup2, setIsIgnoreIsCurrentVendor, setLimit_AddAmt, setLimit_Base, setLimit_Discount, setLimit_Fixed, setLimit_MaxAmt, setLimit_MinAmt, setLimit_Rounding, setList_AddAmt, setList_Base, setList_Discount, setList_Fixed, setList_MaxAmt, setList_MinAmt, setList_Rounding, setM_DiscountSchema_ID, setM_DiscountSchemaLine_ID, setM_DiscountSchemaLine_UU, setM_Product_Category_ID, setM_Product_ID, setSeqNo, setStd_AddAmt, setStd_Base, setStd_Discount, setStd_Fixed, setStd_MaxAmt, setStd_MinAmt, setStd_Rounding, setVendorCategory, toString
-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, 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_M_DiscountSchemaLine
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 Detail
-
MDiscountSchemaLine
public MDiscountSchemaLine(Properties ctx, int M_DiscountSchemaLine_ID, String trxName)
Standard Constructor- Parameters:
ctx
- contextM_DiscountSchemaLine_ID
- idtrxName
- transaction
-
MDiscountSchemaLine
public MDiscountSchemaLine(Properties ctx, ResultSet rs, String trxName)
Load Constructor- Parameters:
ctx
- contextrs
- result settrxName
- transaction
-
MDiscountSchemaLine
public MDiscountSchemaLine(MDiscountSchemaLine copy)
- Parameters:
copy
-
-
MDiscountSchemaLine
public MDiscountSchemaLine(Properties ctx, MDiscountSchemaLine copy)
- Parameters:
ctx
-copy
-
-
MDiscountSchemaLine
public MDiscountSchemaLine(Properties ctx, MDiscountSchemaLine copy, String trxName)
- Parameters:
ctx
-copy
-trxName
-
-
-
Method Detail
-
markImmutable
public MDiscountSchemaLine markImmutable()
Description copied from interface:ImmutablePOSupport
mark PO as immutable- Specified by:
markImmutable
in interfaceImmutablePOSupport
- Returns:
- PO
-
beforeSave
protected boolean beforeSave(boolean newRecord)
Before Save- Overrides:
beforeSave
in classPO
- Parameters:
newRecord
- new- Returns:
- true
-
-