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 int
get_AccessLevel()
AccessLevelString
getAddress1()
Get Address 1.String
getAddress2()
Get Address 2.String
getAddress3()
Get Address 3.String
getAddress4()
Get Address 4.String
getAddress5()
Get Address 5.I_C_AddressValidation
getC_AddressValidation()
int
getC_AddressValidation_ID()
Get Address Validation.I_C_City
getC_City()
int
getC_City_ID()
Get City.I_C_Country
getC_Country()
int
getC_Country_ID()
Get Country.int
getC_Location_ID()
Get Address.String
getC_Location_UU()
Get C_Location_UU.I_C_Region
getC_Region()
int
getC_Region_ID()
Get Region.String
getCity()
Get City.String
getComments()
Get Comments.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getPostal()
Get ZIP.String
getPostal_Add()
Get Additional Zip.String
getRegionName()
Get Region.String
getResult()
Get Result.String
getValidateAddress()
Get Validate Address.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isValid()
Get Valid.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
setAddress5(String Address5)
Set Address 5.void
setC_AddressValidation_ID(int C_AddressValidation_ID)
Set Address Validation.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_Location_UU(String C_Location_UU)
Set C_Location_UU.void
setC_Region_ID(int C_Region_ID)
Set Region.void
setCity(String City)
Set City.void
setComments(String Comments)
Set Comments.void
setIsValid(boolean IsValid)
Set Valid.void
setPostal(String Postal)
Set ZIP.void
setPostal_Add(String Postal_Add)
Set Additional Zip.void
setRegionName(String RegionName)
Set Region.void
setResult(String Result)
Set Result.void
setValidateAddress(String ValidateAddress)
Set Validate Address.String
toString()
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_AccessLevel
in 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:
setAddress1
in interfaceI_C_Location
- Parameters:
Address1
- Address line 1 for this location
-
getAddress1
public String getAddress1()
Get Address 1.- Specified by:
getAddress1
in interfaceI_C_Location
- Returns:
- Address line 1 for this location
-
setAddress2
public void setAddress2(String Address2)
Set Address 2.- Specified by:
setAddress2
in interfaceI_C_Location
- Parameters:
Address2
- Address line 2 for this location
-
getAddress2
public String getAddress2()
Get Address 2.- Specified by:
getAddress2
in interfaceI_C_Location
- Returns:
- Address line 2 for this location
-
setAddress3
public void setAddress3(String Address3)
Set Address 3.- Specified by:
setAddress3
in interfaceI_C_Location
- Parameters:
Address3
- Address Line 3 for the location
-
getAddress3
public String getAddress3()
Get Address 3.- Specified by:
getAddress3
in interfaceI_C_Location
- Returns:
- Address Line 3 for the location
-
setAddress4
public void setAddress4(String Address4)
Set Address 4.- Specified by:
setAddress4
in interfaceI_C_Location
- Parameters:
Address4
- Address Line 4 for the location
-
getAddress4
public String getAddress4()
Get Address 4.- Specified by:
getAddress4
in interfaceI_C_Location
- Returns:
- Address Line 4 for the location
-
setAddress5
public void setAddress5(String Address5)
Set Address 5.- Specified by:
setAddress5
in interfaceI_C_Location
- Parameters:
Address5
- Address Line 5 for the location
-
getAddress5
public String getAddress5()
Get Address 5.- Specified by:
getAddress5
in interfaceI_C_Location
- Returns:
- Address Line 5 for the location
-
getC_AddressValidation
public I_C_AddressValidation getC_AddressValidation() throws RuntimeException
- Specified by:
getC_AddressValidation
in interfaceI_C_Location
- Throws:
RuntimeException
-
setC_AddressValidation_ID
public void setC_AddressValidation_ID(int C_AddressValidation_ID)
Set Address Validation.- Specified by:
setC_AddressValidation_ID
in interfaceI_C_Location
- Parameters:
C_AddressValidation_ID
- Address Validation
-
getC_AddressValidation_ID
public int getC_AddressValidation_ID()
Get Address Validation.- Specified by:
getC_AddressValidation_ID
in interfaceI_C_Location
- Returns:
- Address Validation
-
getC_City
public I_C_City getC_City() throws RuntimeException
- Specified by:
getC_City
in interfaceI_C_Location
- Throws:
RuntimeException
-
setC_City_ID
public void setC_City_ID(int C_City_ID)
Set City.- Specified by:
setC_City_ID
in interfaceI_C_Location
- Parameters:
C_City_ID
- City
-
getC_City_ID
public int getC_City_ID()
Get City.- Specified by:
getC_City_ID
in interfaceI_C_Location
- Returns:
- City
-
getC_Country
public I_C_Country getC_Country() throws RuntimeException
- Specified by:
getC_Country
in interfaceI_C_Location
- Throws:
RuntimeException
-
setC_Country_ID
public void setC_Country_ID(int C_Country_ID)
Set Country.- Specified by:
setC_Country_ID
in interfaceI_C_Location
- Parameters:
C_Country_ID
- Country
-
getC_Country_ID
public int getC_Country_ID()
Get Country.- Specified by:
getC_Country_ID
in interfaceI_C_Location
- Returns:
- Country
-
setCity
public void setCity(String City)
Set City.- Specified by:
setCity
in interfaceI_C_Location
- Parameters:
City
- Identifies a City
-
getCity
public String getCity()
Get City.- Specified by:
getCity
in 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_ID
in interfaceI_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 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_UU
in 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_UU
in interfaceI_C_Location
- Returns:
- C_Location_UU
-
setComments
public void setComments(String Comments)
Set Comments.- Specified by:
setComments
in interfaceI_C_Location
- Parameters:
Comments
- Comments or additional information
-
getComments
public String getComments()
Get Comments.- Specified by:
getComments
in interfaceI_C_Location
- Returns:
- Comments or additional information
-
getC_Region
public I_C_Region getC_Region() throws RuntimeException
- Specified by:
getC_Region
in interfaceI_C_Location
- Throws:
RuntimeException
-
setC_Region_ID
public void setC_Region_ID(int C_Region_ID)
Set Region.- Specified by:
setC_Region_ID
in 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_ID
in interfaceI_C_Location
- Returns:
- Identifies a geographical Region
-
setIsValid
public void setIsValid(boolean IsValid)
Set Valid.- Specified by:
setIsValid
in interfaceI_C_Location
- Parameters:
IsValid
- Element is valid
-
isValid
public boolean isValid()
Get Valid.- Specified by:
isValid
in interfaceI_C_Location
- Returns:
- Element is valid
-
setPostal
public void setPostal(String Postal)
Set ZIP.- Specified by:
setPostal
in interfaceI_C_Location
- Parameters:
Postal
- Postal code
-
getPostal
public String getPostal()
Get ZIP.- Specified by:
getPostal
in interfaceI_C_Location
- Returns:
- Postal code
-
setPostal_Add
public void setPostal_Add(String Postal_Add)
Set Additional Zip.- Specified by:
setPostal_Add
in interfaceI_C_Location
- Parameters:
Postal_Add
- Additional ZIP or Postal code
-
getPostal_Add
public String getPostal_Add()
Get Additional Zip.- Specified by:
getPostal_Add
in interfaceI_C_Location
- Returns:
- Additional ZIP or Postal code
-
setRegionName
public void setRegionName(String RegionName)
Set Region.- Specified by:
setRegionName
in interfaceI_C_Location
- Parameters:
RegionName
- Name of the Region
-
getRegionName
public String getRegionName()
Get Region.- Specified by:
getRegionName
in interfaceI_C_Location
- Returns:
- Name of the Region
-
setResult
public void setResult(String Result)
Set Result.- Specified by:
setResult
in interfaceI_C_Location
- Parameters:
Result
- Result of the action taken
-
getResult
public String getResult()
Get Result.- Specified by:
getResult
in interfaceI_C_Location
- Returns:
- Result of the action taken
-
setValidateAddress
public void setValidateAddress(String ValidateAddress)
Set Validate Address.- Specified by:
setValidateAddress
in interfaceI_C_Location
- Parameters:
ValidateAddress
- Validate Address
-
getValidateAddress
public String getValidateAddress()
Get Validate Address.- Specified by:
getValidateAddress
in interfaceI_C_Location
- Returns:
- Validate Address
-
-