Package org.compiere.model
Class X_C_BPartner_Location
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_BPartner_Location
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_BPartner_Location
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MBPartnerLocation
public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, I_Persistent
Generated Model for C_BPartner_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_BPartner_Location
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_BPartner_Location_ID, COLUMNNAME_C_BPartner_Location_UU, COLUMNNAME_C_Location_ID, COLUMNNAME_C_SalesRegion_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_CustomerAddressID, COLUMNNAME_Fax, COLUMNNAME_IsActive, COLUMNNAME_IsBillTo, COLUMNNAME_ISDN, COLUMNNAME_IsPayFrom, COLUMNNAME_IsPreserveCustomName, COLUMNNAME_IsRemitTo, COLUMNNAME_IsShipTo, COLUMNNAME_Name, COLUMNNAME_Phone, COLUMNNAME_Phone2, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_BPartner_Location(Properties ctx, int C_BPartner_Location_ID, String trxName)
Standard ConstructorX_C_BPartner_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()
AccessLevelI_C_BPartner
getC_BPartner()
int
getC_BPartner_ID()
Get Business Partner.int
getC_BPartner_Location_ID()
Get Partner Location.String
getC_BPartner_Location_UU()
Get C_BPartner_Location_UU.I_C_Location
getC_Location()
int
getC_Location_ID()
Get Address.I_C_SalesRegion
getC_SalesRegion()
int
getC_SalesRegion_ID()
Get Sales Region.String
getCustomerAddressID()
Get Customer Address ID.String
getFax()
Get Fax.String
getISDN()
Get ISDN.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getPhone()
Get Phone.String
getPhone2()
Get 2nd Phone.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isBillTo()
Get Invoice Address.boolean
isPayFrom()
Get Pay-From Address.boolean
isPreserveCustomName()
Get Preserve custom name.boolean
isRemitTo()
Get Remit-To Address.boolean
isShipTo()
Get Ship Address.void
setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.void
setC_BPartner_Location_ID(int C_BPartner_Location_ID)
Set Partner Location.void
setC_BPartner_Location_UU(String C_BPartner_Location_UU)
Set C_BPartner_Location_UU.void
setC_Location_ID(int C_Location_ID)
Set Address.void
setC_SalesRegion_ID(int C_SalesRegion_ID)
Set Sales Region.void
setCustomerAddressID(String CustomerAddressID)
Set Customer Address ID.void
setFax(String Fax)
Set Fax.void
setIsBillTo(boolean IsBillTo)
Set Invoice Address.void
setISDN(String ISDN)
Set ISDN.void
setIsPayFrom(boolean IsPayFrom)
Set Pay-From Address.void
setIsPreserveCustomName(boolean IsPreserveCustomName)
Set Preserve custom name.void
setIsRemitTo(boolean IsRemitTo)
Set Remit-To Address.void
setIsShipTo(boolean IsShipTo)
Set Ship Address.void
setName(String Name)
Set Name.void
setPhone(String Phone)
Set Phone.void
setPhone2(String Phone2)
Set 2nd Phone.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_BPartner_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_BPartner_Location
public X_C_BPartner_Location(Properties ctx, int C_BPartner_Location_ID, String trxName)
Standard Constructor
-
X_C_BPartner_Location
public X_C_BPartner_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:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getC_BPartner
public I_C_BPartner getC_BPartner() throws RuntimeException
- Specified by:
getC_BPartner
in interfaceI_C_BPartner_Location
- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.- Specified by:
setC_BPartner_ID
in interfaceI_C_BPartner_Location
- Parameters:
C_BPartner_ID
- Identifies a Business Partner
-
getC_BPartner_ID
public int getC_BPartner_ID()
Get Business Partner.- Specified by:
getC_BPartner_ID
in interfaceI_C_BPartner_Location
- Returns:
- Identifies a Business Partner
-
setC_BPartner_Location_ID
public void setC_BPartner_Location_ID(int C_BPartner_Location_ID)
Set Partner Location.- Specified by:
setC_BPartner_Location_ID
in interfaceI_C_BPartner_Location
- Parameters:
C_BPartner_Location_ID
- Identifies the (ship to) address for this Business Partner
-
getC_BPartner_Location_ID
public int getC_BPartner_Location_ID()
Get Partner Location.- Specified by:
getC_BPartner_Location_ID
in interfaceI_C_BPartner_Location
- Returns:
- Identifies the (ship to) address for this Business Partner
-
setC_BPartner_Location_UU
public void setC_BPartner_Location_UU(String C_BPartner_Location_UU)
Set C_BPartner_Location_UU.- Specified by:
setC_BPartner_Location_UU
in interfaceI_C_BPartner_Location
- Parameters:
C_BPartner_Location_UU
- C_BPartner_Location_UU
-
getC_BPartner_Location_UU
public String getC_BPartner_Location_UU()
Get C_BPartner_Location_UU.- Specified by:
getC_BPartner_Location_UU
in interfaceI_C_BPartner_Location
- Returns:
- C_BPartner_Location_UU
-
getC_Location
public I_C_Location getC_Location() throws RuntimeException
- Specified by:
getC_Location
in interfaceI_C_BPartner_Location
- Throws:
RuntimeException
-
setC_Location_ID
public void setC_Location_ID(int C_Location_ID)
Set Address.- Specified by:
setC_Location_ID
in interfaceI_C_BPartner_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_BPartner_Location
- Returns:
- Location or Address
-
getC_SalesRegion
public I_C_SalesRegion getC_SalesRegion() throws RuntimeException
- Specified by:
getC_SalesRegion
in interfaceI_C_BPartner_Location
- Throws:
RuntimeException
-
setC_SalesRegion_ID
public void setC_SalesRegion_ID(int C_SalesRegion_ID)
Set Sales Region.- Specified by:
setC_SalesRegion_ID
in interfaceI_C_BPartner_Location
- Parameters:
C_SalesRegion_ID
- Sales coverage region
-
getC_SalesRegion_ID
public int getC_SalesRegion_ID()
Get Sales Region.- Specified by:
getC_SalesRegion_ID
in interfaceI_C_BPartner_Location
- Returns:
- Sales coverage region
-
setCustomerAddressID
public void setCustomerAddressID(String CustomerAddressID)
Set Customer Address ID.- Specified by:
setCustomerAddressID
in interfaceI_C_BPartner_Location
- Parameters:
CustomerAddressID
- Customer Address ID
-
getCustomerAddressID
public String getCustomerAddressID()
Get Customer Address ID.- Specified by:
getCustomerAddressID
in interfaceI_C_BPartner_Location
- Returns:
- Customer Address ID
-
setFax
public void setFax(String Fax)
Set Fax.- Specified by:
setFax
in interfaceI_C_BPartner_Location
- Parameters:
Fax
- Facsimile number
-
getFax
public String getFax()
Get Fax.- Specified by:
getFax
in interfaceI_C_BPartner_Location
- Returns:
- Facsimile number
-
setIsBillTo
public void setIsBillTo(boolean IsBillTo)
Set Invoice Address.- Specified by:
setIsBillTo
in interfaceI_C_BPartner_Location
- Parameters:
IsBillTo
- Business Partner Invoice/Bill Address
-
isBillTo
public boolean isBillTo()
Get Invoice Address.- Specified by:
isBillTo
in interfaceI_C_BPartner_Location
- Returns:
- Business Partner Invoice/Bill Address
-
setISDN
public void setISDN(String ISDN)
Set ISDN.- Specified by:
setISDN
in interfaceI_C_BPartner_Location
- Parameters:
ISDN
- ISDN or modem line
-
getISDN
public String getISDN()
Get ISDN.- Specified by:
getISDN
in interfaceI_C_BPartner_Location
- Returns:
- ISDN or modem line
-
setIsPayFrom
public void setIsPayFrom(boolean IsPayFrom)
Set Pay-From Address.- Specified by:
setIsPayFrom
in interfaceI_C_BPartner_Location
- Parameters:
IsPayFrom
- Business Partner pays from that address and we'll send dunning letters there
-
isPayFrom
public boolean isPayFrom()
Get Pay-From Address.- Specified by:
isPayFrom
in interfaceI_C_BPartner_Location
- Returns:
- Business Partner pays from that address and we'll send dunning letters there
-
setIsPreserveCustomName
public void setIsPreserveCustomName(boolean IsPreserveCustomName)
Set Preserve custom name.- Specified by:
setIsPreserveCustomName
in interfaceI_C_BPartner_Location
- Parameters:
IsPreserveCustomName
- Preserve custom name
-
isPreserveCustomName
public boolean isPreserveCustomName()
Get Preserve custom name.- Specified by:
isPreserveCustomName
in interfaceI_C_BPartner_Location
- Returns:
- Preserve custom name
-
setIsRemitTo
public void setIsRemitTo(boolean IsRemitTo)
Set Remit-To Address.- Specified by:
setIsRemitTo
in interfaceI_C_BPartner_Location
- Parameters:
IsRemitTo
- Business Partner payment address
-
isRemitTo
public boolean isRemitTo()
Get Remit-To Address.- Specified by:
isRemitTo
in interfaceI_C_BPartner_Location
- Returns:
- Business Partner payment address
-
setIsShipTo
public void setIsShipTo(boolean IsShipTo)
Set Ship Address.- Specified by:
setIsShipTo
in interfaceI_C_BPartner_Location
- Parameters:
IsShipTo
- Business Partner Shipment Address
-
isShipTo
public boolean isShipTo()
Get Ship Address.- Specified by:
isShipTo
in interfaceI_C_BPartner_Location
- Returns:
- Business Partner Shipment Address
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_C_BPartner_Location
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_C_BPartner_Location
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPhone
public void setPhone(String Phone)
Set Phone.- Specified by:
setPhone
in interfaceI_C_BPartner_Location
- Parameters:
Phone
- Identifies a telephone number
-
getPhone
public String getPhone()
Get Phone.- Specified by:
getPhone
in interfaceI_C_BPartner_Location
- Returns:
- Identifies a telephone number
-
setPhone2
public void setPhone2(String Phone2)
Set 2nd Phone.- Specified by:
setPhone2
in interfaceI_C_BPartner_Location
- Parameters:
Phone2
- Identifies an alternate telephone number.
-
getPhone2
public String getPhone2()
Get 2nd Phone.- Specified by:
getPhone2
in interfaceI_C_BPartner_Location
- Returns:
- Identifies an alternate telephone number.
-
-