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

public class BusinessPartnerRating extends VdmEntity<BusinessPartnerRating>
Ratings

Original entity name from the Odata EDM: A_BusinessPartnerRatingType

  • Field Details

    • ALL_FIELDS

      public static final BusinessPartnerRatingSelectable ALL_FIELDS
      Selector for all available fields of BusinessPartnerRating.
    • BUSINESS_PARTNER

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

      public static final BusinessPartnerRatingField<String> BUSINESS_PARTNER_RATING_PROCEDURE
      Use with available fluent helpers to apply the BusinessPartnerRatingProcedure field to query operations.
    • BP_RATING_VALIDITY_END_DATE

      public static final BusinessPartnerRatingField<LocalDateTime> BP_RATING_VALIDITY_END_DATE
      Use with available fluent helpers to apply the BPRatingValidityEndDate field to query operations.
    • BUSINESS_PARTNER_RATING_GRADE

      public static final BusinessPartnerRatingField<String> BUSINESS_PARTNER_RATING_GRADE
      Use with available fluent helpers to apply the BusinessPartnerRatingGrade field to query operations.
    • BUSINESS_PARTNER_RATING_TREND

      public static final BusinessPartnerRatingField<String> BUSINESS_PARTNER_RATING_TREND
      Use with available fluent helpers to apply the BusinessPartnerRatingTrend field to query operations.
    • BP_RATING_VALIDITY_START_DATE

      public static final BusinessPartnerRatingField<LocalDateTime> BP_RATING_VALIDITY_START_DATE
      Use with available fluent helpers to apply the BPRatingValidityStartDate field to query operations.
    • BP_RATING_CREATION_DATE

      public static final BusinessPartnerRatingField<LocalDateTime> BP_RATING_CREATION_DATE
      Use with available fluent helpers to apply the BPRatingCreationDate field to query operations.
    • BUSINESS_PARTNER_RATING_COMMENT

      public static final BusinessPartnerRatingField<String> BUSINESS_PARTNER_RATING_COMMENT
      Use with available fluent helpers to apply the BusinessPartnerRatingComment field to query operations.
    • BUSINESS_PARTNER_RATING_IS_ALLOWED

      public static final BusinessPartnerRatingField<Boolean> BUSINESS_PARTNER_RATING_IS_ALLOWED
      Use with available fluent helpers to apply the BusinessPartnerRatingIsAllowed field to query operations.
    • BP_RATING_IS_VALID_ON_KEY_DATE

      public static final BusinessPartnerRatingField<Boolean> BP_RATING_IS_VALID_ON_KEY_DATE
      Use with available fluent helpers to apply the BPRatingIsValidOnKeyDate field to query operations.
    • BUSINESS_PARTNER_RATING_KEY_DATE

      public static final BusinessPartnerRatingField<LocalDateTime> BUSINESS_PARTNER_RATING_KEY_DATE
      Use with available fluent helpers to apply the BusinessPartnerRatingKeyDate field to query operations.
    • BUSINESS_PARTNER_RATING_IS_EXPIRED

      public static final BusinessPartnerRatingField<Boolean> BUSINESS_PARTNER_RATING_IS_EXPIRED
      Use with available fluent helpers to apply the BusinessPartnerRatingIsExpired field to query operations.
  • Constructor Details

    • BusinessPartnerRating

      public BusinessPartnerRating()
    • BusinessPartnerRating

      public BusinessPartnerRating(@Nullable String businessPartner, @Nullable String businessPartnerRatingProcedure, @Nullable LocalDateTime bPRatingValidityEndDate, @Nullable String businessPartnerRatingGrade, @Nullable String businessPartnerRatingTrend, @Nullable LocalDateTime bPRatingValidityStartDate, @Nullable LocalDateTime bPRatingCreationDate, @Nullable String businessPartnerRatingComment, @Nullable Boolean businessPartnerRatingIsAllowed, @Nullable Boolean bPRatingIsValidOnKeyDate, @Nullable LocalDateTime businessPartnerRatingKeyDate, @Nullable Boolean businessPartnerRatingIsExpired)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: BusinessPartnerRatingProcedure

      Parameters:
      businessPartnerRatingProcedure - Rating Procedure
    • setBPRatingValidityEndDate

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

      Original property name from the Odata EDM: BPRatingValidityEndDate

      Parameters:
      bPRatingValidityEndDate - Valid-to Date for Rating
    • setBusinessPartnerRatingGrade

      public void setBusinessPartnerRatingGrade(@Nullable String businessPartnerRatingGrade)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartnerRatingGrade

      Parameters:
      businessPartnerRatingGrade - Rating
    • setBusinessPartnerRatingTrend

      public void setBusinessPartnerRatingTrend(@Nullable String businessPartnerRatingTrend)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BusinessPartnerRatingTrend

      Parameters:
      businessPartnerRatingTrend - Trend
    • setBPRatingValidityStartDate

      public void setBPRatingValidityStartDate(@Nullable LocalDateTime bPRatingValidityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BPRatingValidityStartDate

      Parameters:
      bPRatingValidityStartDate - Valid-from Date for Rating
    • setBPRatingCreationDate

      public void setBPRatingCreationDate(@Nullable LocalDateTime bPRatingCreationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BPRatingCreationDate

      Parameters:
      bPRatingCreationDate - Entered-on Date for Rating
    • setBusinessPartnerRatingComment

      public void setBusinessPartnerRatingComment(@Nullable String businessPartnerRatingComment)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: BusinessPartnerRatingComment

      Parameters:
      businessPartnerRatingComment - Text for Ratings
    • setBusinessPartnerRatingIsAllowed

      public void setBusinessPartnerRatingIsAllowed(@Nullable Boolean businessPartnerRatingIsAllowed)
      Constraints: none

      Original property name from the Odata EDM: BusinessPartnerRatingIsAllowed

      Parameters:
      businessPartnerRatingIsAllowed - Rating Allowed
    • setBPRatingIsValidOnKeyDate

      public void setBPRatingIsValidOnKeyDate(@Nullable Boolean bPRatingIsValidOnKeyDate)
      Constraints: none

      Original property name from the Odata EDM: BPRatingIsValidOnKeyDate

      Parameters:
      bPRatingIsValidOnKeyDate - Business Partner Rating is valid on Key Date
    • setBusinessPartnerRatingKeyDate

      public void setBusinessPartnerRatingKeyDate(@Nullable LocalDateTime businessPartnerRatingKeyDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BusinessPartnerRatingKeyDate

      Parameters:
      businessPartnerRatingKeyDate - Key Date of Accessing Business Partner Rating Data
    • setBusinessPartnerRatingIsExpired

      public void setBusinessPartnerRatingIsExpired(@Nullable Boolean businessPartnerRatingIsExpired)
      Constraints: none

      Original property name from the Odata EDM: BusinessPartnerRatingIsExpired

      Parameters:
      businessPartnerRatingIsExpired - Rating Validity is Expired according to Permitted Period
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BusinessPartnerRatingField<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> BusinessPartnerRatingField<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<BusinessPartnerRating>
    • setServicePathForFetch

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

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

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

      @Nonnull public static BusinessPartnerRating.BusinessPartnerRatingBuilder 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
    • getBusinessPartnerRatingProcedure

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

      Original property name from the Odata EDM: BusinessPartnerRatingProcedure

      Returns:
      Rating Procedure
    • getBPRatingValidityEndDate

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

      Original property name from the Odata EDM: BPRatingValidityEndDate

      Returns:
      Valid-to Date for Rating
    • getBusinessPartnerRatingGrade

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

      Original property name from the Odata EDM: BusinessPartnerRatingGrade

      Returns:
      Rating
    • getBusinessPartnerRatingTrend

      @Nullable public String getBusinessPartnerRatingTrend()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BusinessPartnerRatingTrend

      Returns:
      Trend
    • getBPRatingValidityStartDate

      @Nullable public LocalDateTime getBPRatingValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BPRatingValidityStartDate

      Returns:
      Valid-from Date for Rating
    • getBPRatingCreationDate

      @Nullable public LocalDateTime getBPRatingCreationDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BPRatingCreationDate

      Returns:
      Entered-on Date for Rating
    • getBusinessPartnerRatingComment

      @Nullable public String getBusinessPartnerRatingComment()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: BusinessPartnerRatingComment

      Returns:
      Text for Ratings
    • getBusinessPartnerRatingIsAllowed

      @Nullable public Boolean getBusinessPartnerRatingIsAllowed()
      Constraints: none

      Original property name from the Odata EDM: BusinessPartnerRatingIsAllowed

      Returns:
      Rating Allowed
    • getBPRatingIsValidOnKeyDate

      @Nullable public Boolean getBPRatingIsValidOnKeyDate()
      Constraints: none

      Original property name from the Odata EDM: BPRatingIsValidOnKeyDate

      Returns:
      Business Partner Rating is valid on Key Date
    • getBusinessPartnerRatingKeyDate

      @Nullable public LocalDateTime getBusinessPartnerRatingKeyDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BusinessPartnerRatingKeyDate

      Returns:
      Key Date of Accessing Business Partner Rating Data
    • getBusinessPartnerRatingIsExpired

      @Nullable public Boolean getBusinessPartnerRatingIsExpired()
      Constraints: none

      Original property name from the Odata EDM: BusinessPartnerRatingIsExpired

      Returns:
      Rating Validity is Expired according to Permitted Period
    • toString

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

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

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

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