Class CntrlPurContrItmCndnValdty
Original entity name from the Odata EDM: A_CntrlPurContrItmCndnValdtyType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CntrlPurContrItmCndnValdty instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CntrlPurContrItmCndnValdtySelectableSelector for all available fields of CntrlPurContrItmCndnValdty.static final CntrlPurContrItmCndnValdtyField<String>Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.static final CntrlPurContrItmCndnValdtyField<String>Use with available fluent helpers to apply the CentralPurchaseContractItem field to query operations.static final CntrlPurContrItmCndnValdtyField<String>Use with available fluent helpers to apply the ConditionApplication field to query operations.static final CntrlPurContrItmCndnValdtyField<Boolean>Use with available fluent helpers to apply the ConditionIsDeleted field to query operations.static final CntrlPurContrItmCndnValdtyField<String>Use with available fluent helpers to apply the ConditionRecord field to query operations.static final CntrlPurContrItmCndnValdtyField<String>Use with available fluent helpers to apply the ConditionType field to query operations.static final CntrlPurContrItmCndnValdtyField<LocalDateTime>Use with available fluent helpers to apply the ConditionValidityEndDate field to query operations.static final CntrlPurContrItmCndnValdtyField<LocalDateTime>Use with available fluent helpers to apply the ConditionValidityStartDate field to query operations.static final CntrlPurContrItmCndnValdtyField<String>Use with available fluent helpers to apply the ProcmtHubPlantUniqueID field to query operations.Use with available fluent helpers to apply the to_CentralPurchaseContract navigation property to query operations.static final CntrlPurContrItmCndnValdtyLink<CntrlPurContrItmCndnAmount>Use with available fluent helpers to apply the to_CntrlPurContrItmCndnAmount navigation property to query operations.Use with available fluent helpers to apply the to_CntrlPurchaseContractItem navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCntrlPurContrItmCndnValdty(String centralPurchaseContract, String centralPurchaseContractItem, String conditionRecord, LocalDateTime conditionValidityEndDate, String conditionApplication, String conditionType, LocalDateTime conditionValidityStartDate, String procmtHubPlantUniqueID, Boolean conditionIsDeleted, CentralPurchaseContract toCentralPurchaseContract, CntrlPurchaseContractItem toCntrlPurchaseContractItem, List<CntrlPurContrItmCndnAmount> toCntrlPurContrItmCndnAmount) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated CntrlPurContrItmCndnAmount entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CentralPurchaseContract entity (one to one) associated with this entity.Fetches the CntrlPurchaseContractItem entity (one to one) associated with this entity.Fetches the CntrlPurContrItmCndnAmount entities (one to many) associated with this entity.static <T,DomainT>
CntrlPurContrItmCndnValdtyField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CntrlPurContrItmCndnValdtyField<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).(Key Field) Constraints: Not nullable, Maximum length: 5Retrieval of associated CentralPurchaseContract entity (one to one).io.vavr.control.Option<CntrlPurchaseContractItem>Retrieval of associated CntrlPurchaseContractItem entity (one to one).Retrieval of associated CntrlPurchaseContractItem entity (one to one).io.vavr.control.Option<List<CntrlPurContrItmCndnAmount>>Retrieval of associated CntrlPurContrItmCndnAmount entities (one to many).Retrieval of associated CntrlPurContrItmCndnAmount entities (one to many).Constraints: Not nullable, Maximum length: 2Constraints: none(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0protected Stringprotected StringgetKey()Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidOverwrites the associated CentralPurchaseContract entity for the loaded navigation property to_CentralPurchaseContract.voidsetCentralPurchaseContract(String centralPurchaseContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCentralPurchaseContractItem(String centralPurchaseContractItem) (Key Field) Constraints: Not nullable, Maximum length: 5voidOverwrites the associated CntrlPurchaseContractItem entity for the loaded navigation property to_CntrlPurchaseContractItem.voidOverwrites the list of associated CntrlPurContrItmCndnAmount entities for the loaded navigation property to_CntrlPurContrItmCndnAmount.voidsetConditionApplication(String conditionApplication) Constraints: Not nullable, Maximum length: 2voidsetConditionIsDeleted(Boolean conditionIsDeleted) Constraints: nonevoidsetConditionRecord(String conditionRecord) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetConditionType(String conditionType) Constraints: Not nullable, Maximum length: 4voidsetConditionValidityEndDate(LocalDateTime conditionValidityEndDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetConditionValidityStartDate(LocalDateTime conditionValidityStartDate) Constraints: Not nullable, Precision: 0voidsetProcmtHubPlantUniqueID(String procmtHubPlantUniqueID) Constraints: Not nullable, Maximum length: 30protected voidsetServicePathForFetch(String servicePathForFetch) toString()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 CntrlPurContrItmCndnValdty. -
CENTRAL_PURCHASE_CONTRACT
Use with available fluent helpers to apply the CentralPurchaseContract field to query operations. -
CENTRAL_PURCHASE_CONTRACT_ITEM
Use with available fluent helpers to apply the CentralPurchaseContractItem field to query operations. -
CONDITION_RECORD
Use with available fluent helpers to apply the ConditionRecord field to query operations. -
CONDITION_VALIDITY_END_DATE
Use with available fluent helpers to apply the ConditionValidityEndDate field to query operations. -
CONDITION_APPLICATION
Use with available fluent helpers to apply the ConditionApplication field to query operations. -
CONDITION_TYPE
Use with available fluent helpers to apply the ConditionType field to query operations. -
CONDITION_VALIDITY_START_DATE
Use with available fluent helpers to apply the ConditionValidityStartDate field to query operations. -
PROCMT_HUB_PLANT_UNIQUE_ID
Use with available fluent helpers to apply the ProcmtHubPlantUniqueID field to query operations. -
CONDITION_IS_DELETED
Use with available fluent helpers to apply the ConditionIsDeleted field to query operations. -
TO_CENTRAL_PURCHASE_CONTRACT
public static final CntrlPurContrItmCndnValdtyOneToOneLink<CentralPurchaseContract> TO_CENTRAL_PURCHASE_CONTRACTUse with available fluent helpers to apply the to_CentralPurchaseContract navigation property to query operations. -
TO_CNTRL_PURCHASE_CONTRACT_ITEM
public static final CntrlPurContrItmCndnValdtyOneToOneLink<CntrlPurchaseContractItem> TO_CNTRL_PURCHASE_CONTRACT_ITEMUse with available fluent helpers to apply the to_CntrlPurchaseContractItem navigation property to query operations. -
TO_CNTRL_PUR_CONTR_ITM_CNDN_AMOUNT
public static final CntrlPurContrItmCndnValdtyLink<CntrlPurContrItmCndnAmount> TO_CNTRL_PUR_CONTR_ITM_CNDN_AMOUNTUse with available fluent helpers to apply the to_CntrlPurContrItmCndnAmount navigation property to query operations.
-
-
Constructor Details
-
CntrlPurContrItmCndnValdty
public CntrlPurContrItmCndnValdty() -
CntrlPurContrItmCndnValdty
public CntrlPurContrItmCndnValdty(@Nullable String centralPurchaseContract, @Nullable String centralPurchaseContractItem, @Nullable String conditionRecord, @Nullable LocalDateTime conditionValidityEndDate, @Nullable String conditionApplication, @Nullable String conditionType, @Nullable LocalDateTime conditionValidityStartDate, @Nullable String procmtHubPlantUniqueID, @Nullable Boolean conditionIsDeleted, @Nullable CentralPurchaseContract toCentralPurchaseContract, @Nullable CntrlPurchaseContractItem toCntrlPurchaseContractItem, List<CntrlPurContrItmCndnAmount> toCntrlPurContrItmCndnAmount)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CntrlPurContrItmCndnValdty>
-
setCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Parameters:
centralPurchaseContract- Purchasing Document Number
-
setCentralPurchaseContractItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CentralPurchaseContractItem
- Parameters:
centralPurchaseContractItem- Item Number of Purchasing Document
-
setConditionRecord
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ConditionRecord
- Parameters:
conditionRecord- Number of Condition Record
-
setConditionValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ConditionValidityEndDate
- Parameters:
conditionValidityEndDate- Validity end date of the condition record
-
setConditionApplication
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionApplication
- Parameters:
conditionApplication- Application
-
setConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Parameters:
conditionType- Condition Type
-
setConditionValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ConditionValidityStartDate
- Parameters:
conditionValidityStartDate- Validity start date of the condition record
-
setProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Parameters:
procmtHubPlantUniqueID- Plant Unique ID
-
setConditionIsDeleted
Constraints: noneOriginal property name from the Odata EDM: ConditionIsDeleted
- Parameters:
conditionIsDeleted- Deletion Indicator for Condition Record
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CntrlPurContrItmCndnValdty>
-
getKey
- Overrides:
getKeyin classVdmObject<CntrlPurContrItmCndnValdty>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CntrlPurContrItmCndnValdty>
-
fromMap
- Overrides:
fromMapin classVdmObject<CntrlPurContrItmCndnValdty>
-
field
@Nonnull public static <T> CntrlPurContrItmCndnValdtyField<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> CntrlPurContrItmCndnValdtyField<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<CntrlPurContrItmCndnValdty>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CntrlPurContrItmCndnValdty>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CntrlPurContrItmCndnValdty>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CntrlPurContrItmCndnValdty>
-
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 CntrlPurContrItmCndnValdty 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 CntrlPurContrItmCndnValdty 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.
-
fetchCntrlPurchaseContractItem
Fetches the CntrlPurchaseContractItem entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CntrlPurchaseContractItem.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated CntrlPurchaseContractItem 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.
-
getCntrlPurchaseContractItemOrFetch
Retrieval of associated CntrlPurchaseContractItem entity (one to one). This corresponds to the OData navigation property to_CntrlPurchaseContractItem.If the navigation property to_CntrlPurchaseContractItem of a queried CntrlPurContrItmCndnValdty 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 CntrlPurchaseContractItem 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.
-
getCntrlPurchaseContractItemIfPresent
@Nonnull public io.vavr.control.Option<CntrlPurchaseContractItem> getCntrlPurchaseContractItemIfPresent()Retrieval of associated CntrlPurchaseContractItem entity (one to one). This corresponds to the OData navigation property to_CntrlPurchaseContractItem.If the navigation property for an entity CntrlPurContrItmCndnValdty 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_CntrlPurchaseContractItem is already loaded, the
result will contain the CntrlPurchaseContractItem entity. If not, an
Optionwith result stateemptyis returned.
-
setCntrlPurchaseContractItem
Overwrites the associated CntrlPurchaseContractItem entity for the loaded navigation property to_CntrlPurchaseContractItem.- Parameters:
value- New CntrlPurchaseContractItem entity.
-
fetchCntrlPurContrItmCndnAmount
Fetches the CntrlPurContrItmCndnAmount entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CntrlPurContrItmCndnAmount.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CntrlPurContrItmCndnAmount 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.
-
getCntrlPurContrItmCndnAmountOrFetch
Retrieval of associated CntrlPurContrItmCndnAmount entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrItmCndnAmount.If the navigation property to_CntrlPurContrItmCndnAmount of a queried CntrlPurContrItmCndnValdty 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 CntrlPurContrItmCndnAmount 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.
-
getCntrlPurContrItmCndnAmountIfPresent
@Nonnull public io.vavr.control.Option<List<CntrlPurContrItmCndnAmount>> getCntrlPurContrItmCndnAmountIfPresent()Retrieval of associated CntrlPurContrItmCndnAmount entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrItmCndnAmount.If the navigation property for an entity CntrlPurContrItmCndnValdty 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_CntrlPurContrItmCndnAmount is already loaded, the
result will contain the CntrlPurContrItmCndnAmount entities. If not, an
Optionwith result stateemptyis returned.
-
setCntrlPurContrItmCndnAmount
Overwrites the list of associated CntrlPurContrItmCndnAmount entities for the loaded navigation property to_CntrlPurContrItmCndnAmount.If the navigation property to_CntrlPurContrItmCndnAmount of a queried CntrlPurContrItmCndnValdty 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 CntrlPurContrItmCndnAmount entities.
-
addCntrlPurContrItmCndnAmount
Adds elements to the list of associated CntrlPurContrItmCndnAmount entities. This corresponds to the OData navigation property to_CntrlPurContrItmCndnAmount.If the navigation property to_CntrlPurContrItmCndnAmount of a queried CntrlPurContrItmCndnValdty 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 CntrlPurContrItmCndnAmount entities.
-
builder
-
getCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Returns:
- Purchasing Document Number
-
getCentralPurchaseContractItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CentralPurchaseContractItem
- Returns:
- Item Number of Purchasing Document
-
getConditionRecord
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ConditionRecord
- Returns:
- Number of Condition Record
-
getConditionValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ConditionValidityEndDate
- Returns:
- Validity end date of the condition record
-
getConditionApplication
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionApplication
- Returns:
- Application
-
getConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Returns:
- Condition Type
-
getConditionValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ConditionValidityStartDate
- Returns:
- Validity start date of the condition record
-
getProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Returns:
- Plant Unique ID
-
getConditionIsDeleted
Constraints: noneOriginal property name from the Odata EDM: ConditionIsDeleted
- Returns:
- Deletion Indicator for Condition Record
-
toString
- Overrides:
toStringin classVdmObject<CntrlPurContrItmCndnValdty>
-
equals
- Overrides:
equalsin classVdmEntity<CntrlPurContrItmCndnValdty>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CntrlPurContrItmCndnValdty>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CntrlPurContrItmCndnValdty>
-