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

public class SourcingSupplierList extends VdmEntity<SourcingSupplierList> implements VdmEntitySet
Supplier List for Sourcing

Original entity name from the Odata EDM: SourcingSupplierListType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setSourcingSupplierListUUID(@Nullable UUID sourcingSupplierListUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SourcingSupplierListUUID

      Parameters:
      sourcingSupplierListUUID - UUID of Sourcing Supplier List
    • setSourcingSupplierList

      public void setSourcingSupplierList(@Nullable String sourcingSupplierList)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SourcingSupplierList

      Parameters:
      sourcingSupplierList - Supplier List
    • setSourcingSupplierListName

      public void setSourcingSupplierListName(@Nullable String sourcingSupplierListName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SourcingSupplierListName

      Parameters:
      sourcingSupplierListName - Name of Sourcing Supplier List
    • setSrcgSuplrListLifecycleStatus

      public void setSrcgSuplrListLifecycleStatus(@Nullable String srcgSuplrListLifecycleStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SrcgSuplrListLifecycleStatus

      Parameters:
      srcgSuplrListLifecycleStatus - Lifecycle Status of Supplier List
    • setSuplrListReferenceObjectUUID

      public void setSuplrListReferenceObjectUUID(@Nullable UUID suplrListReferenceObjectUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SuplrListReferenceObjectUUID

      Parameters:
      suplrListReferenceObjectUUID - Reference Object UUID of Instance Based Supplier List
    • setSupplierListReferenceObject

      public void setSupplierListReferenceObject(@Nullable String supplierListReferenceObject)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierListReferenceObject

      Parameters:
      supplierListReferenceObject - Reference Object for Supplier List for Sourcing
    • setSuplrListReferenceObjectType

      public void setSuplrListReferenceObjectType(@Nullable String suplrListReferenceObjectType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SuplrListReferenceObjectType

      Parameters:
      suplrListReferenceObjectType - Reference Object Type for Sourcing Supplier List
    • setSourceSupplierListUUID

      public void setSourceSupplierListUUID(@Nullable UUID sourceSupplierListUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SourceSupplierListUUID

      Parameters:
      sourceSupplierListUUID - Source Supplier List UUID
    • setSrcgSuplrListChgIsInWorkflow

      public void setSrcgSuplrListChgIsInWorkflow(@Nullable Boolean srcgSuplrListChgIsInWorkflow)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgSuplrListChgIsInWorkflow

      Parameters:
      srcgSuplrListChgIsInWorkflow - Sourcing Supplier List is Changed in Workflow
    • setSrcgSuplrListApprvlDueDateTime

      public void setSrcgSuplrListApprvlDueDateTime(@Nullable OffsetDateTime srcgSuplrListApprvlDueDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: SrcgSuplrListApprvlDueDateTime

      Parameters:
      srcgSuplrListApprvlDueDateTime - Approval Due Date and Time
    • setSourcingSupplierListVersion

      public void setSourcingSupplierListVersion(@Nullable Short sourcingSupplierListVersion)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingSupplierListVersion

      Parameters:
      sourcingSupplierListVersion - Version of Supplier List for Sourcing
    • setSrcgSuplrListVersionIsLatest

      public void setSrcgSuplrListVersionIsLatest(@Nullable String srcgSuplrListVersionIsLatest)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrcgSuplrListVersionIsLatest

      Parameters:
      srcgSuplrListVersionIsLatest - Supplier List for Sourcing Version is Latest
    • setIsDeleted

      public void setIsDeleted(@Nullable String isDeleted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - Deletion Indicator in Purchasing Document
    • setIsEndOfPurposeBlocked

      public void setIsEndOfPurposeBlocked(@Nullable String isEndOfPurposeBlocked)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsEndOfPurposeBlocked

      Parameters:
      isEndOfPurposeBlocked - Business Purpose Completed
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By User
    • setCreationDateTime

      public void setCreationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Supplier List Creation Date
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Last Changed By User
    • setLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Change Time Stamp
    • setSupplierListUUID

      public void setSupplierListUUID(@Nullable UUID supplierListUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SupplierListUUID

      Parameters:
      supplierListUUID - Supplier List UUID
    • setSupplierListName

      public void setSupplierListName(@Nullable String supplierListName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SupplierListName

      Parameters:
      supplierListName - Supplier List Name
    • 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<SourcingSupplierList>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity SourcingSupplierList 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 _SrcgSuplrListBusPartnerTP is already loaded, the result will contain the SrcgSuplrListBusinessPartner entities. If not, an Option with result state empty is returned.
    • setSrcgSuplrListBusPartnerTP

      public void setSrcgSuplrListBusPartnerTP(@Nonnull List<SrcgSuplrListBusinessPartner> value)
      Overwrites the list of associated SrcgSuplrListBusinessPartner entities for the loaded navigation property _SrcgSuplrListBusPartnerTP.

      If the navigation property _SrcgSuplrListBusPartnerTP of a queried SourcingSupplierList 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 SrcgSuplrListBusinessPartner entities.
    • addSrcgSuplrListBusPartnerTP

      public void addSrcgSuplrListBusPartnerTP(SrcgSuplrListBusinessPartner... entity)
      Adds elements to the list of associated SrcgSuplrListBusinessPartner entities. This corresponds to the OData navigation property _SrcgSuplrListBusPartnerTP.

      If the navigation property _SrcgSuplrListBusPartnerTP of a queried SourcingSupplierList 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 SrcgSuplrListBusinessPartner entities.
    • getSrcgSuplrListCompanyCodeTPIfPresent

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

      If the navigation property for an entity SourcingSupplierList 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 _SrcgSuplrListCompanyCodeTP is already loaded, the result will contain the SrcgSuplrListCompanyCode entities. If not, an Option with result state empty is returned.
    • setSrcgSuplrListCompanyCodeTP

      public void setSrcgSuplrListCompanyCodeTP(@Nonnull List<SrcgSuplrListCompanyCode> value)
      Overwrites the list of associated SrcgSuplrListCompanyCode entities for the loaded navigation property _SrcgSuplrListCompanyCodeTP.

      If the navigation property _SrcgSuplrListCompanyCodeTP of a queried SourcingSupplierList 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 SrcgSuplrListCompanyCode entities.
    • addSrcgSuplrListCompanyCodeTP

      public void addSrcgSuplrListCompanyCodeTP(SrcgSuplrListCompanyCode... entity)
      Adds elements to the list of associated SrcgSuplrListCompanyCode entities. This corresponds to the OData navigation property _SrcgSuplrListCompanyCodeTP.

      If the navigation property _SrcgSuplrListCompanyCodeTP of a queried SourcingSupplierList 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 SrcgSuplrListCompanyCode entities.
    • getSrcgSuplrListMatlGroupTPIfPresent

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

      If the navigation property for an entity SourcingSupplierList 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 _SrcgSuplrListMatlGroupTP is already loaded, the result will contain the SrcgSuplrListMaterialGroup entities. If not, an Option with result state empty is returned.
    • setSrcgSuplrListMatlGroupTP

      public void setSrcgSuplrListMatlGroupTP(@Nonnull List<SrcgSuplrListMaterialGroup> value)
      Overwrites the list of associated SrcgSuplrListMaterialGroup entities for the loaded navigation property _SrcgSuplrListMatlGroupTP.

      If the navigation property _SrcgSuplrListMatlGroupTP of a queried SourcingSupplierList 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 SrcgSuplrListMaterialGroup entities.
    • addSrcgSuplrListMatlGroupTP

      public void addSrcgSuplrListMatlGroupTP(SrcgSuplrListMaterialGroup... entity)
      Adds elements to the list of associated SrcgSuplrListMaterialGroup entities. This corresponds to the OData navigation property _SrcgSuplrListMatlGroupTP.

      If the navigation property _SrcgSuplrListMatlGroupTP of a queried SourcingSupplierList 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 SrcgSuplrListMaterialGroup entities.
    • submitSourcingSupplierListForApproval

      @Nonnull public static BoundAction.SingleToSingle<SourcingSupplierList,SourcingSupplierList> submitSourcingSupplierListForApproval()
      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • revise

      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • imprtUserSpecifiedSupplierList

      @Nonnull public static BoundAction.SingleToSingle<SourcingSupplierList,SourcingSupplierList> imprtUserSpecifiedSupplierList(@Nullable UUID supplierListUUID)
      Action that can be applied to any entity object of this class.

      Parameters:
      supplierListUUID - Constraints: Nullable

      Original parameter name from the Odata EDM: SupplierListUUID

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

      @Nonnull public static SourcingSupplierList.SourcingSupplierListBuilder builder()
    • getSourcingSupplierListUUID

      @Nullable public UUID getSourcingSupplierListUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SourcingSupplierListUUID

      Returns:
      UUID of Sourcing Supplier List
    • getSourcingSupplierList

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

      Original property name from the Odata EDM: SourcingSupplierList

      Returns:
      Supplier List
    • getSourcingSupplierListName

      @Nullable public String getSourcingSupplierListName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SourcingSupplierListName

      Returns:
      Name of Sourcing Supplier List
    • getSrcgSuplrListLifecycleStatus

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

      Original property name from the Odata EDM: SrcgSuplrListLifecycleStatus

      Returns:
      Lifecycle Status of Supplier List
    • getSuplrListReferenceObjectUUID

      @Nullable public UUID getSuplrListReferenceObjectUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SuplrListReferenceObjectUUID

      Returns:
      Reference Object UUID of Instance Based Supplier List
    • getSupplierListReferenceObject

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

      Original property name from the Odata EDM: SupplierListReferenceObject

      Returns:
      Reference Object for Supplier List for Sourcing
    • getSuplrListReferenceObjectType

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

      Original property name from the Odata EDM: SuplrListReferenceObjectType

      Returns:
      Reference Object Type for Sourcing Supplier List
    • getSourceSupplierListUUID

      @Nullable public UUID getSourceSupplierListUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SourceSupplierListUUID

      Returns:
      Source Supplier List UUID
    • getSrcgSuplrListChgIsInWorkflow

      @Nullable public Boolean getSrcgSuplrListChgIsInWorkflow()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgSuplrListChgIsInWorkflow

      Returns:
      Sourcing Supplier List is Changed in Workflow
    • getSrcgSuplrListApprvlDueDateTime

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

      Original property name from the Odata EDM: SrcgSuplrListApprvlDueDateTime

      Returns:
      Approval Due Date and Time
    • getSourcingSupplierListVersion

      @Nullable public Short getSourcingSupplierListVersion()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingSupplierListVersion

      Returns:
      Version of Supplier List for Sourcing
    • getSrcgSuplrListVersionIsLatest

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

      Original property name from the Odata EDM: SrcgSuplrListVersionIsLatest

      Returns:
      Supplier List for Sourcing Version is Latest
    • getIsDeleted

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

      Original property name from the Odata EDM: IsDeleted

      Returns:
      Deletion Indicator in Purchasing Document
    • getIsEndOfPurposeBlocked

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

      Original property name from the Odata EDM: IsEndOfPurposeBlocked

      Returns:
      Business Purpose Completed
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By User
    • getCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Supplier List Creation Date
    • getLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Last Changed By User
    • getLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Change Time Stamp
    • getSupplierListUUID

      @Nullable public UUID getSupplierListUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SupplierListUUID

      Returns:
      Supplier List UUID
    • getSupplierListName

      @Nullable public String getSupplierListName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SupplierListName

      Returns:
      Supplier List Name
    • 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<SourcingSupplierList>
    • equals

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

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

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

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