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

public class InspLotMatlDocItem extends VdmEntity<InspLotMatlDocItem>
Stock Postings

Original entity name from the Odata EDM: A_InspLotMatlDocItemType

  • Field Details

    • ALL_FIELDS

      public static final InspLotMatlDocItemSelectable ALL_FIELDS
      Selector for all available fields of InspLotMatlDocItem.
    • INSPECTION_LOT

      public static final InspLotMatlDocItemField<String> INSPECTION_LOT
      Use with available fluent helpers to apply the InspectionLot field to query operations.
    • INSP_LOT_MATL_DOC_ITEM

      public static final InspLotMatlDocItemField<String> INSP_LOT_MATL_DOC_ITEM
      Use with available fluent helpers to apply the InspLotMatlDocItem field to query operations.
    • INSP_LOT_QTY_POSTED

      public static final InspLotMatlDocItemField<BigDecimal> INSP_LOT_QTY_POSTED
      Use with available fluent helpers to apply the InspLotQtyPosted field to query operations.
    • INSP_LOT_MATL_DOC_ITM_QTY_UNIT

      public static final InspLotMatlDocItemField<String> INSP_LOT_MATL_DOC_ITM_QTY_UNIT
      Use with available fluent helpers to apply the InspLotMatlDocItmQtyUnit field to query operations.
    • USAGE_DECISION_STOCK_TYPE

      public static final InspLotMatlDocItemField<String> USAGE_DECISION_STOCK_TYPE
      Use with available fluent helpers to apply the UsageDecisionStockType field to query operations.
    • STORAGE_LOCATION

      public static final InspLotMatlDocItemField<String> STORAGE_LOCATION
      Use with available fluent helpers to apply the StorageLocation field to query operations.
    • INSP_LOT_MATERIAL_POSTED_TO

      public static final InspLotMatlDocItemField<String> INSP_LOT_MATERIAL_POSTED_TO
      Use with available fluent helpers to apply the InspLotMaterialPostedTo field to query operations.
    • INSP_LOT_BATCH_TRANSFERRED_TO

      public static final InspLotMatlDocItemField<String> INSP_LOT_BATCH_TRANSFERRED_TO
      Use with available fluent helpers to apply the InspLotBatchTransferredTo field to query operations.
    • MATERIAL_DOCUMENT_ITEM_TEXT

      public static final InspLotMatlDocItemField<String> MATERIAL_DOCUMENT_ITEM_TEXT
      Use with available fluent helpers to apply the MaterialDocumentItemText field to query operations.
    • INSP_LOT_MATL_DOC_ITEM_TYPE

      public static final InspLotMatlDocItemField<String> INSP_LOT_MATL_DOC_ITEM_TYPE
      Use with available fluent helpers to apply the InspLotMatlDocItemType field to query operations.
    • MATERIAL_DOCUMENT

      public static final InspLotMatlDocItemField<String> MATERIAL_DOCUMENT
      Use with available fluent helpers to apply the MaterialDocument field to query operations.
    • MATERIAL_DOCUMENT_YEAR

      public static final InspLotMatlDocItemField<String> MATERIAL_DOCUMENT_YEAR
      Use with available fluent helpers to apply the MaterialDocumentYear field to query operations.
    • MATERIAL_DOCUMENT_ITEM

      public static final InspLotMatlDocItemField<String> MATERIAL_DOCUMENT_ITEM
      Use with available fluent helpers to apply the MaterialDocumentItem field to query operations.
    • CREATION_DATE

      public static final InspLotMatlDocItemField<LocalDateTime> CREATION_DATE
      Use with available fluent helpers to apply the CreationDate field to query operations.
    • CHANGED_DATE_TIME

      public static final InspLotMatlDocItemField<ZonedDateTime> CHANGED_DATE_TIME
      Use with available fluent helpers to apply the ChangedDateTime field to query operations.
    • TO_INSP_LOT_MATL_DOC_ITM_SRL_NMBR

      public static final InspLotMatlDocItemLink<InspLotMatlDocItmSrlNmbr> TO_INSP_LOT_MATL_DOC_ITM_SRL_NMBR
      Use with available fluent helpers to apply the to_InspLotMatlDocItmSrlNmbr navigation property to query operations.
  • Constructor Details

    • InspLotMatlDocItem

      public InspLotMatlDocItem()
    • InspLotMatlDocItem

      public InspLotMatlDocItem(@Nullable String inspectionLot, @Nullable String inspLotMatlDocItem, @Nullable BigDecimal inspLotQtyPosted, @Nullable String inspLotMatlDocItmQtyUnit, @Nullable String usageDecisionStockType, @Nullable String storageLocation, @Nullable String inspLotMaterialPostedTo, @Nullable String inspLotBatchTransferredTo, @Nullable String materialDocumentItemText, @Nullable String inspLotMatlDocItemType, @Nullable String materialDocument, @Nullable String materialDocumentYear, @Nullable String materialDocumentItem, @Nullable LocalDateTime creationDate, @Nullable ZonedDateTime changedDateTime, List<InspLotMatlDocItmSrlNmbr> toInspLotMatlDocItmSrlNmbr)
  • Method Details

    • getType

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

      public void setInspectionLot(@Nullable String inspectionLot)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: InspectionLot

      Parameters:
      inspectionLot - Inspection Lot Number
    • setInspLotMatlDocItem

      public void setInspLotMatlDocItem(@Nullable String inspLotMatlDocItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: InspLotMatlDocItem

      Parameters:
      inspLotMatlDocItem - Internal Counter for DB Objects
    • setInspLotQtyPosted

      public void setInspLotQtyPosted(@Nullable BigDecimal inspLotQtyPosted)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: InspLotQtyPosted

      Parameters:
      inspLotQtyPosted - Quantity in unit of entry
    • setInspLotMatlDocItmQtyUnit

      public void setInspLotMatlDocItmQtyUnit(@Nullable String inspLotMatlDocItmQtyUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: InspLotMatlDocItmQtyUnit

      Parameters:
      inspLotMatlDocItmQtyUnit - Unit of entry
    • setUsageDecisionStockType

      public void setUsageDecisionStockType(@Nullable String usageDecisionStockType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: UsageDecisionStockType

      Parameters:
      usageDecisionStockType - Posting Proposal in Usage Decision
    • setStorageLocation

      public void setStorageLocation(@Nullable String storageLocation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StorageLocation

      Parameters:
      storageLocation - Storage Location
    • setInspLotMaterialPostedTo

      public void setInspLotMaterialPostedTo(@Nullable String inspLotMaterialPostedTo)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: InspLotMaterialPostedTo

      Parameters:
      inspLotMaterialPostedTo - Transfer Material
    • setInspLotBatchTransferredTo

      public void setInspLotBatchTransferredTo(@Nullable String inspLotBatchTransferredTo)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: InspLotBatchTransferredTo

      Parameters:
      inspLotBatchTransferredTo - Transfer Batch
    • setMaterialDocumentItemText

      public void setMaterialDocumentItemText(@Nullable String materialDocumentItemText)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: MaterialDocumentItemText

      Parameters:
      materialDocumentItemText - Item Text
    • setInspLotMatlDocItemType

      public void setInspLotMatlDocItemType(@Nullable String inspLotMatlDocItemType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InspLotMatlDocItemType

      Parameters:
      inspLotMatlDocItemType - Type of Reference Between Inspection Lot and Material Doc.
    • setMaterialDocument

      public void setMaterialDocument(@Nullable String materialDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MaterialDocument

      Parameters:
      materialDocument - Number of Material Document
    • setMaterialDocumentYear

      public void setMaterialDocumentYear(@Nullable String materialDocumentYear)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaterialDocumentYear

      Parameters:
      materialDocumentYear - Material Document Year
    • setMaterialDocumentItem

      public void setMaterialDocumentItem(@Nullable String materialDocumentItem)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaterialDocumentItem

      Parameters:
      materialDocumentItem - Item in Material Document
    • setCreationDate

      public void setCreationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Day On Which Accounting Document Was Entered
    • setChangedDateTime

      public void setChangedDateTime(@Nullable ZonedDateTime changedDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ChangedDateTime

      Parameters:
      changedDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> InspLotMatlDocItemField<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> InspLotMatlDocItemField<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<InspLotMatlDocItem>
    • setServicePathForFetch

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

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

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

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

      @Nonnull public List<InspLotMatlDocItmSrlNmbr> fetchInspLotMatlDocItmSrlNmbr()
      Fetches the InspLotMatlDocItmSrlNmbr entities (one to many) associated with this entity. This corresponds to the OData navigation property to_InspLotMatlDocItmSrlNmbr.

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

      Returns:
      List containing one or more associated InspLotMatlDocItmSrlNmbr entities. If no entities are associated then an empty list is returned.
      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.
    • getInspLotMatlDocItmSrlNmbrOrFetch

      @Nonnull public List<InspLotMatlDocItmSrlNmbr> getInspLotMatlDocItmSrlNmbrOrFetch()
      Retrieval of associated InspLotMatlDocItmSrlNmbr entities (one to many). This corresponds to the OData navigation property to_InspLotMatlDocItmSrlNmbr.

      If the navigation property to_InspLotMatlDocItmSrlNmbr of a queried InspLotMatlDocItem 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 InspLotMatlDocItmSrlNmbr entities.
      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.
    • getInspLotMatlDocItmSrlNmbrIfPresent

      @Nonnull public io.vavr.control.Option<List<InspLotMatlDocItmSrlNmbr>> getInspLotMatlDocItmSrlNmbrIfPresent()
      Retrieval of associated InspLotMatlDocItmSrlNmbr entities (one to many). This corresponds to the OData navigation property to_InspLotMatlDocItmSrlNmbr.

      If the navigation property for an entity InspLotMatlDocItem 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_InspLotMatlDocItmSrlNmbr is already loaded, the result will contain the InspLotMatlDocItmSrlNmbr entities. If not, an Option with result state empty is returned.
    • setInspLotMatlDocItmSrlNmbr

      public void setInspLotMatlDocItmSrlNmbr(@Nonnull List<InspLotMatlDocItmSrlNmbr> value)
      Overwrites the list of associated InspLotMatlDocItmSrlNmbr entities for the loaded navigation property to_InspLotMatlDocItmSrlNmbr.

      If the navigation property to_InspLotMatlDocItmSrlNmbr of a queried InspLotMatlDocItem 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.

      Parameters:
      value - List of InspLotMatlDocItmSrlNmbr entities.
    • addInspLotMatlDocItmSrlNmbr

      public void addInspLotMatlDocItmSrlNmbr(InspLotMatlDocItmSrlNmbr... entity)
      Adds elements to the list of associated InspLotMatlDocItmSrlNmbr entities. This corresponds to the OData navigation property to_InspLotMatlDocItmSrlNmbr.

      If the navigation property to_InspLotMatlDocItmSrlNmbr of a queried InspLotMatlDocItem 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.

      Parameters:
      entity - Array of InspLotMatlDocItmSrlNmbr entities.
    • builder

      @Nonnull public static InspLotMatlDocItem.InspLotMatlDocItemBuilder builder()
    • getInspectionLot

      @Nullable public String getInspectionLot()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: InspectionLot

      Returns:
      Inspection Lot Number
    • getInspLotMatlDocItem

      @Nullable public String getInspLotMatlDocItem()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: InspLotMatlDocItem

      Returns:
      Internal Counter for DB Objects
    • getInspLotQtyPosted

      @Nullable public BigDecimal getInspLotQtyPosted()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: InspLotQtyPosted

      Returns:
      Quantity in unit of entry
    • getInspLotMatlDocItmQtyUnit

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

      Original property name from the Odata EDM: InspLotMatlDocItmQtyUnit

      Returns:
      Unit of entry
    • getUsageDecisionStockType

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

      Original property name from the Odata EDM: UsageDecisionStockType

      Returns:
      Posting Proposal in Usage Decision
    • getStorageLocation

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

      Original property name from the Odata EDM: StorageLocation

      Returns:
      Storage Location
    • getInspLotMaterialPostedTo

      @Nullable public String getInspLotMaterialPostedTo()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: InspLotMaterialPostedTo

      Returns:
      Transfer Material
    • getInspLotBatchTransferredTo

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

      Original property name from the Odata EDM: InspLotBatchTransferredTo

      Returns:
      Transfer Batch
    • getMaterialDocumentItemText

      @Nullable public String getMaterialDocumentItemText()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: MaterialDocumentItemText

      Returns:
      Item Text
    • getInspLotMatlDocItemType

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

      Original property name from the Odata EDM: InspLotMatlDocItemType

      Returns:
      Type of Reference Between Inspection Lot and Material Doc.
    • getMaterialDocument

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

      Original property name from the Odata EDM: MaterialDocument

      Returns:
      Number of Material Document
    • getMaterialDocumentYear

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

      Original property name from the Odata EDM: MaterialDocumentYear

      Returns:
      Material Document Year
    • getMaterialDocumentItem

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

      Original property name from the Odata EDM: MaterialDocumentItem

      Returns:
      Item in Material Document
    • getCreationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      Day On Which Accounting Document Was Entered
    • getChangedDateTime

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

      Original property name from the Odata EDM: ChangedDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • toString

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

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

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

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