Adempiere 3.5.2a

org.compiere.model
Class X_M_Freight

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_M_Freight
All Implemented Interfaces:
Serializable, Comparator, I_M_Freight, I_Persistent, Evaluatee

public class X_M_Freight
extends PO
implements I_M_Freight, I_Persistent

Generated Model for M_Freight

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int TO_COUNTRY_ID_AD_Reference_ID
          To_Country_ID AD_Reference_ID=156
static int TO_REGION_ID_AD_Reference_ID
          To_Region_ID AD_Reference_ID=157
 
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, 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_C_Country_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_Region_ID, COLUMNNAME_FreightAmt, COLUMNNAME_M_Freight_ID, COLUMNNAME_M_FreightCategory_ID, COLUMNNAME_M_Shipper_ID, COLUMNNAME_To_Country_ID, COLUMNNAME_To_Region_ID, COLUMNNAME_ValidFrom, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_Freight(Properties ctx, int M_Freight_ID, String trxName)
          Standard Constructor
X_M_Freight(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_Country_ID()
          Get Country.
 I_C_Country getC_Country()
           
 int getC_Currency_ID()
          Get Currency.
 I_C_Currency getC_Currency()
           
 int getC_Region_ID()
          Get Region.
 I_C_Region getC_Region()
           
 BigDecimal getFreightAmt()
          Get Freight Amount.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_Freight_ID()
          Get Freight.
 int getM_FreightCategory_ID()
          Get Freight Category.
 I_M_FreightCategory getM_FreightCategory()
           
 int getM_Shipper_ID()
          Get Shipper.
 I_M_Shipper getM_Shipper()
           
 int getTo_Country_ID()
          Get To.
 int getTo_Region_ID()
          Get To.
 Timestamp getValidFrom()
          Get Valid from.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 void 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_FreightCategory_ID(int M_FreightCategory_ID)
          Set Freight Category.
 void setM_Shipper_ID(int M_Shipper_ID)
          Set Shipper.
 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, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

TO_COUNTRY_ID_AD_Reference_ID

public static final int TO_COUNTRY_ID_AD_Reference_ID
To_Country_ID AD_Reference_ID=156

See Also:
Constant Field Values

TO_REGION_ID_AD_Reference_ID

public static final int TO_REGION_ID_AD_Reference_ID
To_Region_ID AD_Reference_ID=157

See Also:
Constant Field Values
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 class PO
Returns:
3 - Client - Org

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

getC_Country

public I_C_Country getC_Country()
                         throws Exception
Specified by:
getC_Country in interface I_M_Freight
Throws:
Exception

setC_Country_ID

public void setC_Country_ID(int C_Country_ID)
Set Country.

Specified by:
setC_Country_ID in interface I_M_Freight
Parameters:
C_Country_ID - Country

getC_Country_ID

public int getC_Country_ID()
Get Country.

Specified by:
getC_Country_ID in interface I_M_Freight
Returns:
Country

getC_Currency

public I_C_Currency getC_Currency()
                           throws Exception
Specified by:
getC_Currency in interface I_M_Freight
Throws:
Exception

setC_Currency_ID

public void setC_Currency_ID(int C_Currency_ID)
Set Currency.

Specified by:
setC_Currency_ID in interface I_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 interface I_M_Freight
Returns:
The Currency for this record

getC_Region

public I_C_Region getC_Region()
                       throws Exception
Specified by:
getC_Region in interface I_M_Freight
Throws:
Exception

setC_Region_ID

public void setC_Region_ID(int C_Region_ID)
Set Region.

Specified by:
setC_Region_ID in interface I_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 interface I_M_Freight
Returns:
Identifies a geographical Region

setFreightAmt

public void setFreightAmt(BigDecimal FreightAmt)
Set Freight Amount.

Specified by:
setFreightAmt in interface I_M_Freight
Parameters:
FreightAmt - Freight Amount

getFreightAmt

public BigDecimal getFreightAmt()
Get Freight Amount.

Specified by:
getFreightAmt in interface I_M_Freight
Returns:
Freight Amount

getM_FreightCategory

public I_M_FreightCategory getM_FreightCategory()
                                         throws Exception
Specified by:
getM_FreightCategory in interface I_M_Freight
Throws:
Exception

setM_FreightCategory_ID

public void setM_FreightCategory_ID(int M_FreightCategory_ID)
Set Freight Category.

Specified by:
setM_FreightCategory_ID in interface I_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 interface I_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 interface I_M_Freight
Parameters:
M_Freight_ID - Freight Rate

getM_Freight_ID

public int getM_Freight_ID()
Get Freight.

Specified by:
getM_Freight_ID in interface I_M_Freight
Returns:
Freight Rate

getM_Shipper

public I_M_Shipper getM_Shipper()
                         throws Exception
Specified by:
getM_Shipper in interface I_M_Freight
Throws:
Exception

setM_Shipper_ID

public void setM_Shipper_ID(int M_Shipper_ID)
Set Shipper.

Specified by:
setM_Shipper_ID in interface I_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 interface I_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 interface I_M_Freight
Parameters:
To_Country_ID - Receiving Country

getTo_Country_ID

public int getTo_Country_ID()
Get To.

Specified by:
getTo_Country_ID in interface I_M_Freight
Returns:
Receiving Country

setTo_Region_ID

public void setTo_Region_ID(int To_Region_ID)
Set To.

Specified by:
setTo_Region_ID in interface I_M_Freight
Parameters:
To_Region_ID - Receiving Region

getTo_Region_ID

public int getTo_Region_ID()
Get To.

Specified by:
getTo_Region_ID in interface I_M_Freight
Returns:
Receiving Region

setValidFrom

public void setValidFrom(Timestamp ValidFrom)
Set Valid from.

Specified by:
setValidFrom in interface I_M_Freight
Parameters:
ValidFrom - Valid from including this date (first day)

getValidFrom

public Timestamp getValidFrom()
Get Valid from.

Specified by:
getValidFrom in interface I_M_Freight
Returns:
Valid from including this date (first day)

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.