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

public class SrcgProjQtnItmCndnValidity extends VdmEntity<SrcgProjQtnItmCndnValidity> implements VdmEntitySet
Condition Validity

Original entity name from the Odata EDM: SrcgProjQtnItmCndnValidity_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnItmCndnValidity

      public SrcgProjQtnItmCndnValidity()
    • SrcgProjQtnItmCndnValidity

      public SrcgProjQtnItmCndnValidity(@Nullable String conditionRecord, @Nullable LocalDate conditionValidityEndDate, @Nullable String sourcingProjectQuotation, @Nullable String srcgProjQuotationVersion, @Nullable String sourcingProjectQuotationItem, @Nullable String conditionApplication, @Nullable String conditionType, @Nullable LocalDate conditionValidityStartDate, @Nullable Boolean conditionIsDeleted, @Nullable UUID srcgProjQtnItemUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String procmtHubPlantUniqueID, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, @Nullable SrcgProjQtnItem to_SrcgProjQtnItem, List<SrcgProjQtnItmCndnAmount> to_SrcgProjQtnItmCndnAmount)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ConditionRecord

      Parameters:
      conditionRecord - Number of Condition Record
    • setConditionValidityEndDate

      public void setConditionValidityEndDate(@Nullable LocalDate conditionValidityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ConditionValidityEndDate

      Parameters:
      conditionValidityEndDate - Validity end date of the condition record
    • setSourcingProjectQuotation

      public void setSourcingProjectQuotation(@Nullable String sourcingProjectQuotation)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SourcingProjectQuotation

      Parameters:
      sourcingProjectQuotation - Supplier Quotation
    • setSrcgProjQuotationVersion

      public void setSrcgProjQuotationVersion(@Nullable String srcgProjQuotationVersion)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SrcgProjQuotationVersion

      Parameters:
      srcgProjQuotationVersion - Sourcing Project Quotation Version
    • setSourcingProjectQuotationItem

      public void setSourcingProjectQuotationItem(@Nullable String sourcingProjectQuotationItem)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SourcingProjectQuotationItem

      Parameters:
      sourcingProjectQuotationItem - Supplier Quotation Item
    • setConditionApplication

      public void setConditionApplication(@Nullable String conditionApplication)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionApplication

      Parameters:
      conditionApplication - Application
    • setConditionType

      public void setConditionType(@Nullable String conditionType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionType

      Parameters:
      conditionType - Condition Type
    • setConditionValidityStartDate

      public void setConditionValidityStartDate(@Nullable LocalDate conditionValidityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ConditionValidityStartDate

      Parameters:
      conditionValidityStartDate - Validity start date of the condition record
    • setConditionIsDeleted

      public void setConditionIsDeleted(@Nullable Boolean conditionIsDeleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: ConditionIsDeleted

      Parameters:
      conditionIsDeleted - Deletion Indicator for Condition Record
    • setSrcgProjQtnItemUUID

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

      Original property name from the Odata EDM: SrcgProjQtnItemUUID

      Parameters:
      srcgProjQtnItemUUID - Supplier Quotation Item UUID
    • setSourcingProjectQuotationUUID

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

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Parameters:
      sourcingProjectQuotationUUID - Supplier Quotation UUID
    • setProcmtHubPlantUniqueID

      public void setProcmtHubPlantUniqueID(@Nullable String procmtHubPlantUniqueID)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcmtHubPlantUniqueID

      Parameters:
      procmtHubPlantUniqueID - Plant Unique ID
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SrcgProjQtnItmCndnValidity>
    • 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 SrcgProjQtnItmCndnValidity 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 SrcgProjQtnItmCndnValidity 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.
    • getSrcgProjQtnItmCndnAmountIfPresent

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

      If the navigation property for an entity SrcgProjQtnItmCndnValidity 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 _SrcgProjQtnItmCndnAmount is already loaded, the result will contain the SrcgProjQtnItmCndnAmount entities. If not, an Option with result state empty is returned.
    • setSrcgProjQtnItmCndnAmount

      public void setSrcgProjQtnItmCndnAmount(@Nonnull List<SrcgProjQtnItmCndnAmount> value)
      Overwrites the list of associated SrcgProjQtnItmCndnAmount entities for the loaded navigation property _SrcgProjQtnItmCndnAmount.

      If the navigation property _SrcgProjQtnItmCndnAmount of a queried SrcgProjQtnItmCndnValidity 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 SrcgProjQtnItmCndnAmount entities.
    • addSrcgProjQtnItmCndnAmount

      public void addSrcgProjQtnItmCndnAmount(SrcgProjQtnItmCndnAmount... entity)
      Adds elements to the list of associated SrcgProjQtnItmCndnAmount entities. This corresponds to the OData navigation property _SrcgProjQtnItmCndnAmount.

      If the navigation property _SrcgProjQtnItmCndnAmount of a queried SrcgProjQtnItmCndnValidity 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 SrcgProjQtnItmCndnAmount entities.
    • builder

    • getConditionRecord

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

      Original property name from the Odata EDM: ConditionRecord

      Returns:
      Number of Condition Record
    • getConditionValidityEndDate

      @Nullable public LocalDate getConditionValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ConditionValidityEndDate

      Returns:
      Validity end date of the condition record
    • getSourcingProjectQuotation

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

      Original property name from the Odata EDM: SourcingProjectQuotation

      Returns:
      Supplier Quotation
    • getSrcgProjQuotationVersion

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

      Original property name from the Odata EDM: SrcgProjQuotationVersion

      Returns:
      Sourcing Project Quotation Version
    • getSourcingProjectQuotationItem

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

      Original property name from the Odata EDM: SourcingProjectQuotationItem

      Returns:
      Supplier Quotation Item
    • getConditionApplication

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

      Original property name from the Odata EDM: ConditionApplication

      Returns:
      Application
    • getConditionType

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

      Original property name from the Odata EDM: ConditionType

      Returns:
      Condition Type
    • getConditionValidityStartDate

      @Nullable public LocalDate getConditionValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ConditionValidityStartDate

      Returns:
      Validity start date of the condition record
    • getConditionIsDeleted

      @Nullable public Boolean getConditionIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: ConditionIsDeleted

      Returns:
      Deletion Indicator for Condition Record
    • getSrcgProjQtnItemUUID

      @Nullable public UUID getSrcgProjQtnItemUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnItemUUID

      Returns:
      Supplier Quotation Item UUID
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      Supplier Quotation UUID
    • getProcmtHubPlantUniqueID

      @Nullable public String getProcmtHubPlantUniqueID()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcmtHubPlantUniqueID

      Returns:
      Plant Unique ID
    • toString

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

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

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

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

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