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

public class MaintainYearsPeriod extends VdmEntity<MaintainYearsPeriod>

Original entity name from the Odata EDM: MaintainYearsPeriod

  • Field Details

    • ALL_FIELDS

      public static final MaintainYearsPeriodSelectable ALL_FIELDS
      Selector for all available fields of MaintainYearsPeriod.
    • MATERIAL

      public static final MaintainYearsPeriodField<String> MATERIAL
      Use with available fluent helpers to apply the Material field to query operations.
    • PLANT

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

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

      public static final MaintainYearsPeriodField<String> REQUIREMENTS_TYPE
      Use with available fluent helpers to apply the RequirementsType field to query operations.
    • FORECAST_DEMAND_VERSION

      public static final MaintainYearsPeriodField<String> FORECAST_DEMAND_VERSION
      Use with available fluent helpers to apply the ForecastDemandVersion field to query operations.
    • FORECAST_PERIOD_START_DATE

      public static final MaintainYearsPeriodField<LocalDateTime> FORECAST_PERIOD_START_DATE
      Use with available fluent helpers to apply the ForecastPeriodStartDate field to query operations.
    • FORECAST_PERIOD_TYPE

      public static final MaintainYearsPeriodField<String> FORECAST_PERIOD_TYPE
      Use with available fluent helpers to apply the ForecastPeriodType field to query operations.
    • PRODUCT_BASE_UNIT

      public static final MaintainYearsPeriodField<String> PRODUCT_BASE_UNIT
      Use with available fluent helpers to apply the ProductBaseUnit field to query operations.
    • FORECAST_QUANTITY

      public static final MaintainYearsPeriodField<BigDecimal> FORECAST_QUANTITY
      Use with available fluent helpers to apply the ForecastQuantity field to query operations.
  • Constructor Details

    • MaintainYearsPeriod

      public MaintainYearsPeriod()
    • MaintainYearsPeriod

      public MaintainYearsPeriod(@Nullable String material, @Nullable String plant, @Nullable String mRPArea, @Nullable String requirementsType, @Nullable String forecastDemandVersion, @Nullable LocalDateTime forecastPeriodStartDate, @Nullable String forecastPeriodType, @Nullable String productBaseUnit, @Nullable BigDecimal forecastQuantity)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material
    • 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
    • setRequirementsType

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

      Original property name from the Odata EDM: RequirementsType

      Parameters:
      requirementsType - Requirements Type
    • setForecastDemandVersion

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

      Original property name from the Odata EDM: ForecastDemandVersion

      Parameters:
      forecastDemandVersion - Forecast Demand Version
    • setForecastPeriodStartDate

      public void setForecastPeriodStartDate(@Nullable LocalDateTime forecastPeriodStartDate)
      (Key Field) Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: ForecastPeriodStartDate

      Parameters:
      forecastPeriodStartDate - Forecast Period Start Date
    • setForecastPeriodType

      public void setForecastPeriodType(@Nullable String forecastPeriodType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ForecastPeriodType

      Parameters:
      forecastPeriodType - Forecast Period Type
    • setProductBaseUnit

      public void setProductBaseUnit(@Nullable String productBaseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProductBaseUnit

      Parameters:
      productBaseUnit - Product Base Unit
    • setForecastQuantity

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

      Original property name from the Odata EDM: ForecastQuantity

      Parameters:
      forecastQuantity - Forecast Quantity
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> MaintainYearsPeriodField<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> MaintainYearsPeriodField<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<MaintainYearsPeriod>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<MaintainYearsPeriod>
    • builder

      @Nonnull public static MaintainYearsPeriod.MaintainYearsPeriodBuilder builder()
    • getMaterial

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

      Original property name from the Odata EDM: Material

      Returns:
      Material
    • 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
    • getRequirementsType

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

      Original property name from the Odata EDM: RequirementsType

      Returns:
      Requirements Type
    • getForecastDemandVersion

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

      Original property name from the Odata EDM: ForecastDemandVersion

      Returns:
      Forecast Demand Version
    • getForecastPeriodStartDate

      @Nullable public LocalDateTime getForecastPeriodStartDate()
      (Key Field) Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: ForecastPeriodStartDate

      Returns:
      Forecast Period Start Date
    • getForecastPeriodType

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

      Original property name from the Odata EDM: ForecastPeriodType

      Returns:
      Forecast Period Type
    • getProductBaseUnit

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

      Original property name from the Odata EDM: ProductBaseUnit

      Returns:
      Product Base Unit
    • getForecastQuantity

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

      Original property name from the Odata EDM: ForecastQuantity

      Returns:
      Forecast Quantity
    • toString

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

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

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

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