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

public class AddressEmailAddress extends VdmEntity<AddressEmailAddress>
Email Address

Original entity name from the Odata EDM: A_AddressEmailAddressType

  • Field Details

    • ALL_FIELDS

      public static final AddressEmailAddressSelectable ALL_FIELDS
      Selector for all available fields of AddressEmailAddress.
    • ADDRESS_ID

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

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

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

      public static final AddressEmailAddressField<Boolean> IS_DEFAULT_EMAIL_ADDRESS
      Use with available fluent helpers to apply the IsDefaultEmailAddress field to query operations.
    • EMAIL_ADDRESS

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

      public static final AddressEmailAddressField<String> SEARCH_EMAIL_ADDRESS
      Use with available fluent helpers to apply the SearchEmailAddress field to query operations.
    • ADDRESS_COMMUNICATION_REMARK_TEXT

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

    • AddressEmailAddress

      public AddressEmailAddress()
    • AddressEmailAddress

      public AddressEmailAddress(@Nullable String addressID, @Nullable String person, @Nullable String ordinalNumber, @Nullable Boolean isDefaultEmailAddress, @Nullable String emailAddress, @Nullable String searchEmailAddress, @Nullable String addressCommunicationRemarkText)
  • Method Details

    • getType

      @Nonnull public Class<AddressEmailAddress> getType()
      Specified by:
      getType in class VdmObject<AddressEmailAddress>
    • 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
    • setIsDefaultEmailAddress

      public void setIsDefaultEmailAddress(@Nullable Boolean isDefaultEmailAddress)
      Constraints: none

      Original property name from the Odata EDM: IsDefaultEmailAddress

      Parameters:
      isDefaultEmailAddress - Flag: this address is the default address
    • 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
    • setSearchEmailAddress

      public void setSearchEmailAddress(@Nullable String searchEmailAddress)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SearchEmailAddress

      Parameters:
      searchEmailAddress - E-Mail Address Search Field
    • 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<AddressEmailAddress>
    • getKey

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

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

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

      @Nonnull public static <T> AddressEmailAddressField<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> AddressEmailAddressField<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<AddressEmailAddress>
    • setServicePathForFetch

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

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

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

      @Nonnull public static AddressEmailAddress.AddressEmailAddressBuilder 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
    • getIsDefaultEmailAddress

      @Nullable public Boolean getIsDefaultEmailAddress()
      Constraints: none

      Original property name from the Odata EDM: IsDefaultEmailAddress

      Returns:
      Flag: this address is the default address
    • getEmailAddress

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

      Original property name from the Odata EDM: EmailAddress

      Returns:
      Email Address
    • getSearchEmailAddress

      @Nullable public String getSearchEmailAddress()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SearchEmailAddress

      Returns:
      E-Mail Address Search Field
    • 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<AddressEmailAddress>
    • equals

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

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

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