public class BranchAddress extends VdmComplex<BranchAddress>
Original complex type name from the Odata EDM: BranchAddress
Modifier and Type | Class and Description |
---|---|
static class |
BranchAddress.BranchAddressBuilder |
changedOriginalFields
Constructor and Description |
---|
BranchAddress() |
BranchAddress(String addressID,
String name,
String name2,
String name3,
String name4,
String cityName,
String district,
String postalCode,
String pOBox,
String streetName,
String addressHouseNumber,
String floor,
String roomNumber,
String region,
String taxJurisdiction,
String phoneNumber1,
String phoneNumberExtension,
String addressFaxNumber) |
Modifier and Type | Method and Description |
---|---|
static BranchAddress.BranchAddressBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAddressFaxNumber()
Constraints: Not nullable, Maximum length: 30
|
String |
getAddressHouseNumber()
Constraints: Not nullable, Maximum length: 10
|
String |
getAddressID()
Constraints: Not nullable, Maximum length: 10
|
String |
getCityName()
Constraints: Not nullable, Maximum length: 40
|
String |
getDistrict()
Constraints: Not nullable, Maximum length: 40
|
String |
getFloor()
Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
getKey() |
String |
getName()
Constraints: Not nullable, Maximum length: 40
|
String |
getName2()
Constraints: Not nullable, Maximum length: 40
|
String |
getName3()
Constraints: Not nullable, Maximum length: 40
|
String |
getName4()
Constraints: Not nullable, Maximum length: 40
|
String |
getPhoneNumber1()
Constraints: Not nullable, Maximum length: 30
|
String |
getPhoneNumberExtension()
Constraints: Not nullable, Maximum length: 10
|
String |
getPOBox()
Constraints: Not nullable, Maximum length: 10
|
String |
getPostalCode()
Constraints: Not nullable, Maximum length: 10
|
String |
getRegion()
Constraints: Not nullable, Maximum length: 3
|
String |
getRoomNumber()
Constraints: Not nullable, Maximum length: 10
|
String |
getStreetName()
Constraints: Not nullable, Maximum length: 40
|
String |
getTaxJurisdiction()
Constraints: Not nullable, Maximum length: 15
|
Class<BranchAddress> |
getType() |
int |
hashCode() |
void |
setAddressFaxNumber(String addressFaxNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setAddressHouseNumber(String addressHouseNumber)
Constraints: Not nullable, Maximum length: 10
|
void |
setAddressID(String addressID)
Constraints: Not nullable, Maximum length: 10
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 40
|
void |
setDistrict(String district)
Constraints: Not nullable, Maximum length: 40
|
void |
setFloor(String floor)
Constraints: Not nullable, Maximum length: 10
|
void |
setName(String name)
Constraints: Not nullable, Maximum length: 40
|
void |
setName2(String name2)
Constraints: Not nullable, Maximum length: 40
|
void |
setName3(String name3)
Constraints: Not nullable, Maximum length: 40
|
void |
setName4(String name4)
Constraints: Not nullable, Maximum length: 40
|
void |
setPhoneNumber1(String phoneNumber1)
Constraints: Not nullable, Maximum length: 30
|
void |
setPhoneNumberExtension(String phoneNumberExtension)
Constraints: Not nullable, Maximum length: 10
|
void |
setPOBox(String pOBox)
Constraints: Not nullable, Maximum length: 10
|
void |
setPostalCode(String postalCode)
Constraints: Not nullable, Maximum length: 10
|
void |
setRegion(String region)
Constraints: Not nullable, Maximum length: 3
|
void |
setRoomNumber(String roomNumber)
Constraints: Not nullable, Maximum length: 10
|
void |
setStreetName(String streetName)
Constraints: Not nullable, Maximum length: 40
|
void |
setTaxJurisdiction(String taxJurisdiction)
Constraints: Not nullable, Maximum length: 15
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public BranchAddress()
public BranchAddress(@Nullable String addressID, @Nullable String name, @Nullable String name2, @Nullable String name3, @Nullable String name4, @Nullable String cityName, @Nullable String district, @Nullable String postalCode, @Nullable String pOBox, @Nullable String streetName, @Nullable String addressHouseNumber, @Nullable String floor, @Nullable String roomNumber, @Nullable String region, @Nullable String taxJurisdiction, @Nullable String phoneNumber1, @Nullable String phoneNumberExtension, @Nullable String addressFaxNumber)
@Nonnull public Class<BranchAddress> getType()
getType
in class VdmObject<BranchAddress>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BranchAddress>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BranchAddress>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BranchAddress>
@Nonnull public static BranchAddress.BranchAddressBuilder builder()
@Nullable public String getAddressID()
Original property from the Odata EDM: AddressID
For more information about the meaning and use of the address number and the Business Address Services concepts, see the function group SZA0 documentation.
@Nullable public String getName()
Original property from the Odata EDM: Name
@Nullable public String getName2()
Original property from the Odata EDM: Name2
@Nullable public String getName3()
Original property from the Odata EDM: Name3
@Nullable public String getName4()
Original property from the Odata EDM: Name4
@Nullable public String getCityName()
Original property from the Odata EDM: CityName
The city name is saved redundantly in another database field in upper- case letters, for search help.If the Postal regional structure ('city file') is active, the city name is checked against the Cities defined in the regional structure.
@Nullable public String getDistrict()
Original property from the Odata EDM: District
In some countries, this entry is appended with a hyphen to the city name by the automatic address formatting, other countries, it is output on a line of its own or (e.g. in the USA) not printed.See the examples in the Address Layout Key documentation.
@Nullable public String getPostalCode()
Original property from the Odata EDM: PostalCode
If different postal codes are maintained for the PO Box and Street address of an address, this field contains the Street address postal code.
@Nullable public String getPOBox()
Original property from the Odata EDM: POBox
Only enter the PO Box number in this field. The text "PO Box" is provided in the recipient language by the system when you print the address.When you print an address, the "Street address" and the "PO Box address" are distinguished. The print program determines which of them has priority if both are maintained in an address record.Besides the PO Box number, the PO Box address uses the following fields:PO Box postal code, if specified (otherwise the normal postal code)PO Box city, if specified (otherwise the normal city)PO Box region, if specified (otherwise the normal region)PO Box country, if specified (otherwise the normal country)If the address is a "PO Box" (without a number), do not fill the "PO Box" field. Select the "PO Box w/o Number" indicator instead.You can also enter a company postal code for organizational addresses, instead of a PO Box. A separate field is predefined for this entry.For general information and examples about address formatting, see the documentation on the Address Structure Key.
@Nullable public String getStreetName()
Original property from the Odata EDM: StreetName
@Nullable public String getAddressHouseNumber()
Original property from the Odata EDM: AddressHouseNumber
It is printed in the Street line.Other supplementary street information can be entered in the House number supplement or one of the Street2, Street3, Street4 or Street5 fields. See Print the Street address.A house number (e.g. 117) or a house number with supplement (e.g. 117a), or a house number range (e.g. 16-20), can be maintained in this field.
@Nullable public String getFloor()
Original property from the Odata EDM: Floor
This field is not printed in the address.Floors which should be printed must be in the field house number supplement or in one of the fields Street2, Street3, Street4 or Street5 depending on the desired position. See Print the Street address.
@Nullable public String getRoomNumber()
Original property from the Odata EDM: RoomNumber
This field is not printed.Entries which are to be printed must in the house number supplement field or in one of the Street2, Street3, Street4 or Street5 fields, depending on the desired position. See Print the Street address.
@Nullable public String getRegion()
Original property from the Odata EDM: Region
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
@Nullable public String getTaxJurisdiction()
Original property from the Odata EDM: TaxJurisdiction
@Nullable public String getPhoneNumber1()
Original property from the Odata EDM: PhoneNumber1
If the telephone number consists of a company number and an extension, the extension must be entered in the field extension.Telephone number, as it must be dialed from within the country.
@Nullable public String getPhoneNumberExtension()
Original property from the Odata EDM: PhoneNumberExtension
If the telephone number consists of a company number and an extension, the extension should be entered here.Enter the extension number.The following rules apply for the format of telephone and fax numbers:The length of the entries in the field Telephone and Extension (Fax and Extension) cannot be more than 24 characters in total.Leading spaces are not allowed in the field Telephone or Fax or in the field Extension.Valid characters are:Numbers (0123456789)Letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)Following other characters: /, (, ), - *, # and " " (space), but not as a leading space.If an + is entered as the first character, the system checks whether the specified number starts with a country code. If so, a warning message is displayed because the country code is automatically determined by the system and should not be stored in the Telephone number (Fax number) field.If an & is entered as the first character, the automatic check and formatting of the telephone number (fax number), as well as the determination of the country code, is suppressed.For the number "01234/567-0" enter the following:Telephone: 01234/567Estension: 0For the number "01234/567-891" enter the following:Telephone: 01234/567Extension: 891For the number "012-345-678" (678 as extension) enter the following:Telepone: 012-345Extension: 678In the following cases enter the complete number (without country dialling code) in the field Telephone:No part of the number can be regarded as an extension.You are not sure which part of the number can be regarded as an extension.If the address has several telephone numbers, the first telephone number is flagged as the standard number.
@Nullable public String getAddressFaxNumber()
Original property from the Odata EDM: AddressFaxNumber
If the fax number consists of a company number and an extension, the extension must be entered in the field extension.Fax number, as it is to be dialed from within the same country.Enter the fax number.The following rules apply for the format of telephone and fax numbers:The length of the entries in the field Telephone and Extension (Fax and Extension) cannot be more than 24 characters in total.Leading spaces are not allowed in the field Telephone or Fax or in the field Extension.Valid characters are:Numbers (0123456789)Letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)Following other characters: /, (, ), - *, # and " " (space), but not as a leading space.If an + is entered as the first character, the system checks whether the specified number starts with a country code. If so, a warning message is displayed because the country code is automatically determined by the system and should not be stored in the Telephone number (Fax number) field.If an & is entered as the first character, the automatic check and formatting of the telephone number (fax number), as well as the determination of the country code, is suppressed.Enter the following for the number "01234/567-0":Fax: 01234/567Extension: 0Enter the following for the number "01234/567-891":Fax: 01234/567Extension: 891For the number "012-345-678" (678 as extension) enter the following:Fax: 012-345Extension: 678In the following cases, enter the complete number (without country dialing code) in the field Fax:No part of the number can be considered as an extension.You are not sure which part of the number can be considered as an extension.If the address has several fax numbers, the first fax number is flagged as the standard fax number.
public void setAddressID(@Nullable String addressID)
Original property from the Odata EDM: AddressID
For more information about the meaning and use of the address number and the Business Address Services concepts, see the function group SZA0 documentation.
addressID
- public void setName(@Nullable String name)
Original property from the Odata EDM: Name
name
- public void setName2(@Nullable String name2)
Original property from the Odata EDM: Name2
name2
- public void setName3(@Nullable String name3)
Original property from the Odata EDM: Name3
name3
- public void setName4(@Nullable String name4)
Original property from the Odata EDM: Name4
name4
- public void setCityName(@Nullable String cityName)
Original property from the Odata EDM: CityName
The city name is saved redundantly in another database field in upper- case letters, for search help.If the Postal regional structure ('city file') is active, the city name is checked against the Cities defined in the regional structure.
cityName
- public void setDistrict(@Nullable String district)
Original property from the Odata EDM: District
In some countries, this entry is appended with a hyphen to the city name by the automatic address formatting, other countries, it is output on a line of its own or (e.g. in the USA) not printed.See the examples in the Address Layout Key documentation.
district
- public void setPostalCode(@Nullable String postalCode)
Original property from the Odata EDM: PostalCode
If different postal codes are maintained for the PO Box and Street address of an address, this field contains the Street address postal code.
postalCode
- public void setPOBox(@Nullable String pOBox)
Original property from the Odata EDM: POBox
Only enter the PO Box number in this field. The text "PO Box" is provided in the recipient language by the system when you print the address.When you print an address, the "Street address" and the "PO Box address" are distinguished. The print program determines which of them has priority if both are maintained in an address record.Besides the PO Box number, the PO Box address uses the following fields:PO Box postal code, if specified (otherwise the normal postal code)PO Box city, if specified (otherwise the normal city)PO Box region, if specified (otherwise the normal region)PO Box country, if specified (otherwise the normal country)If the address is a "PO Box" (without a number), do not fill the "PO Box" field. Select the "PO Box w/o Number" indicator instead.You can also enter a company postal code for organizational addresses, instead of a PO Box. A separate field is predefined for this entry.For general information and examples about address formatting, see the documentation on the Address Structure Key.
pOBox
- public void setStreetName(@Nullable String streetName)
Original property from the Odata EDM: StreetName
streetName
- public void setAddressHouseNumber(@Nullable String addressHouseNumber)
Original property from the Odata EDM: AddressHouseNumber
It is printed in the Street line.Other supplementary street information can be entered in the House number supplement or one of the Street2, Street3, Street4 or Street5 fields. See Print the Street address.A house number (e.g. 117) or a house number with supplement (e.g. 117a), or a house number range (e.g. 16-20), can be maintained in this field.
addressHouseNumber
- public void setFloor(@Nullable String floor)
Original property from the Odata EDM: Floor
This field is not printed in the address.Floors which should be printed must be in the field house number supplement or in one of the fields Street2, Street3, Street4 or Street5 depending on the desired position. See Print the Street address.
floor
- public void setRoomNumber(@Nullable String roomNumber)
Original property from the Odata EDM: RoomNumber
This field is not printed.Entries which are to be printed must in the house number supplement field or in one of the Street2, Street3, Street4 or Street5 fields, depending on the desired position. See Print the Street address.
roomNumber
- public void setRegion(@Nullable String region)
Original property from the Odata EDM: Region
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
region
- public void setTaxJurisdiction(@Nullable String taxJurisdiction)
Original property from the Odata EDM: TaxJurisdiction
taxJurisdiction
- public void setPhoneNumber1(@Nullable String phoneNumber1)
Original property from the Odata EDM: PhoneNumber1
If the telephone number consists of a company number and an extension, the extension must be entered in the field extension.Telephone number, as it must be dialed from within the country.
phoneNumber1
- public void setPhoneNumberExtension(@Nullable String phoneNumberExtension)
Original property from the Odata EDM: PhoneNumberExtension
If the telephone number consists of a company number and an extension, the extension should be entered here.Enter the extension number.The following rules apply for the format of telephone and fax numbers:The length of the entries in the field Telephone and Extension (Fax and Extension) cannot be more than 24 characters in total.Leading spaces are not allowed in the field Telephone or Fax or in the field Extension.Valid characters are:Numbers (0123456789)Letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)Following other characters: /, (, ), - *, # and " " (space), but not as a leading space.If an + is entered as the first character, the system checks whether the specified number starts with a country code. If so, a warning message is displayed because the country code is automatically determined by the system and should not be stored in the Telephone number (Fax number) field.If an & is entered as the first character, the automatic check and formatting of the telephone number (fax number), as well as the determination of the country code, is suppressed.For the number "01234/567-0" enter the following:Telephone: 01234/567Estension: 0For the number "01234/567-891" enter the following:Telephone: 01234/567Extension: 891For the number "012-345-678" (678 as extension) enter the following:Telepone: 012-345Extension: 678In the following cases enter the complete number (without country dialling code) in the field Telephone:No part of the number can be regarded as an extension.You are not sure which part of the number can be regarded as an extension.If the address has several telephone numbers, the first telephone number is flagged as the standard number.
phoneNumberExtension
- public void setAddressFaxNumber(@Nullable String addressFaxNumber)
Original property from the Odata EDM: AddressFaxNumber
If the fax number consists of a company number and an extension, the extension must be entered in the field extension.Fax number, as it is to be dialed from within the same country.Enter the fax number.The following rules apply for the format of telephone and fax numbers:The length of the entries in the field Telephone and Extension (Fax and Extension) cannot be more than 24 characters in total.Leading spaces are not allowed in the field Telephone or Fax or in the field Extension.Valid characters are:Numbers (0123456789)Letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)Following other characters: /, (, ), - *, # and " " (space), but not as a leading space.If an + is entered as the first character, the system checks whether the specified number starts with a country code. If so, a warning message is displayed because the country code is automatically determined by the system and should not be stored in the Telephone number (Fax number) field.If an & is entered as the first character, the automatic check and formatting of the telephone number (fax number), as well as the determination of the country code, is suppressed.Enter the following for the number "01234/567-0":Fax: 01234/567Extension: 0Enter the following for the number "01234/567-891":Fax: 01234/567Extension: 891For the number "012-345-678" (678 as extension) enter the following:Fax: 012-345Extension: 678In the following cases, enter the complete number (without country dialing code) in the field Fax:No part of the number can be considered as an extension.You are not sure which part of the number can be considered as an extension.If the address has several fax numbers, the first fax number is flagged as the standard fax number.
addressFaxNumber
- @Nonnull public String toString()
toString
in class VdmObject<BranchAddress>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BranchAddress>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BranchAddress>
public int hashCode()
hashCode
in class VdmObject<BranchAddress>
Copyright © 2020 SAP SE. All rights reserved.