Adempiere 3.5.2a

org.compiere.model
Class X_M_Product_Category

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_M_Product_Category
All Implemented Interfaces:
Serializable, Comparator, I_M_Product_Category, I_Persistent, Evaluatee
Direct Known Subclasses:
MProductCategory

public class X_M_Product_Category
extends PO
implements I_M_Product_Category, I_Persistent

Generated Model for M_Product_Category

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

Field Summary
static int M_PRODUCT_CATEGORY_PARENT_ID_AD_Reference_ID
          M_Product_Category_Parent_ID AD_Reference_ID=163
static int MMPOLICY_AD_Reference_ID
          MMPolicy AD_Reference_ID=335
static String MMPOLICY_FiFo
          FiFo = F
static String MMPOLICY_LiFo
          LiFo = L
 
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_Category
accessLevel, COLUMNNAME_A_Asset_Group_ID, COLUMNNAME_AD_PrintColor_ID, COLUMNNAME_Description, COLUMNNAME_IsDefault, COLUMNNAME_IsSelfService, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_Category_Parent_ID, COLUMNNAME_MMPolicy, COLUMNNAME_Name, COLUMNNAME_PlannedMargin, COLUMNNAME_Value, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_Product_Category(Properties ctx, int M_Product_Category_ID, String trxName)
          Standard Constructor
X_M_Product_Category(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getA_Asset_Group_ID()
          Get Asset Group.
 I_A_Asset_Group getA_Asset_Group()
           
 int getAD_PrintColor_ID()
          Get Print Color.
 I_AD_PrintColor getAD_PrintColor()
           
 String getDescription()
          Get Description.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_Product_Category_ID()
          Get Product Category.
 int getM_Product_Category_Parent_ID()
          Get Parent Product Category.
 String getMMPolicy()
          Get Material Policy.
 String getName()
          Get Name.
 BigDecimal getPlannedMargin()
          Get Planned Margin %.
 String getValue()
          Get Search Key.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isDefault()
          Get Default.
 boolean isSelfService()
          Get Self-Service.
 void setA_Asset_Group_ID(int A_Asset_Group_ID)
          Set Asset Group.
 void setAD_PrintColor_ID(int AD_PrintColor_ID)
          Set Print Color.
 void setDescription(String Description)
          Set Description.
 void setIsDefault(boolean IsDefault)
          Set Default.
 void setIsSelfService(boolean IsSelfService)
          Set Self-Service.
 void setM_Product_Category_ID(int M_Product_Category_ID)
          Set Product Category.
 void setM_Product_Category_Parent_ID(int M_Product_Category_Parent_ID)
          Set Parent Product Category.
 void setMMPolicy(String MMPolicy)
          Set Material Policy.
 void setName(String Name)
          Set Name.
 void setPlannedMargin(BigDecimal PlannedMargin)
          Set Planned Margin %.
 void setValue(String Value)
          Set Search Key.
 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

MMPOLICY_AD_Reference_ID

public static final int MMPOLICY_AD_Reference_ID
MMPolicy AD_Reference_ID=335

See Also:
Constant Field Values

MMPOLICY_LiFo

public static final String MMPOLICY_LiFo
LiFo = L

See Also:
Constant Field Values

MMPOLICY_FiFo

public static final String MMPOLICY_FiFo
FiFo = F

See Also:
Constant Field Values

M_PRODUCT_CATEGORY_PARENT_ID_AD_Reference_ID

public static final int M_PRODUCT_CATEGORY_PARENT_ID_AD_Reference_ID
M_Product_Category_Parent_ID AD_Reference_ID=163

See Also:
Constant Field Values
Constructor Detail

X_M_Product_Category

public X_M_Product_Category(Properties ctx,
                            int M_Product_Category_ID,
                            String trxName)
Standard Constructor


X_M_Product_Category

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

getA_Asset_Group

public I_A_Asset_Group getA_Asset_Group()
                                 throws Exception
Specified by:
getA_Asset_Group in interface I_M_Product_Category
Throws:
Exception

setA_Asset_Group_ID

public void setA_Asset_Group_ID(int A_Asset_Group_ID)
Set Asset Group.

Specified by:
setA_Asset_Group_ID in interface I_M_Product_Category
Parameters:
A_Asset_Group_ID - Group of Assets

getA_Asset_Group_ID

public int getA_Asset_Group_ID()
Get Asset Group.

Specified by:
getA_Asset_Group_ID in interface I_M_Product_Category
Returns:
Group of Assets

getAD_PrintColor

public I_AD_PrintColor getAD_PrintColor()
                                 throws Exception
Specified by:
getAD_PrintColor in interface I_M_Product_Category
Throws:
Exception

setAD_PrintColor_ID

public void setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.

Specified by:
setAD_PrintColor_ID in interface I_M_Product_Category
Parameters:
AD_PrintColor_ID - Color used for printing and display

getAD_PrintColor_ID

public int getAD_PrintColor_ID()
Get Print Color.

Specified by:
getAD_PrintColor_ID in interface I_M_Product_Category
Returns:
Color used for printing and display

setDescription

public void setDescription(String Description)
Set Description.

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

getDescription

public String getDescription()
Get Description.

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

setIsDefault

public void setIsDefault(boolean IsDefault)
Set Default.

Specified by:
setIsDefault in interface I_M_Product_Category
Parameters:
IsDefault - Default value

isDefault

public boolean isDefault()
Get Default.

Specified by:
isDefault in interface I_M_Product_Category
Returns:
Default value

setIsSelfService

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

Specified by:
setIsSelfService in interface I_M_Product_Category
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_Category
Returns:
This is a Self-Service entry or this entry can be changed via Self-Service

setMMPolicy

public void setMMPolicy(String MMPolicy)
Set Material Policy.

Specified by:
setMMPolicy in interface I_M_Product_Category
Parameters:
MMPolicy - Material Movement Policy

getMMPolicy

public String getMMPolicy()
Get Material Policy.

Specified by:
getMMPolicy in interface I_M_Product_Category
Returns:
Material Movement Policy

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_Category
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_Category
Returns:
Category of a Product

setM_Product_Category_Parent_ID

public void setM_Product_Category_Parent_ID(int M_Product_Category_Parent_ID)
Set Parent Product Category.

Specified by:
setM_Product_Category_Parent_ID in interface I_M_Product_Category
Parameters:
M_Product_Category_Parent_ID - Parent Product Category

getM_Product_Category_Parent_ID

public int getM_Product_Category_Parent_ID()
Get Parent Product Category.

Specified by:
getM_Product_Category_Parent_ID in interface I_M_Product_Category
Returns:
Parent Product Category

setName

public void setName(String Name)
Set Name.

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

getName

public String getName()
Get Name.

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

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setPlannedMargin

public void setPlannedMargin(BigDecimal PlannedMargin)
Set Planned Margin %.

Specified by:
setPlannedMargin in interface I_M_Product_Category
Parameters:
PlannedMargin - Project's planned margin as a percentage

getPlannedMargin

public BigDecimal getPlannedMargin()
Get Planned Margin %.

Specified by:
getPlannedMargin in interface I_M_Product_Category
Returns:
Project's planned margin as a percentage

setValue

public void setValue(String Value)
Set Search Key.

Specified by:
setValue in interface I_M_Product_Category
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_Category
Returns:
Search key for the record in the format required - must be unique

Adempiere 3.5.2a

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