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

public class AddressFaxNumber extends VdmEntity<AddressFaxNumber>
Fax Number

Original entity name from the Odata EDM: A_AddressFaxNumberType

  • Field Details

    • ALL_FIELDS

      public static final AddressFaxNumberSelectable ALL_FIELDS
      Selector for all available fields of AddressFaxNumber.
    • ADDRESS_ID

      public static final AddressFaxNumberField<String> ADDRESS_ID
      Use with available fluent helpers to apply the AddressID field to query operations.
    • PERSON

      public static final AddressFaxNumberField<String> PERSON
      Use with available fluent helpers to apply the Person field to query operations.
    • ORDINAL_NUMBER

      public static final AddressFaxNumberField<String> ORDINAL_NUMBER
      Use with available fluent helpers to apply the OrdinalNumber field to query operations.
    • IS_DEFAULT_FAX_NUMBER

      public static final AddressFaxNumberField<Boolean> IS_DEFAULT_FAX_NUMBER
      Use with available fluent helpers to apply the IsDefaultFaxNumber field to query operations.
    • FAX_COUNTRY

      public static final AddressFaxNumberField<String> FAX_COUNTRY
      Use with available fluent helpers to apply the FaxCountry field to query operations.
    • FAX_NUMBER

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

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

      public static final AddressFaxNumberField<String> INTERNATIONAL_FAX_NUMBER
      Use with available fluent helpers to apply the InternationalFaxNumber field to query operations.
    • ADDRESS_COMMUNICATION_REMARK_TEXT

      public static final AddressFaxNumberField<String> ADDRESS_COMMUNICATION_REMARK_TEXT
      Use with available fluent helpers to apply the AddressCommunicationRemarkText field to query operations.
  • Constructor Details

    • AddressFaxNumber

      public AddressFaxNumber()
    • AddressFaxNumber

      public AddressFaxNumber(@Nullable String addressID, @Nullable String person, @Nullable String ordinalNumber, @Nullable Boolean isDefaultFaxNumber, @Nullable String faxCountry, @Nullable String faxNumber, @Nullable String faxNumberExtension, @Nullable String internationalFaxNumber, @Nullable String addressCommunicationRemarkText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: AddressID

      Parameters:
      addressID - Address Number
    • setPerson

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

      Original property name from the Odata EDM: Person

      Parameters:
      person - Person Number
    • setOrdinalNumber

      public void setOrdinalNumber(@Nullable String ordinalNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: OrdinalNumber

      Parameters:
      ordinalNumber - Sequence Number
    • setIsDefaultFaxNumber

      public void setIsDefaultFaxNumber(@Nullable Boolean isDefaultFaxNumber)
      Constraints: none

      Original property name from the Odata EDM: IsDefaultFaxNumber

      Parameters:
      isDefaultFaxNumber - Standard Sender Address in this Communication Type
    • setFaxCountry

      public void setFaxCountry(@Nullable String faxCountry)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FaxCountry

      Parameters:
      faxCountry - Country/Region for Telephone/Fax Number
    • 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
    • setInternationalFaxNumber

      public void setInternationalFaxNumber(@Nullable String internationalFaxNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: InternationalFaxNumber

      Parameters:
      internationalFaxNumber - Complete Number: Dialing Code+Number+Extension
    • setAddressCommunicationRemarkText

      public void setAddressCommunicationRemarkText(@Nullable String addressCommunicationRemarkText)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: AddressCommunicationRemarkText

      Parameters:
      addressCommunicationRemarkText - Communication link notes
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> AddressFaxNumberField<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> AddressFaxNumberField<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<AddressFaxNumber>
    • setServicePathForFetch

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

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

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

      @Nonnull public static AddressFaxNumber.AddressFaxNumberBuilder builder()
    • getAddressID

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

      Original property name from the Odata EDM: AddressID

      Returns:
      Address Number
    • getPerson

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

      Original property name from the Odata EDM: Person

      Returns:
      Person Number
    • getOrdinalNumber

      @Nullable public String getOrdinalNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: OrdinalNumber

      Returns:
      Sequence Number
    • getIsDefaultFaxNumber

      @Nullable public Boolean getIsDefaultFaxNumber()
      Constraints: none

      Original property name from the Odata EDM: IsDefaultFaxNumber

      Returns:
      Standard Sender Address in this Communication Type
    • getFaxCountry

      @Nullable public String getFaxCountry()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FaxCountry

      Returns:
      Country/Region for Telephone/Fax Number
    • 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
    • getInternationalFaxNumber

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

      Original property name from the Odata EDM: InternationalFaxNumber

      Returns:
      Complete Number: Dialing Code+Number+Extension
    • getAddressCommunicationRemarkText

      @Nullable public String getAddressCommunicationRemarkText()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: AddressCommunicationRemarkText

      Returns:
      Communication link notes
    • toString

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

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

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

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