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

public class BatchCharcValue extends VdmEntity<BatchCharcValue>
Batch Characteristics Valuation

Original entity name from the Odata EDM: BatchCharcValueType

  • Field Details

    • ALL_FIELDS

      public static final BatchCharcValueSelectable ALL_FIELDS
      Selector for all available fields of BatchCharcValue.
    • MATERIAL

      public static final BatchCharcValueField<String> MATERIAL
      Use with available fluent helpers to apply the Material field to query operations.
    • BATCH_IDENTIFYING_PLANT

      public static final BatchCharcValueField<String> BATCH_IDENTIFYING_PLANT
      Use with available fluent helpers to apply the BatchIdentifyingPlant field to query operations.
    • BATCH

      public static final BatchCharcValueField<String> BATCH
      Use with available fluent helpers to apply the Batch field to query operations.
    • CHARC_INTERNAL_ID

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

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

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

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

      public static final BatchCharcValueField<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 BatchCharcValueField<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 BatchCharcValueField<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 BatchCharcValueField<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 BatchCharcValueField<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 BatchCharcValueField<BigDecimal> CHARC_TO_DECIMAL_VALUE
      Use with available fluent helpers to apply the CharcToDecimalValue field to query operations.
    • CHARC_FROM_AMOUNT

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

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

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

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

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

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

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

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

      public static final BatchCharcValueField<ZonedDateTime> LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
    • TO_BATCH_CHARC

      public static final BatchCharcValueOneToOneLink<BatchCharc> TO_BATCH_CHARC
      Use with available fluent helpers to apply the to_BatchCharc navigation property to query operations.
  • Constructor Details

    • BatchCharcValue

      public BatchCharcValue()
    • BatchCharcValue

      public BatchCharcValue(@Nullable String material, @Nullable String batchIdentifyingPlant, @Nullable String batch, @Nullable String charcInternalID, @Nullable String charcValuePositionNumber, @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 ZonedDateTime lastChangeDateTime, @Nullable BatchCharc toBatchCharc)
  • Method Details

    • getType

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

      public void setMaterial(@Nullable String material)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material Number
    • setBatchIdentifyingPlant

      public void setBatchIdentifyingPlant(@Nullable String batchIdentifyingPlant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BatchIdentifyingPlant

      Parameters:
      batchIdentifyingPlant - Plant
    • setBatch

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

      Original property name from the Odata EDM: Batch

      Parameters:
      batch - Batch Number
    • 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
    • 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: 23, 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: 23, 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
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Last Change Timestamp
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BatchCharcValueField<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> BatchCharcValueField<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<BatchCharcValue>
    • setServicePathForFetch

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

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

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

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

      @Nullable public BatchCharc fetchBatchCharc()
      Fetches the BatchCharc entity (one to one) associated with this entity. This corresponds to the OData navigation property to_BatchCharc.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated BatchCharc entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBatchCharcOrFetch

      @Nullable public BatchCharc getBatchCharcOrFetch()
      Retrieval of associated BatchCharc entity (one to one). This corresponds to the OData navigation property to_BatchCharc.

      If the navigation property to_BatchCharc of a queried BatchCharcValue is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated BatchCharc entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBatchCharcIfPresent

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

      If the navigation property for an entity BatchCharcValue 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 to_BatchCharc is already loaded, the result will contain the BatchCharc entity. If not, an Option with result state empty is returned.
    • setBatchCharc

      public void setBatchCharc(BatchCharc value)
      Overwrites the associated BatchCharc entity for the loaded navigation property to_BatchCharc.
      Parameters:
      value - New BatchCharc entity.
    • builder

      @Nonnull public static BatchCharcValue.BatchCharcValueBuilder builder()
    • getMaterial

      @Nullable public String getMaterial()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getBatchIdentifyingPlant

      @Nullable public String getBatchIdentifyingPlant()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BatchIdentifyingPlant

      Returns:
      Plant
    • getBatch

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

      Original property name from the Odata EDM: Batch

      Returns:
      Batch Number
    • 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
    • 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: 23, 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: 23, 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
    • getLastChangeDateTime

      @Nullable public ZonedDateTime getLastChangeDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Last Change Timestamp
    • toString

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

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

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

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