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

public class ServiceQuotationItem extends VdmEntity<ServiceQuotationItem>
Service Quotation Item

Original entity name from the Odata EDM: A_ServiceQuotationItemType

  • Field Details

    • ALL_FIELDS

      public static final ServiceQuotationItemSelectable ALL_FIELDS
      Selector for all available fields of ServiceQuotationItem.
    • SERVICE_QUOTATION

      public static final ServiceQuotationItemField<String> SERVICE_QUOTATION
      Use with available fluent helpers to apply the ServiceQuotation field to query operations.
    • SERVICE_QUOTATION_ITEM

      public static final ServiceQuotationItemField<String> SERVICE_QUOTATION_ITEM
      Use with available fluent helpers to apply the ServiceQuotationItem field to query operations.
    • SERVICE_DOC_ITEM_CATEGORY

      public static final ServiceQuotationItemField<String> SERVICE_DOC_ITEM_CATEGORY
      Use with available fluent helpers to apply the ServiceDocItemCategory field to query operations.
    • SERVICE_QUOTATION_ITEM_UUID

      public static final ServiceQuotationItemField<UUID> SERVICE_QUOTATION_ITEM_UUID
      Use with available fluent helpers to apply the ServiceQuotationItemUUID field to query operations.
    • SERVICE_QTAN_ITEM_DESCRIPTION

      public static final ServiceQuotationItemField<String> SERVICE_QTAN_ITEM_DESCRIPTION
      Use with available fluent helpers to apply the ServiceQtanItemDescription field to query operations.
    • LANGUAGE

      public static final ServiceQuotationItemField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • PRODUCT

      public static final ServiceQuotationItemField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • QUANTITY_UNIT

      public static final ServiceQuotationItemField<String> QUANTITY_UNIT
      Use with available fluent helpers to apply the QuantityUnit field to query operations.
    • QUANTITY

      public static final ServiceQuotationItemField<BigDecimal> QUANTITY
      Use with available fluent helpers to apply the Quantity field to query operations.
    • SERVICE_DURATION

      public static final ServiceQuotationItemField<BigDecimal> SERVICE_DURATION
      Use with available fluent helpers to apply the ServiceDuration field to query operations.
    • SERVICE_DURATION_UNIT

      public static final ServiceQuotationItemField<String> SERVICE_DURATION_UNIT
      Use with available fluent helpers to apply the ServiceDurationUnit field to query operations.
    • SERVICE_QTAN_ITEM_EXT_REFERENCE

      public static final ServiceQuotationItemField<String> SERVICE_QTAN_ITEM_EXT_REFERENCE
      Use with available fluent helpers to apply the ServiceQtanItemExtReference field to query operations.
    • SOLD_TO_PARTY

      public static final ServiceQuotationItemField<String> SOLD_TO_PARTY
      Use with available fluent helpers to apply the SoldToParty field to query operations.
    • SHIP_TO_PARTY

      public static final ServiceQuotationItemField<String> SHIP_TO_PARTY
      Use with available fluent helpers to apply the ShipToParty field to query operations.
    • PERSON_RESPONSIBLE

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

      public static final ServiceQuotationItemField<String> SERVICE_PERFORMER
      Use with available fluent helpers to apply the ServicePerformer field to query operations.
    • SERVICE_QUOTATION_ITEM_IS_ACCEPTED

      public static final ServiceQuotationItemField<String> SERVICE_QUOTATION_ITEM_IS_ACCEPTED
      Use with available fluent helpers to apply the ServiceQuotationItemIsAccepted field to query operations.
    • SERVICE_QUOTATION_ITEM_IS_REJECTED

      public static final ServiceQuotationItemField<String> SERVICE_QUOTATION_ITEM_IS_REJECTED
      Use with available fluent helpers to apply the ServiceQuotationItemIsRejected field to query operations.
    • SRVC_QTAN_ITM_REJECTION_REASON

      public static final ServiceQuotationItemField<String> SRVC_QTAN_ITM_REJECTION_REASON
      Use with available fluent helpers to apply the SrvcQtanItmRejectionReason field to query operations.
    • TIME_SHEET_OVERTIME_CATEGORY

      public static final ServiceQuotationItemField<String> TIME_SHEET_OVERTIME_CATEGORY
      Use with available fluent helpers to apply the TimeSheetOvertimeCategory field to query operations.
    • REFERENCE_SERVICE_CONTRACT

      public static final ServiceQuotationItemField<String> REFERENCE_SERVICE_CONTRACT
      Use with available fluent helpers to apply the ReferenceServiceContract field to query operations.
    • REFERENCE_SERVICE_CONTRACT_ITEM

      public static final ServiceQuotationItemField<String> REFERENCE_SERVICE_CONTRACT_ITEM
      Use with available fluent helpers to apply the ReferenceServiceContractItem field to query operations.
    • SERVICE_QTAN_SUCCESSOR_ORDER

      public static final ServiceQuotationItemField<String> SERVICE_QTAN_SUCCESSOR_ORDER
      Use with available fluent helpers to apply the ServiceQtanSuccessorOrder field to query operations.
    • SERVICE_QTAN_SUCCESSOR_ORDER_ITEM

      public static final ServiceQuotationItemField<String> SERVICE_QTAN_SUCCESSOR_ORDER_ITEM
      Use with available fluent helpers to apply the ServiceQtanSuccessorOrderItem field to query operations.
    • PARENT_SERVICE_QUOTATION_ITEM

      public static final ServiceQuotationItemField<String> PARENT_SERVICE_QUOTATION_ITEM
      Use with available fluent helpers to apply the ParentServiceQuotationItem field to query operations.
    • PAYMENT_TERMS

      public static final ServiceQuotationItemField<String> PAYMENT_TERMS
      Use with available fluent helpers to apply the PaymentTerms field to query operations.
    • RESPY_MGMT_SERVICE_TEAM

      public static final ServiceQuotationItemField<String> RESPY_MGMT_SERVICE_TEAM
      Use with available fluent helpers to apply the RespyMgmtServiceTeam field to query operations.
    • RESPY_MGMT_SERVICE_TEAM_NAME

      public static final ServiceQuotationItemField<String> RESPY_MGMT_SERVICE_TEAM_NAME
      Use with available fluent helpers to apply the RespyMgmtServiceTeamName field to query operations.
    • RESPY_MGMT_GLOBAL_TEAM_ID

      public static final ServiceQuotationItemField<String> RESPY_MGMT_GLOBAL_TEAM_ID
      Use with available fluent helpers to apply the RespyMgmtGlobalTeamID field to query operations.
    • TO_PRICING_ELEMENT

      public static final ServiceQuotationItemLink<ServiceQtanItemPriceElement> TO_PRICING_ELEMENT
      Use with available fluent helpers to apply the to_PricingElement navigation property to query operations.
    • TO_REFERENCE_OBJECT

      public static final ServiceQuotationItemLink<ServiceQtanItemRefObject> TO_REFERENCE_OBJECT
      Use with available fluent helpers to apply the to_ReferenceObject navigation property to query operations.
    • TO_SERVICE_QUOTATION

      public static final ServiceQuotationItemOneToOneLink<ServiceQuotation> TO_SERVICE_QUOTATION
      Use with available fluent helpers to apply the to_ServiceQuotation navigation property to query operations.
    • TO_TEXT

      public static final ServiceQuotationItemLink<ServiceQuotationItemText> TO_TEXT
      Use with available fluent helpers to apply the to_Text navigation property to query operations.
  • Constructor Details

    • ServiceQuotationItem

      public ServiceQuotationItem()
    • ServiceQuotationItem

      public ServiceQuotationItem(@Nullable String serviceQuotation, @Nullable String serviceQuotationItem, @Nullable String serviceDocItemCategory, @Nullable UUID serviceQuotationItemUUID, @Nullable String serviceQtanItemDescription, @Nullable String language, @Nullable String product, @Nullable String quantityUnit, @Nullable BigDecimal quantity, @Nullable BigDecimal serviceDuration, @Nullable String serviceDurationUnit, @Nullable String serviceQtanItemExtReference, @Nullable String soldToParty, @Nullable String shipToParty, @Nullable String personResponsible, @Nullable String servicePerformer, @Nullable String serviceQuotationItemIsAccepted, @Nullable String serviceQuotationItemIsRejected, @Nullable String srvcQtanItmRejectionReason, @Nullable String timeSheetOvertimeCategory, @Nullable String referenceServiceContract, @Nullable String referenceServiceContractItem, @Nullable String serviceQtanSuccessorOrder, @Nullable String serviceQtanSuccessorOrderItem, @Nullable String parentServiceQuotationItem, @Nullable String paymentTerms, @Nullable String respyMgmtServiceTeam, @Nullable String respyMgmtServiceTeamName, @Nullable String respyMgmtGlobalTeamID, List<ServiceQtanItemPriceElement> toPricingElement, List<ServiceQtanItemRefObject> toReferenceObject, @Nullable ServiceQuotation toServiceQuotation, List<ServiceQuotationItemText> toText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ServiceQuotation

      Parameters:
      serviceQuotation - Transaction ID
    • setServiceQuotationItem

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

      Original property name from the Odata EDM: ServiceQuotationItem

      Parameters:
      serviceQuotationItem - Shortened Item Number in Document
    • setServiceDocItemCategory

      public void setServiceDocItemCategory(@Nullable String serviceDocItemCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceDocItemCategory

      Parameters:
      serviceDocItemCategory - Item Category
    • setServiceQuotationItemUUID

      public void setServiceQuotationItemUUID(@Nullable UUID serviceQuotationItemUUID)
      Constraints: none

      Original property name from the Odata EDM: ServiceQuotationItemUUID

      Parameters:
      serviceQuotationItemUUID - GUID of a CRM Order Object
    • setServiceQtanItemDescription

      public void setServiceQtanItemDescription(@Nullable String serviceQtanItemDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceQtanItemDescription

      Parameters:
      serviceQtanItemDescription - Product Description
    • setLanguage

      public void setLanguage(@Nullable String language)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Short Text Language for an Item
    • setProduct

      public void setProduct(@Nullable String product)
      Constraints: Not nullable, Maximum length: 54

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Name Entered
    • setQuantityUnit

      public void setQuantityUnit(@Nullable String quantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: QuantityUnit

      Parameters:
      quantityUnit - Unit of Measure in Which the Product Is Sold
    • setQuantity

      public void setQuantity(@Nullable BigDecimal quantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: Quantity

      Parameters:
      quantity - CRM: Order Quantity
    • setServiceDuration

      public void setServiceDuration(@Nullable BigDecimal serviceDuration)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: ServiceDuration

      Parameters:
      serviceDuration - Duration
    • setServiceDurationUnit

      public void setServiceDurationUnit(@Nullable String serviceDurationUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ServiceDurationUnit

      Parameters:
      serviceDurationUnit - Unit for Duration of Work
    • setServiceQtanItemExtReference

      public void setServiceQtanItemExtReference(@Nullable String serviceQtanItemExtReference)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ServiceQtanItemExtReference

      Parameters:
      serviceQtanItemExtReference - External Reference Number
    • setSoldToParty

      public void setSoldToParty(@Nullable String soldToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SoldToParty

      Parameters:
      soldToParty - Sold-To Party
    • setShipToParty

      public void setShipToParty(@Nullable String shipToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ShipToParty

      Parameters:
      shipToParty - Ship-To Party
    • setPersonResponsible

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

      Original property name from the Odata EDM: PersonResponsible

      Parameters:
      personResponsible - Employee Responsible
    • setServicePerformer

      public void setServicePerformer(@Nullable String servicePerformer)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServicePerformer

      Parameters:
      servicePerformer - Business Partner Number
    • setServiceQuotationItemIsAccepted

      public void setServiceQuotationItemIsAccepted(@Nullable String serviceQuotationItemIsAccepted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceQuotationItemIsAccepted

      Parameters:
      serviceQuotationItemIsAccepted - The serviceQuotationItemIsAccepted to set.
    • setServiceQuotationItemIsRejected

      public void setServiceQuotationItemIsRejected(@Nullable String serviceQuotationItemIsRejected)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceQuotationItemIsRejected

      Parameters:
      serviceQuotationItemIsRejected - Cancellation Status
    • setSrvcQtanItmRejectionReason

      public void setSrvcQtanItmRejectionReason(@Nullable String srvcQtanItmRejectionReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SrvcQtanItmRejectionReason

      Parameters:
      srvcQtanItmRejectionReason - Cancellation Reason Code
    • setTimeSheetOvertimeCategory

      public void setTimeSheetOvertimeCategory(@Nullable String timeSheetOvertimeCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: TimeSheetOvertimeCategory

      Parameters:
      timeSheetOvertimeCategory - Overtime Category
    • setReferenceServiceContract

      public void setReferenceServiceContract(@Nullable String referenceServiceContract)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceServiceContract

      Parameters:
      referenceServiceContract - Transaction ID
    • setReferenceServiceContractItem

      public void setReferenceServiceContractItem(@Nullable String referenceServiceContractItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ReferenceServiceContractItem

      Parameters:
      referenceServiceContractItem - Shortened Item Number in Document
    • setServiceQtanSuccessorOrder

      public void setServiceQtanSuccessorOrder(@Nullable String serviceQtanSuccessorOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceQtanSuccessorOrder

      Parameters:
      serviceQtanSuccessorOrder - Transaction ID
    • setServiceQtanSuccessorOrderItem

      public void setServiceQtanSuccessorOrderItem(@Nullable String serviceQtanSuccessorOrderItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ServiceQtanSuccessorOrderItem

      Parameters:
      serviceQtanSuccessorOrderItem - Shortened Item Number in Document
    • setParentServiceQuotationItem

      public void setParentServiceQuotationItem(@Nullable String parentServiceQuotationItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ParentServiceQuotationItem

      Parameters:
      parentServiceQuotationItem - Shortened Item Number in Document
    • setPaymentTerms

      public void setPaymentTerms(@Nullable String paymentTerms)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PaymentTerms

      Parameters:
      paymentTerms - Terms of Payment
    • setRespyMgmtServiceTeam

      public void setRespyMgmtServiceTeam(@Nullable String respyMgmtServiceTeam)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: RespyMgmtServiceTeam

      Parameters:
      respyMgmtServiceTeam - Service Team (Responsibility Management)
    • setRespyMgmtServiceTeamName

      public void setRespyMgmtServiceTeamName(@Nullable String respyMgmtServiceTeamName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtServiceTeamName

      Parameters:
      respyMgmtServiceTeamName - Name
    • setRespyMgmtGlobalTeamID

      public void setRespyMgmtGlobalTeamID(@Nullable String respyMgmtGlobalTeamID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtGlobalTeamID

      Parameters:
      respyMgmtGlobalTeamID - Global Team ID in Responsibility Mgmt.
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ServiceQuotationItemField<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> ServiceQuotationItemField<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<ServiceQuotationItem>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ServiceQuotationItem>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<ServiceQuotationItem>
    • fetchPricingElement

      @Nonnull public List<ServiceQtanItemPriceElement> fetchPricingElement()
      Fetches the ServiceQtanItemPriceElement entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PricingElement.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated ServiceQtanItemPriceElement entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPricingElementOrFetch

      @Nonnull public List<ServiceQtanItemPriceElement> getPricingElementOrFetch()
      Retrieval of associated ServiceQtanItemPriceElement entities (one to many). This corresponds to the OData navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated ServiceQtanItemPriceElement entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPricingElementIfPresent

      @Nonnull public io.vavr.control.Option<List<ServiceQtanItemPriceElement>> getPricingElementIfPresent()
      Retrieval of associated ServiceQtanItemPriceElement entities (one to many). This corresponds to the OData navigation property to_PricingElement.

      If the navigation property for an entity ServiceQuotationItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_PricingElement is already loaded, the result will contain the ServiceQtanItemPriceElement entities. If not, an Option with result state empty is returned.
    • setPricingElement

      public void setPricingElement(@Nonnull List<ServiceQtanItemPriceElement> value)
      Overwrites the list of associated ServiceQtanItemPriceElement entities for the loaded navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of ServiceQtanItemPriceElement entities.
    • addPricingElement

      public void addPricingElement(ServiceQtanItemPriceElement... entity)
      Adds elements to the list of associated ServiceQtanItemPriceElement entities. This corresponds to the OData navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of ServiceQtanItemPriceElement entities.
    • fetchReferenceObject

      @Nonnull public List<ServiceQtanItemRefObject> fetchReferenceObject()
      Fetches the ServiceQtanItemRefObject entities (one to many) associated with this entity. This corresponds to the OData navigation property to_ReferenceObject.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated ServiceQtanItemRefObject entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getReferenceObjectOrFetch

      @Nonnull public List<ServiceQtanItemRefObject> getReferenceObjectOrFetch()
      Retrieval of associated ServiceQtanItemRefObject entities (one to many). This corresponds to the OData navigation property to_ReferenceObject.

      If the navigation property to_ReferenceObject of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated ServiceQtanItemRefObject entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getReferenceObjectIfPresent

      @Nonnull public io.vavr.control.Option<List<ServiceQtanItemRefObject>> getReferenceObjectIfPresent()
      Retrieval of associated ServiceQtanItemRefObject entities (one to many). This corresponds to the OData navigation property to_ReferenceObject.

      If the navigation property for an entity ServiceQuotationItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_ReferenceObject is already loaded, the result will contain the ServiceQtanItemRefObject entities. If not, an Option with result state empty is returned.
    • setReferenceObject

      public void setReferenceObject(@Nonnull List<ServiceQtanItemRefObject> value)
      Overwrites the list of associated ServiceQtanItemRefObject entities for the loaded navigation property to_ReferenceObject.

      If the navigation property to_ReferenceObject of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of ServiceQtanItemRefObject entities.
    • addReferenceObject

      public void addReferenceObject(ServiceQtanItemRefObject... entity)
      Adds elements to the list of associated ServiceQtanItemRefObject entities. This corresponds to the OData navigation property to_ReferenceObject.

      If the navigation property to_ReferenceObject of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of ServiceQtanItemRefObject entities.
    • fetchServiceQuotation

      @Nullable public ServiceQuotation fetchServiceQuotation()
      Fetches the ServiceQuotation entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ServiceQuotation.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated ServiceQuotation entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getServiceQuotationOrFetch

      @Nullable public ServiceQuotation getServiceQuotationOrFetch()
      Retrieval of associated ServiceQuotation entity (one to one). This corresponds to the OData navigation property to_ServiceQuotation.

      If the navigation property to_ServiceQuotation of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated ServiceQuotation entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getServiceQuotationIfPresent

      @Nonnull public io.vavr.control.Option<ServiceQuotation> getServiceQuotationIfPresent()
      Retrieval of associated ServiceQuotation entity (one to one). This corresponds to the OData navigation property to_ServiceQuotation.

      If the navigation property for an entity ServiceQuotationItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_ServiceQuotation is already loaded, the result will contain the ServiceQuotation entity. If not, an Option with result state empty is returned.
    • setServiceQuotation

      public void setServiceQuotation(ServiceQuotation value)
      Overwrites the associated ServiceQuotation entity for the loaded navigation property to_ServiceQuotation.
      Parameters:
      value - New ServiceQuotation entity.
    • fetchText

      @Nonnull public List<ServiceQuotationItemText> fetchText()
      Fetches the ServiceQuotationItemText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Text.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated ServiceQuotationItemText entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getTextOrFetch

      @Nonnull public List<ServiceQuotationItemText> getTextOrFetch()
      Retrieval of associated ServiceQuotationItemText entities (one to many). This corresponds to the OData navigation property to_Text.

      If the navigation property to_Text of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated ServiceQuotationItemText entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getTextIfPresent

      @Nonnull public io.vavr.control.Option<List<ServiceQuotationItemText>> getTextIfPresent()
      Retrieval of associated ServiceQuotationItemText entities (one to many). This corresponds to the OData navigation property to_Text.

      If the navigation property for an entity ServiceQuotationItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_Text is already loaded, the result will contain the ServiceQuotationItemText entities. If not, an Option with result state empty is returned.
    • setText

      public void setText(@Nonnull List<ServiceQuotationItemText> value)
      Overwrites the list of associated ServiceQuotationItemText entities for the loaded navigation property to_Text.

      If the navigation property to_Text of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of ServiceQuotationItemText entities.
    • addText

      public void addText(ServiceQuotationItemText... entity)
      Adds elements to the list of associated ServiceQuotationItemText entities. This corresponds to the OData navigation property to_Text.

      If the navigation property to_Text of a queried ServiceQuotationItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of ServiceQuotationItemText entities.
    • builder

      @Nonnull public static ServiceQuotationItem.ServiceQuotationItemBuilder builder()
    • getServiceQuotation

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

      Original property name from the Odata EDM: ServiceQuotation

      Returns:
      Transaction ID
    • getServiceQuotationItem

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

      Original property name from the Odata EDM: ServiceQuotationItem

      Returns:
      Shortened Item Number in Document
    • getServiceDocItemCategory

      @Nullable public String getServiceDocItemCategory()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceDocItemCategory

      Returns:
      Item Category
    • getServiceQuotationItemUUID

      @Nullable public UUID getServiceQuotationItemUUID()
      Constraints: none

      Original property name from the Odata EDM: ServiceQuotationItemUUID

      Returns:
      GUID of a CRM Order Object
    • getServiceQtanItemDescription

      @Nullable public String getServiceQtanItemDescription()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceQtanItemDescription

      Returns:
      Product Description
    • getLanguage

      @Nullable public String getLanguage()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Short Text Language for an Item
    • getProduct

      @Nullable public String getProduct()
      Constraints: Not nullable, Maximum length: 54

      Original property name from the Odata EDM: Product

      Returns:
      Product Name Entered
    • getQuantityUnit

      @Nullable public String getQuantityUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: QuantityUnit

      Returns:
      Unit of Measure in Which the Product Is Sold
    • getQuantity

      @Nullable public BigDecimal getQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: Quantity

      Returns:
      CRM: Order Quantity
    • getServiceDuration

      @Nullable public BigDecimal getServiceDuration()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: ServiceDuration

      Returns:
      Duration
    • getServiceDurationUnit

      @Nullable public String getServiceDurationUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ServiceDurationUnit

      Returns:
      Unit for Duration of Work
    • getServiceQtanItemExtReference

      @Nullable public String getServiceQtanItemExtReference()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ServiceQtanItemExtReference

      Returns:
      External Reference Number
    • getSoldToParty

      @Nullable public String getSoldToParty()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SoldToParty

      Returns:
      Sold-To Party
    • getShipToParty

      @Nullable public String getShipToParty()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ShipToParty

      Returns:
      Ship-To Party
    • getPersonResponsible

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

      Original property name from the Odata EDM: PersonResponsible

      Returns:
      Employee Responsible
    • getServicePerformer

      @Nullable public String getServicePerformer()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServicePerformer

      Returns:
      Business Partner Number
    • getServiceQuotationItemIsAccepted

      @Nullable public String getServiceQuotationItemIsAccepted()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceQuotationItemIsAccepted

      Returns:
      The serviceQuotationItemIsAccepted contained in this entity.
    • getServiceQuotationItemIsRejected

      @Nullable public String getServiceQuotationItemIsRejected()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceQuotationItemIsRejected

      Returns:
      Cancellation Status
    • getSrvcQtanItmRejectionReason

      @Nullable public String getSrvcQtanItmRejectionReason()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SrvcQtanItmRejectionReason

      Returns:
      Cancellation Reason Code
    • getTimeSheetOvertimeCategory

      @Nullable public String getTimeSheetOvertimeCategory()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: TimeSheetOvertimeCategory

      Returns:
      Overtime Category
    • getReferenceServiceContract

      @Nullable public String getReferenceServiceContract()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceServiceContract

      Returns:
      Transaction ID
    • getReferenceServiceContractItem

      @Nullable public String getReferenceServiceContractItem()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ReferenceServiceContractItem

      Returns:
      Shortened Item Number in Document
    • getServiceQtanSuccessorOrder

      @Nullable public String getServiceQtanSuccessorOrder()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceQtanSuccessorOrder

      Returns:
      Transaction ID
    • getServiceQtanSuccessorOrderItem

      @Nullable public String getServiceQtanSuccessorOrderItem()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ServiceQtanSuccessorOrderItem

      Returns:
      Shortened Item Number in Document
    • getParentServiceQuotationItem

      @Nullable public String getParentServiceQuotationItem()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ParentServiceQuotationItem

      Returns:
      Shortened Item Number in Document
    • getPaymentTerms

      @Nullable public String getPaymentTerms()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      Terms of Payment
    • getRespyMgmtServiceTeam

      @Nullable public String getRespyMgmtServiceTeam()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: RespyMgmtServiceTeam

      Returns:
      Service Team (Responsibility Management)
    • getRespyMgmtServiceTeamName

      @Nullable public String getRespyMgmtServiceTeamName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtServiceTeamName

      Returns:
      Name
    • getRespyMgmtGlobalTeamID

      @Nullable public String getRespyMgmtGlobalTeamID()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtGlobalTeamID

      Returns:
      Global Team ID in Responsibility Mgmt.
    • toString

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

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

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

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