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
public class X_C_UOM extends PO implements I_C_UOM, I_Persistent
Generated Model for C_UOM- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
UOMTYPE_AD_Reference_ID
UOMType AD_Reference_ID=53323static String
UOMTYPE_Angle
Angle = ANstatic String
UOMTYPE_Area
Area = ARstatic String
UOMTYPE_Currency
Currency = CUstatic String
UOMTYPE_DataSpeed
Data Speed = DVstatic String
UOMTYPE_DataStorage
Data Storage = DSstatic String
UOMTYPE_Density
Density = DEstatic String
UOMTYPE_Energy
Energy = ENstatic String
UOMTYPE_Force
Force = FOstatic String
UOMTYPE_Frequency
Frequency = FRstatic String
UOMTYPE_KitchenMeasures
Kitchen Measures = KIstatic String
UOMTYPE_Length
Length = LEstatic String
UOMTYPE_Other
Other = OTstatic String
UOMTYPE_Power
Power = POstatic String
UOMTYPE_Pressure
Pressure = PRstatic String
UOMTYPE_Temperature
Temperature = TEstatic String
UOMTYPE_Time
Time = TMstatic String
UOMTYPE_Torque
Torque = TOstatic String
UOMTYPE_Velocity
Velocity = VEstatic String
UOMTYPE_VolumeDry
Volume Dry = VDstatic String
UOMTYPE_VolumeLiquid
Volume Liquid = VLstatic String
UOMTYPE_Weight
Weight = WE-
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_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_UOMSymbol, COLUMNNAME_UOMType, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_X12DE355, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_UOM(Properties ctx, int C_UOM_ID, String trxName)
Standard ConstructorX_C_UOM(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()
AccessLevelint
getC_UOM_ID()
Get UOM.String
getC_UOM_UU()
Get C_UOM_UU.int
getCostingPrecision()
Get Costing Precision.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.int
getStdPrecision()
Get Standard Precision.String
getUOMSymbol()
Get Symbol.String
getUOMType()
Get UOM Type.String
getX12DE355()
Get UOM Code.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isDefault()
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
setName(String Name)
Set Name.void
setStdPrecision(int StdPrecision)
Set Standard Precision.void
setUOMSymbol(String UOMSymbol)
Set Symbol.void
setUOMType(String UOMType)
Set UOM Type.void
setX12DE355(String X12DE355)
Set UOM Code.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_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 Detail
-
UOMTYPE_AD_Reference_ID
public static final int UOMTYPE_AD_Reference_ID
UOMType AD_Reference_ID=53323- See Also:
- Constant Field Values
-
UOMTYPE_Angle
public static final String UOMTYPE_Angle
Angle = AN- See Also:
- Constant Field Values
-
UOMTYPE_Area
public static final String UOMTYPE_Area
Area = AR- See Also:
- Constant Field Values
-
UOMTYPE_Currency
public static final String UOMTYPE_Currency
Currency = CU- See Also:
- Constant Field Values
-
UOMTYPE_Density
public static final String UOMTYPE_Density
Density = DE- See Also:
- Constant Field Values
-
UOMTYPE_DataStorage
public static final String UOMTYPE_DataStorage
Data Storage = DS- See Also:
- Constant Field Values
-
UOMTYPE_DataSpeed
public static final String UOMTYPE_DataSpeed
Data Speed = DV- See Also:
- Constant Field Values
-
UOMTYPE_Energy
public static final String UOMTYPE_Energy
Energy = EN- See Also:
- Constant Field Values
-
UOMTYPE_Force
public static final String UOMTYPE_Force
Force = FO- See Also:
- Constant Field Values
-
UOMTYPE_Frequency
public static final String UOMTYPE_Frequency
Frequency = FR- See Also:
- Constant Field Values
-
UOMTYPE_KitchenMeasures
public static final String UOMTYPE_KitchenMeasures
Kitchen Measures = KI- See Also:
- Constant Field Values
-
UOMTYPE_Length
public static final String UOMTYPE_Length
Length = LE- See Also:
- Constant Field Values
-
UOMTYPE_Other
public static final String UOMTYPE_Other
Other = OT- See Also:
- Constant Field Values
-
UOMTYPE_Power
public static final String UOMTYPE_Power
Power = PO- See Also:
- Constant Field Values
-
UOMTYPE_Pressure
public static final String UOMTYPE_Pressure
Pressure = PR- See Also:
- Constant Field Values
-
UOMTYPE_Temperature
public static final String UOMTYPE_Temperature
Temperature = TE- See Also:
- Constant Field Values
-
UOMTYPE_Time
public static final String UOMTYPE_Time
Time = TM- See Also:
- Constant Field Values
-
UOMTYPE_Torque
public static final String UOMTYPE_Torque
Torque = TO- See Also:
- Constant Field Values
-
UOMTYPE_VolumeDry
public static final String UOMTYPE_VolumeDry
Volume Dry = VD- See Also:
- Constant Field Values
-
UOMTYPE_Velocity
public static final String UOMTYPE_Velocity
Velocity = VE- See Also:
- Constant Field Values
-
UOMTYPE_VolumeLiquid
public static final String UOMTYPE_VolumeLiquid
Volume Liquid = VL- See Also:
- Constant Field Values
-
UOMTYPE_Weight
public static final String UOMTYPE_Weight
Weight = WE- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_C_UOM
public X_C_UOM(Properties ctx, int C_UOM_ID, String trxName)
Standard Constructor
-
X_C_UOM
public X_C_UOM(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
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
public void setC_UOM_UU(String C_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
public String getC_UOM_UU()
Get C_UOM_UU.- Specified by:
getC_UOM_UU
in interfaceI_C_UOM
- Returns:
- C_UOM_UU
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_UOM
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String 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
public void setName(String Name)
Set Name.
-
getName
public String getName()
Get Name.
-
getKeyNamePair
public KeyNamePair 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
-
setUOMSymbol
public void setUOMSymbol(String UOMSymbol)
Set Symbol.- Specified by:
setUOMSymbol
in interfaceI_C_UOM
- Parameters:
UOMSymbol
- Symbol for a Unit of Measure
-
getUOMSymbol
public String getUOMSymbol()
Get Symbol.- Specified by:
getUOMSymbol
in interfaceI_C_UOM
- Returns:
- Symbol for a Unit of Measure
-
setUOMType
public void setUOMType(String UOMType)
Set UOM Type.- Specified by:
setUOMType
in interfaceI_C_UOM
- Parameters:
UOMType
- UOM Type
-
getUOMType
public String getUOMType()
Get UOM Type.- Specified by:
getUOMType
in interfaceI_C_UOM
- Returns:
- UOM Type
-
setX12DE355
public void setX12DE355(String X12DE355)
Set UOM Code.- Specified by:
setX12DE355
in interfaceI_C_UOM
- Parameters:
X12DE355
- UOM EDI X12 Code
-
getX12DE355
public String getX12DE355()
Get UOM Code.- Specified by:
getX12DE355
in interfaceI_C_UOM
- Returns:
- UOM EDI X12 Code
-
-