Package org.compiere.model
Class X_M_Product_Category
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_M_Product_Category
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,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 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MMPOLICY_AD_Reference_ID
MMPolicy AD_Reference_ID=335static String
MMPOLICY_FiFo
FiFo = Fstatic 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, LOCAL_TRX_PREFIX, 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_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PrintColor_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_IsDefault, COLUMNNAME_IsSelfService, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_Category_Parent_ID, COLUMNNAME_M_Product_Category_UU, COLUMNNAME_MMPolicy, COLUMNNAME_Name, COLUMNNAME_PlannedMargin, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_M_Product_Category(Properties ctx, int M_Product_Category_ID, String trxName)
Standard ConstructorX_M_Product_Category(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_A_Asset_Group
getA_Asset_Group()
int
getA_Asset_Group_ID()
Get Asset Group.I_AD_PrintColor
getAD_PrintColor()
int
getAD_PrintColor_ID()
Get Print Color.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getM_Product_Category_ID()
Get Product Category.I_M_Product_Category
getM_Product_Category_Parent()
int
getM_Product_Category_Parent_ID()
Get Parent Product Category.String
getM_Product_Category_UU()
Get M_Product_Category_UU.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 Databoolean
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
setM_Product_Category_UU(String M_Product_Category_UU)
Set M_Product_Category_UU.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, 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_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, 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, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, 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, 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_Product_Category
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
-
-
-
-
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_FiFo
public static final String MMPOLICY_FiFo
FiFo = F- See Also:
- Constant Field Values
-
MMPOLICY_LiFo
public static final String MMPOLICY_LiFo
LiFo = L- 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 classPO
- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getA_Asset_Group
public I_A_Asset_Group getA_Asset_Group() throws RuntimeException
- Specified by:
getA_Asset_Group
in interfaceI_M_Product_Category
- Throws:
RuntimeException
-
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 interfaceI_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 interfaceI_M_Product_Category
- Returns:
- Group of Assets
-
getAD_PrintColor
public I_AD_PrintColor getAD_PrintColor() throws RuntimeException
- Specified by:
getAD_PrintColor
in interfaceI_M_Product_Category
- Throws:
RuntimeException
-
setAD_PrintColor_ID
public void setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.- Specified by:
setAD_PrintColor_ID
in interfaceI_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 interfaceI_M_Product_Category
- Returns:
- Color used for printing and display
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_M_Product_Category
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_M_Product_Category
- Returns:
- Optional short description of the record
-
setIsDefault
public void setIsDefault(boolean IsDefault)
Set Default.- Specified by:
setIsDefault
in interfaceI_M_Product_Category
- Parameters:
IsDefault
- Default value
-
isDefault
public boolean isDefault()
Get Default.- Specified by:
isDefault
in interfaceI_M_Product_Category
- Returns:
- Default value
-
setIsSelfService
public void setIsSelfService(boolean IsSelfService)
Set Self-Service.- Specified by:
setIsSelfService
in interfaceI_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 interfaceI_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 interfaceI_M_Product_Category
- Parameters:
MMPolicy
- Material Movement Policy
-
getMMPolicy
public String getMMPolicy()
Get Material Policy.- Specified by:
getMMPolicy
in interfaceI_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 interfaceI_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 interfaceI_M_Product_Category
- Returns:
- Category of a Product
-
getM_Product_Category_Parent
public I_M_Product_Category getM_Product_Category_Parent() throws RuntimeException
- Specified by:
getM_Product_Category_Parent
in interfaceI_M_Product_Category
- Throws:
RuntimeException
-
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 interfaceI_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 interfaceI_M_Product_Category
- Returns:
- Parent Product Category
-
setM_Product_Category_UU
public void setM_Product_Category_UU(String M_Product_Category_UU)
Set M_Product_Category_UU.- Specified by:
setM_Product_Category_UU
in interfaceI_M_Product_Category
- Parameters:
M_Product_Category_UU
- M_Product_Category_UU
-
getM_Product_Category_UU
public String getM_Product_Category_UU()
Get M_Product_Category_UU.- Specified by:
getM_Product_Category_UU
in interfaceI_M_Product_Category
- Returns:
- M_Product_Category_UU
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_M_Product_Category
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_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 interfaceI_M_Product_Category
- Parameters:
PlannedMargin
- Project's planned margin as a percentage
-
getPlannedMargin
public BigDecimal getPlannedMargin()
Get Planned Margin %.- Specified by:
getPlannedMargin
in interfaceI_M_Product_Category
- Returns:
- Project's planned margin as a percentage
-
setValue
public void setValue(String Value)
Set Search Key.- Specified by:
setValue
in interfaceI_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 interfaceI_M_Product_Category
- Returns:
- Search key for the record in the format required - must be unique
-
-