java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<MrchdsCatCharcValRstrcn>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.merchandisecategory.MrchdsCatCharcValRstrcn
All Implemented Interfaces:
VdmEntitySet

public class MrchdsCatCharcValRstrcn extends VdmEntity<MrchdsCatCharcValRstrcn> implements VdmEntitySet
Merchandise Cat Charc Value Restriction

Original entity name from the Odata EDM: MrchdsCatCharcValRstrcn_Type

  • Field Details

  • Constructor Details

    • MrchdsCatCharcValRstrcn

      public MrchdsCatCharcValRstrcn()
    • MrchdsCatCharcValRstrcn

      public MrchdsCatCharcValRstrcn(@Nullable String merchandiseCategory, @Nullable String characteristic, @Nullable String clfnCharcValuePositionNumber, @Nullable String clfnObjectID, @Nullable String charcInternalID, @Nullable String charcValue, @Nullable Double charcFromNumericValue, @Nullable String charcFromNumericValueUnit, @Nullable Double charcToNumericValue, @Nullable String charcToNumericValueUnit, @Nullable String charcValueIntervalType, @Nullable Boolean isDeleted, @Nullable BigDecimal charcFromDecimalValue, @Nullable BigDecimal charcToDecimalValue, @Nullable BigDecimal charcFromAmount, @Nullable BigDecimal charcToAmount, @Nullable String currency, @Nullable LocalDate charcFromDate, @Nullable LocalDate charcToDate, @Nullable LocalTime charcFromTime, @Nullable LocalTime charcToTime, @Nullable MerchandiseCategory to_MerchandiseCategoryTP)
  • Method Details

    • getType

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

      public void setMerchandiseCategory(@Nullable String merchandiseCategory)
      (Key Field) Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: MerchandiseCategory

      Parameters:
      merchandiseCategory - Merchandise Category
    • setCharacteristic

      public void setCharacteristic(@Nullable String characteristic)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: Characteristic

      Parameters:
      characteristic - Characteristic Name
    • setClfnCharcValuePositionNumber

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

      Original property name from the Odata EDM: ClfnCharcValuePositionNumber

      Parameters:
      clfnCharcValuePositionNumber - Characteristic value counter
    • setClfnObjectID

      public void setClfnObjectID(@Nullable String clfnObjectID)
      Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: ClfnObjectID

      Parameters:
      clfnObjectID - Key of Object to be Classified
    • setCharcInternalID

      public void setCharcInternalID(@Nullable String charcInternalID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CharcInternalID

      Parameters:
      charcInternalID - Characteristic Internal ID
    • setCharcValue

      public void setCharcValue(@Nullable String charcValue)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: CharcValue

      Parameters:
      charcValue - Characteristic Value
    • setCharcFromNumericValue

      public void setCharcFromNumericValue(@Nullable Double charcFromNumericValue)
      Constraints: Not nullable

      Original property name from the Odata EDM: CharcFromNumericValue

      Parameters:
      charcFromNumericValue - Internal floating point from
    • setCharcFromNumericValueUnit

      public void setCharcFromNumericValueUnit(@Nullable String charcFromNumericValueUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcFromNumericValueUnit

      Parameters:
      charcFromNumericValueUnit - Unit of Measurement
    • setCharcToNumericValue

      public void setCharcToNumericValue(@Nullable Double charcToNumericValue)
      Constraints: Not nullable

      Original property name from the Odata EDM: CharcToNumericValue

      Parameters:
      charcToNumericValue - Internal floating point value to
    • setCharcToNumericValueUnit

      public void setCharcToNumericValueUnit(@Nullable String charcToNumericValueUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcToNumericValueUnit

      Parameters:
      charcToNumericValueUnit - Unit of Measurement
    • setCharcValueIntervalType

      public void setCharcValueIntervalType(@Nullable String charcValueIntervalType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcValueIntervalType

      Parameters:
      charcValueIntervalType - Code for value dependency
    • setIsDeleted

      public void setIsDeleted(@Nullable Boolean isDeleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - Deletion Indicator
    • setCharcFromDecimalValue

      public void setCharcFromDecimalValue(@Nullable BigDecimal charcFromDecimalValue)
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: CharcFromDecimalValue

      Parameters:
      charcFromDecimalValue - Lower Boundary for Numeric Field
    • setCharcToDecimalValue

      public void setCharcToDecimalValue(@Nullable BigDecimal charcToDecimalValue)
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: CharcToDecimalValue

      Parameters:
      charcToDecimalValue - Upper Boundary for Numeric Field
    • setCharcFromAmount

      public void setCharcFromAmount(@Nullable BigDecimal charcFromAmount)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CharcFromAmount

      Parameters:
      charcFromAmount - Lower Boundary for Currency Field
    • setCharcToAmount

      public void setCharcToAmount(@Nullable BigDecimal charcToAmount)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CharcToAmount

      Parameters:
      charcToAmount - Upper Boundary for Currency Field
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setCharcFromDate

      public void setCharcFromDate(@Nullable LocalDate charcFromDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CharcFromDate

      Parameters:
      charcFromDate - Lower Boundary for Date-Interval
    • setCharcToDate

      public void setCharcToDate(@Nullable LocalDate charcToDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CharcToDate

      Parameters:
      charcToDate - Upper Boundary for Date-Interval
    • setCharcFromTime

      public void setCharcFromTime(@Nullable LocalTime charcFromTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: CharcFromTime

      Parameters:
      charcFromTime - Lower Boundary for Time-Interval
    • setCharcToTime

      public void setCharcToTime(@Nullable LocalTime charcToTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: CharcToTime

      Parameters:
      charcToTime - Upper Boundary for Time-Interval
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<MrchdsCatCharcValRstrcn>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<MrchdsCatCharcValRstrcn>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<MrchdsCatCharcValRstrcn>
    • getMerchandiseCategoryTPIfPresent

      @Nonnull public io.vavr.control.Option<MerchandiseCategory> getMerchandiseCategoryTPIfPresent()
      Retrieval of associated MerchandiseCategory entity (one to one). This corresponds to the OData navigation property _MerchandiseCategoryTP.

      If the navigation property for an entity MrchdsCatCharcValRstrcn has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _MerchandiseCategoryTP is already loaded, the result will contain the MerchandiseCategory entity. If not, an Option with result state empty is returned.
    • setMerchandiseCategoryTP

      public void setMerchandiseCategoryTP(MerchandiseCategory value)
      Overwrites the associated MerchandiseCategory entity for the loaded navigation property _MerchandiseCategoryTP.
      Parameters:
      value - New MerchandiseCategory entity.
    • builder

    • getMerchandiseCategory

      @Nullable public String getMerchandiseCategory()
      (Key Field) Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: MerchandiseCategory

      Returns:
      Merchandise Category
    • getCharacteristic

      @Nullable public String getCharacteristic()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: Characteristic

      Returns:
      Characteristic Name
    • getClfnCharcValuePositionNumber

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

      Original property name from the Odata EDM: ClfnCharcValuePositionNumber

      Returns:
      Characteristic value counter
    • getClfnObjectID

      @Nullable public String getClfnObjectID()
      Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: ClfnObjectID

      Returns:
      Key of Object to be Classified
    • getCharcInternalID

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

      Original property name from the Odata EDM: CharcInternalID

      Returns:
      Characteristic Internal ID
    • getCharcValue

      @Nullable public String getCharcValue()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: CharcValue

      Returns:
      Characteristic Value
    • getCharcFromNumericValue

      @Nullable public Double getCharcFromNumericValue()
      Constraints: Not nullable

      Original property name from the Odata EDM: CharcFromNumericValue

      Returns:
      Internal floating point from
    • getCharcFromNumericValueUnit

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

      Original property name from the Odata EDM: CharcFromNumericValueUnit

      Returns:
      Unit of Measurement
    • getCharcToNumericValue

      @Nullable public Double getCharcToNumericValue()
      Constraints: Not nullable

      Original property name from the Odata EDM: CharcToNumericValue

      Returns:
      Internal floating point value to
    • getCharcToNumericValueUnit

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

      Original property name from the Odata EDM: CharcToNumericValueUnit

      Returns:
      Unit of Measurement
    • getCharcValueIntervalType

      @Nullable public String getCharcValueIntervalType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcValueIntervalType

      Returns:
      Code for value dependency
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Returns:
      Deletion Indicator
    • getCharcFromDecimalValue

      @Nullable public BigDecimal getCharcFromDecimalValue()
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: CharcFromDecimalValue

      Returns:
      Lower Boundary for Numeric Field
    • getCharcToDecimalValue

      @Nullable public BigDecimal getCharcToDecimalValue()
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: CharcToDecimalValue

      Returns:
      Upper Boundary for Numeric Field
    • getCharcFromAmount

      @Nullable public BigDecimal getCharcFromAmount()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CharcFromAmount

      Returns:
      Lower Boundary for Currency Field
    • getCharcToAmount

      @Nullable public BigDecimal getCharcToAmount()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: CharcToAmount

      Returns:
      Upper Boundary for Currency Field
    • getCurrency

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

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getCharcFromDate

      @Nullable public LocalDate getCharcFromDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CharcFromDate

      Returns:
      Lower Boundary for Date-Interval
    • getCharcToDate

      @Nullable public LocalDate getCharcToDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CharcToDate

      Returns:
      Upper Boundary for Date-Interval
    • getCharcFromTime

      @Nullable public LocalTime getCharcFromTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: CharcFromTime

      Returns:
      Lower Boundary for Time-Interval
    • getCharcToTime

      @Nullable public LocalTime getCharcToTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: CharcToTime

      Returns:
      Upper Boundary for Time-Interval
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<MrchdsCatCharcValRstrcn>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<MrchdsCatCharcValRstrcn>