Class AddressImpl

    • Field Detail

      • X_STR

        public static final java.lang.String X_STR
        Postfix to create X fields names (indicating change flag) from standard field names
        See Also:
        Constant Field Values
    • Constructor Detail

      • AddressImpl

        public AddressImpl()
        simple constructor
    • Method Detail

      • setId

        public void setId​(java.lang.String id)
        Set the property id
        Specified by:
        setId in interface Address
        Parameters:
        id - the id
      • getId

        public java.lang.String getId()
        Returns the property id
        Specified by:
        getId in interface Address
        Returns:
        id
      • setType

        public void setType​(java.lang.String type)
        Set the property type
        Specified by:
        setType in interface Address
        Parameters:
        type - the type
      • getType

        public java.lang.String getType()
        Returns the property type
        Specified by:
        getType in interface Address
        Returns:
        type
      • setTitleKey

        public void setTitleKey​(java.lang.String titleKey)
        Specified by:
        setTitleKey in interface Address
        Parameters:
        titleKey - short ID of title
      • setFirstName

        public void setFirstName​(java.lang.String firstName)
        Specified by:
        setFirstName in interface Address
        Parameters:
        firstName - the fist name
      • setLastName

        public void setLastName​(java.lang.String lastName)
        Specified by:
        setLastName in interface Address
        Parameters:
        lastName - the last name
      • setName1

        public void setName1​(java.lang.String name1)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setName1 in interface Address
        Parameters:
        name1 - the name 1
      • setName2

        public void setName2​(java.lang.String name2)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setName2 in interface Address
        Parameters:
        name2 - the name 2
      • setCity

        public void setCity​(java.lang.String city)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setCity in interface Address
        Parameters:
        city - the city
      • setDistrict

        public void setDistrict​(java.lang.String district)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setDistrict in interface Address
        Parameters:
        district - geographic entity for tax jurisdiction code determination
      • getDistrictX

        public boolean getDistrictX()
        Specified by:
        getDistrictX in interface Address
        Returns:
        respective bean change attribute
      • setPostlCod1

        public void setPostlCod1​(java.lang.String postlCod1)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setPostlCod1 in interface Address
        Parameters:
        postlCod1 - the postal code 1
      • getPostlCod1X

        public boolean getPostlCod1X()
        Specified by:
        getPostlCod1X in interface Address
        Returns:
        respective bean change attribute
      • setPostlCod2

        public void setPostlCod2​(java.lang.String postlCod2)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setPostlCod2 in interface Address
        Parameters:
        postlCod2 - the postal code 2
      • setStreet

        public void setStreet​(java.lang.String street)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setStreet in interface Address
        Parameters:
        street - The street
      • setHouseNo

        public void setHouseNo​(java.lang.String houseNo)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setHouseNo in interface Address
        Parameters:
        houseNo - The house no
      • setCountry

        public void setCountry​(java.lang.String country)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setCountry in interface Address
        Parameters:
        country - The Country
      • setRegion

        public void setRegion​(java.lang.String region)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setRegion in interface Address
        Parameters:
        region - The region
      • setTaxJurCode

        public void setTaxJurCode​(java.lang.String taxJurCode)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setTaxJurCode in interface Address
        Parameters:
        taxJurCode - tax jurisdiction code. Can be determined from full address or from district
      • setTel1Numbr

        public void setTel1Numbr​(java.lang.String tel1Numbr)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setTel1Numbr in interface Address
        Parameters:
        tel1Numbr - the telephone number
      • setTel1Ext

        public void setTel1Ext​(java.lang.String tel1Ext)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setTel1Ext in interface Address
        Parameters:
        tel1Ext - the telephone extension
      • setFaxNumber

        public void setFaxNumber​(java.lang.String faxNumber)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setFaxNumber in interface Address
        Parameters:
        faxNumber - The fax number
      • getFaxNumberX

        public boolean getFaxNumberX()
        Specified by:
        getFaxNumberX in interface Address
        Returns:
        respective bean change attribute
      • setFaxExtens

        public void setFaxExtens​(java.lang.String faxExtens)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setFaxExtens in interface Address
        Parameters:
        faxExtens - the fax number extension
      • setAddressPartner

        public void setAddressPartner​(java.lang.String partner)
        Description copied from interface: Address
        Setter for bean attribute
        Specified by:
        setAddressPartner in interface Address
        Parameters:
        partner - business partner owning the address
      • getTitleKey

        public java.lang.String getTitleKey()
        Specified by:
        getTitleKey in interface Address
        Returns:
        respective bean attribute
      • getFirstName

        public java.lang.String getFirstName()
        Specified by:
        getFirstName in interface Address
        Returns:
        respective bean attribute
      • getLastName

        public java.lang.String getLastName()
        Specified by:
        getLastName in interface Address
        Returns:
        respective bean attribute
      • getName1

        public java.lang.String getName1()
        Specified by:
        getName1 in interface Address
        Returns:
        respective bean attribute
      • getName2

        public java.lang.String getName2()
        Specified by:
        getName2 in interface Address
        Returns:
        respective bean attribute
      • getCity

        public java.lang.String getCity()
        Specified by:
        getCity in interface Address
        Returns:
        respective bean attribute
      • getDistrict

        public java.lang.String getDistrict()
        Specified by:
        getDistrict in interface Address
        Returns:
        geographic entity used for tax jurisdiction code determination
      • getPostlCod1

        public java.lang.String getPostlCod1()
        Specified by:
        getPostlCod1 in interface Address
        Returns:
        respective bean attribute
      • getPostlCod2

        public java.lang.String getPostlCod2()
        Specified by:
        getPostlCod2 in interface Address
        Returns:
        respective bean attribute
      • getStreet

        public java.lang.String getStreet()
        Specified by:
        getStreet in interface Address
        Returns:
        respective bean attribute
      • getHouseNo

        public java.lang.String getHouseNo()
        Specified by:
        getHouseNo in interface Address
        Returns:
        respective bean attribute
      • getCountry

        public java.lang.String getCountry()
        Specified by:
        getCountry in interface Address
        Returns:
        respective bean attribute
      • getRegion

        public java.lang.String getRegion()
        Specified by:
        getRegion in interface Address
        Returns:
        respective bean attribute
      • getTaxJurCode

        public java.lang.String getTaxJurCode()
        Specified by:
        getTaxJurCode in interface Address
        Returns:
        tax jurisdiction which can be derived from complete address or from country, regions city, street and district
      • getTel1Numbr

        public java.lang.String getTel1Numbr()
        Specified by:
        getTel1Numbr in interface Address
        Returns:
        respective bean attribute
      • getTel1Ext

        public java.lang.String getTel1Ext()
        Specified by:
        getTel1Ext in interface Address
        Returns:
        respective bean attribute
      • getFaxNumber

        public java.lang.String getFaxNumber()
        Specified by:
        getFaxNumber in interface Address
        Returns:
        respective bean attribute
      • getFaxExtens

        public java.lang.String getFaxExtens()
        Specified by:
        getFaxExtens in interface Address
        Returns:
        respective bean attribute
      • getAddressPartner

        public java.lang.String getAddressPartner()
        Specified by:
        getAddressPartner in interface Address
        Returns:
        partner who owns this address
      • setEmail

        public void setEmail​(java.lang.String email)
        Set the property eMail
        Specified by:
        setEmail in interface Address
        Parameters:
        email - the email address
      • getEmail

        public java.lang.String getEmail()
        Returns the property email
        Specified by:
        getEmail in interface Address
        Returns:
        email
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Address
        Returns:
        respective bean attribute
      • getTelmob1

        public java.lang.String getTelmob1()
        Specified by:
        getTelmob1 in interface Address
        Returns:
        respective bean attribute
      • setTelmob1

        public void setTelmob1​(java.lang.String telmob1)
        Description copied from interface: Address
        Sets first mobile number
        Specified by:
        setTelmob1 in interface Address
        Parameters:
        telmob1 - the telmob1
      • getTelmob1X

        public boolean getTelmob1X()
        Specified by:
        getTelmob1X in interface Address
        Returns:
        respective bean change attribute
      • getEmailX

        public boolean getEmailX()
        Specified by:
        getEmailX in interface Address
        Returns:
        respective bean change attribute
      • getAddrnum

        public java.lang.String getAddrnum()
        Specified by:
        getAddrnum in interface Address
        Returns:
        address number from CRM or ERP backend if available
      • setAddrnum

        public void setAddrnum​(java.lang.String addrnum)
        Description copied from interface: Address
        Sets address number which is available in the CRM or ERP backend
        Specified by:
        setAddrnum in interface Address
        Parameters:
        addrnum - the address number (BAS)
      • getAddrguid

        public java.lang.String getAddrguid()
        Specified by:
        getAddrguid in interface Address
        Returns:
        guid of address, only available in CRM case
      • setAddrguid

        public void setAddrguid​(java.lang.String addrguid)
        Description copied from interface: Address
        Sets address guid (only relevant for CRM backend)
        Specified by:
        setAddrguid in interface Address
        Parameters:
        addrguid - the address guid
      • getLastNameX

        public boolean getLastNameX()
        Specified by:
        getLastNameX in interface Address
        Returns:
        respective bean change attribute
      • getCountyList

        public java.util.List<County> getCountyList()
        Specified by:
        getCountyList in interface Address
        Returns:
        list of available counties. Relevant for tax jurisdiction code determination
      • setCountyList

        public void setCountyList​(java.util.List<County> countyList)
        Description copied from interface: Address
        Sets lists of available counties. Relevant for tax jurisdiction code determination
        Specified by:
        setCountyList in interface Address
        Parameters:
        countyList - the county list
      • getFirstNameX

        public boolean getFirstNameX()
        Specified by:
        getFirstNameX in interface Address
        Returns:
        respective bean change attribute
      • getName1X

        public boolean getName1X()
        Specified by:
        getName1X in interface Address
        Returns:
        respective bean change attribute
      • getName2X

        public boolean getName2X()
        Specified by:
        getName2X in interface Address
        Returns:
        respective bean change attribute
      • getCityX

        public boolean getCityX()
        Specified by:
        getCityX in interface Address
        Returns:
        respective bean change attribute
      • getCountryX

        public boolean getCountryX()
        Specified by:
        getCountryX in interface Address
        Returns:
        respective bean change attribute
      • getStreetX

        public boolean getStreetX()
        Specified by:
        getStreetX in interface Address
        Returns:
        respective bean change attribute
      • getRegionX

        public boolean getRegionX()
        Specified by:
        getRegionX in interface Address
        Returns:
        respective bean change attribute
      • getHouseNoX

        public boolean getHouseNoX()
        Specified by:
        getHouseNoX in interface Address
        Returns:
        respective bean change attribute
      • getTel1NumbrX

        public boolean getTel1NumbrX()
        Specified by:
        getTel1NumbrX in interface Address
        Returns:
        respective bean change attribute
      • getTel1ExtX

        public boolean getTel1ExtX()
        Specified by:
        getTel1ExtX in interface Address
        Returns:
        respective bean change attribute
      • getFaxExtensX

        public boolean getFaxExtensX()
        Specified by:
        getFaxExtensX in interface Address
        Returns:
        respective bean change attribute
      • getTaxJurCodeX

        public boolean getTaxJurCodeX()
        Specified by:
        getTaxJurCodeX in interface Address
        Returns:
        respective bean change attribute
      • getTitleKeyX

        public boolean getTitleKeyX()
        Specified by:
        getTitleKeyX in interface Address
        Returns:
        respective bean change attribute
      • setTelmob1Seq

        public void setTelmob1Seq​(java.lang.String telmob1_seq)
        Description copied from interface: Address
        Sets respective bean attribute
        Specified by:
        setTelmob1Seq in interface Address
        Parameters:
        telmob1_seq - the telmob1 sequence number
      • getTelmob1Seq

        public java.lang.String getTelmob1Seq()
        Specified by:
        getTelmob1Seq in interface Address
        Returns:
        respective bean attribute
      • getCompanyName

        public java.lang.String getCompanyName()
        Specified by:
        getCompanyName in interface Address
        Returns:
        respective bean attribute
      • setCompanyName

        public void setCompanyName​(java.lang.String companyName)
        Description copied from interface: Address
        Sets company name
        Specified by:
        setCompanyName in interface Address
        Parameters:
        companyName - the company name
      • getCompanyNameX

        public boolean getCompanyNameX()
        Specified by:
        getCompanyNameX in interface Address
        Returns:
        respective bean change attribute
      • getAddressString

        public java.lang.String getAddressString()
        Specified by:
        getAddressString in interface Address
        Returns:
        address in string format
      • setAddressString

        public void setAddressString​(java.lang.String addressString)
        Description copied from interface: Address
        Sets address in short format
        Specified by:
        setAddressString in interface Address
        Parameters:
        addressString - the address string
      • getAddressStringC

        public java.lang.String getAddressStringC()
        Specified by:
        getAddressStringC in interface Address
        Returns:
        address string including name
      • setAddressStringC

        public void setAddressStringC​(java.lang.String addressStringC)
        Description copied from interface: Address
        Sets address string including name
        Specified by:
        setAddressStringC in interface Address
        Parameters:
        addressStringC - address in string format, including name
      • clearX

        public void clearX()
        clearX This method is to clear the values of all the "X" variables
        Specified by:
        clearX in interface Address
      • isChanged

        public boolean isChanged()
        getIs_changed This method will check all the "X" fields and see if the address has changed or not
        Specified by:
        isChanged in interface Address
        Returns:
        boolean - changed or not
      • setAllXFields

        public void setAllXFields()
        Description copied from interface: Address
        All (delta) attributes indicating that bean attributes have been changed are set to true
        Specified by:
        setAllXFields in interface Address
      • getPostlCod2X

        public boolean getPostlCod2X()
        Specified by:
        getPostlCod2X in interface Address
        Returns:
        respective bean change attribute
      • get

        public java.lang.String get​(java.lang.String fieldName)
        Description copied from interface: Address
        Returns the attribute value for a given bean attribute
        Specified by:
        get in interface Address
        Parameters:
        fieldName - Name of the field that should be returned
        Returns:
        attribute value
      • isAddressfieldsEqualTo

        public boolean isAddressfieldsEqualTo​(Address a)
        Description copied from interface: Address
        Compares all address content fields
        Specified by:
        isAddressfieldsEqualTo in interface Address
        Parameters:
        a - the address to be compared
        Returns:
        true, if all address content fields are equal
      • compareTo

        public int compareTo​(Address o)
        Specified by:
        compareTo in interface java.lang.Comparable<Address>