Class ServiceOrderItemConfirmation

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

public class ServiceOrderItemConfirmation extends VdmEntity<ServiceOrderItemConfirmation>
Service Confirmations of Service Order

Original entity name from the Odata EDM: A_ServiceOrderItemConfirmationType

  • Field Details

  • Constructor Details

    • ServiceOrderItemConfirmation

      public ServiceOrderItemConfirmation()
    • ServiceOrderItemConfirmation

      public ServiceOrderItemConfirmation(@Nullable String serviceOrder, @Nullable String serviceOrderItem, @Nullable String serviceConfirmation, @Nullable String serviceConfirmationItem)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ServiceOrder

      Parameters:
      serviceOrder - Transaction ID
    • setServiceOrderItem

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

      Original property name from the Odata EDM: ServiceOrderItem

      Parameters:
      serviceOrderItem - Shortened Item Number in Document
    • setServiceConfirmation

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

      Original property name from the Odata EDM: ServiceConfirmation

      Parameters:
      serviceConfirmation - Transaction ID
    • setServiceConfirmationItem

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

      Original property name from the Odata EDM: ServiceConfirmationItem

      Parameters:
      serviceConfirmationItem - Shortened Item Number in Document
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ServiceOrderItemConfirmationField<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> ServiceOrderItemConfirmationField<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<ServiceOrderItemConfirmation>
    • setServicePathForFetch

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

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

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

    • getServiceOrder

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

      Original property name from the Odata EDM: ServiceOrder

      Returns:
      Transaction ID
    • getServiceOrderItem

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

      Original property name from the Odata EDM: ServiceOrderItem

      Returns:
      Shortened Item Number in Document
    • getServiceConfirmation

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

      Original property name from the Odata EDM: ServiceConfirmation

      Returns:
      Transaction ID
    • getServiceConfirmationItem

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

      Original property name from the Odata EDM: ServiceConfirmationItem

      Returns:
      Shortened Item Number in Document
    • toString

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

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

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

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