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
Generated Model for C_Location
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_C_Location
(Properties ctx, int C_Location_ID, String trxName) Standard ConstructorX_C_Location
(Properties ctx, int C_Location_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_Location
(Properties ctx, String C_Location_UU, String trxName) Standard ConstructorX_C_Location
(Properties ctx, String C_Location_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_Location
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Address 1.Get Address 2.Get Address 3.Get Address 4.Get Address 5.int
Get Address Validation.int
Get City.int
Get Country.int
Get Address.Get C_Location_UU.int
Get Region.getCity()
Get City.Get Comments.Get Record ID/ColumnNameGet ZIP.Get Additional Zip.Get Region.Get Result.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
Set City.void
setComments
(String Comments) Set Comments.void
setIsValid
(boolean IsValid) Set Valid.void
Set ZIP.void
setPostal_Add
(String Postal_Add) Set Additional Zip.void
setRegionName
(String RegionName) Set Region.void
Set Result.void
setValidateAddress
(String ValidateAddress) Set Validate Address.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
X_C_Location
Standard Constructor -
X_C_Location
Standard Constructor -
X_C_Location
Standard Constructor -
X_C_Location
Standard Constructor -
X_C_Location
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 7 - System - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setAddress1
Set Address 1.- Specified by:
setAddress1
in interfaceI_C_Location
- Parameters:
Address1
- Address line 1 for this location
-
getAddress1
Get Address 1.- Specified by:
getAddress1
in interfaceI_C_Location
- Returns:
- Address line 1 for this location
-
setAddress2
Set Address 2.- Specified by:
setAddress2
in interfaceI_C_Location
- Parameters:
Address2
- Address line 2 for this location
-
getAddress2
Get Address 2.- Specified by:
getAddress2
in interfaceI_C_Location
- Returns:
- Address line 2 for this location
-
setAddress3
Set Address 3.- Specified by:
setAddress3
in interfaceI_C_Location
- Parameters:
Address3
- Address Line 3 for the location
-
getAddress3
Get Address 3.- Specified by:
getAddress3
in interfaceI_C_Location
- Returns:
- Address Line 3 for the location
-
setAddress4
Set Address 4.- Specified by:
setAddress4
in interfaceI_C_Location
- Parameters:
Address4
- Address Line 4 for the location
-
getAddress4
Get Address 4.- Specified by:
getAddress4
in interfaceI_C_Location
- Returns:
- Address Line 4 for the location
-
setAddress5
Set Address 5.- Specified by:
setAddress5
in interfaceI_C_Location
- Parameters:
Address5
- Address Line 5 for the location
-
getAddress5
Get Address 5.- Specified by:
getAddress5
in interfaceI_C_Location
- Returns:
- Address Line 5 for the location
-
getC_AddressValidation
- 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
- 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
- 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
Set City.- Specified by:
setCity
in interfaceI_C_Location
- Parameters:
City
- Identifies a City
-
getCity
Get City.- Specified by:
getCity
in interfaceI_C_Location
- Returns:
- Identifies a City
-
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
Set C_Location_UU.- Specified by:
setC_Location_UU
in interfaceI_C_Location
- Parameters:
C_Location_UU
- C_Location_UU
-
getC_Location_UU
Get C_Location_UU.- Specified by:
getC_Location_UU
in interfaceI_C_Location
- Returns:
- C_Location_UU
-
setComments
Set Comments.- Specified by:
setComments
in interfaceI_C_Location
- Parameters:
Comments
- Comments or additional information
-
getComments
Get Comments.- Specified by:
getComments
in interfaceI_C_Location
- Returns:
- Comments or additional information
-
getC_Region
- 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
Set ZIP.- Specified by:
setPostal
in interfaceI_C_Location
- Parameters:
Postal
- Postal code
-
getPostal
Get ZIP.- Specified by:
getPostal
in interfaceI_C_Location
- Returns:
- Postal code
-
setPostal_Add
Set Additional Zip.- Specified by:
setPostal_Add
in interfaceI_C_Location
- Parameters:
Postal_Add
- Additional ZIP or Postal code
-
getPostal_Add
Get Additional Zip.- Specified by:
getPostal_Add
in interfaceI_C_Location
- Returns:
- Additional ZIP or Postal code
-
setRegionName
Set Region.- Specified by:
setRegionName
in interfaceI_C_Location
- Parameters:
RegionName
- Name of the Region
-
getRegionName
Get Region.- Specified by:
getRegionName
in interfaceI_C_Location
- Returns:
- Name of the Region
-
setResult
Set Result.- Specified by:
setResult
in interfaceI_C_Location
- Parameters:
Result
- Result of the action taken
-
getResult
Get Result.- Specified by:
getResult
in interfaceI_C_Location
- Returns:
- Result of the action taken
-
setValidateAddress
Set Validate Address.- Specified by:
setValidateAddress
in interfaceI_C_Location
- Parameters:
ValidateAddress
- Validate Address
-
getValidateAddress
Get Validate Address.- Specified by:
getValidateAddress
in interfaceI_C_Location
- Returns:
- Validate Address
-