Package org.compiere.model
Class X_M_PackageMPS
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_PackageMPS
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_PackageMPS
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPackageMPS
Generated Model for M_PackageMPS
- 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_PackageMPS
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_UOM_Length_ID, COLUMNNAME_C_UOM_Weight_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_CreateFrom, COLUMNNAME_Description, COLUMNNAME_EstimatedWeight, COLUMNNAME_Height, COLUMNNAME_IsActive, COLUMNNAME_Length, COLUMNNAME_M_Package_ID, COLUMNNAME_M_PackageMPS_ID, COLUMNNAME_M_PackageMPS_UU, COLUMNNAME_MasterTrackingNo, COLUMNNAME_Price, COLUMNNAME_Processed, COLUMNNAME_SeqNo, COLUMNNAME_TrackingNo, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Weight, COLUMNNAME_Width, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_M_PackageMPS
(Properties ctx, int M_PackageMPS_ID, String trxName) Standard ConstructorX_M_PackageMPS
(Properties ctx, int M_PackageMPS_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_PackageMPS
(Properties ctx, String M_PackageMPS_UU, String trxName) Standard ConstructorX_M_PackageMPS
(Properties ctx, String M_PackageMPS_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_PackageMPS
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get UOM for Length.int
Get UOM for Weight.Get Create lines from.Get Description.Get Estimated Weight.Get Height.Get Record ID/ColumnNameGet Length.int
Get Package.int
Get Package MPS.Get M_PackageMPS_UU.Get Master Tracking No.getPrice()
Get Price.int
getSeqNo()
Get Sequence.Get Tracking No.Get Weight.getWidth()
Get Width.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Processed.void
setC_UOM_Length_ID
(int C_UOM_Length_ID) Set UOM for Length.void
setC_UOM_Weight_ID
(int C_UOM_Weight_ID) Set UOM for Weight.void
setCreateFrom
(String CreateFrom) Set Create lines from.void
setDescription
(String Description) Set Description.void
setEstimatedWeight
(BigDecimal EstimatedWeight) Set Estimated Weight.void
setHeight
(BigDecimal Height) Set Height.void
setLength
(BigDecimal Length) Set Length.void
setM_Package_ID
(int M_Package_ID) Set Package.void
setM_PackageMPS_ID
(int M_PackageMPS_ID) Set Package MPS.void
setM_PackageMPS_UU
(String M_PackageMPS_UU) Set M_PackageMPS_UU.void
setMasterTrackingNo
(String MasterTrackingNo) Set Master Tracking No.void
setPrice
(BigDecimal Price) Set Price.void
setProcessed
(boolean Processed) Set Processed.void
setSeqNo
(int SeqNo) Set Sequence.void
setTrackingNo
(String TrackingNo) Set Tracking No.void
setWeight
(BigDecimal Weight) Set Weight.void
setWidth
(BigDecimal Width) Set Width.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_PackageMPS
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_PackageMPS
Standard Constructor -
X_M_PackageMPS
public X_M_PackageMPS(Properties ctx, int M_PackageMPS_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_PackageMPS
Standard Constructor -
X_M_PackageMPS
public X_M_PackageMPS(Properties ctx, String M_PackageMPS_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_PackageMPS
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 -
setCreateFrom
Set Create lines from.- Specified by:
setCreateFrom
in interfaceI_M_PackageMPS
- Parameters:
CreateFrom
- Process which will generate a new document lines based on an existing document
-
getCreateFrom
Get Create lines from.- Specified by:
getCreateFrom
in interfaceI_M_PackageMPS
- Returns:
- Process which will generate a new document lines based on an existing document
-
getC_UOM_Length
- Specified by:
getC_UOM_Length
in interfaceI_M_PackageMPS
- Throws:
RuntimeException
-
setC_UOM_Length_ID
public void setC_UOM_Length_ID(int C_UOM_Length_ID) Set UOM for Length.- Specified by:
setC_UOM_Length_ID
in interfaceI_M_PackageMPS
- Parameters:
C_UOM_Length_ID
- Standard Unit of Measure for Length
-
getC_UOM_Length_ID
public int getC_UOM_Length_ID()Get UOM for Length.- Specified by:
getC_UOM_Length_ID
in interfaceI_M_PackageMPS
- Returns:
- Standard Unit of Measure for Length
-
getC_UOM_Weight
- Specified by:
getC_UOM_Weight
in interfaceI_M_PackageMPS
- Throws:
RuntimeException
-
setC_UOM_Weight_ID
public void setC_UOM_Weight_ID(int C_UOM_Weight_ID) Set UOM for Weight.- Specified by:
setC_UOM_Weight_ID
in interfaceI_M_PackageMPS
- Parameters:
C_UOM_Weight_ID
- Standard Unit of Measure for Weight
-
getC_UOM_Weight_ID
public int getC_UOM_Weight_ID()Get UOM for Weight.- Specified by:
getC_UOM_Weight_ID
in interfaceI_M_PackageMPS
- Returns:
- Standard Unit of Measure for Weight
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_M_PackageMPS
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_M_PackageMPS
- Returns:
- Optional short description of the record
-
setEstimatedWeight
Set Estimated Weight.- Specified by:
setEstimatedWeight
in interfaceI_M_PackageMPS
- Parameters:
EstimatedWeight
- Estimated Weight
-
getEstimatedWeight
Get Estimated Weight.- Specified by:
getEstimatedWeight
in interfaceI_M_PackageMPS
- Returns:
- Estimated Weight
-
setHeight
Set Height.- Specified by:
setHeight
in interfaceI_M_PackageMPS
- Parameters:
Height
- Height
-
getHeight
Get Height.- Specified by:
getHeight
in interfaceI_M_PackageMPS
- Returns:
- Height
-
setLength
Set Length.- Specified by:
setLength
in interfaceI_M_PackageMPS
- Parameters:
Length
- Length
-
getLength
Get Length.- Specified by:
getLength
in interfaceI_M_PackageMPS
- Returns:
- Length
-
setMasterTrackingNo
Set Master Tracking No.- Specified by:
setMasterTrackingNo
in interfaceI_M_PackageMPS
- Parameters:
MasterTrackingNo
- Master Tracking No
-
getMasterTrackingNo
Get Master Tracking No.- Specified by:
getMasterTrackingNo
in interfaceI_M_PackageMPS
- Returns:
- Master Tracking No
-
getM_Package
- Specified by:
getM_Package
in interfaceI_M_PackageMPS
- Throws:
RuntimeException
-
setM_Package_ID
public void setM_Package_ID(int M_Package_ID) Set Package.- Specified by:
setM_Package_ID
in interfaceI_M_PackageMPS
- Parameters:
M_Package_ID
- Shipment Package
-
getM_Package_ID
public int getM_Package_ID()Get Package.- Specified by:
getM_Package_ID
in interfaceI_M_PackageMPS
- Returns:
- Shipment Package
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setM_PackageMPS_ID
public void setM_PackageMPS_ID(int M_PackageMPS_ID) Set Package MPS.- Specified by:
setM_PackageMPS_ID
in interfaceI_M_PackageMPS
- Parameters:
M_PackageMPS_ID
- Package MPS
-
getM_PackageMPS_ID
public int getM_PackageMPS_ID()Get Package MPS.- Specified by:
getM_PackageMPS_ID
in interfaceI_M_PackageMPS
- Returns:
- Package MPS
-
setM_PackageMPS_UU
Set M_PackageMPS_UU.- Specified by:
setM_PackageMPS_UU
in interfaceI_M_PackageMPS
- Parameters:
M_PackageMPS_UU
- M_PackageMPS_UU
-
getM_PackageMPS_UU
Get M_PackageMPS_UU.- Specified by:
getM_PackageMPS_UU
in interfaceI_M_PackageMPS
- Returns:
- M_PackageMPS_UU
-
setPrice
Set Price.- Specified by:
setPrice
in interfaceI_M_PackageMPS
- Parameters:
Price
- Price
-
getPrice
Get Price.- Specified by:
getPrice
in interfaceI_M_PackageMPS
- Returns:
- Price
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessed
in interfaceI_M_PackageMPS
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessed
in interfaceI_M_PackageMPS
- Returns:
- The document has been processed
-
setSeqNo
public void setSeqNo(int SeqNo) Set Sequence.- Specified by:
setSeqNo
in interfaceI_M_PackageMPS
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()Get Sequence.- Specified by:
getSeqNo
in interfaceI_M_PackageMPS
- Returns:
- Method of ordering records; lowest number comes first
-
setTrackingNo
Set Tracking No.- Specified by:
setTrackingNo
in interfaceI_M_PackageMPS
- Parameters:
TrackingNo
- Number to track the shipment
-
getTrackingNo
Get Tracking No.- Specified by:
getTrackingNo
in interfaceI_M_PackageMPS
- Returns:
- Number to track the shipment
-
setWeight
Set Weight.- Specified by:
setWeight
in interfaceI_M_PackageMPS
- Parameters:
Weight
- Weight of a product
-
getWeight
Get Weight.- Specified by:
getWeight
in interfaceI_M_PackageMPS
- Returns:
- Weight of a product
-
setWidth
Set Width.- Specified by:
setWidth
in interfaceI_M_PackageMPS
- Parameters:
Width
- Width
-
getWidth
Get Width.- Specified by:
getWidth
in interfaceI_M_PackageMPS
- Returns:
- Width
-