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

public class ServiceConfItmRefObject extends VdmEntity<ServiceConfItmRefObject>
Reference Obj. of Srvc Confirmation Item

Original entity name from the Odata EDM: A_ServiceConfItmRefObjectType

  • Field Details

    • ALL_FIELDS

      public static final ServiceConfItmRefObjectSelectable ALL_FIELDS
      Selector for all available fields of ServiceConfItmRefObject.
    • SERVICE_CONFIRMATION

      public static final ServiceConfItmRefObjectField<String> SERVICE_CONFIRMATION
      Use with available fluent helpers to apply the ServiceConfirmation field to query operations.
    • SERVICE_CONFIRMATION_ITEM

      public static final ServiceConfItmRefObjectField<String> SERVICE_CONFIRMATION_ITEM
      Use with available fluent helpers to apply the ServiceConfirmationItem field to query operations.
    • SERVICE_REFERENCE_EQUIPMENT

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

      public static final ServiceConfItmRefObjectField<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 ServiceConfItmRefObjectField<Boolean> SRVC_REF_OBJ_IS_MAIN_OBJECT
      Use with available fluent helpers to apply the SrvcRefObjIsMainObject field to query operations.
  • Constructor Details

    • ServiceConfItmRefObject

      public ServiceConfItmRefObject()
    • ServiceConfItmRefObject

      public ServiceConfItmRefObject(@Nullable String serviceConfirmation, @Nullable String serviceConfirmationItem, @Nullable String serviceReferenceEquipment, @Nullable String serviceRefFunctionalLocation, @Nullable Boolean srvcRefObjIsMainObject)
  • Method Details

    • getType

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

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

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

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

      @Nonnull public static <T> ServiceConfItmRefObjectField<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> ServiceConfItmRefObjectField<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<ServiceConfItmRefObject>
    • setServicePathForFetch

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

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

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

    • 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
    • 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<ServiceConfItmRefObject>
    • equals

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

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

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