Adempiere 3.5.2a

org.compiere.model
Class X_C_Country

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_Country
All Implemented Interfaces:
Serializable, Comparator, I_C_Country, I_Persistent, Evaluatee
Direct Known Subclasses:
MCountry

public class X_C_Country
extends PO
implements I_C_Country, I_Persistent

Generated Model for C_Country

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int AD_LANGUAGE_AD_Reference_ID
          AD_Language AD_Reference_ID=106
 
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_Country
accessLevel, COLUMNNAME_AD_Language, COLUMNNAME_C_Country_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_CountryCode, COLUMNNAME_Description, COLUMNNAME_DisplaySequence, COLUMNNAME_DisplaySequenceLocal, COLUMNNAME_ExpressionBankAccountNo, COLUMNNAME_ExpressionBankRoutingNo, COLUMNNAME_ExpressionPhone, COLUMNNAME_ExpressionPostal, COLUMNNAME_ExpressionPostal_Add, COLUMNNAME_HasPostal_Add, COLUMNNAME_HasRegion, COLUMNNAME_IsAddressLinesLocalReverse, COLUMNNAME_IsAddressLinesReverse, COLUMNNAME_IsPostcodeLookup, COLUMNNAME_LookupClassName, COLUMNNAME_LookupClientID, COLUMNNAME_LookupPassword, COLUMNNAME_LookupUrl, COLUMNNAME_MediaSize, COLUMNNAME_Name, COLUMNNAME_RegionName, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_Country(Properties ctx, int C_Country_ID, String trxName)
          Standard Constructor
