Package org.compiere.model
Class X_C_Currency
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_Currency
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_C_Currency,I_Persistent,Evaluatee
- Direct Known Subclasses:
MCurrency
Generated Model for C_Currency
- Version:
- Release 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, 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_C_Currency
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_Currency_UU, COLUMNNAME_CostingPrecision, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_CurSymbol, COLUMNNAME_Description, COLUMNNAME_EMUEntryDate, COLUMNNAME_EMURate, COLUMNNAME_IsActive, COLUMNNAME_IsEMUMember, COLUMNNAME_IsEuro, COLUMNNAME_ISO_Code, COLUMNNAME_RoundOffFactor, COLUMNNAME_StdPrecision, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name -
Constructor Summary
ConstructorsConstructorDescriptionX_C_Currency(Properties ctx, int C_Currency_ID, String trxName) Standard ConstructorX_C_Currency(Properties ctx, int C_Currency_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_Currency(Properties ctx, String C_Currency_UU, String trxName) Standard ConstructorX_C_Currency(Properties ctx, String C_Currency_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_Currency(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected intAccessLevelintGet Currency.Get C_Currency_UU.intGet Costing Precision.Get Symbol.Get Description.Get EMU Entry Date.Get EMU Rate.Get ISO Currency Code.Get Record ID/ColumnNameGet Round Off Factor.intGet Standard Precision.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet EMU Member.booleanisEuro()Get The Euro Currency.voidsetC_Currency_ID(int C_Currency_ID) Set Currency.voidsetC_Currency_UU(String C_Currency_UU) Set C_Currency_UU.voidsetCostingPrecision(int CostingPrecision) Set Costing Precision.voidsetCurSymbol(String CurSymbol) Set Symbol.voidsetDescription(String Description) Set Description.voidsetEMUEntryDate(Timestamp EMUEntryDate) Set EMU Entry Date.voidsetEMURate(BigDecimal EMURate) Set EMU Rate.voidsetIsEMUMember(boolean IsEMUMember) Set EMU Member.voidsetIsEuro(boolean IsEuro) Set The Euro Currency.voidsetISO_Code(String ISO_Code) Set ISO Currency Code.voidsetRoundOffFactor(BigDecimal RoundOffFactor) Set Round Off Factor.voidsetStdPrecision(int StdPrecision) Set Standard Precision.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_C_Currency
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
X_C_Currency
Standard Constructor -
X_C_Currency
Standard Constructor -
X_C_Currency
Standard Constructor -
X_C_Currency
Standard Constructor -
X_C_Currency
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID) Set Currency.- Specified by:
setC_Currency_IDin interfaceI_C_Currency- Parameters:
C_Currency_ID- The Currency for this record
-
getC_Currency_ID
public int getC_Currency_ID()Get Currency.- Specified by:
getC_Currency_IDin interfaceI_C_Currency- Returns:
- The Currency for this record
-
setC_Currency_UU
Set C_Currency_UU.- Specified by:
setC_Currency_UUin interfaceI_C_Currency- Parameters:
C_Currency_UU- C_Currency_UU
-
getC_Currency_UU
Get C_Currency_UU.- Specified by:
getC_Currency_UUin interfaceI_C_Currency- Returns:
- C_Currency_UU
-
setCostingPrecision
public void setCostingPrecision(int CostingPrecision) Set Costing Precision.- Specified by:
setCostingPrecisionin interfaceI_C_Currency- Parameters:
CostingPrecision- Rounding used costing calculations
-
getCostingPrecision
public int getCostingPrecision()Get Costing Precision.- Specified by:
getCostingPrecisionin interfaceI_C_Currency- Returns:
- Rounding used costing calculations
-
setCurSymbol
Set Symbol.- Specified by:
setCurSymbolin interfaceI_C_Currency- Parameters:
CurSymbol- Symbol of the currency (opt used for printing only)
-
getCurSymbol
Get Symbol.- Specified by:
getCurSymbolin interfaceI_C_Currency- Returns:
- Symbol of the currency (opt used for printing only)
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_C_Currency- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_C_Currency- Returns:
- Optional short description of the record
-
setEMUEntryDate
Set EMU Entry Date.- Specified by:
setEMUEntryDatein interfaceI_C_Currency- Parameters:
EMUEntryDate- Date when the currency joined / will join the EMU
-
getEMUEntryDate
Get EMU Entry Date.- Specified by:
getEMUEntryDatein interfaceI_C_Currency- Returns:
- Date when the currency joined / will join the EMU
-
setEMURate
Set EMU Rate.- Specified by:
setEMURatein interfaceI_C_Currency- Parameters:
EMURate- Official rate to the Euro
-
getEMURate
Get EMU Rate.- Specified by:
getEMURatein interfaceI_C_Currency- Returns:
- Official rate to the Euro
-
setISO_Code
Set ISO Currency Code.- Specified by:
setISO_Codein interfaceI_C_Currency- Parameters:
ISO_Code- Three letter ISO 4217 Code of the Currency
-
getISO_Code
Get ISO Currency Code.- Specified by:
getISO_Codein interfaceI_C_Currency- Returns:
- Three letter ISO 4217 Code of the Currency
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setIsEMUMember
public void setIsEMUMember(boolean IsEMUMember) Set EMU Member.- Specified by:
setIsEMUMemberin interfaceI_C_Currency- Parameters:
IsEMUMember- This currency is member if the European Monetary Union
-
isEMUMember
public boolean isEMUMember()Get EMU Member.- Specified by:
isEMUMemberin interfaceI_C_Currency- Returns:
- This currency is member if the European Monetary Union
-
setIsEuro
public void setIsEuro(boolean IsEuro) Set The Euro Currency.- Specified by:
setIsEuroin interfaceI_C_Currency- Parameters:
IsEuro- This currency is the Euro
-
isEuro
public boolean isEuro()Get The Euro Currency.- Specified by:
isEuroin interfaceI_C_Currency- Returns:
- This currency is the Euro
-
setRoundOffFactor
Set Round Off Factor.- Specified by:
setRoundOffFactorin interfaceI_C_Currency- Parameters:
RoundOffFactor- Used to Round Off Payment Amount
-
getRoundOffFactor
Get Round Off Factor.- Specified by:
getRoundOffFactorin interfaceI_C_Currency- Returns:
- Used to Round Off Payment Amount
-
setStdPrecision
public void setStdPrecision(int StdPrecision) Set Standard Precision.- Specified by:
setStdPrecisionin interfaceI_C_Currency- Parameters:
StdPrecision- Rule for rounding calculated amounts
-
getStdPrecision
public int getStdPrecision()Get Standard Precision.- Specified by:
getStdPrecisionin interfaceI_C_Currency- Returns:
- Rule for rounding calculated amounts
-