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 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMMPolicy AD_Reference_ID=335static final StringFiFo = Fstatic final StringLiFo = 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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelDeprecated.intGet Asset Group.Deprecated.intGet Print Color.Get Description.Get Record ID/ColumnNameintGet Product Category.Deprecated.intGet Parent Product Category.Get M_Product_Category_UU.Get Material Policy.getName()Get Name.Get Planned Margin %.getValue()Get Search Key.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Default.booleanGet Self-Service.voidsetA_Asset_Group_ID(int A_Asset_Group_ID) Set Asset Group.voidsetAD_PrintColor_ID(int AD_PrintColor_ID) Set Print Color.voidsetDescription(String Description) Set Description.voidsetIsDefault(boolean IsDefault) Set Default.voidsetIsSelfService(boolean IsSelfService) Set Self-Service.voidsetM_Product_Category_ID(int M_Product_Category_ID) Set Product Category.voidsetM_Product_Category_Parent_ID(int M_Product_Category_Parent_ID) Set Parent Product Category.voidsetM_Product_Category_UU(String M_Product_Category_UU) Set M_Product_Category_UU.voidsetMMPolicy(String MMPolicy) Set Material Policy.voidSet Name.voidsetPlannedMargin(BigDecimal PlannedMargin) Set Planned Margin %.voidSet 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_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, 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, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_M_Product_Category
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
getAD_PrintColor
Deprecated.- Specified by:
getAD_PrintColorin 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_IDin 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_IDin interfaceI_M_Product_Category- Returns:
- Color used for printing and display
-
getA_Asset_Group
Deprecated.- Specified by:
getA_Asset_Groupin 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_IDin 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_IDin interfaceI_M_Product_Category- Returns:
- Group of Assets
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_M_Product_Category- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_M_Product_Category- Returns:
- Optional short description of the record
-
setIsDefault
public void setIsDefault(boolean IsDefault) Set Default.- Specified by:
setIsDefaultin interfaceI_M_Product_Category- Parameters:
IsDefault- Default value
-
isDefault
public boolean isDefault()Get Default.- Specified by:
isDefaultin interfaceI_M_Product_Category- Returns:
- Default value
-
setIsSelfService
public void setIsSelfService(boolean IsSelfService) Set Self-Service.- Specified by:
setIsSelfServicein 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:
isSelfServicein 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:
setMMPolicyin interfaceI_M_Product_Category- Parameters:
MMPolicy- Material Movement Policy
-
getMMPolicy
Get Material Policy.- Specified by:
getMMPolicyin 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_IDin 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_IDin interfaceI_M_Product_Category- Returns:
- Category of a Product
-
getM_Product_Category_Parent
@Deprecated(since="13") public I_M_Product_Category getM_Product_Category_Parent() throws RuntimeExceptionDeprecated.- Specified by:
getM_Product_Category_Parentin 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_IDin 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_IDin interfaceI_M_Product_Category- Returns:
- Parent Product Category
-
setM_Product_Category_UU
Set M_Product_Category_UU.- Specified by:
setM_Product_Category_UUin 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_UUin interfaceI_M_Product_Category- Returns:
- M_Product_Category_UU
-
setName
Set Name.- Specified by:
setNamein interfaceI_M_Product_Category- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getNamein 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:
setPlannedMarginin interfaceI_M_Product_Category- Parameters:
PlannedMargin- Project's planned margin as a percentage
-
getPlannedMargin
Get Planned Margin %.- Specified by:
getPlannedMarginin interfaceI_M_Product_Category- Returns:
- Project's planned margin as a percentage
-
setValue
Set Search Key.- Specified by:
setValuein interfaceI_M_Product_Category- Parameters:
Value- Search key for the record in the format required - must be unique
-
getValue
Get Search Key.- Specified by:
getValuein interfaceI_M_Product_Category- Returns:
- Search key for the record in the format required - must be unique
-