Adempiere 3.5.2a

org.compiere.model
Class X_M_Product

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_M_Product
All Implemented Interfaces:
Serializable, Comparator, I_M_Product, I_Persistent, Evaluatee
Direct Known Subclasses:
MProduct

public class X_M_Product
extends PO
implements I_M_Product, I_Persistent

Generated Model for M_Product

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

Field Summary
static int M_PRODUCT_CATEGORY_ID_AD_Reference_ID
          M_Product_Category_ID AD_Reference_ID=163
static int PRODUCTTYPE_AD_Reference_ID
          ProductType AD_Reference_ID=270
static String PRODUCTTYPE_ExpenseType
          Expense type = E
static String PRODUCTTYPE_Item
          Item = I
static String PRODUCTTYPE_Online
          Online = O
static String PRODUCTTYPE_Resource
          Resource = R
static String PRODUCTTYPE_Service
          Service = S
static int SALESREP_ID_AD_Reference_ID
          SalesRep_ID AD_Reference_ID=190
 
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_Product
accessLevel, COLUMNNAME_C_RevenueRecognition_ID, COLUMNNAME_C_SubscriptionType_ID, COLUMNNAME_C_TaxCategory_ID, COLUMNNAME_C_UOM_ID, COLUMNNAME_Classification, COLUMNNAME_Description, COLUMNNAME_DescriptionURL, COLUMNNAME_Discontinued, COLUMNNAME_DiscontinuedBy, COLUMNNAME_DocumentNote, COLUMNNAME_Group1, COLUMNNAME_Group2, COLUMNNAME_GuaranteeDays, COLUMNNAME_GuaranteeDaysMin, COLUMNNAME_Help, COLUMNNAME_ImageURL, COLUMNNAME_IsBOM, COLUMNNAME_IsDropShip, COLUMNNAME_IsExcludeAutoDelivery, COLUMNNAME_IsInvoicePrintDetails, COLUMNNAME_IsPickListPrintDetails, COLUMNNAME_IsPurchased, COLUMNNAME_IsSelfService, COLUMNNAME_IsSold, COLUMNNAME_IsStocked, COLUMNNAME_IsSummary, COLUMNNAME_IsVerified, COLUMNNAME_IsWebStoreFeatured, COLUMNNAME_LowLevel, COLUMNNAME_M_AttributeSet_ID, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_FreightCategory_ID, COLUMNNAME_M_Locator_ID, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_ProductType, COLUMNNAME_R_MailText_ID, COLUMNNAME_S_ExpenseType_ID, COLUMNNAME_S_Resource_ID, COLUMNNAME_SalesRep_ID, COLUMNNAME_ShelfDepth, COLUMNNAME_ShelfHeight, COLUMNNAME_ShelfWidth, COLUMNNAME_SKU, COLUMNNAME_UnitsPerPallet, COLUMNNAME_UPC, COLUMNNAME_Value, COLUMNNAME_VersionNo, COLUMNNAME_Volume, COLUMNNAME_Weight, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_Product(Properties ctx, int M_Product_ID, String trxName)
          Standard Constructor
