Interface Address
- All Superinterfaces:
BusinessObject,Cloneable,Comparable<Address>,MessageListHolder,Serializable
- All Known Implementing Classes:
AddressImpl
BO representation of an address.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe operation which is possible on an address -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAddress type corresponding to an organizationstatic final StringAddress type corresponding to a business partnerFields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID -
Method Summary
Modifier and TypeMethodDescriptionvoidclearX()clearX This method is to dynamically clear the values of all the "X" variables except the ones in the except array.clone()Returns the attribute value for a given bean attributegetCity()booleangetCityX()booleanbooleanbooleangetEmail()booleanbooleanbooleanbooleanbooleangetId()Returns the property idbooleangetName()getName1()booleangetName2()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleangetType()Returns the property typebooleanisAddressfieldsEqualTo(Address address) Compares all address content fieldsbooleanvoidsetAddressPartner(String partner) Setter for bean attributevoidsetAddressString(String string) Sets address in short formatvoidsetAddressStringC(String addressStringC) Sets address string including namevoidsetAddrguid(String addrguid) Sets address guid (only relevant for CRM backend)voidsetAddrnum(String addrnum) Sets address number which is available in the CRM or ERP backendvoidAll (delta) attributes indicating that bean attributes have been changed are set to truevoidSetter for bean attributevoidsetCompanyName(String companyName) Sets company namevoidsetCountry(String country) Setter for bean attributevoidsetCountyList(List<County> countyList) Sets lists of available counties.voidsetDistrict(String district) Setter for bean attributevoidSetter for bean attributevoidsetFaxExtens(String faxExtens) Setter for bean attributevoidsetFaxNumber(String faxNumber) Setter for bean attributevoidsetFirstName(String firstName) voidsetHouseNo(String houseNo) Setter for bean attributevoidSet the property idvoidsetLastName(String lastName) voidSetter for bean attributevoidSetter for bean attributevoidsetOperation(Address.Operation operation) Sets operation mode on current addressvoidsetPostlCod1(String postlCod1) Setter for bean attributevoidsetPostlCod2(String postlCod2) Setter for bean attributevoidSetter for bean attributevoidSetter for bean attributevoidsetTaxJurCode(String taxJurCode) Setter for bean attributevoidsetTel1Ext(String tel1Ext) Setter for bean attributevoidsetTel1Numbr(String tel1Numbr) Setter for bean attributevoidsetTelmob1(String telmob1) Sets first mobile numbervoidsetTelmob1Seq(String telmob1Seq) Sets respective bean attributevoidsetTitleKey(String titleKey) voidSet the property typeMethods inherited from interface de.hybris.platform.sap.core.bol.businessobject.BusinessObject
addExtensionData, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setExtensionMap, setHandle, setInvalid, setTechKey, setValidMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
Field Details
-
TYPE_ORGANISATION
Address type corresponding to an organization- See Also:
-
TYPE_PERSON
Address type corresponding to a business partner- See Also:
-
-
Method Details
-
setAllXFields
void setAllXFields()All (delta) attributes indicating that bean attributes have been changed are set to true -
get
Returns the attribute value for a given bean attribute- Parameters:
field- Name of the field that should be returned- Returns:
- attribute value
-
setId
Set the property id- Parameters:
id- the id
-
getId
String getId()Returns the property id- Returns:
- id
-
setType
Set the property type- Parameters:
type- the type
-
getType
String getType()Returns the property type- Returns:
- type
-
setTitleKey
- Parameters:
titleKey- short ID of title
-
setFirstName
- Parameters:
firstName- the fist name
-
setLastName
- Parameters:
lastName- the last name
-
setName1
Setter for bean attribute- Parameters:
name1- the name 1
-
setName2
Setter for bean attribute- Parameters:
name2- the name 2
-
setCity
Setter for bean attribute- Parameters:
city- the city
-
setDistrict
Setter for bean attribute- Parameters:
district- geographic entity for tax jurisdiction code determination
-
setPostlCod1
Setter for bean attribute- Parameters:
postlCod1- the postal code 1
-
setPostlCod2
Setter for bean attribute- Parameters:
postlCod2- the postal code 2
-
setStreet
Setter for bean attribute- Parameters:
street- The street
-
setHouseNo
Setter for bean attribute- Parameters:
houseNo- The house no
-
setCountry
Setter for bean attribute- Parameters:
country- The Country
-
setRegion
Setter for bean attribute- Parameters:
region- The region
-
setTaxJurCode
Setter for bean attribute- Parameters:
taxJurCode- tax jurisdiction code. Can be determined from full address or from district
-
setTel1Numbr
Setter for bean attribute- Parameters:
tel1Numbr- the telephone number
-
setTel1Ext
Setter for bean attribute- Parameters:
tel1Ext- the telephone extension
-
setFaxNumber
Setter for bean attribute- Parameters:
faxNumber- The fax number
-
setFaxExtens
Setter for bean attribute- Parameters:
faxExtens- the fax number extension
-
setEmail
Setter for bean attribute- Parameters:
email- the email address
-
setAddressPartner
Setter for bean attribute- Parameters:
partner- business partner owning the address
-
getTitleKey
String getTitleKey()- Returns:
- respective bean attribute
-
getFirstName
String getFirstName()- Returns:
- respective bean attribute
-
getLastName
String getLastName()- Returns:
- respective bean attribute
-
getName1
String getName1()- Returns:
- respective bean attribute
-
getName2
String getName2()- Returns:
- respective bean attribute
-
getCity
String getCity()- Returns:
- respective bean attribute
-
getDistrict
String getDistrict()- Returns:
- geographic entity used for tax jurisdiction code determination
-
getPostlCod1
String getPostlCod1()- Returns:
- respective bean attribute
-
getPostlCod2
String getPostlCod2()- Returns:
- respective bean attribute
-
getStreet
String getStreet()- Returns:
- respective bean attribute
-
getHouseNo
String getHouseNo()- Returns:
- respective bean attribute
-
getCountry
String getCountry()- Returns:
- respective bean attribute
-
getRegion
String getRegion()- Returns:
- respective bean attribute
-
getTaxJurCode
String getTaxJurCode()- Returns:
- tax jurisdiction which can be derived from complete address or from country, regions city, street and district
-
getTel1Numbr
String getTel1Numbr()- Returns:
- respective bean attribute
-
getTel1Ext
String getTel1Ext()- Returns:
- respective bean attribute
-
getFaxNumber
String getFaxNumber()- Returns:
- respective bean attribute
-
getFaxExtens
String getFaxExtens()- Returns:
- respective bean attribute
-
getEmail
String getEmail()- Returns:
- respective bean attribute
-
getAddressPartner
String getAddressPartner()- Returns:
- partner who owns this address
-
setOperation
Sets operation mode on current address- Parameters:
operation- the address operation- See Also:
-
getOperation
Address.Operation getOperation()- Returns:
- current operation
- See Also:
-
getTelmob1
String getTelmob1()- Returns:
- respective bean attribute
-
setTelmob1
Sets first mobile number- Parameters:
telmob1- the telmob1
-
getAddrnum
String getAddrnum()- Returns:
- address number from CRM or ERP backend if available
-
setAddrnum
Sets address number which is available in the CRM or ERP backend- Parameters:
addrnum- the address number (BAS)
-
getAddrguid
String getAddrguid()- Returns:
- guid of address, only available in CRM case
-
setAddrguid
Sets address guid (only relevant for CRM backend)- Parameters:
addrguid- the address guid
-
getCountyList
- Returns:
- list of available counties. Relevant for tax jurisdiction code determination
-
setCountyList
Sets lists of available counties. Relevant for tax jurisdiction code determination- Parameters:
countyList- the county list
-
getLastNameX
boolean getLastNameX()- Returns:
- respective bean change attribute
-
getFirstNameX
boolean getFirstNameX()- Returns:
- respective bean change attribute
-
getName1X
boolean getName1X()- Returns:
- respective bean change attribute
-
getName2X
boolean getName2X()- Returns:
- respective bean change attribute
-
getCityX
boolean getCityX()- Returns:
- respective bean change attribute
-
getDistrictX
boolean getDistrictX()- Returns:
- respective bean change attribute
-
getCountryX
boolean getCountryX()- Returns:
- respective bean change attribute
-
getStreetX
boolean getStreetX()- Returns:
- respective bean change attribute
-
getRegionX
boolean getRegionX()- Returns:
- respective bean change attribute
-
getEmailX
boolean getEmailX()- Returns:
- respective bean change attribute
-
getTelmob1X
boolean getTelmob1X()- Returns:
- respective bean change attribute
-
getFaxNumberX
boolean getFaxNumberX()- Returns:
- respective bean change attribute
-
getHouseNoX
boolean getHouseNoX()- Returns:
- respective bean change attribute
-
getFaxExtensX
boolean getFaxExtensX()- Returns:
- respective bean change attribute
-
getPostlCod1X
boolean getPostlCod1X()- Returns:
- respective bean change attribute
-
getPostlCod2X
boolean getPostlCod2X()- Returns:
- respective bean change attribute
-
getTel1NumbrX
boolean getTel1NumbrX()- Returns:
- respective bean change attribute
-
getTel1ExtX
boolean getTel1ExtX()- Returns:
- respective bean change attribute
-
getTitleKeyX
boolean getTitleKeyX()- Returns:
- respective bean change attribute
-
getTaxJurCodeX
boolean getTaxJurCodeX()- Returns:
- respective bean change attribute
-
getCompanyName
String getCompanyName()- Returns:
- respective bean attribute
-
setCompanyName
Sets company name- Parameters:
companyName- the company name
-
getCompanyNameX
boolean getCompanyNameX()- Returns:
- respective bean change attribute
-
clearX
void clearX()clearX This method is to dynamically clear the values of all the "X" variables except the ones in the except array. Dynamically fetches the fields names and clears their values. -
isChanged
boolean isChanged()- Returns:
- has this address been changed
-
getTelmob1Seq
String getTelmob1Seq()- Returns:
- respective bean attribute
-
setTelmob1Seq
Sets respective bean attribute- Parameters:
telmob1Seq- the telmob1 sequence number
-
setAddressString
Sets address in short format- Parameters:
string- the address string
-
getName
String getName()- Returns:
- respective bean attribute
-
getAddressString
String getAddressString()- Returns:
- address in string format
-
setAddressStringC
Sets address string including name- Parameters:
addressStringC- address in string format, including name
-
getAddressStringC
String getAddressStringC()- Returns:
- address string including name
-
isAddressfieldsEqualTo
Compares all address content fields- Parameters:
address- the address to be compared- Returns:
- true, if all address content fields are equal
-
clone
Address clone()
-