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

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

Original entity name from the Odata EDM: SrcgProjQtnItemLinkage_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnItemLinkage

      public SrcgProjQtnItemLinkage()
    • SrcgProjQtnItemLinkage

      public SrcgProjQtnItemLinkage(@Nullable UUID srcgProjectQtnItemLinkageUUID, @Nullable UUID srcgProjQtnItemUUID, @Nullable UUID srcgProjQtnItmLinkedStableUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, @Nullable SrcgProjQtnItem to_SrcgProjQtnItem, @Nullable SrcgProjQtnItem to_SrcgProjQtnItemLinked)
  • Method Details

    • getType

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

      public void setSrcgProjectQtnItemLinkageUUID(@Nullable UUID srcgProjectQtnItemLinkageUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjectQtnItemLinkageUUID

      Parameters:
      srcgProjectQtnItemLinkageUUID - Supplier Quotation Item Linkage UUID
    • setSrcgProjQtnItemUUID

      public void setSrcgProjQtnItemUUID(@Nullable UUID srcgProjQtnItemUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnItemUUID

      Parameters:
      srcgProjQtnItemUUID - Supplier Quotation Item UUID
    • setSrcgProjQtnItmLinkedStableUUID

      public void setSrcgProjQtnItmLinkedStableUUID(@Nullable UUID srcgProjQtnItmLinkedStableUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnItmLinkedStableUUID

      Parameters:
      srcgProjQtnItmLinkedStableUUID - UUID of Linked Item in Supplier Quotation (SP)
    • setSourcingProjectQuotationUUID

      public void setSourcingProjectQuotationUUID(@Nullable UUID sourcingProjectQuotationUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Parameters:
      sourcingProjectQuotationUUID - Supplier Quotation UUID
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjQtnItemLinkage 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 _SourcingProjectQuotation is already loaded, the result will contain the SourcingProjectQuotation entity. If not, an Option with result state empty is returned.
    • setSourcingProjectQuotation

      public void setSourcingProjectQuotation(SourcingProjectQuotation value)
      Overwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.
      Parameters:
      value - New SourcingProjectQuotation entity.
    • getSrcgProjQtnItemIfPresent

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

      If the navigation property for an entity SrcgProjQtnItemLinkage 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 _SrcgProjQtnItem is already loaded, the result will contain the SrcgProjQtnItem entity. If not, an Option with result state empty is returned.
    • setSrcgProjQtnItem

      public void setSrcgProjQtnItem(SrcgProjQtnItem value)
      Overwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQtnItem.
      Parameters:
      value - New SrcgProjQtnItem entity.
    • getSrcgProjQtnItemLinkedIfPresent

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

      If the navigation property for an entity SrcgProjQtnItemLinkage 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 _SrcgProjQtnItemLinked is already loaded, the result will contain the SrcgProjQtnItem entity. If not, an Option with result state empty is returned.
    • setSrcgProjQtnItemLinked

      public void setSrcgProjQtnItemLinked(SrcgProjQtnItem value)
      Overwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQtnItemLinked.
      Parameters:
      value - New SrcgProjQtnItem entity.
    • builder

      @Nonnull public static SrcgProjQtnItemLinkage.SrcgProjQtnItemLinkageBuilder builder()
    • getSrcgProjectQtnItemLinkageUUID

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

      Original property name from the Odata EDM: SrcgProjectQtnItemLinkageUUID

      Returns:
      Supplier Quotation Item Linkage UUID
    • getSrcgProjQtnItemUUID

      @Nullable public UUID getSrcgProjQtnItemUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnItemUUID

      Returns:
      Supplier Quotation Item UUID
    • getSrcgProjQtnItmLinkedStableUUID

      @Nullable public UUID getSrcgProjQtnItmLinkedStableUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnItmLinkedStableUUID

      Returns:
      UUID of Linked Item in Supplier Quotation (SP)
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      Supplier Quotation UUID
    • toString

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

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

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

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

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