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

public class AddressHomePageURL extends VdmEntity<AddressHomePageURL>
Home Page URL

Original entity name from the Odata EDM: A_AddressHomePageURLType

  • Field Details

    • ALL_FIELDS

      public static final AddressHomePageURLSelectable ALL_FIELDS
      Selector for all available fields of AddressHomePageURL.
    • ADDRESS_ID

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

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

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

      public static final AddressHomePageURLField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • IS_DEFAULT_URL_ADDRESS

      public static final AddressHomePageURLField<Boolean> IS_DEFAULT_URL_ADDRESS
      Use with available fluent helpers to apply the IsDefaultURLAddress field to query operations.
    • SEARCH_URL_ADDRESS

      public static final AddressHomePageURLField<String> SEARCH_URL_ADDRESS
      Use with available fluent helpers to apply the SearchURLAddress field to query operations.
    • ADDRESS_COMMUNICATION_REMARK_TEXT

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

      public static final AddressHomePageURLField<Short> URL_FIELD_LENGTH
      Use with available fluent helpers to apply the URLFieldLength field to query operations.
    • WEBSITE_URL

      public static final AddressHomePageURLField<String> WEBSITE_URL
      Use with available fluent helpers to apply the WebsiteURL field to query operations.
  • Constructor Details

    • AddressHomePageURL

      public AddressHomePageURL()
    • AddressHomePageURL

      public AddressHomePageURL(@Nullable String addressID, @Nullable String person, @Nullable String ordinalNumber, @Nullable LocalDateTime validityStartDate, @Nullable Boolean isDefaultURLAddress, @Nullable String searchURLAddress, @Nullable String addressCommunicationRemarkText, @Nullable Short uRLFieldLength, @Nullable String websiteURL)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-from date - in current Release only 00010101 possible
    • setIsDefaultURLAddress

      public void setIsDefaultURLAddress(@Nullable Boolean isDefaultURLAddress)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: IsDefaultURLAddress

      Parameters:
      isDefaultURLAddress - Flag: this address is the default address
    • setSearchURLAddress

      public void setSearchURLAddress(@Nullable String searchURLAddress)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SearchURLAddress

      Parameters:
      searchURLAddress - URI 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
    • setURLFieldLength

      public void setURLFieldLength(@Nullable Short uRLFieldLength)
      Constraints: none

      Original property name from the Odata EDM: URLFieldLength

      Parameters:
      uRLFieldLength - URI field length
    • setWebsiteURL

      public void setWebsiteURL(@Nullable String websiteURL)
      Constraints: Not nullable, Maximum length: 2048

      Original property name from the Odata EDM: WebsiteURL

      Parameters:
      websiteURL - Universal Resource Identifier (URI)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> AddressHomePageURLField<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> AddressHomePageURLField<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<AddressHomePageURL>
    • setServicePathForFetch

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

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

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

      @Nonnull public static AddressHomePageURL.AddressHomePageURLBuilder 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
    • getValidityStartDate

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

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-from date - in current Release only 00010101 possible
    • getIsDefaultURLAddress

      @Nullable public Boolean getIsDefaultURLAddress()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: IsDefaultURLAddress

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

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

      Original property name from the Odata EDM: SearchURLAddress

      Returns:
      URI 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
    • getURLFieldLength

      @Nullable public Short getURLFieldLength()
      Constraints: none

      Original property name from the Odata EDM: URLFieldLength

      Returns:
      URI field length
    • getWebsiteURL

      @Nullable public String getWebsiteURL()
      Constraints: Not nullable, Maximum length: 2048

      Original property name from the Odata EDM: WebsiteURL

      Returns:
      Universal Resource Identifier (URI)
    • toString

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

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

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

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