Package org.compiere.model
Class X_C_Location
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_Location
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,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 9 - $Id$
- Author:
- iDempiere (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, LOCAL_TRX_PREFIX, 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_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Address1, COLUMNNAME_Address2, COLUMNNAME_Address3, COLUMNNAME_Address4, COLUMNNAME_Address5, COLUMNNAME_C_AddressValidation_ID, COLUMNNAME_C_City_ID, COLUMNNAME_C_Country_ID, COLUMNNAME_C_Location_ID, COLUMNNAME_C_Location_UU, COLUMNNAME_C_Region_ID, COLUMNNAME_City, COLUMNNAME_Comments, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_IsValid, COLUMNNAME_Postal, COLUMNNAME_Postal_Add, COLUMNNAME_RegionName, COLUMNNAME_Result, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_ValidateAddress, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_Location(Properties ctx, int C_Location_ID, String trxName)Standard ConstructorX_C_Location(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelStringgetAddress1()Get Address 1.StringgetAddress2()Get Address 2.StringgetAddress3()Get Address 3.StringgetAddress4()Get Address 4.StringgetAddress5()Get Address 5.I_C_AddressValidationgetC_AddressValidation()intgetC_AddressValidation_ID()Get Address Validation.I_C_CitygetC_City()intgetC_City_ID()Get City.I_C_CountrygetC_Country()intgetC_Country_ID()Get Country.intgetC_Location_ID()Get Address.StringgetC_Location_UU()Get C_Location_UU.I_C_RegiongetC_Region()intgetC_Region_ID()Get Region.StringgetCity()Get City.StringgetComments()Get Comments.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameStringgetPostal()Get ZIP.StringgetPostal_Add()Get Additional Zip.StringgetRegionName()Get Region.StringgetResult()Get Result.StringgetValidateAddress()Get Validate Address.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisValid()Get Valid.voidsetAddress1(String Address1)Set Address 1.voidsetAddress2(String Address2)Set Address 2.voidsetAddress3(String Address3)Set Address 3.voidsetAddress4(String Address4)Set Address 4.voidsetAddress5(String Address5)Set Address 5.voidsetC_AddressValidation_ID(int C_AddressValidation_ID)Set Address Validation.voidsetC_City_ID(int C_City_ID)Set City.voidsetC_Country_ID(int C_Country_ID)Set Country.voidsetC_Location_ID(int C_Location_ID)Set Address.voidsetC_Location_UU(String C_Location_UU)Set C_Location_UU.voidsetC_Region_ID(int C_Region_ID)Set Region.voidsetCity(String City)Set City.voidsetComments(String Comments)Set Comments.voidsetIsValid(boolean IsValid)Set Valid.voidsetPostal(String Postal)Set ZIP.voidsetPostal_Add(String Postal_Add)Set Additional Zip.voidsetRegionName(String RegionName)Set Region.voidsetResult(String Result)Set Result.voidsetValidateAddress(String ValidateAddress)Set Validate Address.StringtoString()String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, 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_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, 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, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, 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, 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_Location
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 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_AccessLevelin classPO- Returns:
- 7 - System - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAddress1
public void setAddress1(String Address1)
Set Address 1.- Specified by:
setAddress1in interfaceI_C_Location- Parameters:
Address1- Address line 1 for this location
-
getAddress1
public String getAddress1()
Get Address 1.- Specified by:
getAddress1in interfaceI_C_Location- Returns:
- Address line 1 for this location
-
setAddress2
public void setAddress2(String Address2)
Set Address 2.- Specified by:
setAddress2in interfaceI_C_Location- Parameters:
Address2- Address line 2 for this location
-
getAddress2
public String getAddress2()
Get Address 2.- Specified by:
getAddress2in interfaceI_C_Location- Returns:
- Address line 2 for this location
-
setAddress3
public void setAddress3(String Address3)
Set Address 3.- Specified by:
setAddress3in interfaceI_C_Location- Parameters:
Address3- Address Line 3 for the location
-
getAddress3
public String getAddress3()
Get Address 3.- Specified by:
getAddress3in interfaceI_C_Location- Returns:
- Address Line 3 for the location
-
setAddress4
public void setAddress4(String Address4)
Set Address 4.- Specified by:
setAddress4in interfaceI_C_Location- Parameters:
Address4- Address Line 4 for the location
-
getAddress4
public String getAddress4()
Get Address 4.- Specified by:
getAddress4in interfaceI_C_Location- Returns:
- Address Line 4 for the location
-
setAddress5
public void setAddress5(String Address5)
Set Address 5.- Specified by:
setAddress5in interfaceI_C_Location- Parameters:
Address5- Address Line 5 for the location
-
getAddress5
public String getAddress5()
Get Address 5.- Specified by:
getAddress5in interfaceI_C_Location- Returns:
- Address Line 5 for the location
-
getC_AddressValidation
public I_C_AddressValidation getC_AddressValidation() throws RuntimeException
- Specified by:
getC_AddressValidationin interfaceI_C_Location- Throws:
RuntimeException
-
setC_AddressValidation_ID
public void setC_AddressValidation_ID(int C_AddressValidation_ID)
Set Address Validation.- Specified by:
setC_AddressValidation_IDin interfaceI_C_Location- Parameters:
C_AddressValidation_ID- Address Validation
-
getC_AddressValidation_ID
public int getC_AddressValidation_ID()
Get Address Validation.- Specified by:
getC_AddressValidation_IDin interfaceI_C_Location- Returns:
- Address Validation
-
getC_City
public I_C_City getC_City() throws RuntimeException
- Specified by:
getC_Cityin interfaceI_C_Location- Throws:
RuntimeException
-
setC_City_ID
public void setC_City_ID(int C_City_ID)
Set City.- Specified by:
setC_City_IDin interfaceI_C_Location- Parameters:
C_City_ID- City
-
getC_City_ID
public int getC_City_ID()
Get City.- Specified by:
getC_City_IDin interfaceI_C_Location- Returns:
- City
-
getC_Country
public I_C_Country getC_Country() throws RuntimeException
- Specified by:
getC_Countryin interfaceI_C_Location- Throws:
RuntimeException
-
setC_Country_ID
public void setC_Country_ID(int C_Country_ID)
Set Country.- Specified by:
setC_Country_IDin interfaceI_C_Location- Parameters:
C_Country_ID- Country
-
getC_Country_ID
public int getC_Country_ID()
Get Country.- Specified by:
getC_Country_IDin interfaceI_C_Location- Returns:
- Country
-
setCity
public void setCity(String City)
Set City.- Specified by:
setCityin interfaceI_C_Location- Parameters:
City- Identifies a City
-
getCity
public String getCity()
Get City.- Specified by:
getCityin interfaceI_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_IDin interfaceI_C_Location- Parameters:
C_Location_ID- Location or Address
-
getC_Location_ID
public int getC_Location_ID()
Get Address.- Specified by:
getC_Location_IDin interfaceI_C_Location- Returns:
- Location or Address
-
setC_Location_UU
public void setC_Location_UU(String C_Location_UU)
Set C_Location_UU.- Specified by:
setC_Location_UUin interfaceI_C_Location- Parameters:
C_Location_UU- C_Location_UU
-
getC_Location_UU
public String getC_Location_UU()
Get C_Location_UU.- Specified by:
getC_Location_UUin interfaceI_C_Location- Returns:
- C_Location_UU
-
setComments
public void setComments(String Comments)
Set Comments.- Specified by:
setCommentsin interfaceI_C_Location- Parameters:
Comments- Comments or additional information
-
getComments
public String getComments()
Get Comments.- Specified by:
getCommentsin interfaceI_C_Location- Returns:
- Comments or additional information
-
getC_Region
public I_C_Region getC_Region() throws RuntimeException
- Specified by:
getC_Regionin interfaceI_C_Location- Throws:
RuntimeException
-
setC_Region_ID
public void setC_Region_ID(int C_Region_ID)
Set Region.- Specified by:
setC_Region_IDin interfaceI_C_Location- Parameters:
C_Region_ID- Identifies a geographical Region
-
getC_Region_ID
public int getC_Region_ID()
Get Region.- Specified by:
getC_Region_IDin interfaceI_C_Location- Returns:
- Identifies a geographical Region
-
setIsValid
public void setIsValid(boolean IsValid)
Set Valid.- Specified by:
setIsValidin interfaceI_C_Location- Parameters:
IsValid- Element is valid
-
isValid
public boolean isValid()
Get Valid.- Specified by:
isValidin interfaceI_C_Location- Returns:
- Element is valid
-
setPostal
public void setPostal(String Postal)
Set ZIP.- Specified by:
setPostalin interfaceI_C_Location- Parameters:
Postal- Postal code
-
getPostal
public String getPostal()
Get ZIP.- Specified by:
getPostalin interfaceI_C_Location- Returns:
- Postal code
-
setPostal_Add
public void setPostal_Add(String Postal_Add)
Set Additional Zip.- Specified by:
setPostal_Addin interfaceI_C_Location- Parameters:
Postal_Add- Additional ZIP or Postal code
-
getPostal_Add
public String getPostal_Add()
Get Additional Zip.- Specified by:
getPostal_Addin interfaceI_C_Location- Returns:
- Additional ZIP or Postal code
-
setRegionName
public void setRegionName(String RegionName)
Set Region.- Specified by:
setRegionNamein interfaceI_C_Location- Parameters:
RegionName- Name of the Region
-
getRegionName
public String getRegionName()
Get Region.- Specified by:
getRegionNamein interfaceI_C_Location- Returns:
- Name of the Region
-
setResult
public void setResult(String Result)
Set Result.- Specified by:
setResultin interfaceI_C_Location- Parameters:
Result- Result of the action taken
-
getResult
public String getResult()
Get Result.- Specified by:
getResultin interfaceI_C_Location- Returns:
- Result of the action taken
-
setValidateAddress
public void setValidateAddress(String ValidateAddress)
Set Validate Address.- Specified by:
setValidateAddressin interfaceI_C_Location- Parameters:
ValidateAddress- Validate Address
-
getValidateAddress
public String getValidateAddress()
Get Validate Address.- Specified by:
getValidateAddressin interfaceI_C_Location- Returns:
- Validate Address
-
-