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
Generated Model for M_Product_Category
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
MMPolicy AD_Reference_ID=335static final String
FiFo = Fstatic final String
LiFo = LFields 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_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
ConstructorDescriptionX_M_Product_Category
(Properties ctx, int M_Product_Category_ID, String trxName) Standard ConstructorX_M_Product_Category
(Properties ctx, int M_Product_Category_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_Product_Category
(Properties ctx, String M_Product_Category_UU, String trxName) Standard ConstructorX_M_Product_Category
(Properties ctx, String M_Product_Category_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_Product_Category
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Asset Group.int
Get Print Color.Get Description.Get Record ID/ColumnNameint
Get Product Category.int
Get Parent Product Category.Get M_Product_Category_UU.Get Material Policy.getName()
Get Name.Get Planned Margin %.getValue()
Get Search Key.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Default.boolean
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
Set Name.void
setPlannedMargin
(BigDecimal PlannedMargin) Set Planned Margin %.void
Set Search Key.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_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 Details
-
MMPOLICY_AD_Reference_ID
public static final int MMPOLICY_AD_Reference_IDMMPolicy AD_Reference_ID=335- See Also:
-
MMPOLICY_FiFo
FiFo = F- See Also:
-
MMPOLICY_LiFo
LiFo = L- See Also:
-
-
Constructor Details
-
X_M_Product_Category
Standard Constructor -
X_M_Product_Category
public X_M_Product_Category(Properties ctx, int M_Product_Category_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_Product_Category
Standard Constructor -
X_M_Product_Category
public X_M_Product_Category(Properties ctx, String M_Product_Category_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_Product_Category
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 -
getA_Asset_Group
- 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
- 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
Set Description.- Specified by:
setDescription
in interfaceI_M_Product_Category
- Parameters:
Description
- Optional short description of the record
-
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
Set Material Policy.- Specified by:
setMMPolicy
in interfaceI_M_Product_Category
- Parameters:
MMPolicy
- Material Movement Policy
-
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
- 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
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
Get M_Product_Category_UU.- Specified by:
getM_Product_Category_UU
in interfaceI_M_Product_Category
- Returns:
- M_Product_Category_UU
-
setName
Set Name.- Specified by:
setName
in interfaceI_M_Product_Category
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_M_Product_Category
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPlannedMargin
Set Planned Margin %.- Specified by:
setPlannedMargin
in interfaceI_M_Product_Category
- Parameters:
PlannedMargin
- Project's planned margin as a percentage
-
getPlannedMargin
Get Planned Margin %.- Specified by:
getPlannedMargin
in interfaceI_M_Product_Category
- Returns:
- Project's planned margin as a percentage
-
setValue
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
Get Search Key.- Specified by:
getValue
in interfaceI_M_Product_Category
- Returns:
- Search key for the record in the format required - must be unique
-