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

public class ServiceOrderTemplateItem extends VdmEntity<ServiceOrderTemplateItem>
Service Order Template Items

Original entity name from the Odata EDM: A_ServiceOrderTemplateItemType

  • Field Details

    • ALL_FIELDS

      public static final ServiceOrderTemplateItemSelectable ALL_FIELDS
      Selector for all available fields of ServiceOrderTemplateItem.
    • SERVICE_ORDER_TEMPLATE

      public static final ServiceOrderTemplateItemField<String> SERVICE_ORDER_TEMPLATE
      Use with available fluent helpers to apply the ServiceOrderTemplate field to query operations.
    • SERVICE_ORDER_TEMPLATE_ITEM

      public static final ServiceOrderTemplateItemField<String> SERVICE_ORDER_TEMPLATE_ITEM
      Use with available fluent helpers to apply the ServiceOrderTemplateItem field to query operations.
    • SERVICE_ORDER_TEMPLATE_ITEM_UUID

      public static final ServiceOrderTemplateItemField<UUID> SERVICE_ORDER_TEMPLATE_ITEM_UUID
      Use with available fluent helpers to apply the ServiceOrderTemplateItemUUID field to query operations.
    • SRVC_ORD_TMPL_ITM_DESCRIPTION

      public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_DESCRIPTION
      Use with available fluent helpers to apply the SrvcOrdTmplItmDescription field to query operations.
    • SERVICE_OBJECT_TYPE

      public static final ServiceOrderTemplateItemField<String> SERVICE_OBJECT_TYPE
      Use with available fluent helpers to apply the ServiceObjectType field to query operations.
    • SERVICE_DOCUMENT_ITEM_OBJECT_TYPE

      public static final ServiceOrderTemplateItemField<String> SERVICE_DOCUMENT_ITEM_OBJECT_TYPE
      Use with available fluent helpers to apply the ServiceDocumentItemObjectType field to query operations.
    • LANGUAGE

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

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

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

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

      public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_CATEGORY
      Use with available fluent helpers to apply the SrvcOrdTmplItmCategory field to query operations.
    • SRVC_DOC_ITM_VALDTY_START_DATE_TIME

      public static final ServiceOrderTemplateItemField<ZonedDateTime> SRVC_DOC_ITM_VALDTY_START_DATE_TIME
      Use with available fluent helpers to apply the SrvcDocItmValdtyStartDateTime field to query operations.
    • SRVC_DOC_ITM_VALDTY_END_DATE_TIME

      public static final ServiceOrderTemplateItemField<ZonedDateTime> SRVC_DOC_ITM_VALDTY_END_DATE_TIME
      Use with available fluent helpers to apply the SrvcDocItmValdtyEndDateTime field to query operations.
    • PERSON_RESPONSIBLE

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

      public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_IS_RELEASED
      Use with available fluent helpers to apply the SrvcOrdTmplItmIsReleased field to query operations.
    • PARENT_SERVICE_ORDER_TEMPLATE_ITEM

      public static final ServiceOrderTemplateItemField<String> PARENT_SERVICE_ORDER_TEMPLATE_ITEM
      Use with available fluent helpers to apply the ParentServiceOrderTemplateItem field to query operations.
    • SRVC_ORD_TMPL_ITM_IS_COMPLETED

      public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_IS_COMPLETED
      Use with available fluent helpers to apply the SrvcOrdTmplItmIsCompleted field to query operations.
    • SRVC_DOC_ITM_PART_REFERENCE_ITEM

      public static final ServiceOrderTemplateItemField<String> SRVC_DOC_ITM_PART_REFERENCE_ITEM
      Use with available fluent helpers to apply the SrvcDocItmPartReferenceItem field to query operations.
    • SRVC_DOC_ITM_APPT_REFERENCE_ITEM

      public static final ServiceOrderTemplateItemField<String> SRVC_DOC_ITM_APPT_REFERENCE_ITEM
      Use with available fluent helpers to apply the SrvcDocItmApptReferenceItem field to query operations.
    • SRVC_DOC_ITM_APPT_REF_OBJECT_UUID

      public static final ServiceOrderTemplateItemField<UUID> SRVC_DOC_ITM_APPT_REF_OBJECT_UUID
      Use with available fluent helpers to apply the SrvcDocItmApptRefObjectUUID field to query operations.
    • TO_APPOINTMENT

      public static final ServiceOrderTemplateItemLink<SrvcOrdTmplItemAppointment> TO_APPOINTMENT
      Use with available fluent helpers to apply the to_Appointment navigation property to query operations.
    • TO_DURATION

      public static final ServiceOrderTemplateItemLink<SrvcOrdTmplItemDuration> TO_DURATION
      Use with available fluent helpers to apply the to_Duration navigation property to query operations.
    • TO_PARTNER

      public static final ServiceOrderTemplateItemLink<SrvcOrdTmplItemPartner> TO_PARTNER
      Use with available fluent helpers to apply the to_Partner navigation property to query operations.
    • TO_REFERENCE_OBJECT

      public static final ServiceOrderTemplateItemLink<ServiceOrderTmplItemRefObj> TO_REFERENCE_OBJECT
      Use with available fluent helpers to apply the to_ReferenceObject navigation property to query operations.
    • TO_SERVICE_ORDER_TEMPLATE

      public static final ServiceOrderTemplateItemOneToOneLink<ServiceOrderTemplate> TO_SERVICE_ORDER_TEMPLATE
      Use with available fluent helpers to apply the to_ServiceOrderTemplate navigation property to query operations.
    • TO_SRVC_ORD_TMPL_ITEM_USER_STATUS

      public static final ServiceOrderTemplateItemLink<SrvcOrdTmplItemUserStatus> TO_SRVC_ORD_TMPL_ITEM_USER_STATUS
      Use with available fluent helpers to apply the to_SrvcOrdTmplItemUserStatus navigation property to query operations.
    • TO_TEXT

      Use with available fluent helpers to apply the to_Text navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ServiceOrderTemplate

      Parameters:
      serviceOrderTemplate - Transaction ID
    • setServiceOrderTemplateItem

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

      Original property name from the Odata EDM: ServiceOrderTemplateItem

      Parameters:
      serviceOrderTemplateItem - Shortened Item Number in Document
    • setServiceOrderTemplateItemUUID

      public void setServiceOrderTemplateItemUUID(@Nullable UUID serviceOrderTemplateItemUUID)
      Constraints: none

      Original property name from the Odata EDM: ServiceOrderTemplateItemUUID

      Parameters:
      serviceOrderTemplateItemUUID - GUID of a CRM Order Object
    • setSrvcOrdTmplItmDescription

      public void setSrvcOrdTmplItmDescription(@Nullable String srvcOrdTmplItmDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SrvcOrdTmplItmDescription

      Parameters:
      srvcOrdTmplItmDescription - Product Description
    • setServiceObjectType

      public void setServiceObjectType(@Nullable String serviceObjectType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceObjectType

      Parameters:
      serviceObjectType - Business Trans. Cat.
    • setServiceDocumentItemObjectType

      public void setServiceDocumentItemObjectType(@Nullable String serviceDocumentItemObjectType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceDocumentItemObjectType

      Parameters:
      serviceDocumentItemObjectType - CRM Item Object Type
    • 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
    • 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
    • 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
    • setSrvcOrdTmplItmCategory

      public void setSrvcOrdTmplItmCategory(@Nullable String srvcOrdTmplItmCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SrvcOrdTmplItmCategory

      Parameters:
      srvcOrdTmplItmCategory - Item Category
    • setSrvcDocItmValdtyStartDateTime

      public void setSrvcDocItmValdtyStartDateTime(@Nullable ZonedDateTime srvcDocItmValdtyStartDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SrvcDocItmValdtyStartDateTime

      Parameters:
      srvcDocItmValdtyStartDateTime - Time Dependency: Validity Start Date
    • setSrvcDocItmValdtyEndDateTime

      public void setSrvcDocItmValdtyEndDateTime(@Nullable ZonedDateTime srvcDocItmValdtyEndDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SrvcDocItmValdtyEndDateTime

      Parameters:
      srvcDocItmValdtyEndDateTime - Time Dependency: Validity End Date
    • 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
    • setSrvcOrdTmplItmIsReleased

      public void setSrvcOrdTmplItmIsReleased(@Nullable String srvcOrdTmplItmIsReleased)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrvcOrdTmplItmIsReleased

      Parameters:
      srvcOrdTmplItmIsReleased - Release Status
    • setParentServiceOrderTemplateItem

      public void setParentServiceOrderTemplateItem(@Nullable String parentServiceOrderTemplateItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ParentServiceOrderTemplateItem

      Parameters:
      parentServiceOrderTemplateItem - Shortened Item Number in Document
    • setSrvcOrdTmplItmIsCompleted

      public void setSrvcOrdTmplItmIsCompleted(@Nullable String srvcOrdTmplItmIsCompleted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrvcOrdTmplItmIsCompleted

      Parameters:
      srvcOrdTmplItmIsCompleted - The srvcOrdTmplItmIsCompleted to set.
    • setSrvcDocItmPartReferenceItem

      public void setSrvcDocItmPartReferenceItem(@Nullable String srvcDocItmPartReferenceItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SrvcDocItmPartReferenceItem

      Parameters:
      srvcDocItmPartReferenceItem - Shortened Item Number in Document
    • setSrvcDocItmApptReferenceItem

      public void setSrvcDocItmApptReferenceItem(@Nullable String srvcDocItmApptReferenceItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SrvcDocItmApptReferenceItem

      Parameters:
      srvcDocItmApptReferenceItem - Shortened Item Number in Document
    • setSrvcDocItmApptRefObjectUUID

      public void setSrvcDocItmApptRefObjectUUID(@Nullable UUID srvcDocItmApptRefObjectUUID)
      Constraints: none

      Original property name from the Odata EDM: SrvcDocItmApptRefObjectUUID

      Parameters:
      srvcDocItmApptRefObjectUUID - GUID of a CRM Order Object
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ServiceOrderTemplateItemField<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> ServiceOrderTemplateItemField<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<ServiceOrderTemplateItem>
    • setServicePathForFetch

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

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

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

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

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

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

      Returns:
      List containing one or more associated SrvcOrdTmplItemAppointment 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.
    • getAppointmentOrFetch

      @Nonnull public List<SrvcOrdTmplItemAppointment> getAppointmentOrFetch()
      Retrieval of associated SrvcOrdTmplItemAppointment entities (one to many). This corresponds to the OData navigation property to_Appointment.

      If the navigation property to_Appointment of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemAppointment 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.
    • getAppointmentIfPresent

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

      If the navigation property for an entity ServiceOrderTemplateItem 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_Appointment is already loaded, the result will contain the SrvcOrdTmplItemAppointment entities. If not, an Option with result state empty is returned.
    • setAppointment

      public void setAppointment(@Nonnull List<SrvcOrdTmplItemAppointment> value)
      Overwrites the list of associated SrvcOrdTmplItemAppointment entities for the loaded navigation property to_Appointment.

      If the navigation property to_Appointment of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemAppointment entities.
    • addAppointment

      public void addAppointment(SrvcOrdTmplItemAppointment... entity)
      Adds elements to the list of associated SrvcOrdTmplItemAppointment entities. This corresponds to the OData navigation property to_Appointment.

      If the navigation property to_Appointment of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemAppointment entities.
    • fetchDuration

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

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

      Returns:
      List containing one or more associated SrvcOrdTmplItemDuration 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.
    • getDurationOrFetch

      @Nonnull public List<SrvcOrdTmplItemDuration> getDurationOrFetch()
      Retrieval of associated SrvcOrdTmplItemDuration entities (one to many). This corresponds to the OData navigation property to_Duration.

      If the navigation property to_Duration of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemDuration 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.
    • getDurationIfPresent

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

      If the navigation property for an entity ServiceOrderTemplateItem 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_Duration is already loaded, the result will contain the SrvcOrdTmplItemDuration entities. If not, an Option with result state empty is returned.
    • setDuration

      public void setDuration(@Nonnull List<SrvcOrdTmplItemDuration> value)
      Overwrites the list of associated SrvcOrdTmplItemDuration entities for the loaded navigation property to_Duration.

      If the navigation property to_Duration of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemDuration entities.
    • addDuration

      public void addDuration(SrvcOrdTmplItemDuration... entity)
      Adds elements to the list of associated SrvcOrdTmplItemDuration entities. This corresponds to the OData navigation property to_Duration.

      If the navigation property to_Duration of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemDuration entities.
    • fetchPartner

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

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

      Returns:
      List containing one or more associated SrvcOrdTmplItemPartner 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.
    • getPartnerOrFetch

      @Nonnull public List<SrvcOrdTmplItemPartner> getPartnerOrFetch()
      Retrieval of associated SrvcOrdTmplItemPartner entities (one to many). This corresponds to the OData navigation property to_Partner.

      If the navigation property to_Partner of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemPartner 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.
    • getPartnerIfPresent

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

      If the navigation property for an entity ServiceOrderTemplateItem 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_Partner is already loaded, the result will contain the SrvcOrdTmplItemPartner entities. If not, an Option with result state empty is returned.
    • setPartner

      public void setPartner(@Nonnull List<SrvcOrdTmplItemPartner> value)
      Overwrites the list of associated SrvcOrdTmplItemPartner entities for the loaded navigation property to_Partner.

      If the navigation property to_Partner of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemPartner entities.
    • addPartner

      public void addPartner(SrvcOrdTmplItemPartner... entity)
      Adds elements to the list of associated SrvcOrdTmplItemPartner entities. This corresponds to the OData navigation property to_Partner.

      If the navigation property to_Partner of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemPartner entities.
    • fetchReferenceObject

      @Nonnull public List<ServiceOrderTmplItemRefObj> fetchReferenceObject()
      Fetches the ServiceOrderTmplItemRefObj 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 ServiceOrderTmplItemRefObj 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<ServiceOrderTmplItemRefObj> getReferenceObjectOrFetch()
      Retrieval of associated ServiceOrderTmplItemRefObj entities (one to many). This corresponds to the OData navigation property to_ReferenceObject.

      If the navigation property to_ReferenceObject of a queried ServiceOrderTemplateItem 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 ServiceOrderTmplItemRefObj 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<ServiceOrderTmplItemRefObj>> getReferenceObjectIfPresent()
      Retrieval of associated ServiceOrderTmplItemRefObj entities (one to many). This corresponds to the OData navigation property to_ReferenceObject.

      If the navigation property for an entity ServiceOrderTemplateItem 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 ServiceOrderTmplItemRefObj entities. If not, an Option with result state empty is returned.
    • setReferenceObject

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

      If the navigation property to_ReferenceObject of a queried ServiceOrderTemplateItem 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 ServiceOrderTmplItemRefObj entities.
    • addReferenceObject

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

      If the navigation property to_ReferenceObject of a queried ServiceOrderTemplateItem 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 ServiceOrderTmplItemRefObj entities.
    • fetchServiceOrderTemplate

      @Nullable public ServiceOrderTemplate fetchServiceOrderTemplate()
      Fetches the ServiceOrderTemplate entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ServiceOrderTemplate.

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

      Returns:
      The single associated ServiceOrderTemplate 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.
    • getServiceOrderTemplateOrFetch

      @Nullable public ServiceOrderTemplate getServiceOrderTemplateOrFetch()
      Retrieval of associated ServiceOrderTemplate entity (one to one). This corresponds to the OData navigation property to_ServiceOrderTemplate.

      If the navigation property to_ServiceOrderTemplate of a queried ServiceOrderTemplateItem 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 ServiceOrderTemplate 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.
    • getServiceOrderTemplateIfPresent

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

      If the navigation property for an entity ServiceOrderTemplateItem 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_ServiceOrderTemplate is already loaded, the result will contain the ServiceOrderTemplate entity. If not, an Option with result state empty is returned.
    • setServiceOrderTemplate

      public void setServiceOrderTemplate(ServiceOrderTemplate value)
      Overwrites the associated ServiceOrderTemplate entity for the loaded navigation property to_ServiceOrderTemplate.
      Parameters:
      value - New ServiceOrderTemplate entity.
    • fetchSrvcOrdTmplItemUserStatus

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

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

      Returns:
      List containing one or more associated SrvcOrdTmplItemUserStatus 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.
    • getSrvcOrdTmplItemUserStatusOrFetch

      @Nonnull public List<SrvcOrdTmplItemUserStatus> getSrvcOrdTmplItemUserStatusOrFetch()
      Retrieval of associated SrvcOrdTmplItemUserStatus entities (one to many). This corresponds to the OData navigation property to_SrvcOrdTmplItemUserStatus.

      If the navigation property to_SrvcOrdTmplItemUserStatus of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemUserStatus 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.
    • getSrvcOrdTmplItemUserStatusIfPresent

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

      If the navigation property for an entity ServiceOrderTemplateItem 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_SrvcOrdTmplItemUserStatus is already loaded, the result will contain the SrvcOrdTmplItemUserStatus entities. If not, an Option with result state empty is returned.
    • setSrvcOrdTmplItemUserStatus

      public void setSrvcOrdTmplItemUserStatus(@Nonnull List<SrvcOrdTmplItemUserStatus> value)
      Overwrites the list of associated SrvcOrdTmplItemUserStatus entities for the loaded navigation property to_SrvcOrdTmplItemUserStatus.

      If the navigation property to_SrvcOrdTmplItemUserStatus of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemUserStatus entities.
    • addSrvcOrdTmplItemUserStatus

      public void addSrvcOrdTmplItemUserStatus(SrvcOrdTmplItemUserStatus... entity)
      Adds elements to the list of associated SrvcOrdTmplItemUserStatus entities. This corresponds to the OData navigation property to_SrvcOrdTmplItemUserStatus.

      If the navigation property to_SrvcOrdTmplItemUserStatus of a queried ServiceOrderTemplateItem 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 SrvcOrdTmplItemUserStatus entities.
    • fetchText

      @Nonnull public List<ServiceOrderTmplItemText> fetchText()
      Fetches the ServiceOrderTmplItemText 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 ServiceOrderTmplItemText 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<ServiceOrderTmplItemText> getTextOrFetch()
      Retrieval of associated ServiceOrderTmplItemText entities (one to many). This corresponds to the OData navigation property to_Text.

      If the navigation property to_Text of a queried ServiceOrderTemplateItem 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 ServiceOrderTmplItemText 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<ServiceOrderTmplItemText>> getTextIfPresent()
      Retrieval of associated ServiceOrderTmplItemText entities (one to many). This corresponds to the OData navigation property to_Text.

      If the navigation property for an entity ServiceOrderTemplateItem 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 ServiceOrderTmplItemText entities. If not, an Option with result state empty is returned.
    • setText

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

      If the navigation property to_Text of a queried ServiceOrderTemplateItem 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 ServiceOrderTmplItemText entities.
    • addText

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

      If the navigation property to_Text of a queried ServiceOrderTemplateItem 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 ServiceOrderTmplItemText entities.
    • builder

    • getServiceOrderTemplate

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

      Original property name from the Odata EDM: ServiceOrderTemplate

      Returns:
      Transaction ID
    • getServiceOrderTemplateItem

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

      Original property name from the Odata EDM: ServiceOrderTemplateItem

      Returns:
      Shortened Item Number in Document
    • getServiceOrderTemplateItemUUID

      @Nullable public UUID getServiceOrderTemplateItemUUID()
      Constraints: none

      Original property name from the Odata EDM: ServiceOrderTemplateItemUUID

      Returns:
      GUID of a CRM Order Object
    • getSrvcOrdTmplItmDescription

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

      Original property name from the Odata EDM: SrvcOrdTmplItmDescription

      Returns:
      Product Description
    • getServiceObjectType

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

      Original property name from the Odata EDM: ServiceObjectType

      Returns:
      Business Trans. Cat.
    • getServiceDocumentItemObjectType

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

      Original property name from the Odata EDM: ServiceDocumentItemObjectType

      Returns:
      CRM Item Object Type
    • 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
    • getQuantity

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

      Original property name from the Odata EDM: Quantity

      Returns:
      CRM: Order Quantity
    • 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
    • getSrvcOrdTmplItmCategory

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

      Original property name from the Odata EDM: SrvcOrdTmplItmCategory

      Returns:
      Item Category
    • getSrvcDocItmValdtyStartDateTime

      @Nullable public ZonedDateTime getSrvcDocItmValdtyStartDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SrvcDocItmValdtyStartDateTime

      Returns:
      Time Dependency: Validity Start Date
    • getSrvcDocItmValdtyEndDateTime

      @Nullable public ZonedDateTime getSrvcDocItmValdtyEndDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SrvcDocItmValdtyEndDateTime

      Returns:
      Time Dependency: Validity End Date
    • getPersonResponsible

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

      Original property name from the Odata EDM: PersonResponsible

      Returns:
      Employee Responsible
    • getSrvcOrdTmplItmIsReleased

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

      Original property name from the Odata EDM: SrvcOrdTmplItmIsReleased

      Returns:
      Release Status
    • getParentServiceOrderTemplateItem

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

      Original property name from the Odata EDM: ParentServiceOrderTemplateItem

      Returns:
      Shortened Item Number in Document
    • getSrvcOrdTmplItmIsCompleted

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

      Original property name from the Odata EDM: SrvcOrdTmplItmIsCompleted

      Returns:
      The srvcOrdTmplItmIsCompleted contained in this entity.
    • getSrvcDocItmPartReferenceItem

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

      Original property name from the Odata EDM: SrvcDocItmPartReferenceItem

      Returns:
      Shortened Item Number in Document
    • getSrvcDocItmApptReferenceItem

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

      Original property name from the Odata EDM: SrvcDocItmApptReferenceItem

      Returns:
      Shortened Item Number in Document
    • getSrvcDocItmApptRefObjectUUID

      @Nullable public UUID getSrvcDocItmApptRefObjectUUID()
      Constraints: none

      Original property name from the Odata EDM: SrvcDocItmApptRefObjectUUID

      Returns:
      GUID of a CRM Order Object
    • toString

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

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

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

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