Adempiere 3.5.2a

org.compiere.model
Class X_C_UOM

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_UOM
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
 
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, 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_C_UOM_ID, COLUMNNAME_CostingPrecision, COLUMNNAME_Description, COLUMNNAME_IsDefault, COLUMNNAME_Name, COLUMNNAME_StdPrecision, COLUMNNAME_UOMSymbol, COLUMNNAME_X12DE355, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_UOM(Properties ctx, int C_UOM_ID, String trxName)
          Standard Constructor
X_C_UOM(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_UOM_ID()
          Get UOM.
 int getCostingPrecision()
          Get Costing Precision.
 String getDescription()
          Get Description.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getName()
          Get Name.
 int getStdPrecision()
          Get Standard Precision.
 String getUOMSymbol()
          Get Symbol.
 String getX12DE355()
          Get UOM Code.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isDefault()
          Get Default.
 void setC_UOM_ID(int C_UOM_ID)
          Set UOM.
 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 setX12DE355(String X12DE355)
          Set UOM Code.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

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 class PO
Returns:
6 - System - Client

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setCostingPrecision

public void setCostingPrecision(int CostingPrecision)
Set Costing Precision.

Specified by:
setCostingPrecision in interface I_C_UOM
Parameters:
CostingPrecision - Rounding used costing calculations

getCostingPrecision

public int getCostingPrecision()
Get Costing Precision.

Specified by:
getCostingPrecision in interface I_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 interface I_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 interface I_C_UOM
Returns:
Unit of Measure

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_C_UOM
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_C_UOM
Returns:
Optional short description of the record

setIsDefault

public void setIsDefault(boolean IsDefault)
Set Default.

Specified by:
setIsDefault in interface I_C_UOM
Parameters:
IsDefault - Default value

isDefault

public boolean isDefault()
Get Default.

Specified by:
isDefault in interface I_C_UOM
Returns:
Default value

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_C_UOM
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_C_UOM
Returns:
Alphanumeric identifier of the entity

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 interface I_C_UOM
Parameters:
StdPrecision - Rule for rounding calculated amounts

getStdPrecision

public int getStdPrecision()
Get Standard Precision.

Specified by:
getStdPrecision in interface I_C_UOM
Returns:
Rule for rounding calculated amounts

setUOMSymbol

public void setUOMSymbol(String UOMSymbol)
Set Symbol.

Specified by:
setUOMSymbol in interface I_C_UOM
Parameters:
UOMSymbol - Symbol for a Unit of Measure

getUOMSymbol

public String getUOMSymbol()
Get Symbol.

Specified by:
getUOMSymbol in interface I_C_UOM
Returns:
Symbol for a Unit of Measure

setX12DE355

public void setX12DE355(String X12DE355)
Set UOM Code.

Specified by:
setX12DE355 in interface I_C_UOM
Parameters:
X12DE355 - UOM EDI X12 Code

getX12DE355

public String getX12DE355()
Get UOM Code.

Specified by:
getX12DE355 in interface I_C_UOM
Returns:
UOM EDI X12 Code

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.