Class ServiceContract
Original entity name from the Odata EDM: A_ServiceContractType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ServiceContract instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceContractSelectableSelector for all available fields of ServiceContract.static final ServiceContractField<String>Use with available fluent helpers to apply the BillToParty field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ContactPerson field to query operations.static final ServiceContractField<LocalDateTime>Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the DistributionChannel field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the Division field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the Language field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the PayerParty field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the PersonResponsible field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ReferenceServiceContract field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ReferenceServiceQtan field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the SalesGroup field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the SalesOffice field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the SalesOrganization field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ServiceContrCancellationReason field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ServiceContract field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ServiceContractCanclnParty field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ServiceContractDescription field to query operations.static final ServiceContractField<BigDecimal>Use with available fluent helpers to apply the ServiceContractEndDateTime field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ServiceContractIsCompleted field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ServiceContractIsReleased field to query operations.static final ServiceContractField<BigDecimal>Use with available fluent helpers to apply the ServiceContractStartDateTime field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ServiceContractType field to query operations.static final ServiceContractField<BigDecimal>Use with available fluent helpers to apply the ServiceDocGrossAmount field to query operations.static final ServiceContractField<BigDecimal>Use with available fluent helpers to apply the ServiceDocNetAmount field to query operations.static final ServiceContractField<BigDecimal>Use with available fluent helpers to apply the ServiceDocTaxAmount field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the ShipToParty field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the SoldToParty field to query operations.static final ServiceContractField<BigDecimal>Use with available fluent helpers to apply the SrvcContrCancellationDateTime field to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the SrvcContrCreditStatus field to query operations.static final ServiceContractLink<ServiceContractItem>Use with available fluent helpers to apply the to_Item navigation property to query operations.static final ServiceContractLink<ServiceContractText>Use with available fluent helpers to apply the to_Text navigation property to query operations.static final ServiceContractField<String>Use with available fluent helpers to apply the TransactionCurrency field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionServiceContract(String serviceContract, String serviceContractType, String serviceContractDescription, String language, BigDecimal serviceContractStartDateTime, BigDecimal serviceContractEndDateTime, String purchaseOrderByCustomer, LocalDateTime customerPurchaseOrderDate, BigDecimal serviceDocGrossAmount, BigDecimal serviceDocNetAmount, BigDecimal serviceDocTaxAmount, String transactionCurrency, String serviceContractIsReleased, String serviceContractIsCompleted, String srvcContrCreditStatus, String salesOrganization, String distributionChannel, String division, String salesOffice, String salesGroup, String soldToParty, String shipToParty, String billToParty, String payerParty, String contactPerson, String personResponsible, String serviceContractCanclnParty, String serviceContrCancellationReason, BigDecimal srvcContrCancellationDateTime, String referenceServiceContract, String referenceServiceQtan, List<ServiceContractItem> toItem, List<ServiceContractText> toText) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(ServiceContractItem... entity) Adds elements to the list of associated ServiceContractItem entities.voidaddText(ServiceContractText... entity) Adds elements to the list of associated ServiceContractText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ServiceContractItem entities (one to many) associated with this entity.Fetches the ServiceContractText entities (one to many) associated with this entity.static <T,DomainT>
ServiceContractField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ServiceContractField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 0protected StringConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2protected Stringio.vavr.control.Option<List<ServiceContractItem>>Retrieval of associated ServiceContractItem entities (one to many).Retrieval of associated ServiceContractItem entities (one to many).getKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 80Constraints: Not nullable, Maximum length: 80Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 15, Scale: 0Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 15, Scale: 0Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 16, Scale: 3Constraints: Not nullable, Precision: 16, Scale: 3Constraints: Not nullable, Precision: 16, Scale: 3Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 15, Scale: 0Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<ServiceContractText>>Retrieval of associated ServiceContractText entities (one to many).Retrieval of associated ServiceContractText entities (one to many).Constraints: Not nullable, Maximum length: 5getType()inthashCode()voidsetBillToParty(String billToParty) Constraints: Not nullable, Maximum length: 10voidsetContactPerson(String contactPerson) Constraints: Not nullable, Maximum length: 10voidsetCustomerPurchaseOrderDate(LocalDateTime customerPurchaseOrderDate) Constraints: Not nullable, Precision: 0voidsetDistributionChannel(String distributionChannel) Constraints: Not nullable, Maximum length: 2voidsetDivision(String division) Constraints: Not nullable, Maximum length: 2voidsetItem(List<ServiceContractItem> value) Overwrites the list of associated ServiceContractItem entities for the loaded navigation property to_Item.voidsetLanguage(String language) Constraints: Not nullable, Maximum length: 2voidsetPayerParty(String payerParty) Constraints: Not nullable, Maximum length: 10voidsetPersonResponsible(String personResponsible) Constraints: Not nullable, Maximum length: 10voidsetPurchaseOrderByCustomer(String purchaseOrderByCustomer) Constraints: Not nullable, Maximum length: 35voidsetReferenceServiceContract(String referenceServiceContract) Constraints: Not nullable, Maximum length: 80voidsetReferenceServiceQtan(String referenceServiceQtan) Constraints: Not nullable, Maximum length: 80voidsetSalesGroup(String salesGroup) Constraints: Not nullable, Maximum length: 3voidsetSalesOffice(String salesOffice) Constraints: Not nullable, Maximum length: 4voidsetSalesOrganization(String salesOrganization) Constraints: Not nullable, Maximum length: 4voidsetServiceContract(String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetServiceContractCanclnParty(String serviceContractCanclnParty) Constraints: Not nullable, Maximum length: 4voidsetServiceContractDescription(String serviceContractDescription) Constraints: Not nullable, Maximum length: 40voidsetServiceContractEndDateTime(BigDecimal serviceContractEndDateTime) Constraints: Not nullable, Precision: 15, Scale: 0voidsetServiceContractIsCompleted(String serviceContractIsCompleted) Constraints: Not nullable, Maximum length: 1voidsetServiceContractIsReleased(String serviceContractIsReleased) Constraints: Not nullable, Maximum length: 1voidsetServiceContractStartDateTime(BigDecimal serviceContractStartDateTime) Constraints: Not nullable, Precision: 15, Scale: 0voidsetServiceContractType(String serviceContractType) Constraints: Not nullable, Maximum length: 4voidsetServiceContrCancellationReason(String serviceContrCancellationReason) Constraints: Not nullable, Maximum length: 4voidsetServiceDocGrossAmount(BigDecimal serviceDocGrossAmount) Constraints: Not nullable, Precision: 16, Scale: 3voidsetServiceDocNetAmount(BigDecimal serviceDocNetAmount) Constraints: Not nullable, Precision: 16, Scale: 3voidsetServiceDocTaxAmount(BigDecimal serviceDocTaxAmount) Constraints: Not nullable, Precision: 16, Scale: 3protected voidsetServicePathForFetch(String servicePathForFetch) voidsetShipToParty(String shipToParty) Constraints: Not nullable, Maximum length: 10voidsetSoldToParty(String soldToParty) Constraints: Not nullable, Maximum length: 10voidsetSrvcContrCancellationDateTime(BigDecimal srvcContrCancellationDateTime) Constraints: Not nullable, Precision: 15, Scale: 0voidsetSrvcContrCreditStatus(String srvcContrCreditStatus) Constraints: Not nullable, Maximum length: 1voidsetText(List<ServiceContractText> value) Overwrites the list of associated ServiceContractText entities for the loaded navigation property to_Text.voidsetTransactionCurrency(String transactionCurrency) Constraints: Not nullable, Maximum length: 5toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ServiceContract. -
SERVICE_CONTRACT
Use with available fluent helpers to apply the ServiceContract field to query operations. -
SERVICE_CONTRACT_TYPE
Use with available fluent helpers to apply the ServiceContractType field to query operations. -
SERVICE_CONTRACT_DESCRIPTION
Use with available fluent helpers to apply the ServiceContractDescription field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
SERVICE_CONTRACT_START_DATE_TIME
Use with available fluent helpers to apply the ServiceContractStartDateTime field to query operations. -
SERVICE_CONTRACT_END_DATE_TIME
Use with available fluent helpers to apply the ServiceContractEndDateTime field to query operations. -
PURCHASE_ORDER_BY_CUSTOMER
Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations. -
CUSTOMER_PURCHASE_ORDER_DATE
Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations. -
SERVICE_DOC_GROSS_AMOUNT
Use with available fluent helpers to apply the ServiceDocGrossAmount field to query operations. -
SERVICE_DOC_NET_AMOUNT
Use with available fluent helpers to apply the ServiceDocNetAmount field to query operations. -
SERVICE_DOC_TAX_AMOUNT
Use with available fluent helpers to apply the ServiceDocTaxAmount field to query operations. -
TRANSACTION_CURRENCY
Use with available fluent helpers to apply the TransactionCurrency field to query operations. -
SERVICE_CONTRACT_IS_RELEASED
Use with available fluent helpers to apply the ServiceContractIsReleased field to query operations. -
SERVICE_CONTRACT_IS_COMPLETED
Use with available fluent helpers to apply the ServiceContractIsCompleted field to query operations. -
SRVC_CONTR_CREDIT_STATUS
Use with available fluent helpers to apply the SrvcContrCreditStatus field to query operations. -
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations. -
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations. -
DIVISION
Use with available fluent helpers to apply the Division field to query operations. -
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations. -
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations. -
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations. -
SHIP_TO_PARTY
Use with available fluent helpers to apply the ShipToParty field to query operations. -
BILL_TO_PARTY
Use with available fluent helpers to apply the BillToParty field to query operations. -
PAYER_PARTY
Use with available fluent helpers to apply the PayerParty field to query operations. -
CONTACT_PERSON
Use with available fluent helpers to apply the ContactPerson field to query operations. -
PERSON_RESPONSIBLE
Use with available fluent helpers to apply the PersonResponsible field to query operations. -
SERVICE_CONTRACT_CANCLN_PARTY
Use with available fluent helpers to apply the ServiceContractCanclnParty field to query operations. -
SERVICE_CONTR_CANCELLATION_REASON
Use with available fluent helpers to apply the ServiceContrCancellationReason field to query operations. -
SRVC_CONTR_CANCELLATION_DATE_TIME
Use with available fluent helpers to apply the SrvcContrCancellationDateTime field to query operations. -
REFERENCE_SERVICE_CONTRACT
Use with available fluent helpers to apply the ReferenceServiceContract field to query operations. -
REFERENCE_SERVICE_QTAN
Use with available fluent helpers to apply the ReferenceServiceQtan field to query operations. -
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations. -
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
-
-
Constructor Details
-
ServiceContract
public ServiceContract() -
ServiceContract
public ServiceContract(@Nullable String serviceContract, @Nullable String serviceContractType, @Nullable String serviceContractDescription, @Nullable String language, @Nullable BigDecimal serviceContractStartDateTime, @Nullable BigDecimal serviceContractEndDateTime, @Nullable String purchaseOrderByCustomer, @Nullable LocalDateTime customerPurchaseOrderDate, @Nullable BigDecimal serviceDocGrossAmount, @Nullable BigDecimal serviceDocNetAmount, @Nullable BigDecimal serviceDocTaxAmount, @Nullable String transactionCurrency, @Nullable String serviceContractIsReleased, @Nullable String serviceContractIsCompleted, @Nullable String srvcContrCreditStatus, @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 String personResponsible, @Nullable String serviceContractCanclnParty, @Nullable String serviceContrCancellationReason, @Nullable BigDecimal srvcContrCancellationDateTime, @Nullable String referenceServiceContract, @Nullable String referenceServiceQtan, List<ServiceContractItem> toItem, List<ServiceContractText> toText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ServiceContract>
-
setServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Parameters:
serviceContract- Transaction ID
-
setServiceContractType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceContractType
- Parameters:
serviceContractType- Business Transaction Type
-
setServiceContractDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceContractDescription
- Parameters:
serviceContractDescription- Transaction Description
-
setLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key of Description
-
setServiceContractStartDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: ServiceContractStartDateTime
- Parameters:
serviceContractStartDateTime- Contract Start date
-
setServiceContractEndDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: ServiceContractEndDateTime
- Parameters:
serviceContractEndDateTime- Contract End Date
-
setPurchaseOrderByCustomer
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: PurchaseOrderByCustomer
- Parameters:
purchaseOrderByCustomer- Sold-To Party's External Reference Number
-
setCustomerPurchaseOrderDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CustomerPurchaseOrderDate
- Parameters:
customerPurchaseOrderDate- Reference Document Date
-
setServiceDocGrossAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ServiceDocGrossAmount
- Parameters:
serviceDocGrossAmount- Total Gross Value of Document in Document Currency
-
setServiceDocNetAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ServiceDocNetAmount
- Parameters:
serviceDocNetAmount- Total Net Value of Document in Document Currency
-
setServiceDocTaxAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ServiceDocTaxAmount
- Parameters:
serviceDocTaxAmount- Total Tax Amount in Document Currency
-
setTransactionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency
- Parameters:
transactionCurrency- Currency
-
setServiceContractIsReleased
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceContractIsReleased
- Parameters:
serviceContractIsReleased- Release Status
-
setServiceContractIsCompleted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceContractIsCompleted
- Parameters:
serviceContractIsCompleted- The serviceContractIsCompleted to set.
-
setSrvcContrCreditStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrvcContrCreditStatus
- Parameters:
srvcContrCreditStatus- Credit Status of Header
-
setSalesOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Parameters:
salesOrganization- Sales Organization
-
setDistributionChannel
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Parameters:
distributionChannel- Distribution Channel
-
setDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Division
- Parameters:
division- Division
-
setSalesOffice
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOffice
- Parameters:
salesOffice- Sales Office
-
setSalesGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesGroup
- Parameters:
salesGroup- Sales Group
-
setSoldToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SoldToParty
- Parameters:
soldToParty- Sold-To Party
-
setShipToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ShipToParty
- Parameters:
shipToParty- Ship-To Party
-
setBillToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BillToParty
- Parameters:
billToParty- Bill-To Party
-
setPayerParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PayerParty
- Parameters:
payerParty- Payer
-
setContactPerson
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ContactPerson
- Parameters:
contactPerson- Customer Contact Person
-
setPersonResponsible
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PersonResponsible
- Parameters:
personResponsible- Employee Responsible
-
setServiceContractCanclnParty
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceContractCanclnParty
- Parameters:
serviceContractCanclnParty- Cancelling Party
-
setServiceContrCancellationReason
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceContrCancellationReason
- Parameters:
serviceContrCancellationReason- CRM Service : Reason for Cancellation
-
setSrvcContrCancellationDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: SrvcContrCancellationDateTime
- Parameters:
srvcContrCancellationDateTime- Contract End Date
-
setReferenceServiceContract
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ReferenceServiceContract
- Parameters:
referenceServiceContract- External Reference Number
-
setReferenceServiceQtan
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ReferenceServiceQtan
- Parameters:
referenceServiceQtan- External Reference Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ServiceContract>
-
getKey
- Overrides:
getKeyin classVdmObject<ServiceContract>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ServiceContract>
-
fromMap
- Overrides:
fromMapin classVdmObject<ServiceContract>
-
field
@Nonnull public static <T> ServiceContractField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> ServiceContractField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<ServiceContract>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ServiceContract>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ServiceContract>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ServiceContract>
-
fetchItem
Fetches the ServiceContractItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Item.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ServiceContractItem entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getItemOrFetch
Retrieval of associated ServiceContractItem entities (one to many). This corresponds to the OData navigation property to_Item.If the navigation property to_Item of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated ServiceContractItem entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getItemIfPresent
Retrieval of associated ServiceContractItem entities (one to many). This corresponds to the OData navigation property to_Item.If the navigation property for an entity ServiceContract has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Item is already loaded, the result will contain the
ServiceContractItem entities. If not, an
Optionwith result stateemptyis returned.
-
setItem
Overwrites the list of associated ServiceContractItem entities for the loaded navigation property to_Item.If the navigation property to_Item of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of ServiceContractItem entities.
-
addItem
Adds elements to the list of associated ServiceContractItem entities. This corresponds to the OData navigation property to_Item.If the navigation property to_Item of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of ServiceContractItem entities.
-
fetchText
Fetches the ServiceContractText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Text.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ServiceContractText entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getTextOrFetch
Retrieval of associated ServiceContractText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated ServiceContractText entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getTextIfPresent
Retrieval of associated ServiceContractText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property for an entity ServiceContract has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Text is already loaded, the result will contain the
ServiceContractText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated ServiceContractText entities for the loaded navigation property to_Text.If the navigation property to_Text of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of ServiceContractText entities.
-
addText
Adds elements to the list of associated ServiceContractText entities. This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of ServiceContractText entities.
-
builder
-
getServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Returns:
- Transaction ID
-
getServiceContractType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceContractType
- Returns:
- Business Transaction Type
-
getServiceContractDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceContractDescription
- Returns:
- Transaction Description
-
getLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key of Description
-
getServiceContractStartDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: ServiceContractStartDateTime
- Returns:
- Contract Start date
-
getServiceContractEndDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: ServiceContractEndDateTime
- Returns:
- Contract End Date
-
getPurchaseOrderByCustomer
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: PurchaseOrderByCustomer
- Returns:
- Sold-To Party's External Reference Number
-
getCustomerPurchaseOrderDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CustomerPurchaseOrderDate
- Returns:
- Reference Document Date
-
getServiceDocGrossAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ServiceDocGrossAmount
- Returns:
- Total Gross Value of Document in Document Currency
-
getServiceDocNetAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ServiceDocNetAmount
- Returns:
- Total Net Value of Document in Document Currency
-
getServiceDocTaxAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ServiceDocTaxAmount
- Returns:
- Total Tax Amount in Document Currency
-
getTransactionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency
- Returns:
- Currency
-
getServiceContractIsReleased
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceContractIsReleased
- Returns:
- Release Status
-
getServiceContractIsCompleted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ServiceContractIsCompleted
- Returns:
- The serviceContractIsCompleted contained in this entity.
-
getSrvcContrCreditStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrvcContrCreditStatus
- Returns:
- Credit Status of Header
-
getSalesOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Returns:
- Sales Organization
-
getDistributionChannel
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Returns:
- Distribution Channel
-
getDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Division
- Returns:
- Division
-
getSalesOffice
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOffice
- Returns:
- Sales Office
-
getSalesGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesGroup
- Returns:
- Sales Group
-
getSoldToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SoldToParty
- Returns:
- Sold-To Party
-
getShipToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ShipToParty
- Returns:
- Ship-To Party
-
getBillToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BillToParty
- Returns:
- Bill-To Party
-
getPayerParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PayerParty
- Returns:
- Payer
-
getContactPerson
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ContactPerson
- Returns:
- Customer Contact Person
-
getPersonResponsible
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PersonResponsible
- Returns:
- Employee Responsible
-
getServiceContractCanclnParty
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceContractCanclnParty
- Returns:
- Cancelling Party
-
getServiceContrCancellationReason
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceContrCancellationReason
- Returns:
- CRM Service : Reason for Cancellation
-
getSrvcContrCancellationDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: SrvcContrCancellationDateTime
- Returns:
- Contract End Date
-
getReferenceServiceContract
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ReferenceServiceContract
- Returns:
- External Reference Number
-
getReferenceServiceQtan
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: ReferenceServiceQtan
- Returns:
- External Reference Number
-
toString
- Overrides:
toStringin classVdmObject<ServiceContract>
-
equals
- Overrides:
equalsin classVdmEntity<ServiceContract>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ServiceContract>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ServiceContract>
-