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

public class SupplierConfirmation extends VdmEntity<SupplierConfirmation> implements VdmEntitySet
Supplier Confirmation

Original entity name from the Odata EDM: A_SupplierConfirmation_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: SupplierConfirmation

      Parameters:
      supplierConfirmation - Supplier Confirmation Number
    • setSuplrConfRefPurchaseOrder

      public void setSuplrConfRefPurchaseOrder(@Nullable String suplrConfRefPurchaseOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SuplrConfRefPurchaseOrder

      Parameters:
      suplrConfRefPurchaseOrder - Reference Purchase Order
    • setSuplrConfProcessingStatus

      public void setSuplrConfProcessingStatus(@Nullable String suplrConfProcessingStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SuplrConfProcessingStatus

      Parameters:
      suplrConfProcessingStatus - Supplier Confirmation Processing State
    • setSuplrConfExternalReference

      public void setSuplrConfExternalReference(@Nullable String suplrConfExternalReference)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SuplrConfExternalReference

      Parameters:
      suplrConfExternalReference - Supplier External Reference ID
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Change Time Stamp
    • setCreationDate

      public void setCreationDate(@Nullable LocalDate creationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Record Created On
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SupplierConfirmation 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 _SupplierConfirmationItemTP is already loaded, the result will contain the SupplierConfirmationItem entities. If not, an Option with result state empty is returned.
    • setSupplierConfirmationItemTP

      public void setSupplierConfirmationItemTP(@Nonnull List<SupplierConfirmationItem> value)
      Overwrites the list of associated SupplierConfirmationItem entities for the loaded navigation property _SupplierConfirmationItemTP.

      If the navigation property _SupplierConfirmationItemTP of a queried SupplierConfirmation 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 SupplierConfirmationItem entities.
    • addSupplierConfirmationItemTP

      public void addSupplierConfirmationItemTP(SupplierConfirmationItem... entity)
      Adds elements to the list of associated SupplierConfirmationItem entities. This corresponds to the OData navigation property _SupplierConfirmationItemTP.

      If the navigation property _SupplierConfirmationItemTP of a queried SupplierConfirmation 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 SupplierConfirmationItem entities.
    • builder

      @Nonnull public static SupplierConfirmation.SupplierConfirmationBuilder builder()
    • getSupplierConfirmation

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

      Original property name from the Odata EDM: SupplierConfirmation

      Returns:
      Supplier Confirmation Number
    • getSuplrConfRefPurchaseOrder

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

      Original property name from the Odata EDM: SuplrConfRefPurchaseOrder

      Returns:
      Reference Purchase Order
    • getSuplrConfProcessingStatus

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

      Original property name from the Odata EDM: SuplrConfProcessingStatus

      Returns:
      Supplier Confirmation Processing State
    • getSuplrConfExternalReference

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

      Original property name from the Odata EDM: SuplrConfExternalReference

      Returns:
      Supplier External Reference ID
    • getLastChangeDateTime

      @Nullable public OffsetDateTime getLastChangeDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Change Time Stamp
    • getCreationDate

      @Nullable public LocalDate getCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Returns:
      Record Created On
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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