java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<BPContactToFuncAndDept>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.businesspartner.BPContactToFuncAndDept

public class BPContactToFuncAndDept extends VdmEntity<BPContactToFuncAndDept>
Function and Department

Original entity name from the Odata EDM: A_BPContactToFuncAndDeptType

  • Field Details

    • ALL_FIELDS

      public static final BPContactToFuncAndDeptSelectable ALL_FIELDS
      Selector for all available fields of BPContactToFuncAndDept.
    • RELATIONSHIP_NUMBER

      public static final BPContactToFuncAndDeptField<String> RELATIONSHIP_NUMBER
      Use with available fluent helpers to apply the RelationshipNumber field to query operations.
    • BUSINESS_PARTNER_COMPANY

      public static final BPContactToFuncAndDeptField<String> BUSINESS_PARTNER_COMPANY
      Use with available fluent helpers to apply the BusinessPartnerCompany field to query operations.
    • BUSINESS_PARTNER_PERSON

      public static final BPContactToFuncAndDeptField<String> BUSINESS_PARTNER_PERSON
      Use with available fluent helpers to apply the BusinessPartnerPerson field to query operations.
    • VALIDITY_END_DATE

      public static final BPContactToFuncAndDeptField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • CONTACT_PERSON_FUNCTION

      public static final BPContactToFuncAndDeptField<String> CONTACT_PERSON_FUNCTION
      Use with available fluent helpers to apply the ContactPersonFunction field to query operations.
    • CONTACT_PERSON_DEPARTMENT

      public static final BPContactToFuncAndDeptField<String> CONTACT_PERSON_DEPARTMENT
      Use with available fluent helpers to apply the ContactPersonDepartment field to query operations.
    • PHONE_NUMBER

      public static final BPContactToFuncAndDeptField<String> PHONE_NUMBER
      Use with available fluent helpers to apply the PhoneNumber field to query operations.
    • PHONE_NUMBER_EXTENSION

      public static final BPContactToFuncAndDeptField<String> PHONE_NUMBER_EXTENSION
      Use with available fluent helpers to apply the PhoneNumberExtension field to query operations.
    • FAX_NUMBER

      public static final BPContactToFuncAndDeptField<String> FAX_NUMBER
      Use with available fluent helpers to apply the FaxNumber field to query operations.
    • FAX_NUMBER_EXTENSION

      public static final BPContactToFuncAndDeptField<String> FAX_NUMBER_EXTENSION
      Use with available fluent helpers to apply the FaxNumberExtension field to query operations.
    • EMAIL_ADDRESS

      public static final BPContactToFuncAndDeptField<String> EMAIL_ADDRESS
      Use with available fluent helpers to apply the EmailAddress field to query operations.
    • RELATIONSHIP_CATEGORY

      public static final BPContactToFuncAndDeptField<String> RELATIONSHIP_CATEGORY
      Use with available fluent helpers to apply the RelationshipCategory field to query operations.
  • Constructor Details

    • BPContactToFuncAndDept

      public BPContactToFuncAndDept()
    • 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)
  • Method Details

    • getType

      @Nonnull public Class<BPContactToFuncAndDept> getType()
      Specified by:
      getType in class VdmObject<BPContactToFuncAndDept>
    • setRelationshipNumber

      public void setRelationshipNumber(@Nullable String relationshipNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: RelationshipNumber

      Parameters:
      relationshipNumber - BP Relationship Number
    • setBusinessPartnerCompany

      public void setBusinessPartnerCompany(@Nullable String businessPartnerCompany)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartnerCompany

      Parameters:
      businessPartnerCompany - Business Partner Number
    • setBusinessPartnerPerson

      public void setBusinessPartnerPerson(@Nullable String businessPartnerPerson)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartnerPerson

      Parameters:
      businessPartnerPerson - Business Partner Number
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity Date (Valid To)
    • setContactPersonFunction

      public void setContactPersonFunction(@Nullable String contactPersonFunction)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ContactPersonFunction

      Parameters:
      contactPersonFunction - Function of partner
    • setContactPersonDepartment

      public void setContactPersonDepartment(@Nullable String contactPersonDepartment)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ContactPersonDepartment

      Parameters:
      contactPersonDepartment - Department
    • setPhoneNumber

      public void setPhoneNumber(@Nullable String phoneNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PhoneNumber

      Parameters:
      phoneNumber - Telephone No.: Dialing Code + Number
    • setPhoneNumberExtension

      public void setPhoneNumberExtension(@Nullable String phoneNumberExtension)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PhoneNumberExtension

      Parameters:
      phoneNumberExtension - Telephone no.: Extension
    • setFaxNumber

      public void setFaxNumber(@Nullable String faxNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: FaxNumber

      Parameters:
      faxNumber - Fax Number: Dialing Code+Number
    • setFaxNumberExtension

      public void setFaxNumberExtension(@Nullable String faxNumberExtension)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: FaxNumberExtension

      Parameters:
      faxNumberExtension - Fax no.: Extension
    • setEmailAddress

      public void setEmailAddress(@Nullable String emailAddress)
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Parameters:
      emailAddress - Email Address
    • setRelationshipCategory

      public void setRelationshipCategory(@Nullable String relationshipCategory)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: RelationshipCategory

      Parameters:
      relationshipCategory - Business Partner Relationship Category
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<BPContactToFuncAndDept>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<BPContactToFuncAndDept>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<BPContactToFuncAndDept>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<BPContactToFuncAndDept>
    • field

      @Nonnull public static <T> BPContactToFuncAndDeptField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      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.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> BPContactToFuncAndDeptField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<BPContactToFuncAndDept>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<BPContactToFuncAndDept>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<BPContactToFuncAndDept>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<BPContactToFuncAndDept>
    • builder

      @Nonnull public static BPContactToFuncAndDept.BPContactToFuncAndDeptBuilder builder()
    • getRelationshipNumber

      @Nullable public String getRelationshipNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: RelationshipNumber

      Returns:
      BP Relationship Number
    • getBusinessPartnerCompany

      @Nullable public String getBusinessPartnerCompany()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartnerCompany

      Returns:
      Business Partner Number
    • getBusinessPartnerPerson

      @Nullable public String getBusinessPartnerPerson()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartnerPerson

      Returns:
      Business Partner Number
    • getValidityEndDate

      @Nullable public LocalDateTime getValidityEndDate()
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity Date (Valid To)
    • getContactPersonFunction

      @Nullable public String getContactPersonFunction()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ContactPersonFunction

      Returns:
      Function of partner
    • getContactPersonDepartment

      @Nullable public String getContactPersonDepartment()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ContactPersonDepartment

      Returns:
      Department
    • getPhoneNumber

      @Nullable public String getPhoneNumber()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PhoneNumber

      Returns:
      Telephone No.: Dialing Code + Number
    • getPhoneNumberExtension

      @Nullable public String getPhoneNumberExtension()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PhoneNumberExtension

      Returns:
      Telephone no.: Extension
    • getFaxNumber

      @Nullable public String getFaxNumber()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: FaxNumber

      Returns:
      Fax Number: Dialing Code+Number
    • getFaxNumberExtension

      @Nullable public String getFaxNumberExtension()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: FaxNumberExtension

      Returns:
      Fax no.: Extension
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Returns:
      Email Address
    • getRelationshipCategory

      @Nullable public String getRelationshipCategory()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: RelationshipCategory

      Returns:
      Business Partner Relationship Category
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<BPContactToFuncAndDept>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<BPContactToFuncAndDept>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<BPContactToFuncAndDept>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<BPContactToFuncAndDept>