Class CePuCoDistrdOutlineAgrmt
Original entity name from the Odata EDM: A_CePuCoDistrdOutlineAgrmtType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CePuCoDistrdOutlineAgrmt instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CePuCoDistrdOutlineAgrmtSelectableSelector for all available fields of CePuCoDistrdOutlineAgrmt.static final CePuCoDistrdOutlineAgrmtField<String>Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.static final CePuCoDistrdOutlineAgrmtField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final CePuCoDistrdOutlineAgrmtField<String>Use with available fluent helpers to apply the ExtContractForPurg field to query operations.static final CePuCoDistrdOutlineAgrmtField<String>Use with available fluent helpers to apply the ProcurementHubSourceSystem field to query operations.static final CePuCoDistrdOutlineAgrmtField<String>Use with available fluent helpers to apply the PurchasingGroup field to query operations.static final CePuCoDistrdOutlineAgrmtField<String>Use with available fluent helpers to apply the PurchasingOrganization field to query operations.static final CePuCoDistrdOutlineAgrmtField<String>Use with available fluent helpers to apply the PurgDocItemDistributionStatus field to query operations.static final CePuCoDistrdOutlineAgrmtField<String>Use with available fluent helpers to apply the SourceListChangeConfStatus field to query operations.static final CePuCoDistrdOutlineAgrmtField<String>Use with available fluent helpers to apply the SourceListIsUpdated field to query operations.static final CePuCoDistrdOutlineAgrmtOneToOneLink<CentralPurchaseContract>Use with available fluent helpers to apply the to_CentralPurchaseContract navigation property to query operations.Use with available fluent helpers to apply the to_DistributedPaymentTerms navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCePuCoDistrdOutlineAgrmt(String centralPurchaseContract, String extContractForPurg, String procurementHubSourceSystem, String companyCode, String purchasingOrganization, String purchasingGroup, String purgDocItemDistributionStatus, String sourceListIsUpdated, String sourceListChangeConfStatus, CentralPurchaseContract toCentralPurchaseContract, CePuCoDistrdContrPaytTrms toDistributedPaymentTerms) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CentralPurchaseContract entity (one to one) associated with this entity.Fetches the CePuCoDistrdContrPaytTrms entity (one to one) associated with this entity.static <T,DomainT>
CePuCoDistrdOutlineAgrmtField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CePuCoDistrdOutlineAgrmtField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<CentralPurchaseContract>Retrieval of associated CentralPurchaseContract entity (one to one).Retrieval of associated CentralPurchaseContract entity (one to one).Constraints: Not nullable, Maximum length: 4protected Stringio.vavr.control.Option<CePuCoDistrdContrPaytTrms>Retrieval of associated CePuCoDistrdContrPaytTrms entity (one to one).Retrieval of associated CePuCoDistrdContrPaytTrms entity (one to one).protected String(Key Field) Constraints: Not nullable, Maximum length: 10getKey()(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidOverwrites the associated CentralPurchaseContract entity for the loaded navigation property to_CentralPurchaseContract.voidsetCentralPurchaseContract(String centralPurchaseContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidOverwrites the associated CePuCoDistrdContrPaytTrms entity for the loaded navigation property to_DistributedPaymentTerms.voidsetExtContractForPurg(String extContractForPurg) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetProcurementHubSourceSystem(String procurementHubSourceSystem) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetPurchasingGroup(String purchasingGroup) Constraints: Not nullable, Maximum length: 3voidsetPurchasingOrganization(String purchasingOrganization) Constraints: Not nullable, Maximum length: 4voidsetPurgDocItemDistributionStatus(String purgDocItemDistributionStatus) Constraints: Not nullable, Maximum length: 2protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSourceListChangeConfStatus(String sourceListChangeConfStatus) Constraints: Not nullable, Maximum length: 2voidsetSourceListIsUpdated(String sourceListIsUpdated) Constraints: Not nullable, Maximum length: 1toString()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 CePuCoDistrdOutlineAgrmt. -
CENTRAL_PURCHASE_CONTRACT
Use with available fluent helpers to apply the CentralPurchaseContract field to query operations. -
EXT_CONTRACT_FOR_PURG
Use with available fluent helpers to apply the ExtContractForPurg field to query operations. -
PROCUREMENT_HUB_SOURCE_SYSTEM
Use with available fluent helpers to apply the ProcurementHubSourceSystem field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations. -
PURCHASING_GROUP
Use with available fluent helpers to apply the PurchasingGroup field to query operations. -
PURG_DOC_ITEM_DISTRIBUTION_STATUS
Use with available fluent helpers to apply the PurgDocItemDistributionStatus field to query operations. -
SOURCE_LIST_IS_UPDATED
Use with available fluent helpers to apply the SourceListIsUpdated field to query operations. -
SOURCE_LIST_CHANGE_CONF_STATUS
Use with available fluent helpers to apply the SourceListChangeConfStatus field to query operations. -
TO_CENTRAL_PURCHASE_CONTRACT
public static final CePuCoDistrdOutlineAgrmtOneToOneLink<CentralPurchaseContract> TO_CENTRAL_PURCHASE_CONTRACTUse with available fluent helpers to apply the to_CentralPurchaseContract navigation property to query operations. -
TO_DISTRIBUTED_PAYMENT_TERMS
public static final CePuCoDistrdOutlineAgrmtOneToOneLink<CePuCoDistrdContrPaytTrms> TO_DISTRIBUTED_PAYMENT_TERMSUse with available fluent helpers to apply the to_DistributedPaymentTerms navigation property to query operations.
-
-
Constructor Details
-
CePuCoDistrdOutlineAgrmt
public CePuCoDistrdOutlineAgrmt() -
CePuCoDistrdOutlineAgrmt
public CePuCoDistrdOutlineAgrmt(@Nullable String centralPurchaseContract, @Nullable String extContractForPurg, @Nullable String procurementHubSourceSystem, @Nullable String companyCode, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable String purgDocItemDistributionStatus, @Nullable String sourceListIsUpdated, @Nullable String sourceListChangeConfStatus, @Nullable CentralPurchaseContract toCentralPurchaseContract, @Nullable CePuCoDistrdContrPaytTrms toDistributedPaymentTerms)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CePuCoDistrdOutlineAgrmt>
-
setCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Parameters:
centralPurchaseContract- Purchasing Document Number
-
setExtContractForPurg
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ExtContractForPurg
- Parameters:
extContractForPurg- Contract of External System
-
setProcurementHubSourceSystem
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Parameters:
procurementHubSourceSystem- Logical System
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Parameters:
purchasingOrganization- Purchasing Organization
-
setPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Parameters:
purchasingGroup- Purchasing Group
-
setPurgDocItemDistributionStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurgDocItemDistributionStatus
- Parameters:
purgDocItemDistributionStatus- Distribution Status
-
setSourceListIsUpdated
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SourceListIsUpdated
- Parameters:
sourceListIsUpdated- Sourcelist Updated
-
setSourceListChangeConfStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourceListChangeConfStatus
- Parameters:
sourceListChangeConfStatus- Source List Change Status
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CePuCoDistrdOutlineAgrmt>
-
getKey
- Overrides:
getKeyin classVdmObject<CePuCoDistrdOutlineAgrmt>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CePuCoDistrdOutlineAgrmt>
-
fromMap
- Overrides:
fromMapin classVdmObject<CePuCoDistrdOutlineAgrmt>
-
field
@Nonnull public static <T> CePuCoDistrdOutlineAgrmtField<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> CePuCoDistrdOutlineAgrmtField<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<CePuCoDistrdOutlineAgrmt>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CePuCoDistrdOutlineAgrmt>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CePuCoDistrdOutlineAgrmt>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CePuCoDistrdOutlineAgrmt>
-
fetchCentralPurchaseContract
Fetches the CentralPurchaseContract entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CentralPurchaseContract.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated CentralPurchaseContract entity, or
nullif an entity is not associated. - 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.
-
getCentralPurchaseContractOrFetch
Retrieval of associated CentralPurchaseContract entity (one to one). This corresponds to the OData navigation property to_CentralPurchaseContract.If the navigation property to_CentralPurchaseContract of a queried CePuCoDistrdOutlineAgrmt 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 CentralPurchaseContract entity.
- 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.
-
getCentralPurchaseContractIfPresent
@Nonnull public io.vavr.control.Option<CentralPurchaseContract> getCentralPurchaseContractIfPresent()Retrieval of associated CentralPurchaseContract entity (one to one). This corresponds to the OData navigation property to_CentralPurchaseContract.If the navigation property for an entity CePuCoDistrdOutlineAgrmt 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_CentralPurchaseContract is already loaded, the
result will contain the CentralPurchaseContract entity. If not, an
Optionwith result stateemptyis returned.
-
setCentralPurchaseContract
Overwrites the associated CentralPurchaseContract entity for the loaded navigation property to_CentralPurchaseContract.- Parameters:
value- New CentralPurchaseContract entity.
-
fetchDistributedPaymentTerms
Fetches the CePuCoDistrdContrPaytTrms entity (one to one) associated with this entity. This corresponds to the OData navigation property to_DistributedPaymentTerms.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated CePuCoDistrdContrPaytTrms entity, or
nullif an entity is not associated. - 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.
-
getDistributedPaymentTermsOrFetch
Retrieval of associated CePuCoDistrdContrPaytTrms entity (one to one). This corresponds to the OData navigation property to_DistributedPaymentTerms.If the navigation property to_DistributedPaymentTerms of a queried CePuCoDistrdOutlineAgrmt 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 CePuCoDistrdContrPaytTrms entity.
- 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.
-
getDistributedPaymentTermsIfPresent
@Nonnull public io.vavr.control.Option<CePuCoDistrdContrPaytTrms> getDistributedPaymentTermsIfPresent()Retrieval of associated CePuCoDistrdContrPaytTrms entity (one to one). This corresponds to the OData navigation property to_DistributedPaymentTerms.If the navigation property for an entity CePuCoDistrdOutlineAgrmt 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_DistributedPaymentTerms is already loaded, the
result will contain the CePuCoDistrdContrPaytTrms entity. If not, an
Optionwith result stateemptyis returned.
-
setDistributedPaymentTerms
Overwrites the associated CePuCoDistrdContrPaytTrms entity for the loaded navigation property to_DistributedPaymentTerms.- Parameters:
value- New CePuCoDistrdContrPaytTrms entity.
-
builder
-
getCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Returns:
- Purchasing Document Number
-
getExtContractForPurg
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ExtContractForPurg
- Returns:
- Contract of External System
-
getProcurementHubSourceSystem
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Returns:
- Logical System
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Returns:
- Purchasing Organization
-
getPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Returns:
- Purchasing Group
-
getPurgDocItemDistributionStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurgDocItemDistributionStatus
- Returns:
- Distribution Status
-
getSourceListIsUpdated
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SourceListIsUpdated
- Returns:
- Sourcelist Updated
-
getSourceListChangeConfStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourceListChangeConfStatus
- Returns:
- Source List Change Status
-
toString
- Overrides:
toStringin classVdmObject<CePuCoDistrdOutlineAgrmt>
-
equals
- Overrides:
equalsin classVdmEntity<CePuCoDistrdOutlineAgrmt>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CePuCoDistrdOutlineAgrmt>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CePuCoDistrdOutlineAgrmt>
-