public class BPContactToFuncAndDept extends VdmEntity<BPContactToFuncAndDept>
Original entity name from the Odata EDM: A_BPContactToFuncAndDeptType
Modifier and Type | Class and Description |
---|---|
static class |
BPContactToFuncAndDept.BPContactToFuncAndDeptBuilder |
Modifier and Type | Field and Description |
---|---|
static BPContactToFuncAndDeptSelectable |
ALL_FIELDS
Selector for all available fields of BPContactToFuncAndDept.
|
static BPContactToFuncAndDeptField<String> |
BUSINESS_PARTNER_COMPANY
Use with available fluent helpers to apply the BusinessPartnerCompany field to query operations.
|
static BPContactToFuncAndDeptField<String> |
BUSINESS_PARTNER_PERSON
Use with available fluent helpers to apply the BusinessPartnerPerson field to query operations.
|
static BPContactToFuncAndDeptField<String> |
CONTACT_PERSON_DEPARTMENT
Use with available fluent helpers to apply the ContactPersonDepartment field to query operations.
|
static BPContactToFuncAndDeptField<String> |
CONTACT_PERSON_FUNCTION
Use with available fluent helpers to apply the ContactPersonFunction field to query operations.
|
static BPContactToFuncAndDeptField<String> |
EMAIL_ADDRESS
Use with available fluent helpers to apply the EmailAddress field to query operations.
|
static BPContactToFuncAndDeptField<String> |
FAX_NUMBER
Use with available fluent helpers to apply the FaxNumber field to query operations.
|
static BPContactToFuncAndDeptField<String> |
FAX_NUMBER_EXTENSION
Use with available fluent helpers to apply the FaxNumberExtension field to query operations.
|
static BPContactToFuncAndDeptField<String> |
PHONE_NUMBER
Use with available fluent helpers to apply the PhoneNumber field to query operations.
|
static BPContactToFuncAndDeptField<String> |
PHONE_NUMBER_EXTENSION
Use with available fluent helpers to apply the PhoneNumberExtension field to query operations.
|
static BPContactToFuncAndDeptField<String> |
RELATIONSHIP_CATEGORY
Use with available fluent helpers to apply the RelationshipCategory field to query operations.
|
static BPContactToFuncAndDeptField<String> |
RELATIONSHIP_NUMBER
Use with available fluent helpers to apply the RelationshipNumber field to query operations.
|
static BPContactToFuncAndDeptField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BPContactToFuncAndDept() |
BPContactToFuncAndDept(String relationshipNumber,
String businessPartnerCompany,
String businessPartnerPerson,
LocalDateTime validityEndDate,
String contactPersonFunction,
String contactPersonDepartment,
String phoneNumber,
String phoneNumberExtension,
String faxNumber,
String faxNumberExtension,
String emailAddress,
String relationshipCategory) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static BPContactToFuncAndDept.BPContactToFuncAndDeptBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> BPContactToFuncAndDeptField<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 |
getBusinessPartnerCompany()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getBusinessPartnerPerson()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getContactPersonDepartment()
Constraints: Not nullable, Maximum length: 4
|
String |
getContactPersonFunction()
Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getEmailAddress()
Constraints: Not nullable, Maximum length: 241
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getFaxNumber()
Constraints: Not nullable, Maximum length: 30
|
String |
getFaxNumberExtension()
Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
getKey() |
String |
getPhoneNumber()
Constraints: Not nullable, Maximum length: 30
|
String |
getPhoneNumberExtension()
Constraints: Not nullable, Maximum length: 10
|
String |
getRelationshipCategory()
Constraints: Not nullable, Maximum length: 6
|
String |
getRelationshipNumber()
(Key Field) Constraints: Not nullable, Maximum length: 12
|
Class<BPContactToFuncAndDept> |
getType() |
LocalDateTime |
getValidityEndDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setBusinessPartnerCompany(String businessPartnerCompany)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setBusinessPartnerPerson(String businessPartnerPerson)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setContactPersonDepartment(String contactPersonDepartment)
Constraints: Not nullable, Maximum length: 4
|
void |
setContactPersonFunction(String contactPersonFunction)
Constraints: Not nullable, Maximum length: 4
|
void |
setEmailAddress(String emailAddress)
Constraints: Not nullable, Maximum length: 241
|
void |
setFaxNumber(String faxNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setFaxNumberExtension(String faxNumberExtension)
Constraints: Not nullable, Maximum length: 10
|
void |
setPhoneNumber(String phoneNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setPhoneNumberExtension(String phoneNumberExtension)
Constraints: Not nullable, Maximum length: 10
|
void |
setRelationshipCategory(String relationshipCategory)
Constraints: Not nullable, Maximum length: 6
|
void |
setRelationshipNumber(String relationshipNumber)
(Key Field) Constraints: Not nullable, Maximum length: 12
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final BPContactToFuncAndDeptSelectable ALL_FIELDS
public static final BPContactToFuncAndDeptField<String> RELATIONSHIP_NUMBER
public static final BPContactToFuncAndDeptField<String> BUSINESS_PARTNER_COMPANY
public static final BPContactToFuncAndDeptField<String> BUSINESS_PARTNER_PERSON
public static final BPContactToFuncAndDeptField<LocalDateTime> VALIDITY_END_DATE
public static final BPContactToFuncAndDeptField<String> CONTACT_PERSON_FUNCTION
public static final BPContactToFuncAndDeptField<String> CONTACT_PERSON_DEPARTMENT
public static final BPContactToFuncAndDeptField<String> PHONE_NUMBER
public static final BPContactToFuncAndDeptField<String> PHONE_NUMBER_EXTENSION
public static final BPContactToFuncAndDeptField<String> FAX_NUMBER
public static final BPContactToFuncAndDeptField<String> FAX_NUMBER_EXTENSION
public static final BPContactToFuncAndDeptField<String> EMAIL_ADDRESS
public static final BPContactToFuncAndDeptField<String> RELATIONSHIP_CATEGORY
public BPContactToFuncAndDept()
public BPContactToFuncAndDept(@Nullable String relationshipNumber, @Nullable String businessPartnerCompany, @Nullable String businessPartnerPerson, @Nullable LocalDateTime validityEndDate, @Nullable String contactPersonFunction, @Nullable String contactPersonDepartment, @Nullable String phoneNumber, @Nullable String phoneNumberExtension, @Nullable String faxNumber, @Nullable String faxNumberExtension, @Nullable String emailAddress, @Nullable String relationshipCategory)
@Nonnull public Class<BPContactToFuncAndDept> getType()
getType
in class VdmObject<BPContactToFuncAndDept>
public void setRelationshipNumber(@Nullable String relationshipNumber)
Original property name from the Odata EDM: RelationshipNumber
relationshipNumber
- The business partner relationship number is an internal number that identifies the business partner
relationship set.public void setBusinessPartnerCompany(@Nullable String businessPartnerCompany)
Original property name from the Odata EDM: BusinessPartnerCompany
businessPartnerCompany
- Key identifying a business partner in the SAP system. The key is unique within a client.public void setBusinessPartnerPerson(@Nullable String businessPartnerPerson)
Original property name from the Odata EDM: BusinessPartnerPerson
businessPartnerPerson
- Key identifying a business partner in the SAP system. The key is unique within a client.public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Validity Date (Valid To)public void setContactPersonFunction(@Nullable String contactPersonFunction)
Original property name from the Odata EDM: ContactPersonFunction
This is a contact person attribute that you can define in Customizing.Personnel managerSecretary
contactPersonFunction
- Identifies the function that a person has within a company.public void setContactPersonDepartment(@Nullable String contactPersonDepartment)
Original property name from the Odata EDM: ContactPersonDepartment
The name given by the business partner to this particular department may differ from the name that you use. You can enter the name given by the business partner in the field company department.This is a contact person attribute that you can define in Customizing.For your purposes, the department name is "Sales". The business partner names the same department "Sales South".
contactPersonDepartment
- Name of the department of a business partner for your internal usage.public void setPhoneNumber(@Nullable String phoneNumber)
Original property name from the Odata EDM: PhoneNumber
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 is dialled from within the country.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.
phoneNumber
- Telephone number, consisting of dialling code and number, but without country dialling code.public void setPhoneNumberExtension(@Nullable String phoneNumberExtension)
Original property name 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.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.
phoneNumberExtension
- Telephone extension numberpublic 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 setEmailAddress(@Nullable String emailAddress)
Original property name from the Odata EDM: EmailAddress
Example: user.name@company.comThe Internet mail address is used to send mail via the Internet world-wide; the protocol used is SMTP (Simple Mail Transfer Protocol).The Internet mail address format is specified in various RFCs (Internet Request for Comment), including RFCs 821 and 822.This is not an IP address (192.56.30.6).
emailAddress
- Internet mail address, also called e-mail address.public void setRelationshipCategory(@Nullable String relationshipCategory)
Original property name from the Odata EDM: RelationshipCategory
A distinction is made between a one-way and an undirected business partner relationship category. In a one-way relationship category, the relationship extends from one partner to another, but not vice versa.Marriage (undirected)Employee (one-way)Contact person (one-way)
relationshipCategory
- A relationship may exist between two business partners. The business partner relationship category
characterizes the features of the relationship.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BPContactToFuncAndDept>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BPContactToFuncAndDept>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BPContactToFuncAndDept>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BPContactToFuncAndDept>
@Nonnull public static <T> BPContactToFuncAndDeptField<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> BPContactToFuncAndDeptField<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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<BPContactToFuncAndDept>
protected 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<BPContactToFuncAndDept>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
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<BPContactToFuncAndDept>
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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BPContactToFuncAndDept>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static BPContactToFuncAndDept.BPContactToFuncAndDeptBuilder builder()
@Nullable public String getRelationshipNumber()
Original property name from the Odata EDM: RelationshipNumber
@Nullable public String getBusinessPartnerCompany()
Original property name from the Odata EDM: BusinessPartnerCompany
@Nullable public String getBusinessPartnerPerson()
Original property name from the Odata EDM: BusinessPartnerPerson
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public String getContactPersonFunction()
Original property name from the Odata EDM: ContactPersonFunction
This is a contact person attribute that you can define in Customizing.Personnel managerSecretary
@Nullable public String getContactPersonDepartment()
Original property name from the Odata EDM: ContactPersonDepartment
The name given by the business partner to this particular department may differ from the name that you use. You can enter the name given by the business partner in the field company department.This is a contact person attribute that you can define in Customizing.For your purposes, the department name is "Sales". The business partner names the same department "Sales South".
@Nullable public String getPhoneNumber()
Original property name from the Odata EDM: PhoneNumber
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 is dialled from within the country.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.
@Nullable public String getPhoneNumberExtension()
Original property name 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.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.
@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 getEmailAddress()
Original property name from the Odata EDM: EmailAddress
Example: user.name@company.comThe Internet mail address is used to send mail via the Internet world-wide; the protocol used is SMTP (Simple Mail Transfer Protocol).The Internet mail address format is specified in various RFCs (Internet Request for Comment), including RFCs 821 and 822.This is not an IP address (192.56.30.6).
@Nullable public String getRelationshipCategory()
Original property name from the Odata EDM: RelationshipCategory
A distinction is made between a one-way and an undirected business partner relationship category. In a one-way relationship category, the relationship extends from one partner to another, but not vice versa.Marriage (undirected)Employee (one-way)Contact person (one-way)
@Nonnull public String toString()
toString
in class VdmObject<BPContactToFuncAndDept>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BPContactToFuncAndDept>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BPContactToFuncAndDept>
public int hashCode()
hashCode
in class VdmObject<BPContactToFuncAndDept>
Copyright © 2021 SAP SE. All rights reserved.