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

public class ProductCharcValue extends VdmEntity<ProductCharcValue>
Characteristic Valuations

Original entity name from the Odata EDM: A_ProductCharcValueType

  • Field Details

    • ALL_FIELDS

      public static final ProductCharcValueSelectable ALL_FIELDS
      Selector for all available fields of ProductCharcValue.
    • PRODUCT

      public static final ProductCharcValueField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • CLASS_TYPE

      public static final ProductCharcValueField<String> CLASS_TYPE
      Use with available fluent helpers to apply the ClassType field to query operations.
    • CHARC_INTERNAL_ID

      public static final ProductCharcValueField<String> CHARC_INTERNAL_ID
      Use with available fluent helpers to apply the CharcInternalID field to query operations.
    • CHARC_VALUE_POSITION_NUMBER

      public static final ProductCharcValueField<String> CHARC_VALUE_POSITION_NUMBER
      Use with available fluent helpers to apply the CharcValuePositionNumber field to query operations.
    • KEY_DATE

      public static final ProductCharcValueField<LocalDateTime> KEY_DATE
      Use with available fluent helpers to apply the KeyDate field to query operations.
    • CHANGE_NUMBER

      public static final ProductCharcValueField<String> CHANGE_NUMBER
      Use with available fluent helpers to apply the ChangeNumber field to query operations.
    • CHARC_VALUE_DEPENDENCY

      public static final ProductCharcValueField<String> CHARC_VALUE_DEPENDENCY
      Use with available fluent helpers to apply the CharcValueDependency field to query operations.
    • CHARC_VALUE

      public static final ProductCharcValueField<String> CHARC_VALUE
      Use with available fluent helpers to apply the CharcValue field to query operations.
    • CHARC_FROM_NUMERIC_VALUE

      public static final ProductCharcValueField<Double> CHARC_FROM_NUMERIC_VALUE
      Use with available fluent helpers to apply the CharcFromNumericValue field to query operations.
    • CHARC_FROM_NUMERIC_VALUE_UNIT

      public static final ProductCharcValueField<String> CHARC_FROM_NUMERIC_VALUE_UNIT
      Use with available fluent helpers to apply the CharcFromNumericValueUnit field to query operations.
    • CHARC_TO_NUMERIC_VALUE

      public static final ProductCharcValueField<Double> CHARC_TO_NUMERIC_VALUE
      Use with available fluent helpers to apply the CharcToNumericValue field to query operations.
    • CHARC_TO_NUMERIC_VALUE_UNIT

      public static final ProductCharcValueField<String> CHARC_TO_NUMERIC_VALUE_UNIT
      Use with available fluent helpers to apply the CharcToNumericValueUnit field to query operations.
    • CHARC_FROM_DECIMAL_VALUE

      public static final ProductCharcValueField<BigDecimal> CHARC_FROM_DECIMAL_VALUE
      Use with available fluent helpers to apply the CharcFromDecimalValue field to query operations.
    • CHARC_TO_DECIMAL_VALUE

      public static final ProductCharcValueField<BigDecimal> CHARC_TO_DECIMAL_VALUE
      Use with available fluent helpers to apply the CharcToDecimalValue field to query operations.
    • CHARC_FROM_AMOUNT

      public static final ProductCharcValueField<BigDecimal> CHARC_FROM_AMOUNT
      Use with available fluent helpers to apply the CharcFromAmount field to query operations.
    • CHARC_TO_AMOUNT

      public static final ProductCharcValueField<BigDecimal> CHARC_TO_AMOUNT
      Use with available fluent helpers to apply the CharcToAmount field to query operations.
    • CURRENCY

      public static final ProductCharcValueField<String> CURRENCY
      Use with available fluent helpers to apply the Currency field to query operations.
    • CHARC_FROM_DATE

      public static final ProductCharcValueField<LocalDateTime> CHARC_FROM_DATE
      Use with available fluent helpers to apply the CharcFromDate field to query operations.
    • CHARC_TO_DATE

      public static final ProductCharcValueField<LocalDateTime> CHARC_TO_DATE
      Use with available fluent helpers to apply the CharcToDate field to query operations.
    • CHARC_FROM_TIME

      public static final ProductCharcValueField<LocalTime> CHARC_FROM_TIME
      Use with available fluent helpers to apply the CharcFromTime field to query operations.
    • CHARC_TO_TIME

      public static final ProductCharcValueField<LocalTime> CHARC_TO_TIME
      Use with available fluent helpers to apply the CharcToTime field to query operations.
    • CHARACTERISTIC_AUTHOR

      public static final ProductCharcValueField<String> CHARACTERISTIC_AUTHOR
      Use with available fluent helpers to apply the CharacteristicAuthor field to query operations.
    • CHARC_MAINT_AUTH_GRP

      public static final ProductCharcValueField<String> CHARC_MAINT_AUTH_GRP
      Use with available fluent helpers to apply the CharcMaintAuthGrp field to query operations.
  • Constructor Details

    • ProductCharcValue

      public ProductCharcValue()
    • ProductCharcValue

      public ProductCharcValue(@Nullable String product, @Nullable String classType, @Nullable String charcInternalID, @Nullable String charcValuePositionNumber, @Nullable LocalDateTime keyDate, @Nullable String changeNumber, @Nullable String charcValueDependency, @Nullable String charcValue, @Nullable Double charcFromNumericValue, @Nullable String charcFromNumericValueUnit, @Nullable Double charcToNumericValue, @Nullable String charcToNumericValueUnit, @Nullable BigDecimal charcFromDecimalValue, @Nullable BigDecimal charcToDecimalValue, @Nullable BigDecimal charcFromAmount, @Nullable BigDecimal charcToAmount, @Nullable String currency, @Nullable LocalDateTime charcFromDate, @Nullable LocalDateTime charcToDate, @Nullable LocalTime charcFromTime, @Nullable LocalTime charcToTime, @Nullable String characteristicAuthor, @Nullable String charcMaintAuthGrp)
  • Method Details

    • getType

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

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: Product

      Parameters:
      product - Key of Object to be Classified
    • setClassType

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

      Original property name from the Odata EDM: ClassType

      Parameters:
      classType - Class Type
    • setCharcInternalID

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

      Original property name from the Odata EDM: CharcInternalID

      Parameters:
      charcInternalID - Characteristic Internal ID
    • setCharcValuePositionNumber

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

      Original property name from the Odata EDM: CharcValuePositionNumber

      Parameters:
      charcValuePositionNumber - Characteristic value counter
    • setKeyDate

      public void setKeyDate(@Nullable LocalDateTime keyDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: KeyDate

      Parameters:
      keyDate - The keyDate to set.
    • setChangeNumber

      public void setChangeNumber(@Nullable String changeNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Parameters:
      changeNumber - Change Number
    • setCharcValueDependency

      public void setCharcValueDependency(@Nullable String charcValueDependency)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcValueDependency

      Parameters:
      charcValueDependency - Code for value dependency
    • 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: none

      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: none

      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
    • 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: 24, Scale: 3

      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: 24, Scale: 3

      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: 5

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setCharcFromDate

      public void setCharcFromDate(@Nullable LocalDateTime charcFromDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CharcFromDate

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

      public void setCharcToDate(@Nullable LocalDateTime charcToDate)
      Constraints: Not nullable, Precision: 0

      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, Precision: 0

      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, Precision: 0

      Original property name from the Odata EDM: CharcToTime

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

      public void setCharacteristicAuthor(@Nullable String characteristicAuthor)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharacteristicAuthor

      Parameters:
      characteristicAuthor - Classification: Author
    • setCharcMaintAuthGrp

      public void setCharcMaintAuthGrp(@Nullable String charcMaintAuthGrp)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcMaintAuthGrp

      Parameters:
      charcMaintAuthGrp - Authorization Group for Characteristics Maintenance
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductCharcValueField<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> ProductCharcValueField<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<ProductCharcValue>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ProductCharcValue.ProductCharcValueBuilder builder()
    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: Product

      Returns:
      Key of Object to be Classified
    • getClassType

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

      Original property name from the Odata EDM: ClassType

      Returns:
      Class Type
    • getCharcInternalID

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

      Original property name from the Odata EDM: CharcInternalID

      Returns:
      Characteristic Internal ID
    • getCharcValuePositionNumber

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

      Original property name from the Odata EDM: CharcValuePositionNumber

      Returns:
      Characteristic value counter
    • getKeyDate

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

      Original property name from the Odata EDM: KeyDate

      Returns:
      The keyDate contained in this entity.
    • getChangeNumber

      @Nullable public String getChangeNumber()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      Change Number
    • getCharcValueDependency

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

      Original property name from the Odata EDM: CharcValueDependency

      Returns:
      Code for value dependency
    • 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: none

      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: none

      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
    • 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: 24, Scale: 3

      Original property name from the Odata EDM: CharcFromAmount

      Returns:
      Lower Boundary for Currency Field
    • getCharcToAmount

      @Nullable public BigDecimal getCharcToAmount()
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: CharcToAmount

      Returns:
      Upper Boundary for Currency Field
    • getCurrency

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

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getCharcFromDate

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

      Original property name from the Odata EDM: CharcFromDate

      Returns:
      Lower Boundary for Date-Interval
    • getCharcToDate

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

      Original property name from the Odata EDM: CharcToDate

      Returns:
      Upper Boundary for Date-Interval
    • getCharcFromTime

      @Nullable public LocalTime getCharcFromTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CharcFromTime

      Returns:
      Lower Boundary for Time-Interval
    • getCharcToTime

      @Nullable public LocalTime getCharcToTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CharcToTime

      Returns:
      Upper Boundary for Time-Interval
    • getCharacteristicAuthor

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

      Original property name from the Odata EDM: CharacteristicAuthor

      Returns:
      Classification: Author
    • getCharcMaintAuthGrp

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

      Original property name from the Odata EDM: CharcMaintAuthGrp

      Returns:
      Authorization Group for Characteristics Maintenance
    • toString

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

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

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

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