|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_M_Product_Category
public class X_M_Product_Category
Generated Model for M_Product_Category
| 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 java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Field Detail |
|---|
public static final int MMPOLICY_AD_Reference_ID
public static final String MMPOLICY_LiFo
public static final String MMPOLICY_FiFo
public static final int M_PRODUCT_CATEGORY_PARENT_ID_AD_Reference_ID
| Constructor Detail |
|---|
public X_M_Product_Category(Properties ctx,
int M_Product_Category_ID,
String trxName)
public X_M_Product_Category(Properties ctx,
ResultSet rs,
String trxName)
| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Properties ctx)
initPO in class POctx - context
public String toString()
PO
toString in class PO
public I_A_Asset_Group getA_Asset_Group()
throws Exception
getA_Asset_Group in interface I_M_Product_CategoryExceptionpublic void setA_Asset_Group_ID(int A_Asset_Group_ID)
setA_Asset_Group_ID in interface I_M_Product_CategoryA_Asset_Group_ID - Group of Assetspublic int getA_Asset_Group_ID()
getA_Asset_Group_ID in interface I_M_Product_Category
public I_AD_PrintColor getAD_PrintColor()
throws Exception
getAD_PrintColor in interface I_M_Product_CategoryExceptionpublic void setAD_PrintColor_ID(int AD_PrintColor_ID)
setAD_PrintColor_ID in interface I_M_Product_CategoryAD_PrintColor_ID - Color used for printing and displaypublic int getAD_PrintColor_ID()
getAD_PrintColor_ID in interface I_M_Product_Categorypublic void setDescription(String Description)
setDescription in interface I_M_Product_CategoryDescription - Optional short description of the recordpublic String getDescription()
getDescription in interface I_M_Product_Categorypublic void setIsDefault(boolean IsDefault)
setIsDefault in interface I_M_Product_CategoryIsDefault - Default valuepublic boolean isDefault()
isDefault in interface I_M_Product_Categorypublic void setIsSelfService(boolean IsSelfService)
setIsSelfService in interface I_M_Product_CategoryIsSelfService - This is a Self-Service entry or this entry can be changed via Self-Servicepublic boolean isSelfService()
isSelfService in interface I_M_Product_Categorypublic void setMMPolicy(String MMPolicy)
setMMPolicy in interface I_M_Product_CategoryMMPolicy - Material Movement Policypublic String getMMPolicy()
getMMPolicy in interface I_M_Product_Categorypublic void setM_Product_Category_ID(int M_Product_Category_ID)
setM_Product_Category_ID in interface I_M_Product_CategoryM_Product_Category_ID - Category of a Productpublic int getM_Product_Category_ID()
getM_Product_Category_ID in interface I_M_Product_Categorypublic void setM_Product_Category_Parent_ID(int M_Product_Category_Parent_ID)
setM_Product_Category_Parent_ID in interface I_M_Product_CategoryM_Product_Category_Parent_ID - Parent Product Categorypublic int getM_Product_Category_Parent_ID()
getM_Product_Category_Parent_ID in interface I_M_Product_Categorypublic void setName(String Name)
setName in interface I_M_Product_CategoryName - Alphanumeric identifier of the entitypublic String getName()
getName in interface I_M_Product_Categorypublic KeyNamePair getKeyNamePair()
public void setPlannedMargin(BigDecimal PlannedMargin)
setPlannedMargin in interface I_M_Product_CategoryPlannedMargin - Project's planned margin as a percentagepublic BigDecimal getPlannedMargin()
getPlannedMargin in interface I_M_Product_Categorypublic void setValue(String Value)
setValue in interface I_M_Product_CategoryValue - Search key for the record in the format required - must be uniquepublic String getValue()
getValue in interface I_M_Product_Category
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||