Class ServiceOrderTemplate
Original entity name from the Odata EDM: A_ServiceOrderTemplateType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ServiceOrderTemplate instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceOrderTemplateSelectableSelector for all available fields of ServiceOrderTemplate.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the DistributionChannel field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the Division field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the Language field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the SalesGroup field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the SalesOffice field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the SalesOrganization field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the ServiceDocumentPriority field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the ServiceDocumentTemplateType field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the ServiceDocumentType field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the ServiceObjectType field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the ServiceOrderTemplate field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the ServiceOrderTemplateType field to query operations.static final ServiceOrderTemplateField<UUID>Use with available fluent helpers to apply the ServiceOrderTemplateUUID field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the ServiceOrderType field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the SrvcDocTemplateSearchTermText field to query operations.static final ServiceOrderTemplateField<ZonedDateTime>Use with available fluent helpers to apply the SrvcDocTmplValdtyEndDateTime field to query operations.static final ServiceOrderTemplateField<ZonedDateTime>Use with available fluent helpers to apply the SrvcDocTmplValdtyStartDateTime field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the SrvcOrdTmplDescription field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the SrvcOrdTmplIsCompleted field to query operations.static final ServiceOrderTemplateField<String>Use with available fluent helpers to apply the SrvcOrdTmplIsReleased field to query operations.static final ServiceOrderTemplateLink<SrvcOrdTmplAppointment>Use with available fluent helpers to apply the to_Appointment navigation property to query operations.static final ServiceOrderTemplateLink<SrvcOrdTmplDuration>Use with available fluent helpers to apply the to_Duration navigation property to query operations.static final ServiceOrderTemplateLink<ServiceOrderTemplateItem>Use with available fluent helpers to apply the to_Item navigation property to query operations.static final ServiceOrderTemplateLink<SrvcOrdTmplPartner>Use with available fluent helpers to apply the to_Partner navigation property to query operations.static final ServiceOrderTemplateLink<ServiceOrderTmplPersonResp>Use with available fluent helpers to apply the to_PersonResponsible navigation property to query operations.static final ServiceOrderTemplateLink<ServiceOrderTmplRefObject>Use with available fluent helpers to apply the to_ReferenceObject navigation property to query operations.static final ServiceOrderTemplateLink<SrvcOrdTmplUserStatus>Use with available fluent helpers to apply the to_SrvcOrdTmplUserStatus navigation property to query operations.static final ServiceOrderTemplateLink<ServiceOrderTmplText>Use with available fluent helpers to apply the to_Text navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionServiceOrderTemplate(String serviceOrderTemplate, UUID serviceOrderTemplateUUID, String serviceOrderTemplateType, String serviceObjectType, String srvcOrdTmplDescription, String serviceDocumentTemplateType, String srvcDocTemplateSearchTermText, String language, String serviceDocumentPriority, ZonedDateTime srvcDocTmplValdtyStartDateTime, ZonedDateTime srvcDocTmplValdtyEndDateTime, String srvcOrdTmplIsReleased, String srvcOrdTmplIsCompleted, String serviceOrderType, String serviceDocumentType, String salesOrganization, String distributionChannel, String division, String salesOffice, String salesGroup, List<SrvcOrdTmplAppointment> toAppointment, List<SrvcOrdTmplDuration> toDuration, List<ServiceOrderTemplateItem> toItem, List<SrvcOrdTmplPartner> toPartner, List<ServiceOrderTmplPersonResp> toPersonResponsible, List<ServiceOrderTmplRefObject> toReferenceObject, List<SrvcOrdTmplUserStatus> toSrvcOrdTmplUserStatus, List<ServiceOrderTmplText> toText) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAppointment(SrvcOrdTmplAppointment... entity) Adds elements to the list of associated SrvcOrdTmplAppointment entities.voidaddDuration(SrvcOrdTmplDuration... entity) Adds elements to the list of associated SrvcOrdTmplDuration entities.voidaddItem(ServiceOrderTemplateItem... entity) Adds elements to the list of associated ServiceOrderTemplateItem entities.voidaddPartner(SrvcOrdTmplPartner... entity) Adds elements to the list of associated SrvcOrdTmplPartner entities.voidaddPersonResponsible(ServiceOrderTmplPersonResp... entity) Adds elements to the list of associated ServiceOrderTmplPersonResp entities.voidaddReferenceObject(ServiceOrderTmplRefObject... entity) Adds elements to the list of associated ServiceOrderTmplRefObject entities.voidaddSrvcOrdTmplUserStatus(SrvcOrdTmplUserStatus... entity) Adds elements to the list of associated SrvcOrdTmplUserStatus entities.voidaddText(ServiceOrderTmplText... entity) Adds elements to the list of associated ServiceOrderTmplText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the SrvcOrdTmplAppointment entities (one to many) associated with this entity.Fetches the SrvcOrdTmplDuration entities (one to many) associated with this entity.Fetches the ServiceOrderTemplateItem entities (one to many) associated with this entity.Fetches the SrvcOrdTmplPartner entities (one to many) associated with this entity.Fetches the ServiceOrderTmplPersonResp entities (one to many) associated with this entity.Fetches the ServiceOrderTmplRefObject entities (one to many) associated with this entity.Fetches the SrvcOrdTmplUserStatus entities (one to many) associated with this entity.Fetches the ServiceOrderTmplText entities (one to many) associated with this entity.static <T,DomainT>
ServiceOrderTemplateField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ServiceOrderTemplateField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidio.vavr.control.Option<List<SrvcOrdTmplAppointment>>Retrieval of associated SrvcOrdTmplAppointment entities (one to many).Retrieval of associated SrvcOrdTmplAppointment entities (one to many).protected StringConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<List<SrvcOrdTmplDuration>>Retrieval of associated SrvcOrdTmplDuration entities (one to many).Retrieval of associated SrvcOrdTmplDuration entities (one to many).protected Stringio.vavr.control.Option<List<ServiceOrderTemplateItem>>Retrieval of associated ServiceOrderTemplateItem entities (one to many).Retrieval of associated ServiceOrderTemplateItem entities (one to many).getKey()Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<List<SrvcOrdTmplPartner>>Retrieval of associated SrvcOrdTmplPartner entities (one to many).Retrieval of associated SrvcOrdTmplPartner entities (one to many).io.vavr.control.Option<List<ServiceOrderTmplPersonResp>>Retrieval of associated ServiceOrderTmplPersonResp entities (one to many).Retrieval of associated ServiceOrderTmplPersonResp entities (one to many).io.vavr.control.Option<List<ServiceOrderTmplRefObject>>Retrieval of associated ServiceOrderTmplRefObject entities (one to many).Retrieval of associated ServiceOrderTmplRefObject entities (one to many).Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: noneConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 54Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<SrvcOrdTmplUserStatus>>Retrieval of associated SrvcOrdTmplUserStatus entities (one to many).Retrieval of associated SrvcOrdTmplUserStatus entities (one to many).io.vavr.control.Option<List<ServiceOrderTmplText>>Retrieval of associated ServiceOrderTmplText entities (one to many).Retrieval of associated ServiceOrderTmplText entities (one to many).getType()inthashCode()voidsetAppointment(List<SrvcOrdTmplAppointment> value) Overwrites the list of associated SrvcOrdTmplAppointment entities for the loaded navigation property to_Appointment.voidsetDistributionChannel(String distributionChannel) Constraints: Not nullable, Maximum length: 2voidsetDivision(String division) Constraints: Not nullable, Maximum length: 2voidsetDuration(List<SrvcOrdTmplDuration> value) Overwrites the list of associated SrvcOrdTmplDuration entities for the loaded navigation property to_Duration.voidsetItem(List<ServiceOrderTemplateItem> value) Overwrites the list of associated ServiceOrderTemplateItem entities for the loaded navigation property to_Item.voidsetLanguage(String language) Constraints: Not nullable, Maximum length: 2voidsetPartner(List<SrvcOrdTmplPartner> value) Overwrites the list of associated SrvcOrdTmplPartner entities for the loaded navigation property to_Partner.voidOverwrites the list of associated ServiceOrderTmplPersonResp entities for the loaded navigation property to_PersonResponsible.voidOverwrites the list of associated ServiceOrderTmplRefObject entities for the loaded navigation property to_ReferenceObject.voidsetSalesGroup(String salesGroup) Constraints: Not nullable, Maximum length: 3voidsetSalesOffice(String salesOffice) Constraints: Not nullable, Maximum length: 4voidsetSalesOrganization(String salesOrganization) Constraints: Not nullable, Maximum length: 4voidsetServiceDocumentPriority(String serviceDocumentPriority) Constraints: Not nullable, Maximum length: 1voidsetServiceDocumentTemplateType(String serviceDocumentTemplateType) Constraints: Not nullable, Maximum length: 1voidsetServiceDocumentType(String serviceDocumentType) Constraints: Not nullable, Maximum length: 4voidsetServiceObjectType(String serviceObjectType) Constraints: Not nullable, Maximum length: 10voidsetServiceOrderTemplate(String serviceOrderTemplate) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetServiceOrderTemplateType(String serviceOrderTemplateType) Constraints: Not nullable, Maximum length: 4voidsetServiceOrderTemplateUUID(UUID serviceOrderTemplateUUID) Constraints: nonevoidsetServiceOrderType(String serviceOrderType) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSrvcDocTemplateSearchTermText(String srvcDocTemplateSearchTermText) Constraints: Not nullable, Maximum length: 54voidsetSrvcDocTmplValdtyEndDateTime(ZonedDateTime srvcDocTmplValdtyEndDateTime) Constraints: Not nullable, Precision: 0voidsetSrvcDocTmplValdtyStartDateTime(ZonedDateTime srvcDocTmplValdtyStartDateTime) Constraints: Not nullable, Precision: 0voidsetSrvcOrdTmplDescription(String srvcOrdTmplDescription) Constraints: Not nullable, Maximum length: 40voidsetSrvcOrdTmplIsCompleted(String srvcOrdTmplIsCompleted) Constraints: Not nullable, Maximum length: 1voidsetSrvcOrdTmplIsReleased(String srvcOrdTmplIsReleased) Constraints: Not nullable, Maximum length: 1voidOverwrites the list of associated SrvcOrdTmplUserStatus entities for the loaded navigation property to_SrvcOrdTmplUserStatus.voidsetText(List<ServiceOrderTmplText> value) Overwrites the list of associated ServiceOrderTmplText entities for the loaded navigation property to_Text.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ServiceOrderTemplate. -
SERVICE_ORDER_TEMPLATE
Use with available fluent helpers to apply the ServiceOrderTemplate field to query operations. -
SERVICE_ORDER_TEMPLATE_UUID
Use with available fluent helpers to apply the ServiceOrderTemplateUUID field to query operations. -
SERVICE_ORDER_TEMPLATE_TYPE
Use with available fluent helpers to apply the ServiceOrderTemplateType field to query operations. -
SERVICE_OBJECT_TYPE
Use with available fluent helpers to apply the ServiceObjectType field to query operations. -
SRVC_ORD_TMPL_DESCRIPTION
Use with available fluent helpers to apply the SrvcOrdTmplDescription field to query operations. -
SERVICE_DOCUMENT_TEMPLATE_TYPE
Use with available fluent helpers to apply the ServiceDocumentTemplateType field to query operations. -
SRVC_DOC_TEMPLATE_SEARCH_TERM_TEXT
Use with available fluent helpers to apply the SrvcDocTemplateSearchTermText field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
SERVICE_DOCUMENT_PRIORITY
Use with available fluent helpers to apply the ServiceDocumentPriority field to query operations. -
SRVC_DOC_TMPL_VALDTY_START_DATE_TIME
Use with available fluent helpers to apply the SrvcDocTmplValdtyStartDateTime field to query operations. -
SRVC_DOC_TMPL_VALDTY_END_DATE_TIME
Use with available fluent helpers to apply the SrvcDocTmplValdtyEndDateTime field to query operations. -
SRVC_ORD_TMPL_IS_RELEASED
Use with available fluent helpers to apply the SrvcOrdTmplIsReleased field to query operations. -
SRVC_ORD_TMPL_IS_COMPLETED
Use with available fluent helpers to apply the SrvcOrdTmplIsCompleted field to query operations. -
SERVICE_ORDER_TYPE
Use with available fluent helpers to apply the ServiceOrderType field to query operations. -
SERVICE_DOCUMENT_TYPE
Use with available fluent helpers to apply the ServiceDocumentType field to query operations. -
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations. -
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations. -
DIVISION
Use with available fluent helpers to apply the Division field to query operations. -
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations. -
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations. -
TO_APPOINTMENT
Use with available fluent helpers to apply the to_Appointment navigation property to query operations. -
TO_DURATION
Use with available fluent helpers to apply the to_Duration navigation property to query operations. -
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations. -
TO_PARTNER
Use with available fluent helpers to apply the to_Partner navigation property to query operations. -
TO_PERSON_RESPONSIBLE
Use with available fluent helpers to apply the to_PersonResponsible navigation property to query operations. -
TO_REFERENCE_OBJECT
Use with available fluent helpers to apply the to_ReferenceObject navigation property to query operations. -
TO_SRVC_ORD_TMPL_USER_STATUS
Use with available fluent helpers to apply the to_SrvcOrdTmplUserStatus navigation property to query operations. -
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
-
-
Constructor Details
-
ServiceOrderTemplate
public ServiceOrderTemplate() -
ServiceOrderTemplate
public ServiceOrderTemplate(@Nullable String serviceOrderTemplate, @Nullable UUID serviceOrderTemplateUUID, @Nullable String serviceOrderTemplateType, @Nullable String serviceObjectType, @Nullable String srvcOrdTmplDescription, @Nullable String serviceDocumentTemplateType, @Nullable String srvcDocTemplateSearchTermText, @Nullable String language, @Nullable String serviceDocumentPriority, @Nullable ZonedDateTime srvcDocTmplValdtyStartDateTime, @Nullable ZonedDateTime srvcDocTmplValdtyEndDateTime, @Nullable String srvcOrdTmplIsReleased, @Nullable String srvcOrdTmplIsCompleted, @Nullable String serviceOrderType, @Nullable String serviceDocumentType, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String salesOffice, @Nullable String salesGroup, List<SrvcOrdTmplAppointment> toAppointment, List<SrvcOrdTmplDuration> toDuration, List<ServiceOrderTemplateItem> toItem, List<SrvcOrdTmplPartner> toPartner, List<ServiceOrderTmplPersonResp> toPersonResponsible, List<ServiceOrderTmplRefObject> toReferenceObject, List<SrvcOrdTmplUserStatus> toSrvcOrdTmplUserStatus, List<ServiceOrderTmplText> toText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ServiceOrderTemplate>
-
setServiceOrderTemplate
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrderTemplate
- Parameters:
serviceOrderTemplate- Transaction ID
-
setServiceOrderTemplateUUID
Constraints: noneOriginal property name from the Odata EDM: ServiceOrderTemplateUUID
- Parameters:
serviceOrderTemplateUUID- GUID of a CRM Order Object
-
setServiceOrderTemplateType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceOrderTemplateType
- Parameters:
serviceOrderTemplateType- Business Transaction Type
-
setServiceObjectType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceObjectType
- Parameters:
serviceObjectType- Business Trans. Cat.
-
setSrvcOrdTmplDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SrvcOrdTmplDescription
- Parameters:
srvcOrdTmplDescription- Transaction Description
-
setServiceDocumentTemplateType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceDocumentTemplateType
- Parameters:
serviceDocumentTemplateType- Template Type of CRM Transaction
-
setSrvcDocTemplateSearchTermText
Constraints: Not nullable, Maximum length: 54Original property name from the Odata EDM: SrvcDocTemplateSearchTermText
- Parameters:
srvcDocTemplateSearchTermText- Template Search Term
-
setLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key of Description
-
setServiceDocumentPriority
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceDocumentPriority
- Parameters:
serviceDocumentPriority- Activity Priority
-
setSrvcDocTmplValdtyStartDateTime
public void setSrvcDocTmplValdtyStartDateTime(@Nullable ZonedDateTime srvcDocTmplValdtyStartDateTime) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SrvcDocTmplValdtyStartDateTime
- Parameters:
srvcDocTmplValdtyStartDateTime- Template Start Date
-
setSrvcDocTmplValdtyEndDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SrvcDocTmplValdtyEndDateTime
- Parameters:
srvcDocTmplValdtyEndDateTime- Template End Date
-
setSrvcOrdTmplIsReleased
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrvcOrdTmplIsReleased
- Parameters:
srvcOrdTmplIsReleased- Release Status
-
setSrvcOrdTmplIsCompleted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrvcOrdTmplIsCompleted
- Parameters:
srvcOrdTmplIsCompleted- The srvcOrdTmplIsCompleted to set.
-
setServiceOrderType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrderType
- Parameters:
serviceOrderType- Business Trans. Cat.
-
setServiceDocumentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceDocumentType
- Parameters:
serviceDocumentType- Business Transaction Type
-
setSalesOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Parameters:
salesOrganization- Sales Organization
-
setDistributionChannel
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Parameters:
distributionChannel- Distribution Channel
-
setDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Division
- Parameters:
division- Division
-
setSalesOffice
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOffice
- Parameters:
salesOffice- Sales Office
-
setSalesGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesGroup
- Parameters:
salesGroup- Sales Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ServiceOrderTemplate>
-
getKey
- Overrides:
getKeyin classVdmObject<ServiceOrderTemplate>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ServiceOrderTemplate>
-
fromMap
- Overrides:
fromMapin classVdmObject<ServiceOrderTemplate>
-
field
@Nonnull public static <T> ServiceOrderTemplateField<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> ServiceOrderTemplateField<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<ServiceOrderTemplate>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ServiceOrderTemplate>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ServiceOrderTemplate>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ServiceOrderTemplate>
-
fetchAppointment
Fetches the SrvcOrdTmplAppointment 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 SrvcOrdTmplAppointment 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
Retrieval of associated SrvcOrdTmplAppointment entities (one to many). This corresponds to the OData navigation property to_Appointment.If the navigation property to_Appointment of a queried ServiceOrderTemplate 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 SrvcOrdTmplAppointment 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
Retrieval of associated SrvcOrdTmplAppointment entities (one to many). This corresponds to the OData navigation property to_Appointment.If the navigation property for an entity ServiceOrderTemplate has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Appointment is already loaded, the result will
contain the SrvcOrdTmplAppointment entities. If not, an
Optionwith result stateemptyis returned.
-
setAppointment
Overwrites the list of associated SrvcOrdTmplAppointment entities for the loaded navigation property to_Appointment.If the navigation property to_Appointment of a queried ServiceOrderTemplate 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 SrvcOrdTmplAppointment entities.
-
addAppointment
Adds elements to the list of associated SrvcOrdTmplAppointment entities. This corresponds to the OData navigation property to_Appointment.If the navigation property to_Appointment of a queried ServiceOrderTemplate 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 SrvcOrdTmplAppointment entities.
-
fetchDuration
Fetches the SrvcOrdTmplDuration 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 SrvcOrdTmplDuration 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
Retrieval of associated SrvcOrdTmplDuration entities (one to many). This corresponds to the OData navigation property to_Duration.If the navigation property to_Duration of a queried ServiceOrderTemplate 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 SrvcOrdTmplDuration 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
Retrieval of associated SrvcOrdTmplDuration entities (one to many). This corresponds to the OData navigation property to_Duration.If the navigation property for an entity ServiceOrderTemplate has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Duration is already loaded, the result will contain
the SrvcOrdTmplDuration entities. If not, an
Optionwith result stateemptyis returned.
-
setDuration
Overwrites the list of associated SrvcOrdTmplDuration entities for the loaded navigation property to_Duration.If the navigation property to_Duration of a queried ServiceOrderTemplate 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 SrvcOrdTmplDuration entities.
-
addDuration
Adds elements to the list of associated SrvcOrdTmplDuration entities. This corresponds to the OData navigation property to_Duration.If the navigation property to_Duration of a queried ServiceOrderTemplate 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 SrvcOrdTmplDuration entities.
-
fetchItem
Fetches the ServiceOrderTemplateItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Item.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ServiceOrderTemplateItem 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.
-
getItemOrFetch
Retrieval of associated ServiceOrderTemplateItem entities (one to many). This corresponds to the OData navigation property to_Item.If the navigation property to_Item of a queried ServiceOrderTemplate 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 ServiceOrderTemplateItem 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.
-
getItemIfPresent
Retrieval of associated ServiceOrderTemplateItem entities (one to many). This corresponds to the OData navigation property to_Item.If the navigation property for an entity ServiceOrderTemplate has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Item is already loaded, the result will contain the
ServiceOrderTemplateItem entities. If not, an
Optionwith result stateemptyis returned.
-
setItem
Overwrites the list of associated ServiceOrderTemplateItem entities for the loaded navigation property to_Item.If the navigation property to_Item of a queried ServiceOrderTemplate 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 ServiceOrderTemplateItem entities.
-
addItem
Adds elements to the list of associated ServiceOrderTemplateItem entities. This corresponds to the OData navigation property to_Item.If the navigation property to_Item of a queried ServiceOrderTemplate 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 ServiceOrderTemplateItem entities.
-
fetchPartner
Fetches the SrvcOrdTmplPartner 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 SrvcOrdTmplPartner 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
Retrieval of associated SrvcOrdTmplPartner entities (one to many). This corresponds to the OData navigation property to_Partner.If the navigation property to_Partner of a queried ServiceOrderTemplate 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 SrvcOrdTmplPartner 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
Retrieval of associated SrvcOrdTmplPartner entities (one to many). This corresponds to the OData navigation property to_Partner.If the navigation property for an entity ServiceOrderTemplate has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Partner is already loaded, the result will contain
the SrvcOrdTmplPartner entities. If not, an
Optionwith result stateemptyis returned.
-
setPartner
Overwrites the list of associated SrvcOrdTmplPartner entities for the loaded navigation property to_Partner.If the navigation property to_Partner of a queried ServiceOrderTemplate 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 SrvcOrdTmplPartner entities.
-
addPartner
Adds elements to the list of associated SrvcOrdTmplPartner entities. This corresponds to the OData navigation property to_Partner.If the navigation property to_Partner of a queried ServiceOrderTemplate 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 SrvcOrdTmplPartner entities.
-
fetchPersonResponsible
Fetches the ServiceOrderTmplPersonResp entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PersonResponsible.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ServiceOrderTmplPersonResp 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.
-
getPersonResponsibleOrFetch
Retrieval of associated ServiceOrderTmplPersonResp entities (one to many). This corresponds to the OData navigation property to_PersonResponsible.If the navigation property to_PersonResponsible of a queried ServiceOrderTemplate 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 ServiceOrderTmplPersonResp 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.
-
getPersonResponsibleIfPresent
@Nonnull public io.vavr.control.Option<List<ServiceOrderTmplPersonResp>> getPersonResponsibleIfPresent()Retrieval of associated ServiceOrderTmplPersonResp entities (one to many). This corresponds to the OData navigation property to_PersonResponsible.If the navigation property for an entity ServiceOrderTemplate has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_PersonResponsible is already loaded, the result will
contain the ServiceOrderTmplPersonResp entities. If not, an
Optionwith result stateemptyis returned.
-
setPersonResponsible
Overwrites the list of associated ServiceOrderTmplPersonResp entities for the loaded navigation property to_PersonResponsible.If the navigation property to_PersonResponsible of a queried ServiceOrderTemplate 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 ServiceOrderTmplPersonResp entities.
-
addPersonResponsible
Adds elements to the list of associated ServiceOrderTmplPersonResp entities. This corresponds to the OData navigation property to_PersonResponsible.If the navigation property to_PersonResponsible of a queried ServiceOrderTemplate 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 ServiceOrderTmplPersonResp entities.
-
fetchReferenceObject
Fetches the ServiceOrderTmplRefObject 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 ServiceOrderTmplRefObject 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
Retrieval of associated ServiceOrderTmplRefObject entities (one to many). This corresponds to the OData navigation property to_ReferenceObject.If the navigation property to_ReferenceObject of a queried ServiceOrderTemplate 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 ServiceOrderTmplRefObject 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<ServiceOrderTmplRefObject>> getReferenceObjectIfPresent()Retrieval of associated ServiceOrderTmplRefObject entities (one to many). This corresponds to the OData navigation property to_ReferenceObject.If the navigation property for an entity ServiceOrderTemplate has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_ReferenceObject is already loaded, the result will
contain the ServiceOrderTmplRefObject entities. If not, an
Optionwith result stateemptyis returned.
-
setReferenceObject
Overwrites the list of associated ServiceOrderTmplRefObject entities for the loaded navigation property to_ReferenceObject.If the navigation property to_ReferenceObject of a queried ServiceOrderTemplate 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 ServiceOrderTmplRefObject entities.
-
addReferenceObject
Adds elements to the list of associated ServiceOrderTmplRefObject entities. This corresponds to the OData navigation property to_ReferenceObject.If the navigation property to_ReferenceObject of a queried ServiceOrderTemplate 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 ServiceOrderTmplRefObject entities.
-
fetchSrvcOrdTmplUserStatus
Fetches the SrvcOrdTmplUserStatus entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SrvcOrdTmplUserStatus.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated SrvcOrdTmplUserStatus 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.
-
getSrvcOrdTmplUserStatusOrFetch
Retrieval of associated SrvcOrdTmplUserStatus entities (one to many). This corresponds to the OData navigation property to_SrvcOrdTmplUserStatus.If the navigation property to_SrvcOrdTmplUserStatus of a queried ServiceOrderTemplate 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 SrvcOrdTmplUserStatus 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.
-
getSrvcOrdTmplUserStatusIfPresent
@Nonnull public io.vavr.control.Option<List<SrvcOrdTmplUserStatus>> getSrvcOrdTmplUserStatusIfPresent()Retrieval of associated SrvcOrdTmplUserStatus entities (one to many). This corresponds to the OData navigation property to_SrvcOrdTmplUserStatus.If the navigation property for an entity ServiceOrderTemplate has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_SrvcOrdTmplUserStatus is already loaded, the result
will contain the SrvcOrdTmplUserStatus entities. If not, an
Optionwith result stateemptyis returned.
-
setSrvcOrdTmplUserStatus
Overwrites the list of associated SrvcOrdTmplUserStatus entities for the loaded navigation property to_SrvcOrdTmplUserStatus.If the navigation property to_SrvcOrdTmplUserStatus of a queried ServiceOrderTemplate 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 SrvcOrdTmplUserStatus entities.
-
addSrvcOrdTmplUserStatus
Adds elements to the list of associated SrvcOrdTmplUserStatus entities. This corresponds to the OData navigation property to_SrvcOrdTmplUserStatus.If the navigation property to_SrvcOrdTmplUserStatus of a queried ServiceOrderTemplate 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 SrvcOrdTmplUserStatus entities.
-
fetchText
Fetches the ServiceOrderTmplText 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 ServiceOrderTmplText 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
Retrieval of associated ServiceOrderTmplText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried ServiceOrderTemplate 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 ServiceOrderTmplText 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
Retrieval of associated ServiceOrderTmplText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property for an entity ServiceOrderTemplate has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Text is already loaded, the result will contain the
ServiceOrderTmplText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated ServiceOrderTmplText entities for the loaded navigation property to_Text.If the navigation property to_Text of a queried ServiceOrderTemplate 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 ServiceOrderTmplText entities.
-
addText
Adds elements to the list of associated ServiceOrderTmplText entities. This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried ServiceOrderTemplate 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 ServiceOrderTmplText entities.
-
builder
-
getServiceOrderTemplate
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrderTemplate
- Returns:
- Transaction ID
-
getServiceOrderTemplateUUID
Constraints: noneOriginal property name from the Odata EDM: ServiceOrderTemplateUUID
- Returns:
- GUID of a CRM Order Object
-
getServiceOrderTemplateType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceOrderTemplateType
- Returns:
- Business Transaction Type
-
getServiceObjectType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceObjectType
- Returns:
- Business Trans. Cat.
-
getSrvcOrdTmplDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SrvcOrdTmplDescription
- Returns:
- Transaction Description
-
getServiceDocumentTemplateType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceDocumentTemplateType
- Returns:
- Template Type of CRM Transaction
-
getSrvcDocTemplateSearchTermText
Constraints: Not nullable, Maximum length: 54Original property name from the Odata EDM: SrvcDocTemplateSearchTermText
- Returns:
- Template Search Term
-
getLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key of Description
-
getServiceDocumentPriority
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceDocumentPriority
- Returns:
- Activity Priority
-
getSrvcDocTmplValdtyStartDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SrvcDocTmplValdtyStartDateTime
- Returns:
- Template Start Date
-
getSrvcDocTmplValdtyEndDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SrvcDocTmplValdtyEndDateTime
- Returns:
- Template End Date
-
getSrvcOrdTmplIsReleased
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrvcOrdTmplIsReleased
- Returns:
- Release Status
-
getSrvcOrdTmplIsCompleted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrvcOrdTmplIsCompleted
- Returns:
- The srvcOrdTmplIsCompleted contained in this entity.
-
getServiceOrderType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrderType
- Returns:
- Business Trans. Cat.
-
getServiceDocumentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceDocumentType
- Returns:
- Business Transaction Type
-
getSalesOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Returns:
- Sales Organization
-
getDistributionChannel
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Returns:
- Distribution Channel
-
getDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Division
- Returns:
- Division
-
getSalesOffice
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOffice
- Returns:
- Sales Office
-
getSalesGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesGroup
- Returns:
- Sales Group
-
toString
- Overrides:
toStringin classVdmObject<ServiceOrderTemplate>
-
equals
- Overrides:
equalsin classVdmEntity<ServiceOrderTemplate>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ServiceOrderTemplate>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ServiceOrderTemplate>
-