java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<PlannedIndepRqmtItem>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.extendedplannedindependentrequirement.PlannedIndepRqmtItem

public class PlannedIndepRqmtItem extends VdmEntity<PlannedIndepRqmtItem>
Planned Independent Requirement Item

Original entity name from the Odata EDM: PlannedIndepRqmtItemType

  • Field Details

    • ALL_FIELDS

      public static final PlannedIndepRqmtItemSelectable ALL_FIELDS
      Selector for all available fields of PlannedIndepRqmtItem.
    • UPDATE_MC

      public static final PlannedIndepRqmtItemField<Boolean> UPDATE_MC
      Use with available fluent helpers to apply the Update_mc field to query operations.
    • PRODUCT

      public static final PlannedIndepRqmtItemField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • PLANT

      public static final PlannedIndepRqmtItemField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • MRP_AREA

      public static final PlannedIndepRqmtItemField<String> MRP_AREA
      Use with available fluent helpers to apply the MRPArea field to query operations.
    • PLND_INDEP_RQMT_TYPE

      public static final PlannedIndepRqmtItemField<String> PLND_INDEP_RQMT_TYPE
      Use with available fluent helpers to apply the PlndIndepRqmtType field to query operations.
    • PLND_INDEP_RQMT_VERSION

      public static final PlannedIndepRqmtItemField<String> PLND_INDEP_RQMT_VERSION
      Use with available fluent helpers to apply the PlndIndepRqmtVersion field to query operations.
    • REQUIREMENT_PLAN

      public static final PlannedIndepRqmtItemField<String> REQUIREMENT_PLAN
      Use with available fluent helpers to apply the RequirementPlan field to query operations.
    • REQUIREMENT_SEGMENT

      public static final PlannedIndepRqmtItemField<String> REQUIREMENT_SEGMENT
      Use with available fluent helpers to apply the RequirementSegment field to query operations.
    • PLND_INDEP_RQMT_PERIOD

      public static final PlannedIndepRqmtItemField<String> PLND_INDEP_RQMT_PERIOD
      Use with available fluent helpers to apply the PlndIndepRqmtPeriod field to query operations.
    • PERIOD_TYPE

      public static final PlannedIndepRqmtItemField<String> PERIOD_TYPE
      Use with available fluent helpers to apply the PeriodType field to query operations.
    • PLND_INDEP_RQMT_PERIOD_START_DATE

      public static final PlannedIndepRqmtItemField<LocalDateTime> PLND_INDEP_RQMT_PERIOD_START_DATE
      Use with available fluent helpers to apply the PlndIndepRqmtPeriodStartDate field to query operations.
    • PLND_INDEP_RQMT_INTERNAL_ID

      public static final PlannedIndepRqmtItemField<String> PLND_INDEP_RQMT_INTERNAL_ID
      Use with available fluent helpers to apply the PlndIndepRqmtInternalID field to query operations.
    • WORKING_DAY_DATE

      public static final PlannedIndepRqmtItemField<LocalDateTime> WORKING_DAY_DATE
      Use with available fluent helpers to apply the WorkingDayDate field to query operations.
    • PLANNED_QUANTITY

      public static final PlannedIndepRqmtItemField<BigDecimal> PLANNED_QUANTITY
      Use with available fluent helpers to apply the PlannedQuantity field to query operations.
    • WITHDRAWAL_QUANTITY

      public static final PlannedIndepRqmtItemField<BigDecimal> WITHDRAWAL_QUANTITY
      Use with available fluent helpers to apply the WithdrawalQuantity field to query operations.
    • UNIT_OF_MEASURE

      public static final PlannedIndepRqmtItemField<String> UNIT_OF_MEASURE
      Use with available fluent helpers to apply the UnitOfMeasure field to query operations.
    • LAST_CHANGED_BY_USER

      public static final PlannedIndepRqmtItemField<String> LAST_CHANGED_BY_USER
      Use with available fluent helpers to apply the LastChangedByUser field to query operations.
    • LAST_CHANGE_DATE

      public static final PlannedIndepRqmtItemField<LocalDateTime> LAST_CHANGE_DATE
      Use with available fluent helpers to apply the LastChangeDate field to query operations.
    • PLND_INDEP_RQMT_LAST_CHGD_DATE_TIME

      public static final PlannedIndepRqmtItemField<ZonedDateTime> PLND_INDEP_RQMT_LAST_CHGD_DATE_TIME
      Use with available fluent helpers to apply the PlndIndepRqmtLastChgdDateTime field to query operations.
    • TO_PLND_INDEP_RQMT

      public static final PlannedIndepRqmtItemOneToOneLink<PlannedIndepRqmt> TO_PLND_INDEP_RQMT
      Use with available fluent helpers to apply the to_PlndIndepRqmt navigation property to query operations.
  • Constructor Details

    • PlannedIndepRqmtItem

      public PlannedIndepRqmtItem()
    • PlannedIndepRqmtItem

      public PlannedIndepRqmtItem(@Nullable Boolean update_mc, @Nullable String product, @Nullable String plant, @Nullable String mRPArea, @Nullable String plndIndepRqmtType, @Nullable String plndIndepRqmtVersion, @Nullable String requirementPlan, @Nullable String requirementSegment, @Nullable String plndIndepRqmtPeriod, @Nullable String periodType, @Nullable LocalDateTime plndIndepRqmtPeriodStartDate, @Nullable String plndIndepRqmtInternalID, @Nullable LocalDateTime workingDayDate, @Nullable BigDecimal plannedQuantity, @Nullable BigDecimal withdrawalQuantity, @Nullable String unitOfMeasure, @Nullable String lastChangedByUser, @Nullable LocalDateTime lastChangeDate, @Nullable ZonedDateTime plndIndepRqmtLastChgdDateTime, @Nullable PlannedIndepRqmt toPlndIndepRqmt)
  • Method Details

    • getType

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

      public void setUpdate_mc(@Nullable Boolean update_mc)
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Parameters:
      update_mc - Dyn. Method Control
    • setProduct

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Parameters:
      product - Material Number
    • setPlant

      public void setPlant(@Nullable String plant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setMRPArea

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

      Original property name from the Odata EDM: MRPArea

      Parameters:
      mRPArea - MRP Area
    • setPlndIndepRqmtType

      public void setPlndIndepRqmtType(@Nullable String plndIndepRqmtType)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PlndIndepRqmtType

      Parameters:
      plndIndepRqmtType - Requirements type
    • setPlndIndepRqmtVersion

      public void setPlndIndepRqmtVersion(@Nullable String plndIndepRqmtVersion)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PlndIndepRqmtVersion

      Parameters:
      plndIndepRqmtVersion - Version Number for Independent Requirements
    • setRequirementPlan

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

      Original property name from the Odata EDM: RequirementPlan

      Parameters:
      requirementPlan - Requirements Plan
    • setRequirementSegment

      public void setRequirementSegment(@Nullable String requirementSegment)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RequirementSegment

      Parameters:
      requirementSegment - Requirement Segment
    • setPlndIndepRqmtPeriod

      public void setPlndIndepRqmtPeriod(@Nullable String plndIndepRqmtPeriod)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PlndIndepRqmtPeriod

      Parameters:
      plndIndepRqmtPeriod - Period Text
    • setPeriodType

      public void setPeriodType(@Nullable String periodType)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PeriodType

      Parameters:
      periodType - Type of a Period
    • setPlndIndepRqmtPeriodStartDate

      public void setPlndIndepRqmtPeriodStartDate(@Nullable LocalDateTime plndIndepRqmtPeriodStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PlndIndepRqmtPeriodStartDate

      Parameters:
      plndIndepRqmtPeriodStartDate - Date of a Working Day
    • setPlndIndepRqmtInternalID

      public void setPlndIndepRqmtInternalID(@Nullable String plndIndepRqmtInternalID)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PlndIndepRqmtInternalID

      Parameters:
      plndIndepRqmtInternalID - Independent Requirements Pointer
    • setWorkingDayDate

      public void setWorkingDayDate(@Nullable LocalDateTime workingDayDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WorkingDayDate

      Parameters:
      workingDayDate - Date of a Working Day
    • setPlannedQuantity

      public void setPlannedQuantity(@Nullable BigDecimal plannedQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: PlannedQuantity

      Parameters:
      plannedQuantity - Planned quantity
    • setWithdrawalQuantity

      public void setWithdrawalQuantity(@Nullable BigDecimal withdrawalQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: WithdrawalQuantity

      Parameters:
      withdrawalQuantity - Withdrawal Quantity
    • setUnitOfMeasure

      public void setUnitOfMeasure(@Nullable String unitOfMeasure)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitOfMeasure

      Parameters:
      unitOfMeasure - Base Unit of Measure
    • setLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Name of Person Who Changed Object
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Date of Last Change
    • setPlndIndepRqmtLastChgdDateTime

      public void setPlndIndepRqmtLastChgdDateTime(@Nullable ZonedDateTime plndIndepRqmtLastChgdDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTime

      Parameters:
      plndIndepRqmtLastChgdDateTime - UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PlannedIndepRqmtItemField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> PlannedIndepRqmtItemField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<PlannedIndepRqmtItem>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<PlannedIndepRqmtItem>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<PlannedIndepRqmtItem>
    • getDefaultServicePath

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

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

      @Nullable public PlannedIndepRqmt fetchPlndIndepRqmt()
      Fetches the PlannedIndepRqmt entity (one to one) associated with this entity. This corresponds to the OData navigation property to_PlndIndepRqmt.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated PlannedIndepRqmt entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPlndIndepRqmtOrFetch

      @Nullable public PlannedIndepRqmt getPlndIndepRqmtOrFetch()
      Retrieval of associated PlannedIndepRqmt entity (one to one). This corresponds to the OData navigation property to_PlndIndepRqmt.

      If the navigation property to_PlndIndepRqmt of a queried PlannedIndepRqmtItem 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.

      Returns:
      List of associated PlannedIndepRqmt entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPlndIndepRqmtIfPresent

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

      If the navigation property for an entity PlannedIndepRqmtItem 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 to_PlndIndepRqmt is already loaded, the result will contain the PlannedIndepRqmt entity. If not, an Option with result state empty is returned.
    • setPlndIndepRqmt

      public void setPlndIndepRqmt(PlannedIndepRqmt value)
      Overwrites the associated PlannedIndepRqmt entity for the loaded navigation property to_PlndIndepRqmt.
      Parameters:
      value - New PlannedIndepRqmt entity.
    • builder

      @Nonnull public static PlannedIndepRqmtItem.PlannedIndepRqmtItemBuilder builder()
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getPlant

      @Nullable public String getPlant()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getMRPArea

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

      Original property name from the Odata EDM: MRPArea

      Returns:
      MRP Area
    • getPlndIndepRqmtType

      @Nullable public String getPlndIndepRqmtType()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PlndIndepRqmtType

      Returns:
      Requirements type
    • getPlndIndepRqmtVersion

      @Nullable public String getPlndIndepRqmtVersion()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PlndIndepRqmtVersion

      Returns:
      Version Number for Independent Requirements
    • getRequirementPlan

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

      Original property name from the Odata EDM: RequirementPlan

      Returns:
      Requirements Plan
    • getRequirementSegment

      @Nullable public String getRequirementSegment()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RequirementSegment

      Returns:
      Requirement Segment
    • getPlndIndepRqmtPeriod

      @Nullable public String getPlndIndepRqmtPeriod()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PlndIndepRqmtPeriod

      Returns:
      Period Text
    • getPeriodType

      @Nullable public String getPeriodType()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PeriodType

      Returns:
      Type of a Period
    • getPlndIndepRqmtPeriodStartDate

      @Nullable public LocalDateTime getPlndIndepRqmtPeriodStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PlndIndepRqmtPeriodStartDate

      Returns:
      Date of a Working Day
    • getPlndIndepRqmtInternalID

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

      Original property name from the Odata EDM: PlndIndepRqmtInternalID

      Returns:
      Independent Requirements Pointer
    • getWorkingDayDate

      @Nullable public LocalDateTime getWorkingDayDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WorkingDayDate

      Returns:
      Date of a Working Day
    • getPlannedQuantity

      @Nullable public BigDecimal getPlannedQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: PlannedQuantity

      Returns:
      Planned quantity
    • getWithdrawalQuantity

      @Nullable public BigDecimal getWithdrawalQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: WithdrawalQuantity

      Returns:
      Withdrawal Quantity
    • getUnitOfMeasure

      @Nullable public String getUnitOfMeasure()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitOfMeasure

      Returns:
      Base Unit of Measure
    • getLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • getLastChangeDate

      @Nullable public LocalDateTime getLastChangeDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Date of Last Change
    • getPlndIndepRqmtLastChgdDateTime

      @Nullable public ZonedDateTime getPlndIndepRqmtLastChgdDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTime

      Returns:
      UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<PlannedIndepRqmtItem>