Class MaintenancePlanStrategyCycle

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

public class MaintenancePlanStrategyCycle extends VdmEntity<MaintenancePlanStrategyCycle>
Maintenance Cycles of Strategy Plan

Original entity name from the Odata EDM: MaintenancePlanStrategyCycle_Type

  • Field Details

    • ALL_FIELDS

      public static final MaintenancePlanStrategyCycleSelectable ALL_FIELDS
      Selector for all available fields of MaintenancePlanStrategyCycle.
    • MAINTENANCE_PLAN

      public static final MaintenancePlanStrategyCycleField<String> MAINTENANCE_PLAN
      Use with available fluent helpers to apply the MaintenancePlan field to query operations.
    • MAINTENANCE_PLAN_CYCLE

      public static final MaintenancePlanStrategyCycleField<String> MAINTENANCE_PLAN_CYCLE
      Use with available fluent helpers to apply the MaintenancePlanCycle field to query operations.
    • MAINTENANCE_STRATEGY

      public static final MaintenancePlanStrategyCycleField<String> MAINTENANCE_STRATEGY
      Use with available fluent helpers to apply the MaintenanceStrategy field to query operations.
    • MAINT_PLAN_CYC_RCRRC_INTERVAL_QTY

      public static final MaintenancePlanStrategyCycleField<Double> MAINT_PLAN_CYC_RCRRC_INTERVAL_QTY
      Use with available fluent helpers to apply the MaintPlanCycRcrrcIntervalQty field to query operations.
    • MAINT_PLAN_CYC_RCRRC_INTERVAL_UNIT

      public static final MaintenancePlanStrategyCycleField<String> MAINT_PLAN_CYC_RCRRC_INTERVAL_UNIT
      Use with available fluent helpers to apply the MaintPlanCycRcrrcIntervalUnit field to query operations.
    • MAINT_PLAN_CYCLE_DESC

      public static final MaintenancePlanStrategyCycleField<String> MAINT_PLAN_CYCLE_DESC
      Use with available fluent helpers to apply the MaintPlanCycleDesc field to query operations.
    • MAINT_PLAN_CYCLE_START_OFFSET_VALUE

      public static final MaintenancePlanStrategyCycleField<Double> MAINT_PLAN_CYCLE_START_OFFSET_VALUE
      Use with available fluent helpers to apply the MaintPlanCycleStartOffsetValue field to query operations.
  • Constructor Details

    • MaintenancePlanStrategyCycle

      public MaintenancePlanStrategyCycle()
    • MaintenancePlanStrategyCycle

      public MaintenancePlanStrategyCycle(@Nullable String maintenancePlan, @Nullable String maintenancePlanCycle, @Nullable String maintenanceStrategy, @Nullable Double maintPlanCycRcrrcIntervalQty, @Nullable String maintPlanCycRcrrcIntervalUnit, @Nullable String maintPlanCycleDesc, @Nullable Double maintPlanCycleStartOffsetValue)
  • Method Details

    • getType

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

      public void setMaintenancePlan(@Nullable String maintenancePlan)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: MaintenancePlan

      Parameters:
      maintenancePlan - Maintenance Plan
    • setMaintenancePlanCycle

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

      Original property name from the Odata EDM: MaintenancePlanCycle

      Parameters:
      maintenancePlanCycle - Counter in Control Tables
    • setMaintenanceStrategy

      public void setMaintenanceStrategy(@Nullable String maintenanceStrategy)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: MaintenanceStrategy

      Parameters:
      maintenanceStrategy - Maintenance Strategy
    • setMaintPlanCycRcrrcIntervalQty

      public void setMaintPlanCycRcrrcIntervalQty(@Nullable Double maintPlanCycRcrrcIntervalQty)
      Constraints: none

      Original property name from the Odata EDM: MaintPlanCycRcrrcIntervalQty

      Parameters:
      maintPlanCycRcrrcIntervalQty - Maintenance Plan Cycle Interval
    • setMaintPlanCycRcrrcIntervalUnit

      public void setMaintPlanCycRcrrcIntervalUnit(@Nullable String maintPlanCycRcrrcIntervalUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: MaintPlanCycRcrrcIntervalUnit

      Parameters:
      maintPlanCycRcrrcIntervalUnit - Unit for the performance of maintenance tasks
    • setMaintPlanCycleDesc

      public void setMaintPlanCycleDesc(@Nullable String maintPlanCycleDesc)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: MaintPlanCycleDesc

      Parameters:
      maintPlanCycleDesc - Text for maintenance package/cycle (time/performance)
    • setMaintPlanCycleStartOffsetValue

      public void setMaintPlanCycleStartOffsetValue(@Nullable Double maintPlanCycleStartOffsetValue)
      Constraints: none

      Original property name from the Odata EDM: MaintPlanCycleStartOffsetValue

      Parameters:
      maintPlanCycleStartOffsetValue - Maintenance Plan Cycle Interval
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> MaintenancePlanStrategyCycleField<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> MaintenancePlanStrategyCycleField<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<MaintenancePlanStrategyCycle>
    • setServicePathForFetch

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

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

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

    • getMaintenancePlan

      @Nullable public String getMaintenancePlan()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: MaintenancePlan

      Returns:
      Maintenance Plan
    • getMaintenancePlanCycle

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

      Original property name from the Odata EDM: MaintenancePlanCycle

      Returns:
      Counter in Control Tables
    • getMaintenanceStrategy

      @Nullable public String getMaintenanceStrategy()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: MaintenanceStrategy

      Returns:
      Maintenance Strategy
    • getMaintPlanCycRcrrcIntervalQty

      @Nullable public Double getMaintPlanCycRcrrcIntervalQty()
      Constraints: none

      Original property name from the Odata EDM: MaintPlanCycRcrrcIntervalQty

      Returns:
      Maintenance Plan Cycle Interval
    • getMaintPlanCycRcrrcIntervalUnit

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

      Original property name from the Odata EDM: MaintPlanCycRcrrcIntervalUnit

      Returns:
      Unit for the performance of maintenance tasks
    • getMaintPlanCycleDesc

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

      Original property name from the Odata EDM: MaintPlanCycleDesc

      Returns:
      Text for maintenance package/cycle (time/performance)
    • getMaintPlanCycleStartOffsetValue

      @Nullable public Double getMaintPlanCycleStartOffsetValue()
      Constraints: none

      Original property name from the Odata EDM: MaintPlanCycleStartOffsetValue

      Returns:
      Maintenance Plan Cycle Interval
    • toString

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

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

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

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