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

public class SrvcOrdTmplItemAppointment extends VdmEntity<SrvcOrdTmplItemAppointment>
Service Order Template Item Appointment

Original entity name from the Odata EDM: A_SrvcOrdTmplItemAppointmentType

  • Field Details

    • ALL_FIELDS

      public static final SrvcOrdTmplItemAppointmentSelectable ALL_FIELDS
      Selector for all available fields of SrvcOrdTmplItemAppointment.
    • SERVICE_ORDER_TEMPLATE

      public static final SrvcOrdTmplItemAppointmentField<String> SERVICE_ORDER_TEMPLATE
      Use with available fluent helpers to apply the ServiceOrderTemplate field to query operations.
    • SERVICE_ORDER_TEMPLATE_ITEM

      public static final SrvcOrdTmplItemAppointmentField<String> SERVICE_ORDER_TEMPLATE_ITEM
      Use with available fluent helpers to apply the ServiceOrderTemplateItem field to query operations.
    • SRVC_DOC_APPOINTMENT_TYPE

      public static final SrvcOrdTmplItemAppointmentField<String> SRVC_DOC_APPOINTMENT_TYPE
      Use with available fluent helpers to apply the SrvcDocAppointmentType field to query operations.
    • SRVC_DOC_APPT_START_DATE_TIME

      public static final SrvcOrdTmplItemAppointmentField<ZonedDateTime> SRVC_DOC_APPT_START_DATE_TIME
      Use with available fluent helpers to apply the SrvcDocApptStartDateTime field to query operations.
    • SRVC_DOC_APPT_END_DATE_TIME

      public static final SrvcOrdTmplItemAppointmentField<ZonedDateTime> SRVC_DOC_APPT_END_DATE_TIME
      Use with available fluent helpers to apply the SrvcDocApptEndDateTime field to query operations.
  • Constructor Details

    • SrvcOrdTmplItemAppointment

      public SrvcOrdTmplItemAppointment()
    • SrvcOrdTmplItemAppointment

      public SrvcOrdTmplItemAppointment(@Nullable String serviceOrderTemplate, @Nullable String serviceOrderTemplateItem, @Nullable String srvcDocAppointmentType, @Nullable ZonedDateTime srvcDocApptStartDateTime, @Nullable ZonedDateTime srvcDocApptEndDateTime)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ServiceOrderTemplate

      Parameters:
      serviceOrderTemplate - Transaction ID
    • setServiceOrderTemplateItem

      public void setServiceOrderTemplateItem(@Nullable String serviceOrderTemplateItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ServiceOrderTemplateItem

      Parameters:
      serviceOrderTemplateItem - Shortened Item Number in Document
    • setSrvcDocAppointmentType

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

      Original property name from the Odata EDM: SrvcDocAppointmentType

      Parameters:
      srvcDocAppointmentType - Technical Date Type Name
    • setSrvcDocApptStartDateTime

      public void setSrvcDocApptStartDateTime(@Nullable ZonedDateTime srvcDocApptStartDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SrvcDocApptStartDateTime

      Parameters:
      srvcDocApptStartDateTime - Time Stamp (UTC) of Start Time of Appointment
    • setSrvcDocApptEndDateTime

      public void setSrvcDocApptEndDateTime(@Nullable ZonedDateTime srvcDocApptEndDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SrvcDocApptEndDateTime

      Parameters:
      srvcDocApptEndDateTime - Time stamp of end of appointment
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SrvcOrdTmplItemAppointmentField<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> SrvcOrdTmplItemAppointmentField<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<SrvcOrdTmplItemAppointment>
    • setServicePathForFetch

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

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

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

    • getServiceOrderTemplate

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

      Original property name from the Odata EDM: ServiceOrderTemplate

      Returns:
      Transaction ID
    • getServiceOrderTemplateItem

      @Nullable public String getServiceOrderTemplateItem()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ServiceOrderTemplateItem

      Returns:
      Shortened Item Number in Document
    • getSrvcDocAppointmentType

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

      Original property name from the Odata EDM: SrvcDocAppointmentType

      Returns:
      Technical Date Type Name
    • getSrvcDocApptStartDateTime

      @Nullable public ZonedDateTime getSrvcDocApptStartDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SrvcDocApptStartDateTime

      Returns:
      Time Stamp (UTC) of Start Time of Appointment
    • getSrvcDocApptEndDateTime

      @Nullable public ZonedDateTime getSrvcDocApptEndDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SrvcDocApptEndDateTime

      Returns:
      Time stamp of end of appointment
    • toString

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

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

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

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