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

public class MaintenancePlanCallObject extends VdmEntity<MaintenancePlanCallObject>
Maintenance Plan Call Objects

Original entity name from the Odata EDM: MaintenancePlanCallObject_Type

  • Field Details

    • ALL_FIELDS

      public static final MaintenancePlanCallObjectSelectable ALL_FIELDS
      Selector for all available fields of MaintenancePlanCallObject.
    • MAINTENANCE_PLAN

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

      public static final MaintenancePlanCallObjectField<Integer> MAINTENANCE_PLAN_CALL_NUMBER
      Use with available fluent helpers to apply the MaintenancePlanCallNumber field to query operations.
    • MAINTENANCE_ITEM

      public static final MaintenancePlanCallObjectField<String> MAINTENANCE_ITEM
      Use with available fluent helpers to apply the MaintenanceItem field to query operations.
    • MAINTENANCE_ORDER

      public static final MaintenancePlanCallObjectField<String> MAINTENANCE_ORDER
      Use with available fluent helpers to apply the MaintenanceOrder field to query operations.
    • MAINTENANCE_NOTIFICATION

      public static final MaintenancePlanCallObjectField<String> MAINTENANCE_NOTIFICATION
      Use with available fluent helpers to apply the MaintenanceNotification field to query operations.
    • SERVICE_ORDER

      public static final MaintenancePlanCallObjectField<String> SERVICE_ORDER
      Use with available fluent helpers to apply the ServiceOrder field to query operations.
    • MAINT_CALL_HORIZON_IS_NOT_REACHED

      public static final MaintenancePlanCallObjectField<Boolean> MAINT_CALL_HORIZON_IS_NOT_REACHED
      Use with available fluent helpers to apply the MaintCallHorizonIsNotReached field to query operations.
    • SCHEDULING_STATUS

      public static final MaintenancePlanCallObjectField<String> SCHEDULING_STATUS
      Use with available fluent helpers to apply the SchedulingStatus field to query operations.
    • PLANNED_START_DATE

      public static final MaintenancePlanCallObjectField<LocalDateTime> PLANNED_START_DATE
      Use with available fluent helpers to apply the PlannedStartDate field to query operations.
    • RELEASED_BY_USER_NAME

      public static final MaintenancePlanCallObjectField<String> RELEASED_BY_USER_NAME
      Use with available fluent helpers to apply the ReleasedByUserName field to query operations.
  • Constructor Details

    • MaintenancePlanCallObject

      public MaintenancePlanCallObject()
    • MaintenancePlanCallObject

      public MaintenancePlanCallObject(@Nullable String maintenancePlan, @Nullable Integer maintenancePlanCallNumber, @Nullable String maintenanceItem, @Nullable String maintenanceOrder, @Nullable String maintenanceNotification, @Nullable String serviceOrder, @Nullable Boolean maintCallHorizonIsNotReached, @Nullable String schedulingStatus, @Nullable LocalDateTime plannedStartDate, @Nullable String releasedByUserName)
  • Method Details

    • getType

      @Nonnull public Class<MaintenancePlanCallObject> getType()
      Specified by:
      getType in class VdmObject<MaintenancePlanCallObject>
    • 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
    • setMaintenancePlanCallNumber

      public void setMaintenancePlanCallNumber(@Nullable Integer maintenancePlanCallNumber)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: MaintenancePlanCallNumber

      Parameters:
      maintenancePlanCallNumber - Maintenance Plan Call Number
    • setMaintenanceItem

      public void setMaintenanceItem(@Nullable String maintenanceItem)
      (Key Field) Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: MaintenanceItem

      Parameters:
      maintenanceItem - Maintenance Item
    • setMaintenanceOrder

      public void setMaintenanceOrder(@Nullable String maintenanceOrder)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: MaintenanceOrder

      Parameters:
      maintenanceOrder - Order Number
    • setMaintenanceNotification

      public void setMaintenanceNotification(@Nullable String maintenanceNotification)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: MaintenanceNotification

      Parameters:
      maintenanceNotification - Notification Number
    • setServiceOrder

      public void setServiceOrder(@Nullable String serviceOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceOrder

      Parameters:
      serviceOrder - Transaction ID
    • setMaintCallHorizonIsNotReached

      public void setMaintCallHorizonIsNotReached(@Nullable Boolean maintCallHorizonIsNotReached)
      Constraints: none

      Original property name from the Odata EDM: MaintCallHorizonIsNotReached

      Parameters:
      maintCallHorizonIsNotReached - Scheduling status: call horizon not reached
    • setSchedulingStatus

      public void setSchedulingStatus(@Nullable String schedulingStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SchedulingStatus

      Parameters:
      schedulingStatus - Single-Character Flag
    • setPlannedStartDate

      public void setPlannedStartDate(@Nullable LocalDateTime plannedStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PlannedStartDate

      Parameters:
      plannedStartDate - Basic start date
    • setReleasedByUserName

      public void setReleasedByUserName(@Nullable String releasedByUserName)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ReleasedByUserName

      Parameters:
      releasedByUserName - Scheduling determined by user
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> MaintenancePlanCallObjectField<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> MaintenancePlanCallObjectField<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<MaintenancePlanCallObject>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<MaintenancePlanCallObject>
    • 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
    • getMaintenancePlanCallNumber

      @Nullable public Integer getMaintenancePlanCallNumber()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: MaintenancePlanCallNumber

      Returns:
      Maintenance Plan Call Number
    • getMaintenanceItem

      @Nullable public String getMaintenanceItem()
      (Key Field) Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: MaintenanceItem

      Returns:
      Maintenance Item
    • getMaintenanceOrder

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

      Original property name from the Odata EDM: MaintenanceOrder

      Returns:
      Order Number
    • getMaintenanceNotification

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

      Original property name from the Odata EDM: MaintenanceNotification

      Returns:
      Notification Number
    • getServiceOrder

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

      Original property name from the Odata EDM: ServiceOrder

      Returns:
      Transaction ID
    • getMaintCallHorizonIsNotReached

      @Nullable public Boolean getMaintCallHorizonIsNotReached()
      Constraints: none

      Original property name from the Odata EDM: MaintCallHorizonIsNotReached

      Returns:
      Scheduling status: call horizon not reached
    • getSchedulingStatus

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

      Original property name from the Odata EDM: SchedulingStatus

      Returns:
      Single-Character Flag
    • getPlannedStartDate

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

      Original property name from the Odata EDM: PlannedStartDate

      Returns:
      Basic start date
    • getReleasedByUserName

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

      Original property name from the Odata EDM: ReleasedByUserName

      Returns:
      Scheduling determined by user
    • toString

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

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

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

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