public class ServiceOrderTemplateItem extends VdmEntity<ServiceOrderTemplateItem>
Original entity name from the Odata EDM: A_ServiceOrderTemplateItemType
Modifier and Type | Class and Description |
---|---|
static class |
ServiceOrderTemplateItem.ServiceOrderTemplateItemBuilder
Helper class to allow for fluent creation of ServiceOrderTemplateItem instances.
|
Modifier and Type | Field and Description |
---|---|
static ServiceOrderTemplateItemSelectable |
ALL_FIELDS
Selector for all available fields of ServiceOrderTemplateItem.
|
static ServiceOrderTemplateItemField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static ServiceOrderTemplateItemField<String> |
PARENT_SERVICE_ORDER_TEMPLATE_ITEM
Use with available fluent helpers to apply the ParentServiceOrderTemplateItem field to query operations.
|
static ServiceOrderTemplateItemField<String> |
PERSON_RESPONSIBLE
Use with available fluent helpers to apply the PersonResponsible field to query operations.
|
static ServiceOrderTemplateItemField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ServiceOrderTemplateItemField<BigDecimal> |
QUANTITY
Use with available fluent helpers to apply the Quantity field to query operations.
|
static ServiceOrderTemplateItemField<String> |
QUANTITY_UNIT
Use with available fluent helpers to apply the QuantityUnit field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SERVICE_DOCUMENT_ITEM_OBJECT_TYPE
Use with available fluent helpers to apply the ServiceDocumentItemObjectType field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SERVICE_OBJECT_TYPE
Use with available fluent helpers to apply the ServiceObjectType field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SERVICE_ORDER_TEMPLATE
Use with available fluent helpers to apply the ServiceOrderTemplate field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SERVICE_ORDER_TEMPLATE_ITEM
Use with available fluent helpers to apply the ServiceOrderTemplateItem field to query operations.
|
static ServiceOrderTemplateItemField<UUID> |
SERVICE_ORDER_TEMPLATE_ITEM_UUID
Use with available fluent helpers to apply the ServiceOrderTemplateItemUUID field to query operations.
|
static ServiceOrderTemplateItemField<ZonedDateTime> |
SRVC_DOC_ITM_VALDTY_END_DATE_TIME
Use with available fluent helpers to apply the SrvcDocItmValdtyEndDateTime field to query operations.
|
static ServiceOrderTemplateItemField<ZonedDateTime> |
SRVC_DOC_ITM_VALDTY_START_DATE_TIME
Use with available fluent helpers to apply the SrvcDocItmValdtyStartDateTime field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SRVC_ORD_TMPL_ITM_CATEGORY
Use with available fluent helpers to apply the SrvcOrdTmplItmCategory field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SRVC_ORD_TMPL_ITM_DESCRIPTION
Use with available fluent helpers to apply the SrvcOrdTmplItmDescription field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SRVC_ORD_TMPL_ITM_IS_COMPLETED
Use with available fluent helpers to apply the SrvcOrdTmplItmIsCompleted field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SRVC_ORD_TMPL_ITM_IS_REJECTED
Use with available fluent helpers to apply the SrvcOrdTmplItmIsRejected field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SRVC_ORD_TMPL_ITM_IS_RELEASED
Use with available fluent helpers to apply the SrvcOrdTmplItmIsReleased field to query operations.
|
static ServiceOrderTemplateItemField<String> |
SRVC_ORD_TMPL_ITM_REJECTION_REASON
Use with available fluent helpers to apply the SrvcOrdTmplItmRejectionReason field to query operations.
|
static ServiceOrderTemplateItemLink<ServiceOrderTmplItemRefObj> |
TO_REFERENCE_OBJECT
Use with available fluent helpers to apply the to_ReferenceObject navigation property to query operations.
|
static ServiceOrderTemplateItemOneToOneLink<ServiceOrderTemplate> |
TO_SERVICE_ORDER_TEMPLATE
Use with available fluent helpers to apply the to_ServiceOrderTemplate navigation property to query
operations.
|
static ServiceOrderTemplateItemLink<ServiceOrderTmplItemText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ServiceOrderTemplateItem() |
ServiceOrderTemplateItem(String serviceOrderTemplate,
String serviceOrderTemplateItem,
UUID serviceOrderTemplateItemUUID,
String srvcOrdTmplItmDescription,
String serviceObjectType,
String serviceDocumentItemObjectType,
String language,
String product,
BigDecimal quantity,
String quantityUnit,
String srvcOrdTmplItmCategory,
String srvcOrdTmplItmRejectionReason,
ZonedDateTime srvcDocItmValdtyStartDateTime,
ZonedDateTime srvcDocItmValdtyEndDateTime,
String personResponsible,
String srvcOrdTmplItmIsReleased,
String parentServiceOrderTemplateItem,
String srvcOrdTmplItmIsCompleted,
String srvcOrdTmplItmIsRejected,
List<ServiceOrderTmplItemRefObj> toReferenceObject,
ServiceOrderTemplate toServiceOrderTemplate,
List<ServiceOrderTmplItemText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addReferenceObject(ServiceOrderTmplItemRefObj... entity)
Adds elements to the list of associated ServiceOrderTmplItemRefObj entities.
|
void |
addText(ServiceOrderTmplItemText... entity)
Adds elements to the list of associated ServiceOrderTmplItemText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ServiceOrderTemplateItem.ServiceOrderTemplateItemBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ServiceOrderTmplItemRefObj> |
fetchReferenceObject()
Fetches the ServiceOrderTmplItemRefObj entities (one to many) associated with this entity.
|
ServiceOrderTemplate |
fetchServiceOrderTemplate()
Fetches the ServiceOrderTemplate entity (one to one) associated with this entity.
|
List<ServiceOrderTmplItemText> |
fetchText()
Fetches the ServiceOrderTmplItemText entities (one to many) associated with this entity.
|
static <T> ServiceOrderTemplateItemField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
String |
getParentServiceOrderTemplateItem()
Constraints: Not nullable, Maximum length: 6
|
String |
getPersonResponsible()
Constraints: Not nullable, Maximum length: 10
|
String |
getProduct()
Constraints: Not nullable, Maximum length: 54
|
BigDecimal |
getQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
io.vavr.control.Option<List<ServiceOrderTmplItemRefObj>> |
getReferenceObjectIfPresent()
Retrieval of associated ServiceOrderTmplItemRefObj entities (one to many).
|
List<ServiceOrderTmplItemRefObj> |
getReferenceObjectOrFetch()
Retrieval of associated ServiceOrderTmplItemRefObj entities (one to many).
|
String |
getServiceDocumentItemObjectType()
Constraints: Not nullable, Maximum length: 10
|
String |
getServiceObjectType()
Constraints: Not nullable, Maximum length: 10
|
String |
getServiceOrderTemplate()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<ServiceOrderTemplate> |
getServiceOrderTemplateIfPresent()
Retrieval of associated ServiceOrderTemplate entity (one to one).
|
String |
getServiceOrderTemplateItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
UUID |
getServiceOrderTemplateItemUUID()
Constraints: none
|
ServiceOrderTemplate |
getServiceOrderTemplateOrFetch()
Retrieval of associated ServiceOrderTemplate entity (one to one).
|
ZonedDateTime |
getSrvcDocItmValdtyEndDateTime()
Constraints: Not nullable, Precision: 0
|
ZonedDateTime |
getSrvcDocItmValdtyStartDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getSrvcOrdTmplItmCategory()
Constraints: Not nullable, Maximum length: 4
|
String |
getSrvcOrdTmplItmDescription()
Constraints: Not nullable, Maximum length: 40
|
String |
getSrvcOrdTmplItmIsCompleted()
Constraints: Not nullable, Maximum length: 1
|
String |
getSrvcOrdTmplItmIsRejected()
Constraints: Not nullable, Maximum length: 1
|
String |
getSrvcOrdTmplItmIsReleased()
Constraints: Not nullable, Maximum length: 1
|
String |
getSrvcOrdTmplItmRejectionReason()
Constraints: Not nullable, Maximum length: 2
|
io.vavr.control.Option<List<ServiceOrderTmplItemText>> |
getTextIfPresent()
Retrieval of associated ServiceOrderTmplItemText entities (one to many).
|
List<ServiceOrderTmplItemText> |
getTextOrFetch()
Retrieval of associated ServiceOrderTmplItemText entities (one to many).
|
Class<ServiceOrderTemplateItem> |
getType() |
int |
hashCode() |
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setParentServiceOrderTemplateItem(String parentServiceOrderTemplateItem)
Constraints: Not nullable, Maximum length: 6
|
void |
setPersonResponsible(String personResponsible)
Constraints: Not nullable, Maximum length: 10
|
void |
setProduct(String product)
Constraints: Not nullable, Maximum length: 54
|
void |
setQuantity(BigDecimal quantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setQuantityUnit(String quantityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setReferenceObject(List<ServiceOrderTmplItemRefObj> value)
Overwrites the list of associated ServiceOrderTmplItemRefObj entities for the loaded navigation property
to_ReferenceObject.
|
void |
setServiceDocumentItemObjectType(String serviceDocumentItemObjectType)
Constraints: Not nullable, Maximum length: 10
|
void |
setServiceObjectType(String serviceObjectType)
Constraints: Not nullable, Maximum length: 10
|
void |
setServiceOrderTemplate(ServiceOrderTemplate value)
Overwrites the associated ServiceOrderTemplate entity for the loaded navigation property
to_ServiceOrderTemplate.
|
void |
setServiceOrderTemplate(String serviceOrderTemplate)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setServiceOrderTemplateItem(String serviceOrderTemplateItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setServiceOrderTemplateItemUUID(UUID serviceOrderTemplateItemUUID)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSrvcDocItmValdtyEndDateTime(ZonedDateTime srvcDocItmValdtyEndDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setSrvcDocItmValdtyStartDateTime(ZonedDateTime srvcDocItmValdtyStartDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setSrvcOrdTmplItmCategory(String srvcOrdTmplItmCategory)
Constraints: Not nullable, Maximum length: 4
|
void |
setSrvcOrdTmplItmDescription(String srvcOrdTmplItmDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setSrvcOrdTmplItmIsCompleted(String srvcOrdTmplItmIsCompleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setSrvcOrdTmplItmIsRejected(String srvcOrdTmplItmIsRejected)
Constraints: Not nullable, Maximum length: 1
|
void |
setSrvcOrdTmplItmIsReleased(String srvcOrdTmplItmIsReleased)
Constraints: Not nullable, Maximum length: 1
|
void |
setSrvcOrdTmplItmRejectionReason(String srvcOrdTmplItmRejectionReason)
Constraints: Not nullable, Maximum length: 2
|
void |
setText(List<ServiceOrderTmplItemText> value)
Overwrites the list of associated ServiceOrderTmplItemText entities for the loaded navigation property
to_Text.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final ServiceOrderTemplateItemSelectable ALL_FIELDS
public static final ServiceOrderTemplateItemField<String> SERVICE_ORDER_TEMPLATE
public static final ServiceOrderTemplateItemField<String> SERVICE_ORDER_TEMPLATE_ITEM
public static final ServiceOrderTemplateItemField<UUID> SERVICE_ORDER_TEMPLATE_ITEM_UUID
public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_DESCRIPTION
public static final ServiceOrderTemplateItemField<String> SERVICE_OBJECT_TYPE
public static final ServiceOrderTemplateItemField<String> SERVICE_DOCUMENT_ITEM_OBJECT_TYPE
public static final ServiceOrderTemplateItemField<String> LANGUAGE
public static final ServiceOrderTemplateItemField<String> PRODUCT
public static final ServiceOrderTemplateItemField<BigDecimal> QUANTITY
public static final ServiceOrderTemplateItemField<String> QUANTITY_UNIT
public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_CATEGORY
public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_REJECTION_REASON
public static final ServiceOrderTemplateItemField<ZonedDateTime> SRVC_DOC_ITM_VALDTY_START_DATE_TIME
public static final ServiceOrderTemplateItemField<ZonedDateTime> SRVC_DOC_ITM_VALDTY_END_DATE_TIME
public static final ServiceOrderTemplateItemField<String> PERSON_RESPONSIBLE
public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_IS_RELEASED
public static final ServiceOrderTemplateItemField<String> PARENT_SERVICE_ORDER_TEMPLATE_ITEM
public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_IS_COMPLETED
public static final ServiceOrderTemplateItemField<String> SRVC_ORD_TMPL_ITM_IS_REJECTED
public static final ServiceOrderTemplateItemLink<ServiceOrderTmplItemRefObj> TO_REFERENCE_OBJECT
public static final ServiceOrderTemplateItemOneToOneLink<ServiceOrderTemplate> TO_SERVICE_ORDER_TEMPLATE
public static final ServiceOrderTemplateItemLink<ServiceOrderTmplItemText> TO_TEXT
public ServiceOrderTemplateItem()
public ServiceOrderTemplateItem(@Nullable String serviceOrderTemplate, @Nullable String serviceOrderTemplateItem, @Nullable UUID serviceOrderTemplateItemUUID, @Nullable String srvcOrdTmplItmDescription, @Nullable String serviceObjectType, @Nullable String serviceDocumentItemObjectType, @Nullable String language, @Nullable String product, @Nullable BigDecimal quantity, @Nullable String quantityUnit, @Nullable String srvcOrdTmplItmCategory, @Nullable String srvcOrdTmplItmRejectionReason, @Nullable ZonedDateTime srvcDocItmValdtyStartDateTime, @Nullable ZonedDateTime srvcDocItmValdtyEndDateTime, @Nullable String personResponsible, @Nullable String srvcOrdTmplItmIsReleased, @Nullable String parentServiceOrderTemplateItem, @Nullable String srvcOrdTmplItmIsCompleted, @Nullable String srvcOrdTmplItmIsRejected, List<ServiceOrderTmplItemRefObj> toReferenceObject, @Nullable ServiceOrderTemplate toServiceOrderTemplate, List<ServiceOrderTmplItemText> toText)
@Nonnull public Class<ServiceOrderTemplateItem> getType()
getType
in class VdmObject<ServiceOrderTemplateItem>
public void setServiceOrderTemplate(@Nullable String serviceOrderTemplate)
Original property name from the Odata EDM: ServiceOrderTemplate
serviceOrderTemplate
- Number that identifies the transaction document. It is unique for each business transaction category.public void setServiceOrderTemplateItem(@Nullable String serviceOrderTemplateItem)
Original property name from the Odata EDM: ServiceOrderTemplateItem
serviceOrderTemplateItem
- Shortened Item Number in Documentpublic void setServiceOrderTemplateItemUUID(@Nullable UUID serviceOrderTemplateItemUUID)
Original property name from the Odata EDM: ServiceOrderTemplateItemUUID
This key is only used internally, and the operation number is always displayed on the interface. However, the operation number is not necessarily unique.
serviceOrderTemplateItemUUID
- The unique ID for an operation is a technical key by which the operation can be uniquely identified.public void setSrvcOrdTmplItmDescription(@Nullable String srvcOrdTmplItmDescription)
Original property name from the Odata EDM: SrvcOrdTmplItmDescription
srvcOrdTmplItmDescription
- Product Descriptionpublic void setServiceObjectType(@Nullable String serviceObjectType)
Original property name from the Odata EDM: ServiceObjectType
You assign one or more business transaction categories to a transaction type.Depending on the leading business transaction category, only specific combinations are possible with other business transaction categories. The business transaction category Sales can only be combined with Activities, for example.
serviceObjectType
- Determines the business context in which a transaction type or item category can be used (for example,
Service, Sales, Activity).public void setServiceDocumentItemObjectType(@Nullable String serviceDocumentItemObjectType)
Original property name from the Odata EDM: ServiceDocumentItemObjectType
serviceDocumentItemObjectType
- Specifies the business context of an item category.public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Short Text Language for an Itempublic void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
If, for whatever reason, you have to deliver a substitute product for the one originally required, you can see which product the customer originally ordered.
product
- Product that the customer originally ordered.public void setQuantity(@Nullable BigDecimal quantity)
Original property name from the Odata EDM: Quantity
This field is only filled for a sales or opportunity item. This field remains empty for other item object types.
quantity
- Total (rounded) order quantity in sales units of measure for this item.public void setQuantityUnit(@Nullable String quantityUnit)
Original property name from the Odata EDM: QuantityUnit
quantityUnit
- Unit of measure in which the product is sold.public void setSrvcOrdTmplItmCategory(@Nullable String srvcOrdTmplItmCategory)
Original property name from the Odata EDM: SrvcOrdTmplItmCategory
An item category defines the characteristics and attributes of a transaction item and thus controls the processing of an item.
srvcOrdTmplItmCategory
- Key that identifies an item category.public void setSrvcOrdTmplItmRejectionReason(@Nullable String srvcOrdTmplItmRejectionReason)
Original property name from the Odata EDM: SrvcOrdTmplItmRejectionReason
The rejection can either come from your company, or from the customer (for example, the customer rejects a quotation because the price is too high).Enter a predefined value for your system.
srvcOrdTmplItmRejectionReason
- Reason for rejecting a sales transaction.public void setSrvcDocItmValdtyStartDateTime(@Nullable ZonedDateTime srvcDocItmValdtyStartDateTime)
Original property name from the Odata EDM: SrvcDocItmValdtyStartDateTime
srvcDocItmValdtyStartDateTime
- Time Dependency: Validity Start Datepublic void setSrvcDocItmValdtyEndDateTime(@Nullable ZonedDateTime srvcDocItmValdtyEndDateTime)
Original property name from the Odata EDM: SrvcDocItmValdtyEndDateTime
srvcDocItmValdtyEndDateTime
- Time Dependency: Validity End Datepublic void setPersonResponsible(@Nullable String personResponsible)
Original property name from the Odata EDM: PersonResponsible
personResponsible
- Employee Responsiblepublic void setSrvcOrdTmplItmIsReleased(@Nullable String srvcOrdTmplItmIsReleased)
Original property name from the Odata EDM: SrvcOrdTmplItmIsReleased
srvcOrdTmplItmIsReleased
- Release Statuspublic void setParentServiceOrderTemplateItem(@Nullable String parentServiceOrderTemplateItem)
Original property name from the Odata EDM: ParentServiceOrderTemplateItem
parentServiceOrderTemplateItem
- Shortened Item Number in Documentpublic void setSrvcOrdTmplItmIsCompleted(@Nullable String srvcOrdTmplItmIsCompleted)
Original property name from the Odata EDM: SrvcOrdTmplItmIsCompleted
srvcOrdTmplItmIsCompleted
- The srvcOrdTmplItmIsCompleted to set.public void setSrvcOrdTmplItmIsRejected(@Nullable String srvcOrdTmplItmIsRejected)
Original property name from the Odata EDM: SrvcOrdTmplItmIsRejected
srvcOrdTmplItmIsRejected
- Cancellation Statusprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ServiceOrderTemplateItem>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ServiceOrderTemplateItem>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ServiceOrderTemplateItem>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ServiceOrderTemplateItem>
@Nonnull public static <T> ServiceOrderTemplateItemField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ServiceOrderTemplateItemField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ServiceOrderTemplateItem>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ServiceOrderTemplateItem>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ServiceOrderTemplateItem>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ServiceOrderTemplateItem>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ServiceOrderTemplateItem>
@Nonnull public List<ServiceOrderTmplItemRefObj> fetchReferenceObject() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<ServiceOrderTmplItemRefObj> getReferenceObjectOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<ServiceOrderTmplItemRefObj>> getReferenceObjectIfPresent()
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
.
Option
with result state
empty
is returned.public void setReferenceObject(@Nonnull List<ServiceOrderTmplItemRefObj> value)
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.
value
- List of ServiceOrderTmplItemRefObj entities.public void addReferenceObject(ServiceOrderTmplItemRefObj... entity)
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.
entity
- Array of ServiceOrderTmplItemRefObj entities.@Nullable public ServiceOrderTemplate fetchServiceOrderTemplate() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public ServiceOrderTemplate getServiceOrderTemplateOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<ServiceOrderTemplate> getServiceOrderTemplateIfPresent()
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
.
Option
with result state
empty
is returned.public void setServiceOrderTemplate(ServiceOrderTemplate value)
value
- New ServiceOrderTemplate entity.@Nonnull public List<ServiceOrderTmplItemText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<ServiceOrderTmplItemText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<ServiceOrderTmplItemText>> getTextIfPresent()
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
.
Option
with result state
empty
is returned.public void setText(@Nonnull List<ServiceOrderTmplItemText> value)
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.
value
- List of ServiceOrderTmplItemText entities.public void addText(ServiceOrderTmplItemText... entity)
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.
entity
- Array of ServiceOrderTmplItemText entities.@Nonnull public static ServiceOrderTemplateItem.ServiceOrderTemplateItemBuilder builder()
@Nullable public String getServiceOrderTemplate()
Original property name from the Odata EDM: ServiceOrderTemplate
@Nullable public String getServiceOrderTemplateItem()
Original property name from the Odata EDM: ServiceOrderTemplateItem
@Nullable public UUID getServiceOrderTemplateItemUUID()
Original property name from the Odata EDM: ServiceOrderTemplateItemUUID
This key is only used internally, and the operation number is always displayed on the interface. However, the operation number is not necessarily unique.
@Nullable public String getSrvcOrdTmplItmDescription()
Original property name from the Odata EDM: SrvcOrdTmplItmDescription
@Nullable public String getServiceObjectType()
Original property name from the Odata EDM: ServiceObjectType
You assign one or more business transaction categories to a transaction type.Depending on the leading business transaction category, only specific combinations are possible with other business transaction categories. The business transaction category Sales can only be combined with Activities, for example.
@Nullable public String getServiceDocumentItemObjectType()
Original property name from the Odata EDM: ServiceDocumentItemObjectType
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
If, for whatever reason, you have to deliver a substitute product for the one originally required, you can see which product the customer originally ordered.
@Nullable public BigDecimal getQuantity()
Original property name from the Odata EDM: Quantity
This field is only filled for a sales or opportunity item. This field remains empty for other item object types.
@Nullable public String getQuantityUnit()
Original property name from the Odata EDM: QuantityUnit
@Nullable public String getSrvcOrdTmplItmCategory()
Original property name from the Odata EDM: SrvcOrdTmplItmCategory
An item category defines the characteristics and attributes of a transaction item and thus controls the processing of an item.
@Nullable public String getSrvcOrdTmplItmRejectionReason()
Original property name from the Odata EDM: SrvcOrdTmplItmRejectionReason
The rejection can either come from your company, or from the customer (for example, the customer rejects a quotation because the price is too high).Enter a predefined value for your system.
@Nullable public ZonedDateTime getSrvcDocItmValdtyStartDateTime()
Original property name from the Odata EDM: SrvcDocItmValdtyStartDateTime
@Nullable public ZonedDateTime getSrvcDocItmValdtyEndDateTime()
Original property name from the Odata EDM: SrvcDocItmValdtyEndDateTime
@Nullable public String getPersonResponsible()
Original property name from the Odata EDM: PersonResponsible
@Nullable public String getSrvcOrdTmplItmIsReleased()
Original property name from the Odata EDM: SrvcOrdTmplItmIsReleased
@Nullable public String getParentServiceOrderTemplateItem()
Original property name from the Odata EDM: ParentServiceOrderTemplateItem
@Nullable public String getSrvcOrdTmplItmIsCompleted()
Original property name from the Odata EDM: SrvcOrdTmplItmIsCompleted
@Nullable public String getSrvcOrdTmplItmIsRejected()
Original property name from the Odata EDM: SrvcOrdTmplItmIsRejected
@Nonnull public String toString()
toString
in class VdmObject<ServiceOrderTemplateItem>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ServiceOrderTemplateItem>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ServiceOrderTemplateItem>
public int hashCode()
hashCode
in class VdmObject<ServiceOrderTemplateItem>
Copyright © 2021 SAP SE. All rights reserved.