Adempiere 3.5.2a

org.compiere.model
Class X_C_Location

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_Location
All Implemented Interfaces:
Serializable, Comparator, I_C_Location, I_Persistent, Evaluatee
Direct Known Subclasses:
MLocation

public class X_C_Location
extends PO
implements I_C_Location, I_Persistent

Generated Model for C_Location

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_Location
accessLevel, COLUMNNAME_Address1, COLUMNNAME_Address2, COLUMNNAME_Address3, COLUMNNAME_Address4, COLUMNNAME_C_City_ID, COLUMNNAME_C_Country_ID, COLUMNNAME_C_Location_ID, COLUMNNAME_C_Region_ID, COLUMNNAME_City, COLUMNNAME_Postal, COLUMNNAME_Postal_Add, COLUMNNAME_RegionName, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_Location(Properties ctx, int C_Location_ID, String trxName)
          Standard Constructor
X_C_Location(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 String getAddress1()
          Get Address 1.
 String getAddress2()
          Get Address 2.
 String getAddress3()
          Get Address 3.
 String getAddress4()
          Get Address 4.
 int getC_City_ID()
          Get City.
 I_C_City getC_City()
           
 int getC_Country_ID()
          Get Country.
 I_C_Country getC_Country()
           
 int getC_Location_ID()
          Get Address.
 int getC_Region_ID()
          Get Region.
 I_C_Region getC_Region()
           
 String getCity()
          Get City.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getPostal_Add()
          Get -.
 String getPostal()
          Get ZIP.
 String getRegionName()
          Get Region.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 void setAddress1(String Address1)
          Set Address 1.
 void setAddress2(String Address2)
          Set Address 2.
 void setAddress3(String Address3)
          Set Address 3.
 void setAddress4(String Address4)
          Set Address 4.
 void setC_City_ID(int C_City_ID)
          Set City.
 void setC_Country_ID(int C_Country_ID)
          Set Country.
 void setC_Location_ID(int C_Location_ID)
          Set Address.
 void setC_Region_ID(int C_Region_ID)
          Set Region.
 void setCity(String City)
          Set City.
 void setPostal_Add(String Postal_Add)
          Set -.
 void setPostal(String Postal)
          Set ZIP.
 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
 

Constructor Detail

X_C_Location

public X_C_Location(Properties ctx,
                    int C_Location_ID,
                    String trxName)
Standard Constructor


X_C_Location

public X_C_Location(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:
7 - System - Client - Org

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

setAddress1

public void setAddress1(String Address1)
Set Address 1.

Specified by:
setAddress1 in interface I_C_Location
Parameters:
Address1 - Address line 1 for this location

getAddress1

public String getAddress1()
Get Address 1.

Specified by:
getAddress1 in interface I_C_Location
Returns:
Address line 1 for this location

setAddress2

public void setAddress2(String Address2)
Set Address 2.

Specified by:
setAddress2 in interface I_C_Location
Parameters:
Address2 - Address line 2 for this location

getAddress2

public String getAddress2()
Get Address 2.

Specified by:
getAddress2 in interface I_C_Location
Returns:
Address line 2 for this location

setAddress3

public void setAddress3(String Address3)
Set Address 3.

Specified by:
setAddress3 in interface I_C_Location
Parameters:
Address3 - Address Line 3 for the location

getAddress3

public String getAddress3()
Get Address 3.

Specified by:
getAddress3 in interface I_C_Location
Returns:
Address Line 3 for the location

setAddress4

public void setAddress4(String Address4)
Set Address 4.

Specified by:
setAddress4 in interface I_C_Location
Parameters:
Address4 - Address Line 4 for the location

getAddress4

public String getAddress4()
Get Address 4.

Specified by:
getAddress4 in interface I_C_Location
Returns:
Address Line 4 for the location

getC_City

public I_C_City getC_City()
                   throws Exception
Specified by:
getC_City in interface I_C_Location
Throws:
Exception

setC_City_ID

public void setC_City_ID(int C_City_ID)
Set City.

Specified by:
setC_City_ID in interface I_C_Location
Parameters:
C_City_ID - City

getC_City_ID

public int getC_City_ID()
Get City.

Specified by:
getC_City_ID in interface I_C_Location
Returns:
City

getC_Country

public I_C_Country getC_Country()
                         throws Exception
Specified by:
getC_Country in interface I_C_Location
Throws:
Exception

setC_Country_ID

public void setC_Country_ID(int C_Country_ID)
Set Country.

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

getC_Country_ID

public int getC_Country_ID()
Get Country.

Specified by:
getC_Country_ID in interface I_C_Location
Returns:
Country

setCity

public void setCity(String City)
Set City.

Specified by:
setCity in interface I_C_Location
Parameters:
City - Identifies a City

getCity

public String getCity()
Get City.

Specified by:
getCity in interface I_C_Location
Returns:
Identifies a City

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setC_Location_ID

public void setC_Location_ID(int C_Location_ID)
Set Address.

Specified by:
setC_Location_ID in interface I_C_Location
Parameters:
C_Location_ID - Location or Address

getC_Location_ID

public int getC_Location_ID()
Get Address.

Specified by:
getC_Location_ID in interface I_C_Location
Returns:
Location or Address

getC_Region

public I_C_Region getC_Region()
                       throws Exception
Specified by:
getC_Region in interface I_C_Location
Throws:
Exception

setC_Region_ID

public void setC_Region_ID(int C_Region_ID)
Set Region.

Specified by:
setC_Region_ID in interface I_C_Location
Parameters:
C_Region_ID - Identifies a geographical Region

getC_Region_ID

public int getC_Region_ID()
Get Region.

Specified by:
getC_Region_ID in interface I_C_Location
Returns:
Identifies a geographical Region

setPostal

public void setPostal(String Postal)
Set ZIP.

Specified by:
setPostal in interface I_C_Location
Parameters:
Postal - Postal code

getPostal

public String getPostal()
Get ZIP.

Specified by:
getPostal in interface I_C_Location
Returns:
Postal code

setPostal_Add

public void setPostal_Add(String Postal_Add)
Set -.

Specified by:
setPostal_Add in interface I_C_Location
Parameters:
Postal_Add - Additional ZIP or Postal code

getPostal_Add

public String getPostal_Add()
Get -.

Specified by:
getPostal_Add in interface I_C_Location
Returns:
Additional ZIP or Postal code

setRegionName

public void setRegionName(String RegionName)
Set Region.

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

getRegionName

public String getRegionName()
Get Region.

Specified by:
getRegionName in interface I_C_Location
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.