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

public class ServiceOrderPersonResp extends VdmEntity<ServiceOrderPersonResp>
Employee Responsible for Service Order

Original entity name from the Odata EDM: A_ServiceOrderPersonRespType

  • Field Details

    • ALL_FIELDS

      public static final ServiceOrderPersonRespSelectable ALL_FIELDS
      Selector for all available fields of ServiceOrderPersonResp.
    • SERVICE_ORDER

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

      public static final ServiceOrderPersonRespField<String> PERSON_RESPONSIBLE
      Use with available fluent helpers to apply the PersonResponsible field to query operations.
    • CUST_MGMT_PARTNER_IS_MAIN_PARTNER

      public static final ServiceOrderPersonRespField<Boolean> CUST_MGMT_PARTNER_IS_MAIN_PARTNER
      Use with available fluent helpers to apply the CustMgmtPartnerIsMainPartner field to query operations.
  • Constructor Details

    • ServiceOrderPersonResp

      public ServiceOrderPersonResp()
    • ServiceOrderPersonResp

      public ServiceOrderPersonResp(@Nullable String serviceOrder, @Nullable String personResponsible, @Nullable Boolean custMgmtPartnerIsMainPartner)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PersonResponsible

      Parameters:
      personResponsible - Business Partner Number
    • setCustMgmtPartnerIsMainPartner

      public void setCustMgmtPartnerIsMainPartner(@Nullable Boolean custMgmtPartnerIsMainPartner)
      Constraints: none

      Original property name from the Odata EDM: CustMgmtPartnerIsMainPartner

      Parameters:
      custMgmtPartnerIsMainPartner - Main Partner (For Ambiguous Partner Functions)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ServiceOrderPersonRespField<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> ServiceOrderPersonRespField<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<ServiceOrderPersonResp>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ServiceOrderPersonResp.ServiceOrderPersonRespBuilder 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
    • getPersonResponsible

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

      Original property name from the Odata EDM: PersonResponsible

      Returns:
      Business Partner Number
    • getCustMgmtPartnerIsMainPartner

      @Nullable public Boolean getCustMgmtPartnerIsMainPartner()
      Constraints: none

      Original property name from the Odata EDM: CustMgmtPartnerIsMainPartner

      Returns:
      Main Partner (For Ambiguous Partner Functions)
    • toString

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

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

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

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