Package org.compiere.model
Class X_C_UOM
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_UOM
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_UOM
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MUOM
Generated Model for C_UOM
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
UOMType AD_Reference_ID=53323static final String
Angle = ANstatic final String
Area = ARstatic final String
Currency = CUstatic final String
Data Speed = DVstatic final String
Data Storage = DSstatic final String
Density = DEstatic final String
Energy = ENstatic final String
Force = FOstatic final String
Frequency = FRstatic final String
Kitchen Measures = KIstatic final String
Length = LEstatic final String
Other = OTstatic final String
Power = POstatic final String
Pressure = PRstatic final String
Temperature = TEstatic final String
Time = TMstatic final String
Torque = TOstatic final String
Velocity = VEstatic final String
Volume Dry = VDstatic final String
Volume Liquid = VLstatic final String
Weight = WEFields 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_C_UOM
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_UOM_ID, COLUMNNAME_C_UOM_UU, COLUMNNAME_CostingPrecision, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_IsDefault, COLUMNNAME_Name, COLUMNNAME_StdPrecision, COLUMNNAME_UNCEFACT, COLUMNNAME_UOMSymbol, COLUMNNAME_UOMType, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_X12DE355, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_C_UOM
(Properties ctx, int C_UOM_ID, String trxName) Standard ConstructorX_C_UOM
(Properties ctx, int C_UOM_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_UOM
(Properties ctx, String C_UOM_UU, String trxName) Standard ConstructorX_C_UOM
(Properties ctx, String C_UOM_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_UOM
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get UOM.Get C_UOM_UU.int
Get Costing Precision.Get Description.Get Record ID/ColumnNamegetName()
Get Name.int
Get Standard Precision.Get UN/CEFACT Code.Get Symbol.Get UOM Type.Get UOM Code.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Default.void
setC_UOM_ID
(int C_UOM_ID) Set UOM.void
setC_UOM_UU
(String C_UOM_UU) Set C_UOM_UU.void
setCostingPrecision
(int CostingPrecision) Set Costing Precision.void
setDescription
(String Description) Set Description.void
setIsDefault
(boolean IsDefault) Set Default.void
Set Name.void
setStdPrecision
(int StdPrecision) Set Standard Precision.void
setUNCEFACT
(String UNCEFACT) Set UN/CEFACT Code.void
setUOMSymbol
(String UOMSymbol) Set Symbol.void
setUOMType
(String UOMType) Set UOM Type.void
setX12DE355
(String X12DE355) Set UOM Code.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_C_UOM
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
-
UOMTYPE_AD_Reference_ID
public static final int UOMTYPE_AD_Reference_IDUOMType AD_Reference_ID=53323- See Also:
-
UOMTYPE_Angle
Angle = AN- See Also:
-
UOMTYPE_Area
Area = AR- See Also:
-
UOMTYPE_Currency
Currency = CU- See Also:
-
UOMTYPE_Density
Density = DE- See Also:
-
UOMTYPE_DataStorage
Data Storage = DS- See Also:
-
UOMTYPE_DataSpeed
Data Speed = DV- See Also:
-
UOMTYPE_Energy
Energy = EN- See Also:
-
UOMTYPE_Force
Force = FO- See Also:
-
UOMTYPE_Frequency
Frequency = FR- See Also:
-
UOMTYPE_KitchenMeasures
Kitchen Measures = KI- See Also:
-
UOMTYPE_Length
Length = LE- See Also:
-
UOMTYPE_Other
Other = OT- See Also:
-
UOMTYPE_Power
Power = PO- See Also:
-
UOMTYPE_Pressure
Pressure = PR- See Also:
-
UOMTYPE_Temperature
Temperature = TE- See Also:
-
UOMTYPE_Time
Time = TM- See Also:
-
UOMTYPE_Torque
Torque = TO- See Also:
-
UOMTYPE_VolumeDry
Volume Dry = VD- See Also:
-
UOMTYPE_Velocity
Velocity = VE- See Also:
-
UOMTYPE_VolumeLiquid
Volume Liquid = VL- See Also:
-
UOMTYPE_Weight
Weight = WE- See Also:
-
-
Constructor Details
-
X_C_UOM
Standard Constructor -
X_C_UOM
Standard Constructor -
X_C_UOM
Standard Constructor -
X_C_UOM
Standard Constructor -
X_C_UOM
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setCostingPrecision
public void setCostingPrecision(int CostingPrecision) Set Costing Precision.- Specified by:
setCostingPrecision
in interfaceI_C_UOM
- Parameters:
CostingPrecision
- Rounding used costing calculations
-
getCostingPrecision
public int getCostingPrecision()Get Costing Precision.- Specified by:
getCostingPrecision
in interfaceI_C_UOM
- Returns:
- Rounding used costing calculations
-
setC_UOM_ID
public void setC_UOM_ID(int C_UOM_ID) Set UOM.- Specified by:
setC_UOM_ID
in interfaceI_C_UOM
- Parameters:
C_UOM_ID
- Unit of Measure
-
getC_UOM_ID
public int getC_UOM_ID()Get UOM.- Specified by:
getC_UOM_ID
in interfaceI_C_UOM
- Returns:
- Unit of Measure
-
setC_UOM_UU
Set C_UOM_UU.- Specified by:
setC_UOM_UU
in interfaceI_C_UOM
- Parameters:
C_UOM_UU
- C_UOM_UU
-
getC_UOM_UU
Get C_UOM_UU.- Specified by:
getC_UOM_UU
in interfaceI_C_UOM
- Returns:
- C_UOM_UU
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_UOM
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_UOM
- Returns:
- Optional short description of the record
-
setIsDefault
public void setIsDefault(boolean IsDefault) Set Default.- Specified by:
setIsDefault
in interfaceI_C_UOM
- Parameters:
IsDefault
- Default value
-
isDefault
public boolean isDefault()Get Default. -
setName
Set Name. -
getName
Get Name. -
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setStdPrecision
public void setStdPrecision(int StdPrecision) Set Standard Precision.- Specified by:
setStdPrecision
in interfaceI_C_UOM
- Parameters:
StdPrecision
- Rule for rounding calculated amounts
-
getStdPrecision
public int getStdPrecision()Get Standard Precision.- Specified by:
getStdPrecision
in interfaceI_C_UOM
- Returns:
- Rule for rounding calculated amounts
-
setUNCEFACT
Set UN/CEFACT Code.- Specified by:
setUNCEFACT
in interfaceI_C_UOM
- Parameters:
UNCEFACT
- Code for Units of Measure used in International Trade
-
getUNCEFACT
Get UN/CEFACT Code.- Specified by:
getUNCEFACT
in interfaceI_C_UOM
- Returns:
- Code for Units of Measure used in International Trade
-
setUOMSymbol
Set Symbol.- Specified by:
setUOMSymbol
in interfaceI_C_UOM
- Parameters:
UOMSymbol
- Symbol for a Unit of Measure
-
getUOMSymbol
Get Symbol.- Specified by:
getUOMSymbol
in interfaceI_C_UOM
- Returns:
- Symbol for a Unit of Measure
-
setUOMType
Set UOM Type.- Specified by:
setUOMType
in interfaceI_C_UOM
- Parameters:
UOMType
- UOM Type
-
getUOMType
Get UOM Type.- Specified by:
getUOMType
in interfaceI_C_UOM
- Returns:
- UOM Type
-
setX12DE355
Set UOM Code.- Specified by:
setX12DE355
in interfaceI_C_UOM
- Parameters:
X12DE355
- UOM EDI X12 Code
-
getX12DE355
Get UOM Code.- Specified by:
getX12DE355
in interfaceI_C_UOM
- Returns:
- UOM EDI X12 Code
-