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 11 - $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_ID
Fields 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
ConstructorDescriptionX_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 int
AccessLevelint
Get Currency.Get C_Currency_UU.int
Get Costing Precision.Get Symbol.Get Description.Get EMU Entry Date.Get EMU Rate.Get ISO Currency Code.Get Record ID/ColumnNameGet Round Off Factor.int
Get Standard Precision.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get EMU Member.boolean
isEuro()
Get The Euro Currency.void
setC_Currency_ID
(int C_Currency_ID) Set Currency.void
setC_Currency_UU
(String C_Currency_UU) Set C_Currency_UU.void
setCostingPrecision
(int CostingPrecision) Set Costing Precision.void
setCurSymbol
(String CurSymbol) Set Symbol.void
setDescription
(String Description) Set Description.void
setEMUEntryDate
(Timestamp EMUEntryDate) Set EMU Entry Date.void
setEMURate
(BigDecimal EMURate) Set EMU Rate.void
setIsEMUMember
(boolean IsEMUMember) Set EMU Member.void
setIsEuro
(boolean IsEuro) Set The Euro Currency.void
setISO_Code
(String ISO_Code) Set ISO Currency Code.void
setRoundOffFactor
(BigDecimal RoundOffFactor) Set Round Off Factor.void
setStdPrecision
(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_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_Currency
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
-
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_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID) Set Currency.- Specified by:
setC_Currency_ID
in 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_ID
in interfaceI_C_Currency
- Returns:
- The Currency for this record
-
setC_Currency_UU
Set C_Currency_UU.- Specified by:
setC_Currency_UU
in interfaceI_C_Currency
- Parameters:
C_Currency_UU
- C_Currency_UU
-
getC_Currency_UU
Get C_Currency_UU.- Specified by:
getC_Currency_UU
in interfaceI_C_Currency
- Returns:
- C_Currency_UU
-
setCostingPrecision
public void setCostingPrecision(int CostingPrecision) Set Costing Precision.- Specified by:
setCostingPrecision
in interfaceI_C_Currency
- Parameters:
CostingPrecision
- Rounding used costing calculations
-
getCostingPrecision
public int getCostingPrecision()Get Costing Precision.- Specified by:
getCostingPrecision
in interfaceI_C_Currency
- Returns:
- Rounding used costing calculations
-
setCurSymbol
Set Symbol.- Specified by:
setCurSymbol
in interfaceI_C_Currency
- Parameters:
CurSymbol
- Symbol of the currency (opt used for printing only)
-
getCurSymbol
Get Symbol.- Specified by:
getCurSymbol
in interfaceI_C_Currency
- Returns:
- Symbol of the currency (opt used for printing only)
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_Currency
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_Currency
- Returns:
- Optional short description of the record
-
setEMUEntryDate
Set EMU Entry Date.- Specified by:
setEMUEntryDate
in interfaceI_C_Currency
- Parameters:
EMUEntryDate
- Date when the currency joined / will join the EMU
-
getEMUEntryDate
Get EMU Entry Date.- Specified by:
getEMUEntryDate
in interfaceI_C_Currency
- Returns:
- Date when the currency joined / will join the EMU
-
setEMURate
Set EMU Rate.- Specified by:
setEMURate
in interfaceI_C_Currency
- Parameters:
EMURate
- Official rate to the Euro
-
getEMURate
Get EMU Rate.- Specified by:
getEMURate
in interfaceI_C_Currency
- Returns:
- Official rate to the Euro
-
setIsEMUMember
public void setIsEMUMember(boolean IsEMUMember) Set EMU Member.- Specified by:
setIsEMUMember
in interfaceI_C_Currency
- Parameters:
IsEMUMember
- This currency is member if the European Monetary Union
-
isEMUMember
public boolean isEMUMember()Get EMU Member.- Specified by:
isEMUMember
in 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:
setIsEuro
in interfaceI_C_Currency
- Parameters:
IsEuro
- This currency is the Euro
-
isEuro
public boolean isEuro()Get The Euro Currency.- Specified by:
isEuro
in interfaceI_C_Currency
- Returns:
- This currency is the Euro
-
setISO_Code
Set ISO Currency Code.- Specified by:
setISO_Code
in interfaceI_C_Currency
- Parameters:
ISO_Code
- Three letter ISO 4217 Code of the Currency
-
getISO_Code
Get ISO Currency Code.- Specified by:
getISO_Code
in interfaceI_C_Currency
- Returns:
- Three letter ISO 4217 Code of the Currency
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setRoundOffFactor
Set Round Off Factor.- Specified by:
setRoundOffFactor
in interfaceI_C_Currency
- Parameters:
RoundOffFactor
- Used to Round Off Payment Amount
-
getRoundOffFactor
Get Round Off Factor.- Specified by:
getRoundOffFactor
in interfaceI_C_Currency
- Returns:
- Used to Round Off Payment Amount
-
setStdPrecision
public void setStdPrecision(int StdPrecision) Set Standard Precision.- Specified by:
setStdPrecision
in interfaceI_C_Currency
- Parameters:
StdPrecision
- Rule for rounding calculated amounts
-
getStdPrecision
public int getStdPrecision()Get Standard Precision.- Specified by:
getStdPrecision
in interfaceI_C_Currency
- Returns:
- Rule for rounding calculated amounts
-