X_C_Country(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 String getAD_Language()
          Get Language.
 int getC_Country_ID()
          Get Country.
 int getC_Currency_ID()
          Get Currency.
 I_C_Currency getC_Currency()
           
 String getCountryCode()
          Get ISO Country Code.
 String getDescription()
          Get Description.
 String getDisplaySequence()
          Get Address Print Format.
 String getDisplaySequenceLocal()
          Get Local Address Format.
 String getExpressionBankAccountNo()
          Get Bank Account No Format.
 String getExpressionBankRoutingNo()
          Get Bank Routing No Format.
 String getExpressionPhone()
          Get Phone Format.
 String getExpressionPostal_Add()
          Get Additional Postal Format.
 String getExpressionPostal()
          Get Postal Code Format.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getLookupClassName()
          Get LookupClassName.
 String getLookupClientID()
          Get LookupClientID.
 String getLookupPassword()
          Get LookupPassword.
 String getLookupUrl()
          Get LookupUrl.
 String getMediaSize()
          Get Media Size.
 String getName()
          Get Name.
 String getRegionName()
          Get Region.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isAddressLinesLocalReverse()
          Get Reverse Local Address Lines.
 boolean isAddressLinesReverse()
          Get Reverse Address Lines.
 boolean isHasPostal_Add()
          Get Additional Postal code.
 boolean isHasRegion()
          Get Country has Region.
 boolean isPostcodeLookup()
          Get IsPostcodeLookup.
 void setAD_Language(String AD_Language)
          Set Language.
 void setC_Country_ID(int C_Country_ID)
          Set Country.
 void setC_Currency_ID(int C_Currency_ID)
          Set Currency.
 void setCountryCode(String CountryCode)
          Set ISO Country Code.
 void setDescription(String Description)
          Set Description.
 void setDisplaySequence(String DisplaySequence)
          Set Address Print Format.
 void setDisplaySequenceLocal(String DisplaySequenceLocal)
          Set Local Address Format.
 void setExpressionBankAccountNo(String ExpressionBankAccountNo)
          Set Bank Account No Format.
 void setExpressionBankRoutingNo(String ExpressionBankRoutingNo)
          Set Bank Routing No Format.
 void setExpressionPhone(String ExpressionPhone)
          Set Phone Format.
 void setExpressionPostal_Add(String ExpressionPostal_Add)
          Set Additional Postal Format.
 void setExpressionPostal(String ExpressionPostal)
          Set Postal Code Format.
 void setHasPostal_Add(boolean HasPostal_Add)
          Set Additional Postal code.
 void setHasRegion(boolean HasRegion)
          Set Country has Region.
 void setIsAddressLinesLocalReverse(boolean IsAddressLinesLocalReverse)
          Set Reverse Local Address Lines.
 void setIsAddressLinesReverse(boolean IsAddressLinesReverse)
          Set Reverse Address Lines.
 void setIsPostcodeLookup(boolean IsPostcodeLookup)
          Set IsPostcodeLookup.
 void setLookupClassName(String LookupClassName)
          Set LookupClassName.
 void setLookupClientID(String LookupClientID)
          Set LookupClientID.
 void setLookupPassword(String LookupPassword)
          Set LookupPassword.
 void setLookupUrl(String LookupUrl)
          Set LookupUrl.
 void setMediaSize(String MediaSize)
          Set Media Size.
 void setName(String Name)
          Set Name.
 void setRegionName(String RegionName)
          Set Region.
 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
 

Field Detail

AD_LANGUAGE_AD_Reference_ID

public static final int AD_LANGUAGE_AD_Reference_ID
AD_Language AD_Reference_ID=106

See Also:
Constant Field Values
Constructor Detail

X_C_Country

public X_C_Country(Properties ctx,
                   int C_Country_ID,
                   String trxName)
Standard Constructor


X_C_Country

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

setAD_Language

public void setAD_Language(String AD_Language)
Set Language.

Specified by:
setAD_Language in interface I_C_Country
Parameters:
AD_Language - Language for this entity

getAD_Language

public String getAD_Language()
Get Language.

Specified by:
getAD_Language in interface I_C_Country
Returns:
Language for this entity

setC_Country_ID

public void setC_Country_ID(int C_Country_ID)
Set Country.

Specified by:
setC_Country_ID in interface I_C_Country
Parameters:
C_Country_ID - Country

getC_Country_ID

public int getC_Country_ID()
Get Country.

Specified by:
getC_Country_ID in interface I_C_Country
Returns:
Country

getC_Currency

public I_C_Currency getC_Currency()
                           throws Exception
Specified by:
getC_Currency in interface I_C_Country
Throws:
Exception

setC_Currency_ID

public void setC_Currency_ID(int C_Currency_ID)
Set Currency.

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

setCountryCode

public void setCountryCode(String CountryCode)
Set ISO Country Code.

Specified by:
setCountryCode in interface I_C_Country
Parameters:
CountryCode - Upper-case two-letter alphanumeric ISO Country code according to ISO 3166-1 - http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html

getCountryCode

public String getCountryCode()
Get ISO Country Code.

Specified by:
getCountryCode in interface I_C_Country
Returns:
Upper-case two-letter alphanumeric ISO Country code according to ISO 3166-1 - http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html

setDescription

public void setDescription(String Description)
Set Description.

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

getDescription

public String getDescription()
Get Description.

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

setDisplaySequence

public void setDisplaySequence(String DisplaySequence)
Set Address Print Format.

Specified by:
setDisplaySequence in interface I_C_Country
Parameters:
DisplaySequence - Format for printing this Address

getDisplaySequence

public String getDisplaySequence()
Get Address Print Format.

Specified by:
getDisplaySequence in interface I_C_Country
Returns:
Format for printing this Address

setDisplaySequenceLocal

public void setDisplaySequenceLocal(String DisplaySequenceLocal)
Set Local Address Format.

Specified by:
setDisplaySequenceLocal in interface I_C_Country
Parameters:
DisplaySequenceLocal - Format for printing this Address locally

getDisplaySequenceLocal

public String getDisplaySequenceLocal()
Get Local Address Format.

Specified by:
getDisplaySequenceLocal in interface I_C_Country
Returns:
Format for printing this Address locally

setExpressionBankAccountNo

public void setExpressionBankAccountNo(String ExpressionBankAccountNo)
Set Bank Account No Format.

Specified by:
setExpressionBankAccountNo in interface I_C_Country
Parameters:
ExpressionBankAccountNo - Format of the Bank Account

getExpressionBankAccountNo

public String getExpressionBankAccountNo()
Get Bank Account No Format.

Specified by:
getExpressionBankAccountNo in interface I_C_Country
Returns:
Format of the Bank Account

setExpressionBankRoutingNo

public void setExpressionBankRoutingNo(String ExpressionBankRoutingNo)
Set Bank Routing No Format.

Specified by:
setExpressionBankRoutingNo in interface I_C_Country
Parameters:
ExpressionBankRoutingNo - Format of the Bank Routing Number

getExpressionBankRoutingNo

public String getExpressionBankRoutingNo()
Get Bank Routing No Format.

Specified by:
getExpressionBankRoutingNo in interface I_C_Country
Returns:
Format of the Bank Routing Number

setExpressionPhone

public void setExpressionPhone(String ExpressionPhone)
Set Phone Format.

Specified by:
setExpressionPhone in interface I_C_Country
Parameters:
ExpressionPhone - Format of the phone; Can contain fixed format elements, Variables: "_lLoOaAcCa09"

getExpressionPhone

public String getExpressionPhone()
Get Phone Format.

Specified by:
getExpressionPhone in interface I_C_Country
Returns:
Format of the phone; Can contain fixed format elements, Variables: "_lLoOaAcCa09"

setExpressionPostal

public void setExpressionPostal(String ExpressionPostal)
Set Postal Code Format.

Specified by:
setExpressionPostal in interface I_C_Country
Parameters:
ExpressionPostal - Format of the postal code; Can contain fixed format elements, Variables: "_lLoOaAcCa09"

getExpressionPostal

public String getExpressionPostal()
Get Postal Code Format.

Specified by:
getExpressionPostal in interface I_C_Country
Returns:
Format of the postal code; Can contain fixed format elements, Variables: "_lLoOaAcCa09"

setExpressionPostal_Add

public void setExpressionPostal_Add(String ExpressionPostal_Add)
Set Additional Postal Format.

Specified by:
setExpressionPostal_Add in interface I_C_Country
Parameters:
ExpressionPostal_Add - Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"

getExpressionPostal_Add

public String getExpressionPostal_Add()
Get Additional Postal Format.

Specified by:
getExpressionPostal_Add in interface I_C_Country
Returns:
Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"

setHasPostal_Add

public void setHasPostal_Add(boolean HasPostal_Add)
Set Additional Postal code.

Specified by:
setHasPostal_Add in interface I_C_Country
Parameters:
HasPostal_Add - Has Additional Postal Code

isHasPostal_Add

public boolean isHasPostal_Add()
Get Additional Postal code.

Specified by:
isHasPostal_Add in interface I_C_Country
Returns:
Has Additional Postal Code

setHasRegion

public void setHasRegion(boolean HasRegion)
Set Country has Region.

Specified by:
setHasRegion in interface I_C_Country
Parameters:
HasRegion - Country contains Regions

isHasRegion

public boolean isHasRegion()
Get Country has Region.

Specified by:
isHasRegion in interface I_C_Country
Returns:
Country contains Regions

setIsAddressLinesLocalReverse

public void setIsAddressLinesLocalReverse(boolean IsAddressLinesLocalReverse)
Set Reverse Local Address Lines.

Specified by:
setIsAddressLinesLocalReverse in interface I_C_Country
Parameters:
IsAddressLinesLocalReverse - Print Local Address in reverse Order

isAddressLinesLocalReverse

public boolean isAddressLinesLocalReverse()
Get Reverse Local Address Lines.

Specified by:
isAddressLinesLocalReverse in interface I_C_Country
Returns:
Print Local Address in reverse Order

setIsAddressLinesReverse

public void setIsAddressLinesReverse(boolean IsAddressLinesReverse)
Set Reverse Address Lines.

Specified by:
setIsAddressLinesReverse in interface I_C_Country
Parameters:
IsAddressLinesReverse - Print Address in reverse Order

isAddressLinesReverse

public boolean isAddressLinesReverse()
Get Reverse Address Lines.

Specified by:
isAddressLinesReverse in interface I_C_Country
Returns:
Print Address in reverse Order

setIsPostcodeLookup

public void setIsPostcodeLookup(boolean IsPostcodeLookup)
Set IsPostcodeLookup.

Specified by:
setIsPostcodeLookup in interface I_C_Country
Parameters:
IsPostcodeLookup - Does this country have a post code web service

isPostcodeLookup

public boolean isPostcodeLookup()
Get IsPostcodeLookup.

Specified by:
isPostcodeLookup in interface I_C_Country
Returns:
Does this country have a post code web service

setLookupClassName

public void setLookupClassName(String LookupClassName)
Set LookupClassName.

Specified by:
setLookupClassName in interface I_C_Country
Parameters:
LookupClassName - The class name of the postcode lookup plugin

getLookupClassName

public String getLookupClassName()
Get LookupClassName.

Specified by:
getLookupClassName in interface I_C_Country
Returns:
The class name of the postcode lookup plugin

setLookupClientID

public void setLookupClientID(String LookupClientID)
Set LookupClientID.

Specified by:
setLookupClientID in interface I_C_Country
Parameters:
LookupClientID - The ClientID or Login submitted to the Lookup URL

getLookupClientID

public String getLookupClientID()
Get LookupClientID.

Specified by:
getLookupClientID in interface I_C_Country
Returns:
The ClientID or Login submitted to the Lookup URL

setLookupPassword

public void setLookupPassword(String LookupPassword)
Set LookupPassword.

Specified by:
setLookupPassword in interface I_C_Country
Parameters:
LookupPassword - The password submitted to the Lookup URL

getLookupPassword

public String getLookupPassword()
Get LookupPassword.

Specified by:
getLookupPassword in interface I_C_Country
Returns:
The password submitted to the Lookup URL

setLookupUrl

public void setLookupUrl(String LookupUrl)
Set LookupUrl.

Specified by:
setLookupUrl in interface I_C_Country
Parameters:
LookupUrl - The URL of the web service that the plugin connects to in order to retrieve postcode data

getLookupUrl

public String getLookupUrl()
Get LookupUrl.

Specified by:
getLookupUrl in interface I_C_Country
Returns:
The URL of the web service that the plugin connects to in order to retrieve postcode data

setMediaSize

public void setMediaSize(String MediaSize)
Set Media Size.

Specified by:
setMediaSize in interface I_C_Country
Parameters:
MediaSize - Java Media Size

getMediaSize

public String getMediaSize()
Get Media Size.

Specified by:
getMediaSize in interface I_C_Country
Returns:
Java Media Size

setName

public void setName(String Name)
Set Name.

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

getName

public String getName()
Get Name.

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

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setRegionName

public void setRegionName(String RegionName)
Set Region.

Specified by:
setRegionName in interface I_C_Country
Parameters:
RegionName - Name of the Region

getRegionName

public String getRegionName()
Get Region.

Specified by:
getRegionName in interface I_C_Country
Returns:
Name of the Region

Adempiere 3.5.2a

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