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

public class BuPaAddressUsage extends VdmEntity<BuPaAddressUsage>
Address Usage

Original entity name from the Odata EDM: A_BuPaAddressUsageType

  • Field Details

    • ALL_FIELDS

      public static final BuPaAddressUsageSelectable ALL_FIELDS
      Selector for all available fields of BuPaAddressUsage.
    • BUSINESS_PARTNER

      public static final BuPaAddressUsageField<String> BUSINESS_PARTNER
      Use with available fluent helpers to apply the BusinessPartner field to query operations.
    • VALIDITY_END_DATE

      public static final BuPaAddressUsageField<ZonedDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • ADDRESS_USAGE

      public static final BuPaAddressUsageField<String> ADDRESS_USAGE
      Use with available fluent helpers to apply the AddressUsage field to query operations.
    • ADDRESS_ID

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

      public static final BuPaAddressUsageField<ZonedDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • STANDARD_USAGE

      public static final BuPaAddressUsageField<Boolean> STANDARD_USAGE
      Use with available fluent helpers to apply the StandardUsage field to query operations.
    • AUTHORIZATION_GROUP

      public static final BuPaAddressUsageField<String> AUTHORIZATION_GROUP
      Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
  • Constructor Details

    • BuPaAddressUsage

      public BuPaAddressUsage()
    • BuPaAddressUsage

      public BuPaAddressUsage(@Nullable String businessPartner, @Nullable ZonedDateTime validityEndDate, @Nullable String addressUsage, @Nullable String addressID, @Nullable ZonedDateTime validityStartDate, @Nullable Boolean standardUsage, @Nullable String authorizationGroup)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner Number
    • setValidityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity End of a Business Partner Address Usage
    • setAddressUsage

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

      Original property name from the Odata EDM: AddressUsage

      Parameters:
      addressUsage - Address Type
    • 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
    • setValidityStartDate

      public void setValidityStartDate(@Nullable ZonedDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Validity Start of a Business Partner Address Usage
    • setStandardUsage

      public void setStandardUsage(@Nullable Boolean standardUsage)
      Constraints: none

      Original property name from the Odata EDM: StandardUsage

      Parameters:
      standardUsage - Indicator: Standard Address Usage
    • setAuthorizationGroup

      public void setAuthorizationGroup(@Nullable String authorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Parameters:
      authorizationGroup - Authorization Group
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BuPaAddressUsageField<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> BuPaAddressUsageField<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<BuPaAddressUsage>
    • setServicePathForFetch

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

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

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

      @Nonnull public static BuPaAddressUsage.BuPaAddressUsageBuilder builder()
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getValidityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End of a Business Partner Address Usage
    • getAddressUsage

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

      Original property name from the Odata EDM: AddressUsage

      Returns:
      Address Type
    • getAddressID

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

      Original property name from the Odata EDM: AddressID

      Returns:
      Address Number
    • getValidityStartDate

      @Nullable public ZonedDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Validity Start of a Business Partner Address Usage
    • getStandardUsage

      @Nullable public Boolean getStandardUsage()
      Constraints: none

      Original property name from the Odata EDM: StandardUsage

      Returns:
      Indicator: Standard Address Usage
    • getAuthorizationGroup

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

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      Authorization Group
    • toString

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

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

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

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