public class ServiceOrder extends VdmEntity<ServiceOrder>
Original entity name from the Odata EDM: A_ServiceOrderType
Modifier and Type | Class and Description |
---|---|
static class |
ServiceOrder.ServiceOrderBuilder
Helper class to allow for fluent creation of ServiceOrder instances.
|
Modifier and Type | Field and Description |
---|---|
static ServiceOrderSelectable |
ALL_FIELDS
Selector for all available fields of ServiceOrder.
|
static ServiceOrderField<String> |
BILL_TO_PARTY
Use with available fluent helpers to apply the BillToParty field to query operations.
|
static ServiceOrderField<String> |
CONTACT_PERSON
Use with available fluent helpers to apply the ContactPerson field to query operations.
|
static ServiceOrderField<LocalDateTime> |
CUSTOMER_PURCHASE_ORDER_DATE
Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations.
|
static ServiceOrderField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static ServiceOrderField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static ServiceOrderField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static ServiceOrderField<String> |
PAYER_PARTY
Use with available fluent helpers to apply the PayerParty field to query operations.
|
static ServiceOrderField<String> |
PURCHASE_ORDER_BY_CUSTOMER
Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations.
|
static ServiceOrderField<String> |
REFERENCE_SERVICE_CONTRACT
Use with available fluent helpers to apply the ReferenceServiceContract field to query operations.
|
static ServiceOrderField<String> |
REFERENCE_SERVICE_ORDER
Use with available fluent helpers to apply the ReferenceServiceOrder field to query operations.
|
static ServiceOrderField<String> |
REFERENCE_SERVICE_REQUEST
Use with available fluent helpers to apply the ReferenceServiceRequest field to query operations.
|
static ServiceOrderField<ZonedDateTime> |
REQUESTED_SERVICE_END_DATE_TIME
Use with available fluent helpers to apply the RequestedServiceEndDateTime field to query operations.
|
static ServiceOrderField<ZonedDateTime> |
REQUESTED_SERVICE_START_DATE_TIME
Use with available fluent helpers to apply the RequestedServiceStartDateTime field to query operations.
|
static ServiceOrderField<String> |
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations.
|
static ServiceOrderField<String> |
SALES_GROUP_ORG_UNIT_ID
Use with available fluent helpers to apply the SalesGroupOrgUnitID field to query operations.
|
static ServiceOrderField<String> |
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations.
|
static ServiceOrderField<String> |
SALES_OFFICE_ORG_UNIT_ID
Use with available fluent helpers to apply the SalesOfficeOrgUnitID field to query operations.
|
static ServiceOrderField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static ServiceOrderField<String> |
SALES_ORGANIZATION_ORG_UNIT_ID
Use with available fluent helpers to apply the SalesOrganizationOrgUnitID field to query operations.
|
static ServiceOrderField<BigDecimal> |
SERVICE_DOC_GROSS_AMOUNT
Use with available fluent helpers to apply the ServiceDocGrossAmount field to query operations.
|
static ServiceOrderField<BigDecimal> |
SERVICE_DOC_NET_AMOUNT
Use with available fluent helpers to apply the ServiceDocNetAmount field to query operations.
|
static ServiceOrderField<BigDecimal> |
SERVICE_DOC_TAX_AMOUNT
Use with available fluent helpers to apply the ServiceDocTaxAmount field to query operations.
|
static ServiceOrderField<String> |
SERVICE_DOCUMENT_PRIORITY
Use with available fluent helpers to apply the ServiceDocumentPriority field to query operations.
|
static ServiceOrderField<String> |
SERVICE_OBJECT_TYPE
Use with available fluent helpers to apply the ServiceObjectType field to query operations.
|
static ServiceOrderField<String> |
SERVICE_ORDER
Use with available fluent helpers to apply the ServiceOrder field to query operations.
|
static ServiceOrderField<String> |
SERVICE_ORDER_DESCRIPTION
Use with available fluent helpers to apply the ServiceOrderDescription field to query operations.
|
static ServiceOrderField<String> |
SERVICE_ORDER_IS_COMPLETED
Use with available fluent helpers to apply the ServiceOrderIsCompleted field to query operations.
|
static ServiceOrderField<String> |
SERVICE_ORDER_IS_REJECTED
Use with available fluent helpers to apply the ServiceOrderIsRejected field to query operations.
|
static ServiceOrderField<String> |
SERVICE_ORDER_IS_RELEASED
Use with available fluent helpers to apply the ServiceOrderIsReleased field to query operations.
|
static ServiceOrderField<String> |
SERVICE_ORDER_TYPE
Use with available fluent helpers to apply the ServiceOrderType field to query operations.
|
static ServiceOrderField<UUID> |
SERVICE_ORDER_UUID
Use with available fluent helpers to apply the ServiceOrderUUID field to query operations.
|
static ServiceOrderField<String> |
SERVICE_ORGANIZATION
Use with available fluent helpers to apply the ServiceOrganization field to query operations.
|
static ServiceOrderField<String> |
SHIP_TO_PARTY
Use with available fluent helpers to apply the ShipToParty field to query operations.
|
static ServiceOrderField<String> |
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations.
|
static ServiceOrderLink<ServiceOrderConfirmation> |
TO_CONFIRMATION
Use with available fluent helpers to apply the to_Confirmation navigation property to query operations.
|
static ServiceOrderLink<ServiceOrderDefect> |
TO_DEFECT
Use with available fluent helpers to apply the to_Defect navigation property to query operations.
|
static ServiceOrderLink<ServiceOrderItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static ServiceOrderLink<ServiceOrderPersonResp> |
TO_PERSON_RESPONSIBLE
Use with available fluent helpers to apply the to_PersonResponsible navigation property to query
operations.
|
static ServiceOrderLink<ServiceOrderPriceElement> |
TO_PRICING_ELEMENT
Use with available fluent helpers to apply the to_PricingElement navigation property to query operations.
|
static ServiceOrderLink<ServiceOrderRefObject> |
TO_REFERENCE_OBJECT
Use with available fluent helpers to apply the to_ReferenceObject navigation property to query operations.
|
static ServiceOrderLink<ServiceOrderText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
static ServiceOrderField<String> |
TRANSACTION_CURRENCY
Use with available fluent helpers to apply the TransactionCurrency field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ServiceOrder() |
ServiceOrder(String serviceOrder,
String serviceOrderType,
UUID serviceOrderUUID,
String serviceOrderDescription,
String serviceObjectType,
String language,
String serviceDocumentPriority,
ZonedDateTime requestedServiceStartDateTime,
ZonedDateTime requestedServiceEndDateTime,
String purchaseOrderByCustomer,
LocalDateTime customerPurchaseOrderDate,
String serviceOrderIsReleased,
String serviceOrderIsCompleted,
String serviceOrderIsRejected,
String salesOrganization,
String distributionChannel,
String division,
String salesOffice,
String salesGroup,
String soldToParty,
String shipToParty,
String billToParty,
String payerParty,
String contactPerson,
BigDecimal serviceDocGrossAmount,
BigDecimal serviceDocNetAmount,
BigDecimal serviceDocTaxAmount,
String transactionCurrency,
String referenceServiceRequest,
String referenceServiceContract,
String referenceServiceOrder,
String salesOrganizationOrgUnitID,
String serviceOrganization,
String salesOfficeOrgUnitID,
String salesGroupOrgUnitID,
List<ServiceOrderConfirmation> toConfirmation,
List<ServiceOrderDefect> toDefect,
List<ServiceOrderItem> toItem,
List<ServiceOrderPersonResp> toPersonResponsible,
List<ServiceOrderPriceElement> toPricingElement,
List<ServiceOrderRefObject> toReferenceObject,
List<ServiceOrderText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addConfirmation(ServiceOrderConfirmation... entity)
Adds elements to the list of associated ServiceOrderConfirmation entities.
|
void |
addDefect(ServiceOrderDefect... entity)
Adds elements to the list of associated ServiceOrderDefect entities.
|
void |
addItem(ServiceOrderItem... entity)
Adds elements to the list of associated ServiceOrderItem entities.
|
void |
addPersonResponsible(ServiceOrderPersonResp... entity)
Adds elements to the list of associated ServiceOrderPersonResp entities.
|
void |
addPricingElement(ServiceOrderPriceElement... entity)
Adds elements to the list of associated ServiceOrderPriceElement entities.
|
void |
addReferenceObject(ServiceOrderRefObject... entity)
Adds elements to the list of associated ServiceOrderRefObject entities.
|
void |
addText(ServiceOrderText... entity)
Adds elements to the list of associated ServiceOrderText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ServiceOrder.ServiceOrderBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ServiceOrderConfirmation> |
fetchConfirmation()
Fetches the ServiceOrderConfirmation entities (one to many) associated with this entity.
|
List<ServiceOrderDefect> |
fetchDefect()
Fetches the ServiceOrderDefect entities (one to many) associated with this entity.
|
List<ServiceOrderItem> |
fetchItem()
Fetches the ServiceOrderItem entities (one to many) associated with this entity.
|
List<ServiceOrderPersonResp> |
fetchPersonResponsible()
Fetches the ServiceOrderPersonResp entities (one to many) associated with this entity.
|
List<ServiceOrderPriceElement> |
fetchPricingElement()
Fetches the ServiceOrderPriceElement entities (one to many) associated with this entity.
|
List<ServiceOrderRefObject> |
fetchReferenceObject()
Fetches the ServiceOrderRefObject entities (one to many) associated with this entity.
|
List<ServiceOrderText> |
fetchText()
Fetches the ServiceOrderText entities (one to many) associated with this entity.
|
static <T> ServiceOrderField<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) |
String |
getBillToParty()
Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<List<ServiceOrderConfirmation>> |
getConfirmationIfPresent()
Retrieval of associated ServiceOrderConfirmation entities (one to many).
|
List<ServiceOrderConfirmation> |
getConfirmationOrFetch()
Retrieval of associated ServiceOrderConfirmation entities (one to many).
|
String |
getContactPerson()
Constraints: Not nullable, Maximum length: 10
|
LocalDateTime |
getCustomerPurchaseOrderDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
io.vavr.control.Option<List<ServiceOrderDefect>> |
getDefectIfPresent()
Retrieval of associated ServiceOrderDefect entities (one to many).
|
List<ServiceOrderDefect> |
getDefectOrFetch()
Retrieval of associated ServiceOrderDefect entities (one to many).
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDistributionChannel()
Constraints: Not nullable, Maximum length: 2
|
String |
getDivision()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
io.vavr.control.Option<List<ServiceOrderItem>> |
getItemIfPresent()
Retrieval of associated ServiceOrderItem entities (one to many).
|
List<ServiceOrderItem> |
getItemOrFetch()
Retrieval of associated ServiceOrderItem entities (one to many).
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
String |
getPayerParty()
Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<List<ServiceOrderPersonResp>> |
getPersonResponsibleIfPresent()
Retrieval of associated ServiceOrderPersonResp entities (one to many).
|
List<ServiceOrderPersonResp> |
getPersonResponsibleOrFetch()
Retrieval of associated ServiceOrderPersonResp entities (one to many).
|
io.vavr.control.Option<List<ServiceOrderPriceElement>> |
getPricingElementIfPresent()
Retrieval of associated ServiceOrderPriceElement entities (one to many).
|
List<ServiceOrderPriceElement> |
getPricingElementOrFetch()
Retrieval of associated ServiceOrderPriceElement entities (one to many).
|
String |
getPurchaseOrderByCustomer()
Constraints: Not nullable, Maximum length: 35
|
io.vavr.control.Option<List<ServiceOrderRefObject>> |
getReferenceObjectIfPresent()
Retrieval of associated ServiceOrderRefObject entities (one to many).
|
List<ServiceOrderRefObject> |
getReferenceObjectOrFetch()
Retrieval of associated ServiceOrderRefObject entities (one to many).
|
String |
getReferenceServiceContract()
Constraints: Not nullable, Maximum length: 10
|
String |
getReferenceServiceOrder()
Constraints: Not nullable, Maximum length: 80
|
String |
getReferenceServiceRequest()
Constraints: Not nullable, Maximum length: 10
|
ZonedDateTime |
getRequestedServiceEndDateTime()
Constraints: Not nullable, Precision: 0
|
ZonedDateTime |
getRequestedServiceStartDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getSalesGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getSalesGroupOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesOffice()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOfficeOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganizationOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
BigDecimal |
getServiceDocGrossAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
BigDecimal |
getServiceDocNetAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
BigDecimal |
getServiceDocTaxAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
String |
getServiceDocumentPriority()
Constraints: Not nullable, Maximum length: 1
|
String |
getServiceObjectType()
Constraints: Not nullable, Maximum length: 10
|
String |
getServiceOrder()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getServiceOrderDescription()
Constraints: Not nullable, Maximum length: 40
|
String |
getServiceOrderIsCompleted()
Constraints: Not nullable, Maximum length: 1
|
String |
getServiceOrderIsRejected()
Constraints: Not nullable, Maximum length: 1
|
String |
getServiceOrderIsReleased()
Constraints: Not nullable, Maximum length: 1
|
String |
getServiceOrderType()
Constraints: Not nullable, Maximum length: 4
|
UUID |
getServiceOrderUUID()
Constraints: none
|
String |
getServiceOrganization()
Constraints: Not nullable, Maximum length: 14
|
String |
getShipToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getSoldToParty()
Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<List<ServiceOrderText>> |
getTextIfPresent()
Retrieval of associated ServiceOrderText entities (one to many).
|
List<ServiceOrderText> |
getTextOrFetch()
Retrieval of associated ServiceOrderText entities (one to many).
|
String |
getTransactionCurrency()
Constraints: Not nullable, Maximum length: 5
|
Class<ServiceOrder> |
getType() |
int |
hashCode() |
void |
setBillToParty(String billToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setConfirmation(List<ServiceOrderConfirmation> value)
Overwrites the list of associated ServiceOrderConfirmation entities for the loaded navigation property
to_Confirmation.
|
void |
setContactPerson(String contactPerson)
Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerPurchaseOrderDate(LocalDateTime customerPurchaseOrderDate)
Constraints: Not nullable, Precision: 0
|
void |
setDefect(List<ServiceOrderDefect> value)
Overwrites the list of associated ServiceOrderDefect entities for the loaded navigation property
to_Defect.
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
Constraints: Not nullable, Maximum length: 2
|
void |
setItem(List<ServiceOrderItem> value)
Overwrites the list of associated ServiceOrderItem entities for the loaded navigation property
to_Item.
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setPayerParty(String payerParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setPersonResponsible(List<ServiceOrderPersonResp> value)
Overwrites the list of associated ServiceOrderPersonResp entities for the loaded navigation property
to_PersonResponsible.
|
void |
setPricingElement(List<ServiceOrderPriceElement> value)
Overwrites the list of associated ServiceOrderPriceElement entities for the loaded navigation property
to_PricingElement.
|
void |
setPurchaseOrderByCustomer(String purchaseOrderByCustomer)
Constraints: Not nullable, Maximum length: 35
|
void |
setReferenceObject(List<ServiceOrderRefObject> value)
Overwrites the list of associated ServiceOrderRefObject entities for the loaded navigation property
to_ReferenceObject.
|
void |
setReferenceServiceContract(String referenceServiceContract)
Constraints: Not nullable, Maximum length: 10
|
void |
setReferenceServiceOrder(String referenceServiceOrder)
Constraints: Not nullable, Maximum length: 80
|
void |
setReferenceServiceRequest(String referenceServiceRequest)
Constraints: Not nullable, Maximum length: 10
|
void |
setRequestedServiceEndDateTime(ZonedDateTime requestedServiceEndDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setRequestedServiceStartDateTime(ZonedDateTime requestedServiceStartDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setSalesGroup(String salesGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setSalesGroupOrgUnitID(String salesGroupOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesOffice(String salesOffice)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOfficeOrgUnitID(String salesOfficeOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesOrganization(String salesOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganizationOrgUnitID(String salesOrganizationOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setServiceDocGrossAmount(BigDecimal serviceDocGrossAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setServiceDocNetAmount(BigDecimal serviceDocNetAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setServiceDocTaxAmount(BigDecimal serviceDocTaxAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setServiceDocumentPriority(String serviceDocumentPriority)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceObjectType(String serviceObjectType)
Constraints: Not nullable, Maximum length: 10
|
void |
setServiceOrder(String serviceOrder)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setServiceOrderDescription(String serviceOrderDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setServiceOrderIsCompleted(String serviceOrderIsCompleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceOrderIsRejected(String serviceOrderIsRejected)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceOrderIsReleased(String serviceOrderIsReleased)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceOrderType(String serviceOrderType)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceOrderUUID(UUID serviceOrderUUID)
Constraints: none
|
void |
setServiceOrganization(String serviceOrganization)
Constraints: Not nullable, Maximum length: 14
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setShipToParty(String shipToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setSoldToParty(String soldToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setText(List<ServiceOrderText> value)
Overwrites the list of associated ServiceOrderText entities for the loaded navigation property
to_Text.
|
void |
setTransactionCurrency(String transactionCurrency)
Constraints: Not nullable, Maximum length: 5
|
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 ServiceOrderSelectable ALL_FIELDS
public static final ServiceOrderField<String> SERVICE_ORDER
public static final ServiceOrderField<String> SERVICE_ORDER_TYPE
public static final ServiceOrderField<UUID> SERVICE_ORDER_UUID
public static final ServiceOrderField<String> SERVICE_ORDER_DESCRIPTION
public static final ServiceOrderField<String> SERVICE_OBJECT_TYPE
public static final ServiceOrderField<String> LANGUAGE
public static final ServiceOrderField<String> SERVICE_DOCUMENT_PRIORITY
public static final ServiceOrderField<ZonedDateTime> REQUESTED_SERVICE_START_DATE_TIME
public static final ServiceOrderField<ZonedDateTime> REQUESTED_SERVICE_END_DATE_TIME
public static final ServiceOrderField<String> PURCHASE_ORDER_BY_CUSTOMER
public static final ServiceOrderField<LocalDateTime> CUSTOMER_PURCHASE_ORDER_DATE
public static final ServiceOrderField<String> SERVICE_ORDER_IS_RELEASED
public static final ServiceOrderField<String> SERVICE_ORDER_IS_COMPLETED
public static final ServiceOrderField<String> SERVICE_ORDER_IS_REJECTED
public static final ServiceOrderField<String> SALES_ORGANIZATION
public static final ServiceOrderField<String> DISTRIBUTION_CHANNEL
public static final ServiceOrderField<String> DIVISION
public static final ServiceOrderField<String> SALES_OFFICE
public static final ServiceOrderField<String> SALES_GROUP
public static final ServiceOrderField<String> SOLD_TO_PARTY
public static final ServiceOrderField<String> SHIP_TO_PARTY
public static final ServiceOrderField<String> BILL_TO_PARTY
public static final ServiceOrderField<String> PAYER_PARTY
public static final ServiceOrderField<String> CONTACT_PERSON
public static final ServiceOrderField<BigDecimal> SERVICE_DOC_GROSS_AMOUNT
public static final ServiceOrderField<BigDecimal> SERVICE_DOC_NET_AMOUNT
public static final ServiceOrderField<BigDecimal> SERVICE_DOC_TAX_AMOUNT
public static final ServiceOrderField<String> TRANSACTION_CURRENCY
public static final ServiceOrderField<String> REFERENCE_SERVICE_REQUEST
public static final ServiceOrderField<String> REFERENCE_SERVICE_CONTRACT
public static final ServiceOrderField<String> REFERENCE_SERVICE_ORDER
public static final ServiceOrderField<String> SALES_ORGANIZATION_ORG_UNIT_ID
public static final ServiceOrderField<String> SERVICE_ORGANIZATION
public static final ServiceOrderField<String> SALES_OFFICE_ORG_UNIT_ID
public static final ServiceOrderField<String> SALES_GROUP_ORG_UNIT_ID
public static final ServiceOrderLink<ServiceOrderConfirmation> TO_CONFIRMATION
public static final ServiceOrderLink<ServiceOrderDefect> TO_DEFECT
public static final ServiceOrderLink<ServiceOrderItem> TO_ITEM
public static final ServiceOrderLink<ServiceOrderPersonResp> TO_PERSON_RESPONSIBLE
public static final ServiceOrderLink<ServiceOrderPriceElement> TO_PRICING_ELEMENT
public static final ServiceOrderLink<ServiceOrderRefObject> TO_REFERENCE_OBJECT
public static final ServiceOrderLink<ServiceOrderText> TO_TEXT
public ServiceOrder()
public ServiceOrder(@Nullable String serviceOrder, @Nullable String serviceOrderType, @Nullable UUID serviceOrderUUID, @Nullable String serviceOrderDescription, @Nullable String serviceObjectType, @Nullable String language, @Nullable String serviceDocumentPriority, @Nullable ZonedDateTime requestedServiceStartDateTime, @Nullable ZonedDateTime requestedServiceEndDateTime, @Nullable String purchaseOrderByCustomer, @Nullable LocalDateTime customerPurchaseOrderDate, @Nullable String serviceOrderIsReleased, @Nullable String serviceOrderIsCompleted, @Nullable String serviceOrderIsRejected, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String salesOffice, @Nullable String salesGroup, @Nullable String soldToParty, @Nullable String shipToParty, @Nullable String billToParty, @Nullable String payerParty, @Nullable String contactPerson, @Nullable BigDecimal serviceDocGrossAmount, @Nullable BigDecimal serviceDocNetAmount, @Nullable BigDecimal serviceDocTaxAmount, @Nullable String transactionCurrency, @Nullable String referenceServiceRequest, @Nullable String referenceServiceContract, @Nullable String referenceServiceOrder, @Nullable String salesOrganizationOrgUnitID, @Nullable String serviceOrganization, @Nullable String salesOfficeOrgUnitID, @Nullable String salesGroupOrgUnitID, List<ServiceOrderConfirmation> toConfirmation, List<ServiceOrderDefect> toDefect, List<ServiceOrderItem> toItem, List<ServiceOrderPersonResp> toPersonResponsible, List<ServiceOrderPriceElement> toPricingElement, List<ServiceOrderRefObject> toReferenceObject, List<ServiceOrderText> toText)
@Nonnull public Class<ServiceOrder> getType()
getType
in class VdmObject<ServiceOrder>
public void setServiceOrder(@Nullable String serviceOrder)
Original property name from the Odata EDM: ServiceOrder
serviceOrder
- Transaction IDpublic void setServiceOrderType(@Nullable String serviceOrderType)
Original property name from the Odata EDM: ServiceOrderType
serviceOrderType
- Business Transaction Typepublic void setServiceOrderUUID(@Nullable UUID serviceOrderUUID)
Original property name from the Odata EDM: ServiceOrderUUID
serviceOrderUUID
- GUID of a CRM Order Objectpublic void setServiceOrderDescription(@Nullable String serviceOrderDescription)
Original property name from the Odata EDM: ServiceOrderDescription
serviceOrderDescription
- Transaction Descriptionpublic void setServiceObjectType(@Nullable String serviceObjectType)
Original property name from the Odata EDM: ServiceObjectType
serviceObjectType
- Business Trans. Cat.public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Key of Descriptionpublic void setServiceDocumentPriority(@Nullable String serviceDocumentPriority)
Original property name from the Odata EDM: ServiceDocumentPriority
serviceDocumentPriority
- Activity Prioritypublic void setRequestedServiceStartDateTime(@Nullable ZonedDateTime requestedServiceStartDateTime)
Original property name from the Odata EDM: RequestedServiceStartDateTime
requestedServiceStartDateTime
- Service Request Start Datepublic void setRequestedServiceEndDateTime(@Nullable ZonedDateTime requestedServiceEndDateTime)
Original property name from the Odata EDM: RequestedServiceEndDateTime
requestedServiceEndDateTime
- Service Request Due Datepublic void setPurchaseOrderByCustomer(@Nullable String purchaseOrderByCustomer)
Original property name from the Odata EDM: PurchaseOrderByCustomer
purchaseOrderByCustomer
- Sold-To Party's External Reference Numberpublic void setCustomerPurchaseOrderDate(@Nullable LocalDateTime customerPurchaseOrderDate)
Original property name from the Odata EDM: CustomerPurchaseOrderDate
customerPurchaseOrderDate
- Reference Document Datepublic void setServiceOrderIsReleased(@Nullable String serviceOrderIsReleased)
Original property name from the Odata EDM: ServiceOrderIsReleased
serviceOrderIsReleased
- Release Statuspublic void setServiceOrderIsCompleted(@Nullable String serviceOrderIsCompleted)
Original property name from the Odata EDM: ServiceOrderIsCompleted
serviceOrderIsCompleted
- The serviceOrderIsCompleted to set.public void setServiceOrderIsRejected(@Nullable String serviceOrderIsRejected)
Original property name from the Odata EDM: ServiceOrderIsRejected
serviceOrderIsRejected
- Cancellation Statuspublic void setSalesOrganization(@Nullable String salesOrganization)
Original property name from the Odata EDM: SalesOrganization
salesOrganization
- Sales Organizationpublic void setDistributionChannel(@Nullable String distributionChannel)
Original property name from the Odata EDM: DistributionChannel
distributionChannel
- Distribution Channelpublic void setDivision(@Nullable String division)
Original property name from the Odata EDM: Division
division
- Divisionpublic void setSalesOffice(@Nullable String salesOffice)
Original property name from the Odata EDM: SalesOffice
salesOffice
- Sales officepublic void setSalesGroup(@Nullable String salesGroup)
Original property name from the Odata EDM: SalesGroup
salesGroup
- Sales grouppublic void setSoldToParty(@Nullable String soldToParty)
Original property name from the Odata EDM: SoldToParty
soldToParty
- Sold-To Partypublic void setShipToParty(@Nullable String shipToParty)
Original property name from the Odata EDM: ShipToParty
shipToParty
- Ship-To Partypublic void setBillToParty(@Nullable String billToParty)
Original property name from the Odata EDM: BillToParty
billToParty
- Bill-To Partypublic void setPayerParty(@Nullable String payerParty)
Original property name from the Odata EDM: PayerParty
payerParty
- Payerpublic void setContactPerson(@Nullable String contactPerson)
Original property name from the Odata EDM: ContactPerson
contactPerson
- Customer Contact Personpublic void setServiceDocGrossAmount(@Nullable BigDecimal serviceDocGrossAmount)
Original property name from the Odata EDM: ServiceDocGrossAmount
serviceDocGrossAmount
- Total Gross Value of Document in Document Currencypublic void setServiceDocNetAmount(@Nullable BigDecimal serviceDocNetAmount)
Original property name from the Odata EDM: ServiceDocNetAmount
serviceDocNetAmount
- Total Net Value of Document in Document Currencypublic void setServiceDocTaxAmount(@Nullable BigDecimal serviceDocTaxAmount)
Original property name from the Odata EDM: ServiceDocTaxAmount
serviceDocTaxAmount
- Total Tax Amount in Document Currencypublic void setTransactionCurrency(@Nullable String transactionCurrency)
Original property name from the Odata EDM: TransactionCurrency
transactionCurrency
- Currencypublic void setReferenceServiceRequest(@Nullable String referenceServiceRequest)
Original property name from the Odata EDM: ReferenceServiceRequest
referenceServiceRequest
- Transaction IDpublic void setReferenceServiceContract(@Nullable String referenceServiceContract)
Original property name from the Odata EDM: ReferenceServiceContract
referenceServiceContract
- Transaction IDpublic void setReferenceServiceOrder(@Nullable String referenceServiceOrder)
Original property name from the Odata EDM: ReferenceServiceOrder
referenceServiceOrder
- External Reference Numberpublic void setSalesOrganizationOrgUnitID(@Nullable String salesOrganizationOrgUnitID)
Original property name from the Odata EDM: SalesOrganizationOrgUnitID
salesOrganizationOrgUnitID
- Sales Organization IDpublic void setServiceOrganization(@Nullable String serviceOrganization)
Original property name from the Odata EDM: ServiceOrganization
serviceOrganization
- Service Organizationpublic void setSalesOfficeOrgUnitID(@Nullable String salesOfficeOrgUnitID)
Original property name from the Odata EDM: SalesOfficeOrgUnitID
salesOfficeOrgUnitID
- Sales Officepublic void setSalesGroupOrgUnitID(@Nullable String salesGroupOrgUnitID)
Original property name from the Odata EDM: SalesGroupOrgUnitID
salesGroupOrgUnitID
- Sales Groupprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ServiceOrder>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ServiceOrder>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ServiceOrder>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ServiceOrder>
@Nonnull public static <T> ServiceOrderField<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> ServiceOrderField<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<ServiceOrder>
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<ServiceOrder>
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<ServiceOrder>
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<ServiceOrder>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ServiceOrder>
@Nonnull public List<ServiceOrderConfirmation> fetchConfirmation() 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<ServiceOrderConfirmation> getConfirmationOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Confirmation of a queried ServiceOrder 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<ServiceOrderConfirmation>> getConfirmationIfPresent()
If the navigation property for an entity ServiceOrder 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 setConfirmation(@Nonnull List<ServiceOrderConfirmation> value)
If the navigation property to_Confirmation of a queried ServiceOrder 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 ServiceOrderConfirmation entities.public void addConfirmation(ServiceOrderConfirmation... entity)
If the navigation property to_Confirmation of a queried ServiceOrder 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 ServiceOrderConfirmation entities.@Nonnull public List<ServiceOrderDefect> fetchDefect() 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<ServiceOrderDefect> getDefectOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Defect of a queried ServiceOrder 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<ServiceOrderDefect>> getDefectIfPresent()
If the navigation property for an entity ServiceOrder 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 setDefect(@Nonnull List<ServiceOrderDefect> value)
If the navigation property to_Defect of a queried ServiceOrder 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 ServiceOrderDefect entities.public void addDefect(ServiceOrderDefect... entity)
If the navigation property to_Defect of a queried ServiceOrder 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 ServiceOrderDefect entities.@Nonnull public List<ServiceOrderItem> fetchItem() 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<ServiceOrderItem> getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried ServiceOrder 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<ServiceOrderItem>> getItemIfPresent()
If the navigation property for an entity ServiceOrder 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 setItem(@Nonnull List<ServiceOrderItem> value)
If the navigation property to_Item of a queried ServiceOrder 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 ServiceOrderItem entities.public void addItem(ServiceOrderItem... entity)
If the navigation property to_Item of a queried ServiceOrder 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 ServiceOrderItem entities.@Nonnull public List<ServiceOrderPersonResp> fetchPersonResponsible() 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<ServiceOrderPersonResp> getPersonResponsibleOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PersonResponsible of a queried ServiceOrder 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<ServiceOrderPersonResp>> getPersonResponsibleIfPresent()
If the navigation property for an entity ServiceOrder 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 setPersonResponsible(@Nonnull List<ServiceOrderPersonResp> value)
If the navigation property to_PersonResponsible of a queried ServiceOrder 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 ServiceOrderPersonResp entities.public void addPersonResponsible(ServiceOrderPersonResp... entity)
If the navigation property to_PersonResponsible of a queried ServiceOrder 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 ServiceOrderPersonResp entities.@Nonnull public List<ServiceOrderPriceElement> fetchPricingElement() 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<ServiceOrderPriceElement> getPricingElementOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PricingElement of a queried ServiceOrder 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<ServiceOrderPriceElement>> getPricingElementIfPresent()
If the navigation property for an entity ServiceOrder 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 setPricingElement(@Nonnull List<ServiceOrderPriceElement> value)
If the navigation property to_PricingElement of a queried ServiceOrder 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 ServiceOrderPriceElement entities.public void addPricingElement(ServiceOrderPriceElement... entity)
If the navigation property to_PricingElement of a queried ServiceOrder 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 ServiceOrderPriceElement entities.@Nonnull public List<ServiceOrderRefObject> 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<ServiceOrderRefObject> getReferenceObjectOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ReferenceObject of a queried ServiceOrder 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<ServiceOrderRefObject>> getReferenceObjectIfPresent()
If the navigation property for an entity ServiceOrder 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<ServiceOrderRefObject> value)
If the navigation property to_ReferenceObject of a queried ServiceOrder 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 ServiceOrderRefObject entities.public void addReferenceObject(ServiceOrderRefObject... entity)
If the navigation property to_ReferenceObject of a queried ServiceOrder 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 ServiceOrderRefObject entities.@Nonnull public List<ServiceOrderText> 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<ServiceOrderText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried ServiceOrder 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<ServiceOrderText>> getTextIfPresent()
If the navigation property for an entity ServiceOrder 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<ServiceOrderText> value)
If the navigation property to_Text of a queried ServiceOrder 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 ServiceOrderText entities.public void addText(ServiceOrderText... entity)
If the navigation property to_Text of a queried ServiceOrder 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 ServiceOrderText entities.@Nonnull public static ServiceOrder.ServiceOrderBuilder builder()
@Nullable public String getServiceOrder()
Original property name from the Odata EDM: ServiceOrder
@Nullable public String getServiceOrderType()
Original property name from the Odata EDM: ServiceOrderType
@Nullable public UUID getServiceOrderUUID()
Original property name from the Odata EDM: ServiceOrderUUID
@Nullable public String getServiceOrderDescription()
Original property name from the Odata EDM: ServiceOrderDescription
@Nullable public String getServiceObjectType()
Original property name from the Odata EDM: ServiceObjectType
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getServiceDocumentPriority()
Original property name from the Odata EDM: ServiceDocumentPriority
@Nullable public ZonedDateTime getRequestedServiceStartDateTime()
Original property name from the Odata EDM: RequestedServiceStartDateTime
@Nullable public ZonedDateTime getRequestedServiceEndDateTime()
Original property name from the Odata EDM: RequestedServiceEndDateTime
@Nullable public String getPurchaseOrderByCustomer()
Original property name from the Odata EDM: PurchaseOrderByCustomer
@Nullable public LocalDateTime getCustomerPurchaseOrderDate()
Original property name from the Odata EDM: CustomerPurchaseOrderDate
@Nullable public String getServiceOrderIsReleased()
Original property name from the Odata EDM: ServiceOrderIsReleased
@Nullable public String getServiceOrderIsCompleted()
Original property name from the Odata EDM: ServiceOrderIsCompleted
@Nullable public String getServiceOrderIsRejected()
Original property name from the Odata EDM: ServiceOrderIsRejected
@Nullable public String getSalesOrganization()
Original property name from the Odata EDM: SalesOrganization
@Nullable public String getDistributionChannel()
Original property name from the Odata EDM: DistributionChannel
@Nullable public String getDivision()
Original property name from the Odata EDM: Division
@Nullable public String getSalesOffice()
Original property name from the Odata EDM: SalesOffice
@Nullable public String getSalesGroup()
Original property name from the Odata EDM: SalesGroup
@Nullable public String getSoldToParty()
Original property name from the Odata EDM: SoldToParty
@Nullable public String getShipToParty()
Original property name from the Odata EDM: ShipToParty
@Nullable public String getBillToParty()
Original property name from the Odata EDM: BillToParty
@Nullable public String getPayerParty()
Original property name from the Odata EDM: PayerParty
@Nullable public String getContactPerson()
Original property name from the Odata EDM: ContactPerson
@Nullable public BigDecimal getServiceDocGrossAmount()
Original property name from the Odata EDM: ServiceDocGrossAmount
@Nullable public BigDecimal getServiceDocNetAmount()
Original property name from the Odata EDM: ServiceDocNetAmount
@Nullable public BigDecimal getServiceDocTaxAmount()
Original property name from the Odata EDM: ServiceDocTaxAmount
@Nullable public String getTransactionCurrency()
Original property name from the Odata EDM: TransactionCurrency
@Nullable public String getReferenceServiceRequest()
Original property name from the Odata EDM: ReferenceServiceRequest
@Nullable public String getReferenceServiceContract()
Original property name from the Odata EDM: ReferenceServiceContract
@Nullable public String getReferenceServiceOrder()
Original property name from the Odata EDM: ReferenceServiceOrder
@Nullable public String getSalesOrganizationOrgUnitID()
Original property name from the Odata EDM: SalesOrganizationOrgUnitID
@Nullable public String getServiceOrganization()
Original property name from the Odata EDM: ServiceOrganization
@Nullable public String getSalesOfficeOrgUnitID()
Original property name from the Odata EDM: SalesOfficeOrgUnitID
@Nullable public String getSalesGroupOrgUnitID()
Original property name from the Odata EDM: SalesGroupOrgUnitID
@Nonnull public String toString()
toString
in class VdmObject<ServiceOrder>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ServiceOrder>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ServiceOrder>
public int hashCode()
hashCode
in class VdmObject<ServiceOrder>
Copyright © 2021 SAP SE. All rights reserved.