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

public class ServiceOrderRefObject extends VdmEntity<ServiceOrderRefObject>
Reference Objects of Service Order

Original entity name from the Odata EDM: A_ServiceOrderRefObjectType

  • Field Details

    • ALL_FIELDS

      public static final ServiceOrderRefObjectSelectable ALL_FIELDS
      Selector for all available fields of ServiceOrderRefObject.
    • SERVICE_ORDER

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

      public static final ServiceOrderRefObjectField<String> SERVICE_REFERENCE_EQUIPMENT
      Use with available fluent helpers to apply the ServiceReferenceEquipment field to query operations.
    • SERVICE_REF_FUNCTIONAL_LOCATION

      public static final ServiceOrderRefObjectField<String> SERVICE_REF_FUNCTIONAL_LOCATION
      Use with available fluent helpers to apply the ServiceRefFunctionalLocation field to query operations.
    • SRVC_REF_OBJ_IS_MAIN_OBJECT

      public static final ServiceOrderRefObjectField<Boolean> SRVC_REF_OBJ_IS_MAIN_OBJECT
      Use with available fluent helpers to apply the SrvcRefObjIsMainObject field to query operations.
  • Constructor Details

    • ServiceOrderRefObject

      public ServiceOrderRefObject()
    • ServiceOrderRefObject

      public ServiceOrderRefObject(@Nullable String serviceOrder, @Nullable String serviceReferenceEquipment, @Nullable String serviceRefFunctionalLocation, @Nullable Boolean srvcRefObjIsMainObject)
  • Method Details

    • getType

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

      public void setServiceReferenceEquipment(@Nullable String serviceReferenceEquipment)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ServiceReferenceEquipment

      Parameters:
      serviceReferenceEquipment - Equipment Number
    • setServiceRefFunctionalLocation

      public void setServiceRefFunctionalLocation(@Nullable String serviceRefFunctionalLocation)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceRefFunctionalLocation

      Parameters:
      serviceRefFunctionalLocation - Functional Location
    • setSrvcRefObjIsMainObject

      public void setSrvcRefObjIsMainObject(@Nullable Boolean srvcRefObjIsMainObject)
      Constraints: none

      Original property name from the Odata EDM: SrvcRefObjIsMainObject

      Parameters:
      srvcRefObjIsMainObject - Main Reference Object
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ServiceOrderRefObjectField<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> ServiceOrderRefObjectField<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<ServiceOrderRefObject>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ServiceOrderRefObject.ServiceOrderRefObjectBuilder 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
    • getServiceReferenceEquipment

      @Nullable public String getServiceReferenceEquipment()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ServiceReferenceEquipment

      Returns:
      Equipment Number
    • getServiceRefFunctionalLocation

      @Nullable public String getServiceRefFunctionalLocation()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceRefFunctionalLocation

      Returns:
      Functional Location
    • getSrvcRefObjIsMainObject

      @Nullable public Boolean getSrvcRefObjIsMainObject()
      Constraints: none

      Original property name from the Odata EDM: SrvcRefObjIsMainObject

      Returns:
      Main Reference Object
    • toString

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

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

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

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