X_M_Product(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_RevenueRecognition_ID()
          Get Revenue Recognition.
 I_C_RevenueRecognition getC_RevenueRecognition()
           
 int getC_SubscriptionType_ID()
          Get Subscription Type.
 int getC_TaxCategory_ID()
          Get Tax Category.
 I_C_TaxCategory getC_TaxCategory()
           
 int getC_UOM_ID()
          Get UOM.
 I_C_UOM getC_UOM()
           
 String getClassification()
          Get Classification.
 String getDescription()
          Get Description.
 String getDescriptionURL()
          Get Description URL.
 Timestamp getDiscontinuedBy()
          Get Discontinued by.
 String getDocumentNote()
          Get Document Note.
 String getGroup1()
          Get Group1.
 String getGroup2()
          Get Group2.
 int getGuaranteeDays()
          Get Guarantee Days.
 int getGuaranteeDaysMin()
          Get Min Guarantee Days.
 String getHelp()
          Get Comment/Help.
 String getImageURL()
          Get Image URL.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLowLevel()
          Get LowLevel.
 int getM_AttributeSet_ID()
          Get Attribute Set.
 I_M_AttributeSet getM_AttributeSet()
           
 int getM_AttributeSetInstance_ID()
          Get Attribute Set Instance.
 int getM_FreightCategory_ID()
          Get Freight Category.
 I_M_FreightCategory getM_FreightCategory()
           
 int getM_Locator_ID()
          Get Locator.
 int getM_Product_Category_ID()
          Get Product Category.
 I_M_Product_Category getM_Product_Category()
           
 int getM_Product_ID()
          Get Product.
 String getName()
          Get Name.
 String getProductType()
          Get Product Type.
 int getR_MailText_ID()
          Get Mail Template.
 I_R_MailText getR_MailText()
           
 int getS_ExpenseType_ID()
          Get Expense Type.
 I_S_ExpenseType getS_ExpenseType()
           
 int getS_Resource_ID()
          Get Resource.
 I_S_Resource getS_Resource()
           
 int getSalesRep_ID()
          Get Sales Representative.
 int getShelfDepth()
          Get Shelf Depth.
 BigDecimal getShelfHeight()
          Get Shelf Height.
 int getShelfWidth()
          Get Shelf Width.
 String getSKU()
          Get SKU.
 BigDecimal getUnitsPerPallet()
          Get Units Per Pallet.
 String getUPC()
          Get UPC/EAN.
 String getValue()
          Get Search Key.
 String getVersionNo()
          Get Version No.
 BigDecimal getVolume()
          Get Volume.
 BigDecimal getWeight()
          Get Weight.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isBOM()
          Get Bill of Materials.
 boolean isDiscontinued()
          Get Discontinued.
 boolean isDropShip()
          Get Drop Shipment.
 boolean isExcludeAutoDelivery()
          Get Exclude Auto Delivery.
 boolean isInvoicePrintDetails()
          Get Print detail records on invoice .
 boolean isPickListPrintDetails()
          Get Print detail records on pick list.
 boolean isProcessing()
          Get Process Now.
 boolean isPurchased()
          Get Purchased.
 boolean isSelfService()
          Get Self-Service.
 boolean isSold()
          Get Sold.
 boolean isStocked()
          Get Stocked.
 boolean isSummary()
          Get Summary Level.
 boolean isVerified()
          Get Verified.
 boolean isWebStoreFeatured()
          Get Featured in Web Store.
 void setC_RevenueRecognition_ID(int C_RevenueRecognition_ID)
          Set Revenue Recognition.
 void setC_SubscriptionType_ID(int C_SubscriptionType_ID)
          Set Subscription Type.
 void setC_TaxCategory_ID(int C_TaxCategory_ID)
          Set Tax Category.
 void setC_UOM_ID(int C_UOM_ID)
          Set UOM.
 void setClassification(String Classification)
          Set Classification.
 void setDescription(String Description)
          Set Description.
 void setDescriptionURL(String DescriptionURL)
          Set Description URL.
 void setDiscontinued(boolean Discontinued)
          Set Discontinued.
 void setDiscontinuedBy(Timestamp DiscontinuedBy)
          Set Discontinued by.
 void setDocumentNote(String DocumentNote)
          Set Document Note.
 void setGroup1(String Group1)
          Set Group1.
 void setGroup2(String Group2)
          Set Group2.
 void setGuaranteeDays(int GuaranteeDays)
          Set Guarantee Days.
 void setGuaranteeDaysMin(int GuaranteeDaysMin)
          Set Min Guarantee Days.
 void setHelp(String Help)
          Set Comment/Help.
 void setImageURL(String ImageURL)
          Set Image URL.
 void setIsBOM(boolean IsBOM)
          Set Bill of Materials.
 void setIsDropShip(boolean IsDropShip)
          Set Drop Shipment.
 void setIsExcludeAutoDelivery(boolean IsExcludeAutoDelivery)
          Set Exclude Auto Delivery.
 void setIsInvoicePrintDetails(boolean IsInvoicePrintDetails)
          Set Print detail records on invoice .
 void setIsPickListPrintDetails(boolean IsPickListPrintDetails)
          Set Print detail records on pick list.
 void setIsPurchased(boolean IsPurchased)
          Set Purchased.
 void setIsSelfService(boolean IsSelfService)
          Set Self-Service.
 void setIsSold(boolean IsSold)
          Set Sold.
 void setIsStocked(boolean IsStocked)
          Set Stocked.
 void setIsSummary(boolean IsSummary)
          Set Summary Level.
 void setIsVerified(boolean IsVerified)
          Set Verified.
 void setIsWebStoreFeatured(boolean IsWebStoreFeatured)
          Set Featured in Web Store.
 void setLowLevel(int LowLevel)
          Set LowLevel.
 void setM_AttributeSet_ID(int M_AttributeSet_ID)
          Set Attribute Set.
 void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
          Set Attribute Set Instance.
 void setM_FreightCategory_ID(int M_FreightCategory_ID)
          Set Freight Category.
 void setM_Locator_ID(int M_Locator_ID)
          Set Locator.
 void setM_Product_Category_ID(int M_Product_Category_ID)
          Set Product Category.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setName(String Name)
          Set Name.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setProductType(String ProductType)
          Set Product Type.
 void setR_MailText_ID(int R_MailText_ID)
          Set Mail Template.
 void setS_ExpenseType_ID(int S_ExpenseType_ID)
          Set Expense Type.
 void setS_Resource_ID(int S_Resource_ID)
          Set Resource.
 void setSalesRep_ID(int SalesRep_ID)
          Set Sales Representative.
 void setShelfDepth(int ShelfDepth)
          Set Shelf Depth.
 void setShelfHeight(BigDecimal ShelfHeight)
          Set Shelf Height.
 void setShelfWidth(int ShelfWidth)
          Set Shelf Width.
 void setSKU(String SKU)
          Set SKU.
 void setUnitsPerPallet(BigDecimal UnitsPerPallet)
          Set Units Per Pallet.
 void setUPC(String UPC)
          Set UPC/EAN.
 void setValue(String Value)
          Set Search Key.
 void setVersionNo(String VersionNo)
          Set Version No.
 void setVolume(BigDecimal Volume)
          Set Volume.
 void setWeight(BigDecimal Weight)
          Set Weight.
 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

M_PRODUCT_CATEGORY_ID_AD_Reference_ID

public static final int M_PRODUCT_CATEGORY_ID_AD_Reference_ID
M_Product_Category_ID AD_Reference_ID=163

See Also:
Constant Field Values

PRODUCTTYPE_AD_Reference_ID

public static final int PRODUCTTYPE_AD_Reference_ID
ProductType AD_Reference_ID=270

See Also:
Constant Field Values

PRODUCTTYPE_Item

public static final String PRODUCTTYPE_Item
Item = I

See Also:
Constant Field Values

PRODUCTTYPE_Service

public static final String PRODUCTTYPE_Service
Service = S

See Also:
Constant Field Values

PRODUCTTYPE_Resource

public static final String PRODUCTTYPE_Resource
Resource = R

See Also:
Constant Field Values

PRODUCTTYPE_ExpenseType

public static final String PRODUCTTYPE_ExpenseType
Expense type = E

See Also:
Constant Field Values

PRODUCTTYPE_Online

public static final String PRODUCTTYPE_Online
Online = O

See Also:
Constant Field Values

SALESREP_ID_AD_Reference_ID

public static final int SALESREP_ID_AD_Reference_ID
SalesRep_ID AD_Reference_ID=190

See Also:
Constant Field Values
Constructor Detail

X_M_Product

public X_M_Product(Properties ctx,
                   int M_Product_ID,
                   String trxName)
Standard Constructor


X_M_Product

public X_M_Product(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

setClassification

public void setClassification(String Classification)
Set Classification.

Specified by:
setClassification in interface I_M_Product
Parameters:
Classification - Classification for grouping

getClassification

public String getClassification()
Get Classification.

Specified by:
getClassification in interface I_M_Product
Returns:
Classification for grouping

getC_RevenueRecognition

public I_C_RevenueRecognition getC_RevenueRecognition()
                                               throws Exception
Specified by:
getC_RevenueRecognition in interface I_M_Product
Throws:
Exception

setC_RevenueRecognition_ID

public void setC_RevenueRecognition_ID(int C_RevenueRecognition_ID)
Set Revenue Recognition.

Specified by:
setC_RevenueRecognition_ID in interface I_M_Product
Parameters:
C_RevenueRecognition_ID - Method for recording revenue

getC_RevenueRecognition_ID

public int getC_RevenueRecognition_ID()
Get Revenue Recognition.

Specified by:
getC_RevenueRecognition_ID in interface I_M_Product
Returns:
Method for recording revenue

setC_SubscriptionType_ID

public void setC_SubscriptionType_ID(int C_SubscriptionType_ID)
Set Subscription Type.

Specified by:
setC_SubscriptionType_ID in interface I_M_Product
Parameters:
C_SubscriptionType_ID - Type of subscription

getC_SubscriptionType_ID

public int getC_SubscriptionType_ID()
Get Subscription Type.

Specified by:
getC_SubscriptionType_ID in interface I_M_Product
Returns:
Type of subscription

getC_TaxCategory

public I_C_TaxCategory getC_TaxCategory()
                                 throws Exception
Specified by:
getC_TaxCategory in interface I_M_Product
Throws:
Exception

setC_TaxCategory_ID

public void setC_TaxCategory_ID(int C_TaxCategory_ID)
Set Tax Category.

Specified by:
setC_TaxCategory_ID in interface I_M_Product
Parameters:
C_TaxCategory_ID - Tax Category

getC_TaxCategory_ID

public int getC_TaxCategory_ID()
Get Tax Category.

Specified by:
getC_TaxCategory_ID in interface I_M_Product
Returns:
Tax Category

getC_UOM

public I_C_UOM getC_UOM()
                 throws Exception
Specified by:
getC_UOM in interface I_M_Product
Throws:
Exception

setC_UOM_ID

public void setC_UOM_ID(int C_UOM_ID)
Set UOM.

Specified by:
setC_UOM_ID in interface I_M_Product
Parameters:
C_UOM_ID - Unit of Measure

getC_UOM_ID

public int getC_UOM_ID()
Get UOM.

Specified by:
getC_UOM_ID in interface I_M_Product
Returns:
Unit of Measure

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_M_Product
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_M_Product
Returns:
Optional short description of the record

setDescriptionURL

public void setDescriptionURL(String DescriptionURL)
Set Description URL.

Specified by:
setDescriptionURL in interface I_M_Product
Parameters:
DescriptionURL - URL for the description

getDescriptionURL

public String getDescriptionURL()
Get Description URL.

Specified by:
getDescriptionURL in interface I_M_Product
Returns:
URL for the description

setDiscontinued

public void setDiscontinued(boolean Discontinued)
Set Discontinued.

Specified by:
setDiscontinued in interface I_M_Product
Parameters:
Discontinued - This product is no longer available

isDiscontinued

public boolean isDiscontinued()
Get Discontinued.

Specified by:
isDiscontinued in interface I_M_Product
Returns:
This product is no longer available

setDiscontinuedBy

public void setDiscontinuedBy(Timestamp DiscontinuedBy)
Set Discontinued by.

Specified by:
setDiscontinuedBy in interface I_M_Product
Parameters:
DiscontinuedBy - Discontinued By

getDiscontinuedBy

public Timestamp getDiscontinuedBy()
Get Discontinued by.

Specified by:
getDiscontinuedBy in interface I_M_Product
Returns:
Discontinued By

setDocumentNote

public void setDocumentNote(String DocumentNote)
Set Document Note.

Specified by:
setDocumentNote in interface I_M_Product
Parameters:
DocumentNote - Additional information for a Document

getDocumentNote

public String getDocumentNote()
Get Document Note.

Specified by:
getDocumentNote in interface I_M_Product
Returns:
Additional information for a Document

setGroup1

public void setGroup1(String Group1)
Set Group1.

Specified by:
setGroup1 in interface I_M_Product
Parameters:
Group1 - Group1

getGroup1

public String getGroup1()
Get Group1.

Specified by:
getGroup1 in interface I_M_Product
Returns:
Group1

setGroup2

public void setGroup2(String Group2)
Set Group2.

Specified by:
setGroup2 in interface I_M_Product
Parameters:
Group2 - Group2

getGroup2

public String getGroup2()
Get Group2.

Specified by:
getGroup2 in interface I_M_Product
Returns:
Group2

setGuaranteeDays

public void setGuaranteeDays(int GuaranteeDays)
Set Guarantee Days.

Specified by:
setGuaranteeDays in interface I_M_Product
Parameters:
GuaranteeDays - Number of days the product is guaranteed or available

getGuaranteeDays

public int getGuaranteeDays()
Get Guarantee Days.

Specified by:
getGuaranteeDays in interface I_M_Product
Returns:
Number of days the product is guaranteed or available

setGuaranteeDaysMin

public void setGuaranteeDaysMin(int GuaranteeDaysMin)
Set Min Guarantee Days.

Specified by:
setGuaranteeDaysMin in interface I_M_Product
Parameters:
GuaranteeDaysMin - Minumum number of guarantee days

getGuaranteeDaysMin

public int getGuaranteeDaysMin()
Get Min Guarantee Days.

Specified by:
getGuaranteeDaysMin in interface I_M_Product
Returns:
Minumum number of guarantee days

setHelp

public void setHelp(String Help)
Set Comment/Help.

Specified by:
setHelp in interface I_M_Product
Parameters:
Help - Comment or Hint

getHelp

public String getHelp()
Get Comment/Help.

Specified by:
getHelp in interface I_M_Product
Returns:
Comment or Hint

setImageURL

public void setImageURL(String ImageURL)
Set Image URL.

Specified by:
setImageURL in interface I_M_Product
Parameters:
ImageURL - URL of image

getImageURL

public String getImageURL()
Get Image URL.

Specified by:
getImageURL in interface I_M_Product
Returns:
URL of image

setIsBOM

public void setIsBOM(boolean IsBOM)
Set Bill of Materials.

Specified by:
setIsBOM in interface I_M_Product
Parameters:
IsBOM - Bill of Materials

isBOM

public boolean isBOM()
Get Bill of Materials.

Specified by:
isBOM in interface I_M_Product
Returns:
Bill of Materials

setIsDropShip

public void setIsDropShip(boolean IsDropShip)
Set Drop Shipment.

Specified by:
setIsDropShip in interface I_M_Product
Parameters:
IsDropShip - Drop Shipments are sent from the Vendor directly to the Customer

isDropShip

public boolean isDropShip()
Get Drop Shipment.

Specified by:
isDropShip in interface I_M_Product
Returns:
Drop Shipments are sent from the Vendor directly to the Customer

setIsExcludeAutoDelivery

public void setIsExcludeAutoDelivery(boolean IsExcludeAutoDelivery)
Set Exclude Auto Delivery.

Specified by:
setIsExcludeAutoDelivery in interface I_M_Product
Parameters:
IsExcludeAutoDelivery - Exclude from automatic Delivery

isExcludeAutoDelivery

public boolean isExcludeAutoDelivery()
Get Exclude Auto Delivery.

Specified by:
isExcludeAutoDelivery in interface I_M_Product
Returns:
Exclude from automatic Delivery

setIsInvoicePrintDetails

public void setIsInvoicePrintDetails(boolean IsInvoicePrintDetails)
Set Print detail records on invoice .

Specified by:
setIsInvoicePrintDetails in interface I_M_Product
Parameters:
IsInvoicePrintDetails - Print detail BOM elements on the invoice

isInvoicePrintDetails

public boolean isInvoicePrintDetails()
Get Print detail records on invoice .

Specified by:
isInvoicePrintDetails in interface I_M_Product
Returns:
Print detail BOM elements on the invoice

setIsPickListPrintDetails

public void setIsPickListPrintDetails(boolean IsPickListPrintDetails)
Set Print detail records on pick list.

Specified by:
setIsPickListPrintDetails in interface I_M_Product
Parameters:
IsPickListPrintDetails - Print detail BOM elements on the pick list

isPickListPrintDetails

public boolean isPickListPrintDetails()
Get Print detail records on pick list.

Specified by:
isPickListPrintDetails in interface I_M_Product
Returns:
Print detail BOM elements on the pick list

setIsPurchased

public void setIsPurchased(boolean IsPurchased)
Set Purchased.

Specified by:
setIsPurchased in interface I_M_Product
Parameters:
IsPurchased - Organization purchases this product

isPurchased

public boolean isPurchased()
Get Purchased.

Specified by:
isPurchased in interface I_M_Product
Returns:
Organization purchases this product

setIsSelfService

public void setIsSelfService(boolean IsSelfService)
Set Self-Service.

Specified by:
setIsSelfService in interface I_M_Product
Parameters:
IsSelfService - This is a Self-Service entry or this entry can be changed via Self-Service

isSelfService

public boolean isSelfService()
Get Self-Service.

Specified by:
isSelfService in interface I_M_Product
Returns:
This is a Self-Service entry or this entry can be changed via Self-Service

setIsSold

public void setIsSold(boolean IsSold)
Set Sold.

Specified by:
setIsSold in interface I_M_Product
Parameters:
IsSold - Organization sells this product

isSold

public boolean isSold()
Get Sold.

Specified by:
isSold in interface I_M_Product
Returns:
Organization sells this product

setIsStocked

public void setIsStocked(boolean IsStocked)
Set Stocked.

Specified by:
setIsStocked in interface I_M_Product
Parameters:
IsStocked - Organization stocks this product

isStocked

public boolean isStocked()
Get Stocked.

Specified by:
isStocked in interface I_M_Product
Returns:
Organization stocks this product

setIsSummary

public void setIsSummary(boolean IsSummary)
Set Summary Level.

Specified by:
setIsSummary in interface I_M_Product
Parameters:
IsSummary - This is a summary entity

isSummary

public boolean isSummary()
Get Summary Level.

Specified by:
isSummary in interface I_M_Product
Returns:
This is a summary entity

setIsVerified

public void setIsVerified(boolean IsVerified)
Set Verified.

Specified by:
setIsVerified in interface I_M_Product
Parameters:
IsVerified - The BOM configuration has been verified

isVerified

public boolean isVerified()
Get Verified.

Specified by:
isVerified in interface I_M_Product
Returns:
The BOM configuration has been verified

setIsWebStoreFeatured

public void setIsWebStoreFeatured(boolean IsWebStoreFeatured)
Set Featured in Web Store.

Specified by:
setIsWebStoreFeatured in interface I_M_Product
Parameters:
IsWebStoreFeatured - If selected, the product is displayed in the inital or any empy search

isWebStoreFeatured

public boolean isWebStoreFeatured()
Get Featured in Web Store.

Specified by:
isWebStoreFeatured in interface I_M_Product
Returns:
If selected, the product is displayed in the inital or any empy search

setLowLevel

public void setLowLevel(int LowLevel)
Set LowLevel.

Specified by:
setLowLevel in interface I_M_Product
Parameters:
LowLevel - LowLevel

getLowLevel

public int getLowLevel()
Get LowLevel.

Specified by:
getLowLevel in interface I_M_Product
Returns:
LowLevel

getM_AttributeSet

public I_M_AttributeSet getM_AttributeSet()
                                   throws Exception
Specified by:
getM_AttributeSet in interface I_M_Product
Throws:
Exception

setM_AttributeSet_ID

public void setM_AttributeSet_ID(int M_AttributeSet_ID)
Set Attribute Set.

Specified by:
setM_AttributeSet_ID in interface I_M_Product
Parameters:
M_AttributeSet_ID - Product Attribute Set

getM_AttributeSet_ID

public int getM_AttributeSet_ID()
Get Attribute Set.

Specified by:
getM_AttributeSet_ID in interface I_M_Product
Returns:
Product Attribute Set

setM_AttributeSetInstance_ID

public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.

Specified by:
setM_AttributeSetInstance_ID in interface I_M_Product
Parameters:
M_AttributeSetInstance_ID - Product Attribute Set Instance

getM_AttributeSetInstance_ID

public int getM_AttributeSetInstance_ID()
Get Attribute Set Instance.

Specified by:
getM_AttributeSetInstance_ID in interface I_M_Product
Returns:
Product Attribute Set Instance

getM_FreightCategory

public I_M_FreightCategory getM_FreightCategory()
                                         throws Exception
Specified by:
getM_FreightCategory in interface I_M_Product
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_Product
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_Product
Returns:
Category of the Freight

setM_Locator_ID

public void setM_Locator_ID(int M_Locator_ID)
Set Locator.

Specified by:
setM_Locator_ID in interface I_M_Product
Parameters:
M_Locator_ID - Warehouse Locator

getM_Locator_ID

public int getM_Locator_ID()
Get Locator.

Specified by:
getM_Locator_ID in interface I_M_Product
Returns:
Warehouse Locator

getM_Product_Category

public I_M_Product_Category getM_Product_Category()
                                           throws Exception
Specified by:
getM_Product_Category in interface I_M_Product
Throws:
Exception

setM_Product_Category_ID

public void setM_Product_Category_ID(int M_Product_Category_ID)
Set Product Category.

Specified by:
setM_Product_Category_ID in interface I_M_Product
Parameters:
M_Product_Category_ID - Category of a Product

getM_Product_Category_ID

public int getM_Product_Category_ID()
Get Product Category.

Specified by:
getM_Product_Category_ID in interface I_M_Product
Returns:
Category of a Product

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Specified by:
setM_Product_ID in interface I_M_Product
Parameters:
M_Product_ID - Product, Service, Item

getM_Product_ID

public int getM_Product_ID()
Get Product.

Specified by:
getM_Product_ID in interface I_M_Product
Returns:
Product, Service, Item

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_M_Product
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_M_Product
Returns:
Alphanumeric identifier of the entity

setProcessing

public void setProcessing(boolean Processing)
Set Process Now.

Specified by:
setProcessing in interface I_M_Product
Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Specified by:
isProcessing in interface I_M_Product
Returns:
Process Now

setProductType

public void setProductType(String ProductType)
Set Product Type.

Specified by:
setProductType in interface I_M_Product
Parameters:
ProductType - Type of product

getProductType

public String getProductType()
Get Product Type.

Specified by:
getProductType in interface I_M_Product
Returns:
Type of product

getR_MailText

public I_R_MailText getR_MailText()
                           throws Exception
Specified by:
getR_MailText in interface I_M_Product
Throws:
Exception

setR_MailText_ID

public void setR_MailText_ID(int R_MailText_ID)
Set Mail Template.

Specified by:
setR_MailText_ID in interface I_M_Product
Parameters:
R_MailText_ID - Text templates for mailings

getR_MailText_ID

public int getR_MailText_ID()
Get Mail Template.

Specified by:
getR_MailText_ID in interface I_M_Product
Returns:
Text templates for mailings

setSalesRep_ID

public void setSalesRep_ID(int SalesRep_ID)
Set Sales Representative.

Specified by:
setSalesRep_ID in interface I_M_Product
Parameters:
SalesRep_ID - Sales Representative or Company Agent

getSalesRep_ID

public int getSalesRep_ID()
Get Sales Representative.

Specified by:
getSalesRep_ID in interface I_M_Product
Returns:
Sales Representative or Company Agent

getS_ExpenseType

public I_S_ExpenseType getS_ExpenseType()
                                 throws Exception
Specified by:
getS_ExpenseType in interface I_M_Product
Throws:
Exception

setS_ExpenseType_ID

public void setS_ExpenseType_ID(int S_ExpenseType_ID)
Set Expense Type.

Specified by:
setS_ExpenseType_ID in interface I_M_Product
Parameters:
S_ExpenseType_ID - Expense report type

getS_ExpenseType_ID

public int getS_ExpenseType_ID()
Get Expense Type.

Specified by:
getS_ExpenseType_ID in interface I_M_Product
Returns:
Expense report type

setShelfDepth

public void setShelfDepth(int ShelfDepth)
Set Shelf Depth.

Specified by:
setShelfDepth in interface I_M_Product
Parameters:
ShelfDepth - Shelf depth required

getShelfDepth

public int getShelfDepth()
Get Shelf Depth.

Specified by:
getShelfDepth in interface I_M_Product
Returns:
Shelf depth required

setShelfHeight

public void setShelfHeight(BigDecimal ShelfHeight)
Set Shelf Height.

Specified by:
setShelfHeight in interface I_M_Product
Parameters:
ShelfHeight - Shelf height required

getShelfHeight

public BigDecimal getShelfHeight()
Get Shelf Height.

Specified by:
getShelfHeight in interface I_M_Product
Returns:
Shelf height required

setShelfWidth

public void setShelfWidth(int ShelfWidth)
Set Shelf Width.

Specified by:
setShelfWidth in interface I_M_Product
Parameters:
ShelfWidth - Shelf width required

getShelfWidth

public int getShelfWidth()
Get Shelf Width.

Specified by:
getShelfWidth in interface I_M_Product
Returns:
Shelf width required

setSKU

public void setSKU(String SKU)
Set SKU.

Specified by:
setSKU in interface I_M_Product
Parameters:
SKU - Stock Keeping Unit

getSKU

public String getSKU()
Get SKU.

Specified by:
getSKU in interface I_M_Product
Returns:
Stock Keeping Unit

getS_Resource

public I_S_Resource getS_Resource()
                           throws Exception
Specified by:
getS_Resource in interface I_M_Product
Throws:
Exception

setS_Resource_ID

public void setS_Resource_ID(int S_Resource_ID)
Set Resource.

Specified by:
setS_Resource_ID in interface I_M_Product
Parameters:
S_Resource_ID - Resource

getS_Resource_ID

public int getS_Resource_ID()
Get Resource.

Specified by:
getS_Resource_ID in interface I_M_Product
Returns:
Resource

setUnitsPerPallet

public void setUnitsPerPallet(BigDecimal UnitsPerPallet)
Set Units Per Pallet.

Specified by:
setUnitsPerPallet in interface I_M_Product
Parameters:
UnitsPerPallet - Units Per Pallet

getUnitsPerPallet

public BigDecimal getUnitsPerPallet()
Get Units Per Pallet.

Specified by:
getUnitsPerPallet in interface I_M_Product
Returns:
Units Per Pallet

setUPC

public void setUPC(String UPC)
Set UPC/EAN.

Specified by:
setUPC in interface I_M_Product
Parameters:
UPC - Bar Code (Universal Product Code or its superset European Article Number)

getUPC

public String getUPC()
Get UPC/EAN.

Specified by:
getUPC in interface I_M_Product
Returns:
Bar Code (Universal Product Code or its superset European Article Number)

setValue

public void setValue(String Value)
Set Search Key.

Specified by:
setValue in interface I_M_Product
Parameters:
Value - Search key for the record in the format required - must be unique

getValue

public String getValue()
Get Search Key.

Specified by:
getValue in interface I_M_Product
Returns:
Search key for the record in the format required - must be unique

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setVersionNo

public void setVersionNo(String VersionNo)
Set Version No.

Specified by:
setVersionNo in interface I_M_Product
Parameters:
VersionNo - Version Number

getVersionNo

public String getVersionNo()
Get Version No.

Specified by:
getVersionNo in interface I_M_Product
Returns:
Version Number

setVolume

public void setVolume(BigDecimal Volume)
Set Volume.

Specified by:
setVolume in interface I_M_Product
Parameters:
Volume - Volume of a product

getVolume

public BigDecimal getVolume()
Get Volume.

Specified by:
getVolume in interface I_M_Product
Returns:
Volume of a product

setWeight

public void setWeight(BigDecimal Weight)
Set Weight.

Specified by:
setWeight in interface I_M_Product
Parameters:
Weight - Weight of a product

getWeight

public BigDecimal getWeight()
Get Weight.

Specified by:
getWeight in interface I_M_Product
Returns:
Weight of a product

Adempiere 3.5.2a

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