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

public class BusSolnOrdItmReferenceObject extends VdmEntity<BusSolnOrdItmReferenceObject>
Service Order Item Reference Object

Original entity name from the Odata EDM: A_BusSolnOrdItmReferenceObjectType

  • Field Details

    • ALL_FIELDS

      public static final BusSolnOrdItmReferenceObjectSelectable ALL_FIELDS
      Selector for all available fields of BusSolnOrdItmReferenceObject.
    • BUSINESS_SOLUTION_ORDER

      public static final BusSolnOrdItmReferenceObjectField<String> BUSINESS_SOLUTION_ORDER
      Use with available fluent helpers to apply the BusinessSolutionOrder field to query operations.
    • BUSINESS_SOLUTION_ORDER_ITEM

      public static final BusSolnOrdItmReferenceObjectField<String> BUSINESS_SOLUTION_ORDER_ITEM
      Use with available fluent helpers to apply the BusinessSolutionOrderItem field to query operations.
    • REFERENCE_PRODUCT

      public static final BusSolnOrdItmReferenceObjectField<String> REFERENCE_PRODUCT
      Use with available fluent helpers to apply the ReferenceProduct field to query operations.
    • SERVICE_REF_FUNCTIONAL_LOCATION

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

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

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

    • BusSolnOrdItmReferenceObject

      public BusSolnOrdItmReferenceObject()
    • BusSolnOrdItmReferenceObject

      public BusSolnOrdItmReferenceObject(@Nullable String businessSolutionOrder, @Nullable String businessSolutionOrderItem, @Nullable String referenceProduct, @Nullable String serviceRefFunctionalLocation, @Nullable String serviceReferenceEquipment, @Nullable Boolean srvcRefObjIsMainObject)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: BusinessSolutionOrder

      Parameters:
      businessSolutionOrder - Transaction ID
    • setBusinessSolutionOrderItem

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

      Original property name from the Odata EDM: BusinessSolutionOrderItem

      Parameters:
      businessSolutionOrderItem - Shortened Item Number in Document
    • setReferenceProduct

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

      Original property name from the Odata EDM: ReferenceProduct

      Parameters:
      referenceProduct - Material 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
    • 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
    • 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<BusSolnOrdItmReferenceObject>
    • getKey

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

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

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

      @Nonnull public static <T> BusSolnOrdItmReferenceObjectField<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> BusSolnOrdItmReferenceObjectField<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<BusSolnOrdItmReferenceObject>
    • setServicePathForFetch

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

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

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

    • getBusinessSolutionOrder

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

      Original property name from the Odata EDM: BusinessSolutionOrder

      Returns:
      Transaction ID
    • getBusinessSolutionOrderItem

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

      Original property name from the Odata EDM: BusinessSolutionOrderItem

      Returns:
      Shortened Item Number in Document
    • getReferenceProduct

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

      Original property name from the Odata EDM: ReferenceProduct

      Returns:
      Material 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
    • getServiceReferenceEquipment

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

      Original property name from the Odata EDM: ServiceReferenceEquipment

      Returns:
      Equipment Number
    • 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<BusSolnOrdItmReferenceObject>
    • equals

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

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

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