Package org.compiere.model
Class X_M_Freight
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_M_Freight
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_Freight
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MFreight
public class X_M_Freight extends PO implements I_M_Freight, I_Persistent
Generated Model for M_Freight- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
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, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_M_Freight
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Country_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_Region_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_FreightAmt, COLUMNNAME_IsActive, COLUMNNAME_M_Freight_ID, COLUMNNAME_M_Freight_UU, COLUMNNAME_M_FreightCategory_ID, COLUMNNAME_M_Shipper_ID, COLUMNNAME_MaxDimension, COLUMNNAME_MaxWeight, COLUMNNAME_To_Country_ID, COLUMNNAME_To_Region_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_ValidFrom, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_M_Freight(Properties ctx, int M_Freight_ID, String trxName)
Standard ConstructorX_M_Freight(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_Country
getC_Country()
int
getC_Country_ID()
Get Country.I_C_Currency
getC_Currency()
int
getC_Currency_ID()
Get Currency.I_C_Region
getC_Region()
int
getC_Region_ID()
Get Region.BigDecimal
getFreightAmt()
Get Freight Amount.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getM_Freight_ID()
Get Freight.String
getM_Freight_UU()
Get M_Freight_UU.I_M_FreightCategory
getM_FreightCategory()
int
getM_FreightCategory_ID()
Get Freight Category.I_M_Shipper
getM_Shipper()
int
getM_Shipper_ID()
Get Shipper.BigDecimal
getMaxDimension()
Get Max Dimension.BigDecimal
getMaxWeight()
Get Max Weight.int
getTo_Country_ID()
Get To.I_C_Region
getTo_Region()
int
getTo_Region_ID()
Get To.Timestamp
getValidFrom()
Get Valid from.protected POInfo
initPO(Properties ctx)
Load Meta Datavoid
setC_Country_ID(int C_Country_ID)
Set Country.void
setC_Currency_ID(int C_Currency_ID)
Set Currency.void
setC_Region_ID(int C_Region_ID)
Set Region.void
setFreightAmt(BigDecimal FreightAmt)
Set Freight Amount.void
setM_Freight_ID(int M_Freight_ID)
Set Freight.void
setM_Freight_UU(String M_Freight_UU)
Set M_Freight_UU.void
setM_FreightCategory_ID(int M_FreightCategory_ID)
Set Freight Category.void
setM_Shipper_ID(int M_Shipper_ID)
Set Shipper.void
setMaxDimension(BigDecimal MaxDimension)
Set Max Dimension.void
setMaxWeight(BigDecimal MaxWeight)
Set Max Weight.void
setTo_Country_ID(int To_Country_ID)
Set To.void
setTo_Region_ID(int To_Region_ID)
Set To.void
setValidFrom(Timestamp ValidFrom)
Set Valid from.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_M_Freight
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
-
X_M_Freight
public X_M_Freight(Properties ctx, int M_Freight_ID, String trxName)
Standard Constructor
-
X_M_Freight
public X_M_Freight(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getC_Country
public I_C_Country getC_Country() throws RuntimeException
- Specified by:
getC_Country
in interfaceI_M_Freight
- Throws:
RuntimeException
-
setC_Country_ID
public void setC_Country_ID(int C_Country_ID)
Set Country.- Specified by:
setC_Country_ID
in interfaceI_M_Freight
- Parameters:
C_Country_ID
- Country
-
getC_Country_ID
public int getC_Country_ID()
Get Country.- Specified by:
getC_Country_ID
in interfaceI_M_Freight
- Returns:
- Country
-
getC_Currency
public I_C_Currency getC_Currency() throws RuntimeException
- Specified by:
getC_Currency
in interfaceI_M_Freight
- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID)
Set Currency.- Specified by:
setC_Currency_ID
in interfaceI_M_Freight
- Parameters:
C_Currency_ID
- The Currency for this record
-
getC_Currency_ID
public int getC_Currency_ID()
Get Currency.- Specified by:
getC_Currency_ID
in interfaceI_M_Freight
- Returns:
- The Currency for this record
-
getC_Region
public I_C_Region getC_Region() throws RuntimeException
- Specified by:
getC_Region
in interfaceI_M_Freight
- Throws:
RuntimeException
-
setC_Region_ID
public void setC_Region_ID(int C_Region_ID)
Set Region.- Specified by:
setC_Region_ID
in interfaceI_M_Freight
- Parameters:
C_Region_ID
- Identifies a geographical Region
-
getC_Region_ID
public int getC_Region_ID()
Get Region.- Specified by:
getC_Region_ID
in interfaceI_M_Freight
- Returns:
- Identifies a geographical Region
-
setFreightAmt
public void setFreightAmt(BigDecimal FreightAmt)
Set Freight Amount.- Specified by:
setFreightAmt
in interfaceI_M_Freight
- Parameters:
FreightAmt
- Freight Amount
-
getFreightAmt
public BigDecimal getFreightAmt()
Get Freight Amount.- Specified by:
getFreightAmt
in interfaceI_M_Freight
- Returns:
- Freight Amount
-
setMaxDimension
public void setMaxDimension(BigDecimal MaxDimension)
Set Max Dimension.- Specified by:
setMaxDimension
in interfaceI_M_Freight
- Parameters:
MaxDimension
- Max Dimension
-
getMaxDimension
public BigDecimal getMaxDimension()
Get Max Dimension.- Specified by:
getMaxDimension
in interfaceI_M_Freight
- Returns:
- Max Dimension
-
setMaxWeight
public void setMaxWeight(BigDecimal MaxWeight)
Set Max Weight.- Specified by:
setMaxWeight
in interfaceI_M_Freight
- Parameters:
MaxWeight
- Max Weight
-
getMaxWeight
public BigDecimal getMaxWeight()
Get Max Weight.- Specified by:
getMaxWeight
in interfaceI_M_Freight
- Returns:
- Max Weight
-
getM_FreightCategory
public I_M_FreightCategory getM_FreightCategory() throws RuntimeException
- Specified by:
getM_FreightCategory
in interfaceI_M_Freight
- Throws:
RuntimeException
-
setM_FreightCategory_ID
public void setM_FreightCategory_ID(int M_FreightCategory_ID)
Set Freight Category.- Specified by:
setM_FreightCategory_ID
in interfaceI_M_Freight
- Parameters:
M_FreightCategory_ID
- Category of the Freight
-
getM_FreightCategory_ID
public int getM_FreightCategory_ID()
Get Freight Category.- Specified by:
getM_FreightCategory_ID
in interfaceI_M_Freight
- Returns:
- Category of the Freight
-
setM_Freight_ID
public void setM_Freight_ID(int M_Freight_ID)
Set Freight.- Specified by:
setM_Freight_ID
in interfaceI_M_Freight
- Parameters:
M_Freight_ID
- Freight Rate
-
getM_Freight_ID
public int getM_Freight_ID()
Get Freight.- Specified by:
getM_Freight_ID
in interfaceI_M_Freight
- Returns:
- Freight Rate
-
setM_Freight_UU
public void setM_Freight_UU(String M_Freight_UU)
Set M_Freight_UU.- Specified by:
setM_Freight_UU
in interfaceI_M_Freight
- Parameters:
M_Freight_UU
- M_Freight_UU
-
getM_Freight_UU
public String getM_Freight_UU()
Get M_Freight_UU.- Specified by:
getM_Freight_UU
in interfaceI_M_Freight
- Returns:
- M_Freight_UU
-
getM_Shipper
public I_M_Shipper getM_Shipper() throws RuntimeException
- Specified by:
getM_Shipper
in interfaceI_M_Freight
- Throws:
RuntimeException
-
setM_Shipper_ID
public void setM_Shipper_ID(int M_Shipper_ID)
Set Shipper.- Specified by:
setM_Shipper_ID
in interfaceI_M_Freight
- Parameters:
M_Shipper_ID
- Method or manner of product delivery
-
getM_Shipper_ID
public int getM_Shipper_ID()
Get Shipper.- Specified by:
getM_Shipper_ID
in interfaceI_M_Freight
- Returns:
- Method or manner of product delivery
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setTo_Country_ID
public void setTo_Country_ID(int To_Country_ID)
Set To.- Specified by:
setTo_Country_ID
in interfaceI_M_Freight
- Parameters:
To_Country_ID
- Receiving Country
-
getTo_Country_ID
public int getTo_Country_ID()
Get To.- Specified by:
getTo_Country_ID
in interfaceI_M_Freight
- Returns:
- Receiving Country
-
getTo_Region
public I_C_Region getTo_Region() throws RuntimeException
- Specified by:
getTo_Region
in interfaceI_M_Freight
- Throws:
RuntimeException
-
setTo_Region_ID
public void setTo_Region_ID(int To_Region_ID)
Set To.- Specified by:
setTo_Region_ID
in interfaceI_M_Freight
- Parameters:
To_Region_ID
- Receiving Region
-
getTo_Region_ID
public int getTo_Region_ID()
Get To.- Specified by:
getTo_Region_ID
in interfaceI_M_Freight
- Returns:
- Receiving Region
-
setValidFrom
public void setValidFrom(Timestamp ValidFrom)
Set Valid from.- Specified by:
setValidFrom
in interfaceI_M_Freight
- Parameters:
ValidFrom
- Valid from including this date (first day)
-
getValidFrom
public Timestamp getValidFrom()
Get Valid from.- Specified by:
getValidFrom
in interfaceI_M_Freight
- Returns:
- Valid from including this date (first day)
-
-