Adempiere 3.5.2a

org.compiere.model
Class X_C_Currency

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_Currency
All Implemented Interfaces:
Serializable, Comparator, I_C_Currency, I_Persistent, Evaluatee
Direct Known Subclasses:
MCurrency

public class X_C_Currency
extends PO
implements I_C_Currency, I_Persistent

Generated Model for C_Currency

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_Currency
accessLevel, COLUMNNAME_C_Currency_ID, COLUMNNAME_CostingPrecision, COLUMNNAME_CurSymbol, COLUMNNAME_Description, COLUMNNAME_EMUEntryDate, COLUMNNAME_EMURate, COLUMNNAME_IsEMUMember, COLUMNNAME_IsEuro, COLUMNNAME_ISO_Code, COLUMNNAME_StdPrecision, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_Currency(Properties ctx, int C_Currency_ID, String trxName)
          Standard Constructor
X_C_Currency(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_Currency_ID()
          Get Currency.
 int getCostingPrecision()
          Get Costing Precision.
 String getCurSymbol()
          Get Symbol.
 String getDescription()
          Get Description.
 Timestamp getEMUEntryDate()
          Get EMU Entry Date.
 BigDecimal getEMURate()
          Get EMU Rate.
 String getISO_Code()
          Get ISO Currency Code.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getStdPrecision()
          Get Standard Precision.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isEMUMember()
          Get EMU Member.
 boolean isEuro()
          Get The Euro Currency.
 void setC_Currency_ID(int C_Currency_ID)
          Set Currency.
 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 setStdPrecision(int StdPrecision)
          Set Standard Precision.
 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_Currency

public X_C_Currency(Properties ctx,
                    int C_Currency_ID,
                    String trxName)
Standard Constructor


X_C_Currency

public X_C_Currency(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

setC_Currency_ID

public void setC_Currency_ID(int C_Currency_ID)
Set Currency.

Specified by:
setC_Currency_ID in interface I_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 interface I_C_Currency
Returns:
The Currency for this record

setCostingPrecision

public void setCostingPrecision(int CostingPrecision)
Set Costing Precision.

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

getCostingPrecision

public int getCostingPrecision()
Get Costing Precision.

Specified by:
getCostingPrecision in interface I_C_Currency
Returns:
Rounding used costing calculations

setCurSymbol

public void setCurSymbol(String CurSymbol)
Set Symbol.

Specified by:
setCurSymbol in interface I_C_Currency
Parameters:
CurSymbol - Symbol of the currency (opt used for printing only)

getCurSymbol

public String getCurSymbol()
Get Symbol.

Specified by:
getCurSymbol in interface I_C_Currency
Returns:
Symbol of the currency (opt used for printing only)

setDescription

public void setDescription(String Description)
Set Description.

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

getDescription

public String getDescription()
Get Description.

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

setEMUEntryDate

public void setEMUEntryDate(Timestamp EMUEntryDate)
Set EMU Entry Date.

Specified by:
setEMUEntryDate in interface I_C_Currency
Parameters:
EMUEntryDate - Date when the currency joined / will join the EMU

getEMUEntryDate

public Timestamp getEMUEntryDate()
Get EMU Entry Date.

Specified by:
getEMUEntryDate in interface I_C_Currency
Returns:
Date when the currency joined / will join the EMU

setEMURate

public void setEMURate(BigDecimal EMURate)
Set EMU Rate.

Specified by:
setEMURate in interface I_C_Currency
Parameters:
EMURate - Official rate to the Euro

getEMURate

public BigDecimal getEMURate()
Get EMU Rate.

Specified by:
getEMURate in interface I_C_Currency
Returns:
Official rate to the Euro

setIsEMUMember

public void setIsEMUMember(boolean IsEMUMember)
Set EMU Member.

Specified by:
setIsEMUMember in interface I_C_Currency
Parameters:
IsEMUMember - This currency is member if the European Monetary Union

isEMUMember

public boolean isEMUMember()
Get EMU Member.

Specified by:
isEMUMember in interface I_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 interface I_C_Currency
Parameters:
IsEuro - This currency is the Euro

isEuro

public boolean isEuro()
Get The Euro Currency.

Specified by:
isEuro in interface I_C_Currency
Returns:
This currency is the Euro

setISO_Code

public void setISO_Code(String ISO_Code)
Set ISO Currency Code.

Specified by:
setISO_Code in interface I_C_Currency
Parameters:
ISO_Code - Three letter ISO 4217 Code of the Currency

getISO_Code

public String getISO_Code()
Get ISO Currency Code.

Specified by:
getISO_Code in interface I_C_Currency
Returns:
Three letter ISO 4217 Code of the Currency

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

getStdPrecision

public int getStdPrecision()
Get Standard Precision.

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

Adempiere 3.5.2a

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