public class ServiceContract extends VdmEntity<ServiceContract>
Original entity name from the Odata EDM: A_ServiceContractType
Modifier and Type | Class and Description |
---|---|
static class |
ServiceContract.ServiceContractBuilder
Helper class to allow for fluent creation of ServiceContract instances.
|
Modifier and Type | Field and Description |
---|---|
static ServiceContractSelectable |
ALL_FIELDS
Selector for all available fields of ServiceContract.
|
static ServiceContractField<String> |
BILL_TO_PARTY
Use with available fluent helpers to apply the BillToParty field to query operations.
|
static ServiceContractField<String> |
CONTACT_PERSON
Use with available fluent helpers to apply the ContactPerson field to query operations.
|
static ServiceContractField<LocalDateTime> |
CUSTOMER_PURCHASE_ORDER_DATE
Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations.
|
static ServiceContractField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static ServiceContractField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static ServiceContractField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static ServiceContractField<String> |
PAYER_PARTY
Use with available fluent helpers to apply the PayerParty field to query operations.
|
static ServiceContractField<String> |
PERSON_RESPONSIBLE
Use with available fluent helpers to apply the PersonResponsible field to query operations.
|
static ServiceContractField<String> |
PURCHASE_ORDER_BY_CUSTOMER
Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations.
|
static ServiceContractField<String> |
REFERENCE_SERVICE_CONTRACT
Use with available fluent helpers to apply the ReferenceServiceContract field to query operations.
|
static ServiceContractField<String> |
REFERENCE_SERVICE_QTAN
Use with available fluent helpers to apply the ReferenceServiceQtan field to query operations.
|
static ServiceContractField<String> |
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations.
|
static ServiceContractField<String> |
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations.
|
static ServiceContractField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTR_CANCELLATION_REASON
Use with available fluent helpers to apply the ServiceContrCancellationReason field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT
Use with available fluent helpers to apply the ServiceContract field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_CANCLN_PARTY
Use with available fluent helpers to apply the ServiceContractCanclnParty field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_DESCRIPTION
Use with available fluent helpers to apply the ServiceContractDescription field to query operations.
|
static ServiceContractField<BigDecimal> |
SERVICE_CONTRACT_END_DATE_TIME
Use with available fluent helpers to apply the ServiceContractEndDateTime field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_IS_COMPLETED
Use with available fluent helpers to apply the ServiceContractIsCompleted field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_IS_RELEASED
Use with available fluent helpers to apply the ServiceContractIsReleased field to query operations.
|
static ServiceContractField<BigDecimal> |
SERVICE_CONTRACT_START_DATE_TIME
Use with available fluent helpers to apply the ServiceContractStartDateTime field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_TYPE
Use with available fluent helpers to apply the ServiceContractType field to query operations.
|
static ServiceContractField<BigDecimal> |
SERVICE_DOC_GROSS_AMOUNT
Use with available fluent helpers to apply the ServiceDocGrossAmount field to query operations.
|
static ServiceContractField<BigDecimal> |
SERVICE_DOC_NET_AMOUNT
Use with available fluent helpers to apply the ServiceDocNetAmount field to query operations.
|
static ServiceContractField<BigDecimal> |
SERVICE_DOC_TAX_AMOUNT
Use with available fluent helpers to apply the ServiceDocTaxAmount field to query operations.
|
static ServiceContractField<String> |
SHIP_TO_PARTY
Use with available fluent helpers to apply the ShipToParty field to query operations.
|
static ServiceContractField<String> |
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations.
|
static ServiceContractField<BigDecimal> |
SRVC_CONTR_CANCELLATION_DATE_TIME
Use with available fluent helpers to apply the SrvcContrCancellationDateTime field to query operations.
|
static ServiceContractField<String> |
SRVC_CONTR_CREDIT_STATUS
Use with available fluent helpers to apply the SrvcContrCreditStatus field to query operations.
|
static ServiceContractLink<ServiceContractItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static ServiceContractLink<ServiceContractText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
static ServiceContractField<String> |
TRANSACTION_CURRENCY
Use with available fluent helpers to apply the TransactionCurrency field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ServiceContract() |
ServiceContract(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) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(ServiceContractItem... entity)
Adds elements to the list of associated ServiceContractItem entities.
|
void |
addText(ServiceContractText... entity)
Adds elements to the list of associated ServiceContractText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination) |
static ServiceContract.ServiceContractBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ServiceContractItem> |
fetchItem()
Fetches the ServiceContractItem entities (one to many) associated with this entity.
|
List<ServiceContractText> |
fetchText()
Fetches the ServiceContractText entities (one to many) associated with this entity.
|
static <T> ServiceContractField<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
|
String |
getContactPerson()
Constraints: Not nullable, Maximum length: 10
|
LocalDateTime |
getCustomerPurchaseOrderDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch() |
String |
getDistributionChannel()
Constraints: Not nullable, Maximum length: 2
|
String |
getDivision()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection() |
io.vavr.control.Option<List<ServiceContractItem>> |
getItemIfPresent()
Retrieval of associated ServiceContractItem entities (one to many).
|
List<ServiceContractItem> |
getItemOrFetch()
Retrieval of associated ServiceContractItem 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
|
String |
getPersonResponsible()
Constraints: Not nullable, Maximum length: 10
|
String |
getPurchaseOrderByCustomer()
Constraints: Not nullable, Maximum length: 35
|
String |
getReferenceServiceContract()
Constraints: Not nullable, Maximum length: 80
|
String |
getReferenceServiceQtan()
Constraints: Not nullable, Maximum length: 80
|
String |
getSalesGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getSalesOffice()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getServiceContract()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getServiceContractCanclnParty()
Constraints: Not nullable, Maximum length: 4
|
String |
getServiceContractDescription()
Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getServiceContractEndDateTime()
Constraints: Not nullable, Precision: 15, Scale: 0
|
String |
getServiceContractIsCompleted()
Constraints: Not nullable, Maximum length: 1
|
String |
getServiceContractIsReleased()
Constraints: Not nullable, Maximum length: 1
|
BigDecimal |
getServiceContractStartDateTime()
Constraints: Not nullable, Precision: 15, Scale: 0
|
String |
getServiceContractType()
Constraints: Not nullable, Maximum length: 4
|
String |
getServiceContrCancellationReason()
Constraints: Not nullable, Maximum length: 4
|
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 |
getShipToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getSoldToParty()
Constraints: Not nullable, Maximum length: 10
|
BigDecimal |
getSrvcContrCancellationDateTime()
Constraints: Not nullable, Precision: 15, Scale: 0
|
String |
getSrvcContrCreditStatus()
Constraints: Not nullable, Maximum length: 1
|
io.vavr.control.Option<List<ServiceContractText>> |
getTextIfPresent()
Retrieval of associated ServiceContractText entities (one to many).
|
List<ServiceContractText> |
getTextOrFetch()
Retrieval of associated ServiceContractText entities (one to many).
|
String |
getTransactionCurrency()
Constraints: Not nullable, Maximum length: 5
|
Class<ServiceContract> |
getType() |
int |
hashCode() |
void |
setBillToParty(String billToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setContactPerson(String contactPerson)
Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerPurchaseOrderDate(LocalDateTime customerPurchaseOrderDate)
Constraints: Not nullable, Precision: 0
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
Constraints: Not nullable, Maximum length: 2
|
void |
setItem(List<ServiceContractItem> value)
Overwrites the list of associated ServiceContractItem 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(String personResponsible)
Constraints: Not nullable, Maximum length: 10
|
void |
setPurchaseOrderByCustomer(String purchaseOrderByCustomer)
Constraints: Not nullable, Maximum length: 35
|
void |
setReferenceServiceContract(String referenceServiceContract)
Constraints: Not nullable, Maximum length: 80
|
void |
setReferenceServiceQtan(String referenceServiceQtan)
Constraints: Not nullable, Maximum length: 80
|
void |
setSalesGroup(String salesGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setSalesOffice(String salesOffice)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganization(String salesOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceContract(String serviceContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setServiceContractCanclnParty(String serviceContractCanclnParty)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceContractDescription(String serviceContractDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setServiceContractEndDateTime(BigDecimal serviceContractEndDateTime)
Constraints: Not nullable, Precision: 15, Scale: 0
|
void |
setServiceContractIsCompleted(String serviceContractIsCompleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceContractIsReleased(String serviceContractIsReleased)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceContractStartDateTime(BigDecimal serviceContractStartDateTime)
Constraints: Not nullable, Precision: 15, Scale: 0
|
void |
setServiceContractType(String serviceContractType)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceContrCancellationReason(String serviceContrCancellationReason)
Constraints: Not nullable, Maximum length: 4
|
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
|
protected void |
setServicePathForFetch(String servicePathForFetch) |
void |
setShipToParty(String shipToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setSoldToParty(String soldToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setSrvcContrCancellationDateTime(BigDecimal srvcContrCancellationDateTime)
Constraints: Not nullable, Precision: 15, Scale: 0
|
void |
setSrvcContrCreditStatus(String srvcContrCreditStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setText(List<ServiceContractText> value)
Overwrites the list of associated ServiceContractText 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() |
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final ServiceContractSelectable ALL_FIELDS
public static final ServiceContractField<String> SERVICE_CONTRACT
public static final ServiceContractField<String> SERVICE_CONTRACT_TYPE
public static final ServiceContractField<String> SERVICE_CONTRACT_DESCRIPTION
public static final ServiceContractField<String> LANGUAGE
public static final ServiceContractField<BigDecimal> SERVICE_CONTRACT_START_DATE_TIME
public static final ServiceContractField<BigDecimal> SERVICE_CONTRACT_END_DATE_TIME
public static final ServiceContractField<String> PURCHASE_ORDER_BY_CUSTOMER
public static final ServiceContractField<LocalDateTime> CUSTOMER_PURCHASE_ORDER_DATE
public static final ServiceContractField<BigDecimal> SERVICE_DOC_GROSS_AMOUNT
public static final ServiceContractField<BigDecimal> SERVICE_DOC_NET_AMOUNT
public static final ServiceContractField<BigDecimal> SERVICE_DOC_TAX_AMOUNT
public static final ServiceContractField<String> TRANSACTION_CURRENCY
public static final ServiceContractField<String> SERVICE_CONTRACT_IS_RELEASED
public static final ServiceContractField<String> SERVICE_CONTRACT_IS_COMPLETED
public static final ServiceContractField<String> SRVC_CONTR_CREDIT_STATUS
public static final ServiceContractField<String> SALES_ORGANIZATION
public static final ServiceContractField<String> DISTRIBUTION_CHANNEL
public static final ServiceContractField<String> DIVISION
public static final ServiceContractField<String> SALES_OFFICE
public static final ServiceContractField<String> SALES_GROUP
public static final ServiceContractField<String> SOLD_TO_PARTY
public static final ServiceContractField<String> SHIP_TO_PARTY
public static final ServiceContractField<String> BILL_TO_PARTY
public static final ServiceContractField<String> PAYER_PARTY
public static final ServiceContractField<String> CONTACT_PERSON
public static final ServiceContractField<String> PERSON_RESPONSIBLE
public static final ServiceContractField<String> SERVICE_CONTRACT_CANCLN_PARTY
public static final ServiceContractField<String> SERVICE_CONTR_CANCELLATION_REASON
public static final ServiceContractField<BigDecimal> SRVC_CONTR_CANCELLATION_DATE_TIME
public static final ServiceContractField<String> REFERENCE_SERVICE_CONTRACT
public static final ServiceContractField<String> REFERENCE_SERVICE_QTAN
public static final ServiceContractLink<ServiceContractItem> TO_ITEM
public static final ServiceContractLink<ServiceContractText> TO_TEXT
public 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)
@Nonnull public Class<ServiceContract> getType()
getType
in class VdmObject<ServiceContract>
public void setServiceContract(@Nullable String serviceContract)
Original property name from the Odata EDM: ServiceContract
serviceContract
- Transaction IDpublic void setServiceContractType(@Nullable String serviceContractType)
Original property name from the Odata EDM: ServiceContractType
serviceContractType
- Business Transaction Typepublic void setServiceContractDescription(@Nullable String serviceContractDescription)
Original property name from the Odata EDM: ServiceContractDescription
serviceContractDescription
- Transaction Descriptionpublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Key of Descriptionpublic void setServiceContractStartDateTime(@Nullable BigDecimal serviceContractStartDateTime)
Original property name from the Odata EDM: ServiceContractStartDateTime
serviceContractStartDateTime
- Contract Start datepublic void setServiceContractEndDateTime(@Nullable BigDecimal serviceContractEndDateTime)
Original property name from the Odata EDM: ServiceContractEndDateTime
serviceContractEndDateTime
- Contract End 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 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 setServiceContractIsReleased(@Nullable String serviceContractIsReleased)
Original property name from the Odata EDM: ServiceContractIsReleased
serviceContractIsReleased
- Release Statuspublic void setServiceContractIsCompleted(@Nullable String serviceContractIsCompleted)
Original property name from the Odata EDM: ServiceContractIsCompleted
serviceContractIsCompleted
- The serviceContractIsCompleted to set.public void setSrvcContrCreditStatus(@Nullable String srvcContrCreditStatus)
Original property name from the Odata EDM: SrvcContrCreditStatus
srvcContrCreditStatus
- Credit Status of Headerpublic 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 setPersonResponsible(@Nullable String personResponsible)
Original property name from the Odata EDM: PersonResponsible
personResponsible
- Employee Responsiblepublic void setServiceContractCanclnParty(@Nullable String serviceContractCanclnParty)
Original property name from the Odata EDM: ServiceContractCanclnParty
serviceContractCanclnParty
- Cancelling Partypublic void setServiceContrCancellationReason(@Nullable String serviceContrCancellationReason)
Original property name from the Odata EDM: ServiceContrCancellationReason
serviceContrCancellationReason
- CRM Service : Reason for Cancellationpublic void setSrvcContrCancellationDateTime(@Nullable BigDecimal srvcContrCancellationDateTime)
Original property name from the Odata EDM: SrvcContrCancellationDateTime
srvcContrCancellationDateTime
- Contract End Datepublic void setReferenceServiceContract(@Nullable String referenceServiceContract)
Original property name from the Odata EDM: ReferenceServiceContract
referenceServiceContract
- External Reference Numberpublic void setReferenceServiceQtan(@Nullable String referenceServiceQtan)
Original property name from the Odata EDM: ReferenceServiceQtan
referenceServiceQtan
- External Reference Numberprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<ServiceContract>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ServiceContract>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ServiceContract>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ServiceContract>
@Nonnull public static <T> ServiceContractField<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> ServiceContractField<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()
getDestinationForFetch
in class VdmEntity<ServiceContract>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
setServicePathForFetch
in class VdmEntity<ServiceContract>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
attachToService
in class VdmEntity<ServiceContract>
protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<ServiceContract>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ServiceContract>
@Nonnull public List<ServiceContractItem> fetchItem()
Please note: This method will not cache or persist the query results.
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.@Nonnull public List<ServiceContractItem> getItemOrFetch()
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.
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.@Nonnull public io.vavr.control.Option<List<ServiceContractItem>> getItemIfPresent()
If the navigation property for an entity ServiceContract 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<ServiceContractItem> value)
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.
value
- List of ServiceContractItem entities.public void addItem(ServiceContractItem... entity)
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.
entity
- Array of ServiceContractItem entities.@Nonnull public List<ServiceContractText> fetchText()
Please note: This method will not cache or persist the query results.
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.@Nonnull public List<ServiceContractText> getTextOrFetch()
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.
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.@Nonnull public io.vavr.control.Option<List<ServiceContractText>> getTextIfPresent()
If the navigation property for an entity ServiceContract 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<ServiceContractText> value)
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.
value
- List of ServiceContractText entities.public void addText(ServiceContractText... entity)
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.
entity
- Array of ServiceContractText entities.@Nonnull public static ServiceContract.ServiceContractBuilder builder()
@Nullable public String getServiceContract()
Original property name from the Odata EDM: ServiceContract
@Nullable public String getServiceContractType()
Original property name from the Odata EDM: ServiceContractType
@Nullable public String getServiceContractDescription()
Original property name from the Odata EDM: ServiceContractDescription
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public BigDecimal getServiceContractStartDateTime()
Original property name from the Odata EDM: ServiceContractStartDateTime
@Nullable public BigDecimal getServiceContractEndDateTime()
Original property name from the Odata EDM: ServiceContractEndDateTime
@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 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 getServiceContractIsReleased()
Original property name from the Odata EDM: ServiceContractIsReleased
@Nullable public String getServiceContractIsCompleted()
Original property name from the Odata EDM: ServiceContractIsCompleted
@Nullable public String getSrvcContrCreditStatus()
Original property name from the Odata EDM: SrvcContrCreditStatus
@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 String getPersonResponsible()
Original property name from the Odata EDM: PersonResponsible
@Nullable public String getServiceContractCanclnParty()
Original property name from the Odata EDM: ServiceContractCanclnParty
@Nullable public String getServiceContrCancellationReason()
Original property name from the Odata EDM: ServiceContrCancellationReason
@Nullable public BigDecimal getSrvcContrCancellationDateTime()
Original property name from the Odata EDM: SrvcContrCancellationDateTime
@Nullable public String getReferenceServiceContract()
Original property name from the Odata EDM: ReferenceServiceContract
@Nullable public String getReferenceServiceQtan()
Original property name from the Odata EDM: ReferenceServiceQtan
@Nonnull public String toString()
toString
in class VdmObject<ServiceContract>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ServiceContract>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ServiceContract>
public int hashCode()
hashCode
in class VdmEntity<ServiceContract>
Copyright © 2022 SAP SE. All rights reserved.