public class AddressFaxNumber extends VdmEntity<AddressFaxNumber>
Original entity name from the Odata EDM: A_AddressFaxNumberType
Modifier and Type | Class and Description |
---|---|
static class |
AddressFaxNumber.AddressFaxNumberBuilder |
Modifier and Type | Field and Description |
---|---|
static AddressFaxNumberField<String> |
ADDRESS_ID
Use with available fluent helpers to apply the AddressID field to query operations.
|
static AddressFaxNumberSelectable |
ALL_FIELDS
Selector for all available fields of AddressFaxNumber.
|
static AddressFaxNumberField<String> |
FAX_COUNTRY
Use with available fluent helpers to apply the FaxCountry field to query operations.
|
static AddressFaxNumberField<String> |
FAX_NUMBER
Use with available fluent helpers to apply the FaxNumber field to query operations.
|
static AddressFaxNumberField<String> |
FAX_NUMBER_EXTENSION
Use with available fluent helpers to apply the FaxNumberExtension field to query operations.
|
static AddressFaxNumberField<String> |
INTERNATIONAL_FAX_NUMBER
Use with available fluent helpers to apply the InternationalFaxNumber field to query operations.
|
static AddressFaxNumberField<Boolean> |
IS_DEFAULT_FAX_NUMBER
Use with available fluent helpers to apply the IsDefaultFaxNumber field to query operations.
|
static AddressFaxNumberField<String> |
ORDINAL_NUMBER
Use with available fluent helpers to apply the OrdinalNumber field to query operations.
|
static AddressFaxNumberField<String> |
PERSON
Use with available fluent helpers to apply the Person field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
AddressFaxNumber() |
AddressFaxNumber(String addressID,
String person,
String ordinalNumber,
Boolean isDefaultFaxNumber,
String faxCountry,
String faxNumber,
String faxNumberExtension,
String internationalFaxNumber) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static AddressFaxNumber.AddressFaxNumberBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> AddressFaxNumberField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAddressID()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getFaxCountry()
Constraints: Not nullable, Maximum length: 3
|
String |
getFaxNumber()
Constraints: Not nullable, Maximum length: 30
|
String |
getFaxNumberExtension()
Constraints: Not nullable, Maximum length: 10
|
String |
getInternationalFaxNumber()
Constraints: Not nullable, Maximum length: 30
|
Boolean |
getIsDefaultFaxNumber()
Constraints: none
|
protected Map<String,Object> |
getKey() |
String |
getOrdinalNumber()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getPerson()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Class<AddressFaxNumber> |
getType() |
int |
hashCode() |
void |
setAddressID(String addressID)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setFaxCountry(String faxCountry)
Constraints: Not nullable, Maximum length: 3
|
void |
setFaxNumber(String faxNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setFaxNumberExtension(String faxNumberExtension)
Constraints: Not nullable, Maximum length: 10
|
void |
setInternationalFaxNumber(String internationalFaxNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setIsDefaultFaxNumber(Boolean isDefaultFaxNumber)
Constraints: none
|
void |
setOrdinalNumber(String ordinalNumber)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setPerson(String person)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final AddressFaxNumberSelectable ALL_FIELDS
public static final AddressFaxNumberField<String> ADDRESS_ID
public static final AddressFaxNumberField<String> PERSON
public static final AddressFaxNumberField<String> ORDINAL_NUMBER
public static final AddressFaxNumberField<Boolean> IS_DEFAULT_FAX_NUMBER
public static final AddressFaxNumberField<String> FAX_COUNTRY
public static final AddressFaxNumberField<String> FAX_NUMBER
public static final AddressFaxNumberField<String> FAX_NUMBER_EXTENSION
public static final AddressFaxNumberField<String> INTERNATIONAL_FAX_NUMBER
@Nonnull public Class<AddressFaxNumber> getType()
getType
in class VdmObject<AddressFaxNumber>
public void setAddressID(@Nullable String addressID)
Original property name 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
- Internal key for identifying a Business Address Services address.public void setPerson(@Nullable String person)
Original property name from the Odata EDM: Person
For more information about the meaning and use of the person number and Business Address Services concepts, see the function group SZA0 documentation.
person
- Internal key for identifying a person in Business Address Services.public void setOrdinalNumber(@Nullable String ordinalNumber)
Original property name from the Odata EDM: OrdinalNumber
ordinalNumber
- Sequence Numberpublic void setIsDefaultFaxNumber(@Nullable Boolean isDefaultFaxNumber)
Original property name from the Odata EDM: IsDefaultFaxNumber
The standard address is used for the following functions:When sending using the SMTP nodein SAPconnect, the home address of the communication type used is the one set as the sender address. The recipient can see this address in the sender information and can also reply directly to this address. The standard address is also transferred and can be used for incoming status notifications, for example.When sending using an RFC node in SAPconnect, the standard address of the communication type used is the one set as the sender address. The structure defined in the case of the RFC does not permit another address to be transferred, so the standard address is used for incoming status notifications too.The SAP users have the addresses of their exchange P.O. boxes in their standard communication type 'Internet Mail' as the home address and their Internet address in the SAP system as their standard address. Example:Home address: Bernard.Brown@Company.comStandard address: Bernard.Brown@System.Company.comSending using an SMTP nodeThe home address of the communication type 'Internet Mail' (Bernard.Brown@Company.com) is used as the sender address. If a reply is sent to this address the user receives directly in the exchange postbox.Sending using the RFC nodeThe standard address of the communication type 'Internet Mail' (Bernard.Brown@System.Company.com) is used as the sender address. If a reply is sent to this address, it arrives back to the SAP system.Example using a mail system groupThe users should get all messages in their Microsoft Exchange postboxes. In the SAP system the mail system group is activated for this using the setting "Send Messages to the Home Address".The address settings of the SAP users remain unchanged:Home address: Bernard.Brown@Company.comStandard address: Bernard.Brown@System.Company.comSending using an SMTP nodeThe home address of the communication type 'Internet Mail' (Bernard.Brown@Company.com) is used as the sender address. If a reply is sent to this address the user receives directly in the exchange postbox.Sending using the RFC nodeThe standard address of the communication type 'Internet Mail' (Bernard.Brown@System.Company.com) is used as the sender address. If a reply is sent to this address it arrives back in the SAP system. It is then forwarded using the mail system group to the home address and the user gets it in the exchange postbox.
isDefaultFaxNumber
- If several addresses are maintained for one communication type, the user in the SAP System can be
reached under one of these addresses. One address can be set as theStandard Address.public void setFaxCountry(@Nullable String faxCountry)
Original property name from the Odata EDM: FaxCountry
This specification is used to determine the correct country code. A normalized form of the telephone number or fax number is then derived and stored in a field for a program-driven search.In most cases, the telephone number or fax number refers directly to an address.If this is the case, when a new number is created, the country of the address is proposed.If this is not the case (for example, with address-independent communication data for a business partner), the country from the user parameter LND is proposed (if it is maintained). If the user parameter LND is not maintained, the country of the company address assigned in the user master data is proposed.If the country of the address changes, the country of the corresponding telephone number and fax address is not changed automatically.Example: A business partner moves abroad.If the telephone number is for a permanent connection, the telephone number also changes when the business partner moves and has to be maintained again in the system.If the telephone number is for a mobile telephone and the number is retained, the original country for this telephone number also has to be retained and must not be changed automatically to the new country of the address.
faxCountry
- The country for the telephone number or fax number is maintained here.public void setFaxNumber(@Nullable String faxNumber)
Original property name from the Odata EDM: FaxNumber
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 dialled from within the same country.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.
faxNumber
- Fax number, consisting of dialling code and number, but without country dialling code.public void setFaxNumberExtension(@Nullable String faxNumberExtension)
Original property name from the Odata EDM: FaxNumberExtension
If the fax number consists of a company number and an extension, the extension must be entered here.Enter the extensionThe 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.
faxNumberExtension
- Fax extension numberpublic void setInternationalFaxNumber(@Nullable String internationalFaxNumber)
Original property name from the Odata EDM: InternationalFaxNumber
This field is therefore not to be filled when Business Address Services function modules are called.
internationalFaxNumber
- The content of this field is automatically calculated by the system based on fax number and country
code components.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<AddressFaxNumber>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<AddressFaxNumber>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<AddressFaxNumber>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<AddressFaxNumber>
@Nonnull public static <T> AddressFaxNumberField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> AddressFaxNumberField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<AddressFaxNumber>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<AddressFaxNumber>
erpConfigContext
- New ERP configuration context to apply to this entityprotected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<AddressFaxNumber>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<AddressFaxNumber>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<AddressFaxNumber>
public static AddressFaxNumber.AddressFaxNumberBuilder builder()
@Nullable public String getAddressID()
Original property name 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 getPerson()
Original property name from the Odata EDM: Person
For more information about the meaning and use of the person number and Business Address Services concepts, see the function group SZA0 documentation.
@Nullable public String getOrdinalNumber()
Original property name from the Odata EDM: OrdinalNumber
@Nullable public Boolean getIsDefaultFaxNumber()
Original property name from the Odata EDM: IsDefaultFaxNumber
The standard address is used for the following functions:When sending using the SMTP nodein SAPconnect, the home address of the communication type used is the one set as the sender address. The recipient can see this address in the sender information and can also reply directly to this address. The standard address is also transferred and can be used for incoming status notifications, for example.When sending using an RFC node in SAPconnect, the standard address of the communication type used is the one set as the sender address. The structure defined in the case of the RFC does not permit another address to be transferred, so the standard address is used for incoming status notifications too.The SAP users have the addresses of their exchange P.O. boxes in their standard communication type 'Internet Mail' as the home address and their Internet address in the SAP system as their standard address. Example:Home address: Bernard.Brown@Company.comStandard address: Bernard.Brown@System.Company.comSending using an SMTP nodeThe home address of the communication type 'Internet Mail' (Bernard.Brown@Company.com) is used as the sender address. If a reply is sent to this address the user receives directly in the exchange postbox.Sending using the RFC nodeThe standard address of the communication type 'Internet Mail' (Bernard.Brown@System.Company.com) is used as the sender address. If a reply is sent to this address, it arrives back to the SAP system.Example using a mail system groupThe users should get all messages in their Microsoft Exchange postboxes. In the SAP system the mail system group is activated for this using the setting "Send Messages to the Home Address".The address settings of the SAP users remain unchanged:Home address: Bernard.Brown@Company.comStandard address: Bernard.Brown@System.Company.comSending using an SMTP nodeThe home address of the communication type 'Internet Mail' (Bernard.Brown@Company.com) is used as the sender address. If a reply is sent to this address the user receives directly in the exchange postbox.Sending using the RFC nodeThe standard address of the communication type 'Internet Mail' (Bernard.Brown@System.Company.com) is used as the sender address. If a reply is sent to this address it arrives back in the SAP system. It is then forwarded using the mail system group to the home address and the user gets it in the exchange postbox.
@Nullable public String getFaxCountry()
Original property name from the Odata EDM: FaxCountry
This specification is used to determine the correct country code. A normalized form of the telephone number or fax number is then derived and stored in a field for a program-driven search.In most cases, the telephone number or fax number refers directly to an address.If this is the case, when a new number is created, the country of the address is proposed.If this is not the case (for example, with address-independent communication data for a business partner), the country from the user parameter LND is proposed (if it is maintained). If the user parameter LND is not maintained, the country of the company address assigned in the user master data is proposed.If the country of the address changes, the country of the corresponding telephone number and fax address is not changed automatically.Example: A business partner moves abroad.If the telephone number is for a permanent connection, the telephone number also changes when the business partner moves and has to be maintained again in the system.If the telephone number is for a mobile telephone and the number is retained, the original country for this telephone number also has to be retained and must not be changed automatically to the new country of the address.
@Nullable public String getFaxNumber()
Original property name from the Odata EDM: FaxNumber
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 dialled from within the same country.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.
@Nullable public String getFaxNumberExtension()
Original property name from the Odata EDM: FaxNumberExtension
If the fax number consists of a company number and an extension, the extension must be entered here.Enter the extensionThe 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.
@Nullable public String getInternationalFaxNumber()
Original property name from the Odata EDM: InternationalFaxNumber
This field is therefore not to be filled when Business Address Services function modules are called.
public String toString()
toString
in class VdmObject<AddressFaxNumber>
public boolean equals(Object o)
equals
in class VdmObject<AddressFaxNumber>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<AddressFaxNumber>
public int hashCode()
hashCode
in class VdmObject<AddressFaxNumber>
Copyright © 2019 SAP SE. All rights reserved.