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

public class SourcingProjectItemLinkage extends VdmEntity<SourcingProjectItemLinkage> implements VdmEntitySet
Item Linking

Original entity name from the Odata EDM: SourcingProjectItemLinkage_Type

  • Field Details

  • Constructor Details

    • SourcingProjectItemLinkage

      public SourcingProjectItemLinkage()
    • SourcingProjectItemLinkage

      public SourcingProjectItemLinkage(@Nullable UUID srcgProjectItemLinkageUUID, @Nullable UUID sourcingProjectItemUUID, @Nullable UUID srcgProjItemLinkedStableUUID, @Nullable UUID sourcingProjectUUID, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable UUID srcgProjItemLinkedItemUUID, @Nullable String sourcingProjectItem, @Nullable String formattedItemID, @Nullable String srcgProjItemDescription, @Nullable String material, @Nullable String materialGroup, @Nullable SourcingProject to_SourcingProject, @Nullable SourcingProjectItem to_SourcingProjectItem, @Nullable SourcingProjectItem to_SourcingProjectItemLinked)
  • Method Details

    • getType

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

      public void setSrcgProjectItemLinkageUUID(@Nullable UUID srcgProjectItemLinkageUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjectItemLinkageUUID

      Parameters:
      srcgProjectItemLinkageUUID - UUID of Item Linking in Soucing Project
    • setSourcingProjectItemUUID

      public void setSourcingProjectItemUUID(@Nullable UUID sourcingProjectItemUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectItemUUID

      Parameters:
      sourcingProjectItemUUID - Sourcing Project Item UUID
    • setSrcgProjItemLinkedStableUUID

      public void setSrcgProjItemLinkedStableUUID(@Nullable UUID srcgProjItemLinkedStableUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjItemLinkedStableUUID

      Parameters:
      srcgProjItemLinkedStableUUID - Stable UUID of a Linked Item in a Sourcing Project
    • setSourcingProjectUUID

      public void setSourcingProjectUUID(@Nullable UUID sourcingProjectUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSourcingOrigin

      public void setSourcingOrigin(@Nullable String sourcingOrigin)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingOrigin

      Parameters:
      sourcingOrigin - Sourcing Origin
    • setSourcingScenario

      public void setSourcingScenario(@Nullable String sourcingScenario)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingScenario

      Parameters:
      sourcingScenario - Sourcing Integration Scenario
    • setSrcgProjItemLinkedItemUUID

      public void setSrcgProjItemLinkedItemUUID(@Nullable UUID srcgProjItemLinkedItemUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjItemLinkedItemUUID

      Parameters:
      srcgProjItemLinkedItemUUID - Sourcing Project Item UUID
    • setSourcingProjectItem

      public void setSourcingProjectItem(@Nullable String sourcingProjectItem)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SourcingProjectItem

      Parameters:
      sourcingProjectItem - Sourcing Project Item
    • setFormattedItemID

      public void setFormattedItemID(@Nullable String formattedItemID)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: FormattedItemID

      Parameters:
      formattedItemID - Formatted Item ID
    • setSrcgProjItemDescription

      public void setSrcgProjItemDescription(@Nullable String srcgProjItemDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SrcgProjItemDescription

      Parameters:
      srcgProjItemDescription - Sourcing Project Item Description
    • setMaterial

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

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material Number
    • setMaterialGroup

      public void setMaterialGroup(@Nullable String materialGroup)
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: MaterialGroup

      Parameters:
      materialGroup - Material Group
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SourcingProjectItemLinkage 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 _SourcingProject is already loaded, the result will contain the SourcingProject entity. If not, an Option with result state empty is returned.
    • setSourcingProject

      public void setSourcingProject(SourcingProject value)
      Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.
      Parameters:
      value - New SourcingProject entity.
    • getSourcingProjectItemIfPresent

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

      If the navigation property for an entity SourcingProjectItemLinkage 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 _SourcingProjectItem is already loaded, the result will contain the SourcingProjectItem entity. If not, an Option with result state empty is returned.
    • setSourcingProjectItem

      public void setSourcingProjectItem(SourcingProjectItem value)
      Overwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.
      Parameters:
      value - New SourcingProjectItem entity.
    • getSourcingProjectItemLinkedIfPresent

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

      If the navigation property for an entity SourcingProjectItemLinkage 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 _SourcingProjectItemLinked is already loaded, the result will contain the SourcingProjectItem entity. If not, an Option with result state empty is returned.
    • setSourcingProjectItemLinked

      public void setSourcingProjectItemLinked(SourcingProjectItem value)
      Overwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItemLinked.
      Parameters:
      value - New SourcingProjectItem entity.
    • builder

    • getSrcgProjectItemLinkageUUID

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

      Original property name from the Odata EDM: SrcgProjectItemLinkageUUID

      Returns:
      UUID of Item Linking in Soucing Project
    • getSourcingProjectItemUUID

      @Nullable public UUID getSourcingProjectItemUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectItemUUID

      Returns:
      Sourcing Project Item UUID
    • getSrcgProjItemLinkedStableUUID

      @Nullable public UUID getSrcgProjItemLinkedStableUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjItemLinkedStableUUID

      Returns:
      Stable UUID of a Linked Item in a Sourcing Project
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSourcingOrigin

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

      Original property name from the Odata EDM: SourcingOrigin

      Returns:
      Sourcing Origin
    • getSourcingScenario

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

      Original property name from the Odata EDM: SourcingScenario

      Returns:
      Sourcing Integration Scenario
    • getSrcgProjItemLinkedItemUUID

      @Nullable public UUID getSrcgProjItemLinkedItemUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjItemLinkedItemUUID

      Returns:
      Sourcing Project Item UUID
    • getSourcingProjectItem

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

      Original property name from the Odata EDM: SourcingProjectItem

      Returns:
      Sourcing Project Item
    • getFormattedItemID

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

      Original property name from the Odata EDM: FormattedItemID

      Returns:
      Formatted Item ID
    • getSrcgProjItemDescription

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

      Original property name from the Odata EDM: SrcgProjItemDescription

      Returns:
      Sourcing Project Item Description
    • getMaterial

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

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getMaterialGroup

      @Nullable public String getMaterialGroup()
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: MaterialGroup

      Returns:
      Material Group
    • toString

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

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

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

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

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