Class SrcgProjItmCndnValidity
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjItmCndnValidity_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjItmCndnValidity instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjItmCndnValidity>Selector for all available fields of SrcgProjItmCndnValidity.static final SimpleProperty.String<SrcgProjItmCndnValidity>static final SimpleProperty.String<SrcgProjItmCndnValidity>static final SimpleProperty.Date<SrcgProjItmCndnValidity>static final SimpleProperty.Date<SrcgProjItmCndnValidity>static final SimpleProperty.String<SrcgProjItmCndnValidity>static final SimpleProperty.String<SrcgProjItmCndnValidity>static final SimpleProperty.String<SrcgProjItmCndnValidity>static final SimpleProperty.String<SrcgProjItmCndnValidity>static final SimpleProperty.String<SrcgProjItmCndnValidity>static final SimpleProperty.String<SrcgProjItmCndnValidity>static final SimpleProperty.Guid<SrcgProjItmCndnValidity>static final SimpleProperty.Guid<SrcgProjItmCndnValidity>static final SimpleProperty.String<SrcgProjItmCndnValidity>static final SimpleProperty.Guid<SrcgProjItmCndnValidity>static final NavigationProperty.Single<SrcgProjItmCndnValidity,SourcingProject> Use with available request builders to apply the _SourcingProject navigation property to query operations.Use with available request builders to apply the _SourcingProjectItem navigation property to query operations.Use with available request builders to apply the _SrcgProjItmCndnAmount navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSrcgProjItmCndnValidity(UUID srcgProjItemCndnValdtyUUID, UUID sourcingProjectUUID, UUID sourcingProjectItemUUID, LocalDate conditionValidityStartDate, LocalDate conditionValidityEndDate, String procmtHubPlantUniqueID, String conditionType, String sourcingOrigin, String sourcingScenario, String conditionText, String procmtHubPlant, String procmtHubPlantName, String procurementHubSourceSystem, String procurementHubSourceSystemName, SourcingProject to_SourcingProject, SourcingProjectItem to_SourcingProjectItem, List<SrcgProjItmCndnAmount> to_SrcgProjItmCndnAmount) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSrcgProjItmCndnAmount(SrcgProjItmCndnAmount... entity) Adds elements to the list of associated SrcgProjItmCndnAmount entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 4Constraints: NullableConstraints: Nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<SourcingProject>Retrieval of associated SourcingProject entity (one to one).io.vavr.control.Option<SourcingProjectItem>Retrieval of associated SourcingProjectItem entity (one to one).Constraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullableio.vavr.control.Option<List<SrcgProjItmCndnAmount>>Retrieval of associated SrcgProjItmCndnAmount entities (one to many).getType()inthashCode()voidsetConditionText(String conditionText) Constraints: Not nullable, Maximum length: 20voidsetConditionType(String conditionType) Constraints: Not nullable, Maximum length: 4voidsetConditionValidityEndDate(LocalDate conditionValidityEndDate) Constraints: NullablevoidsetConditionValidityStartDate(LocalDate conditionValidityStartDate) Constraints: NullablevoidsetProcmtHubPlant(String procmtHubPlant) Constraints: Not nullable, Maximum length: 4voidsetProcmtHubPlantName(String procmtHubPlantName) Constraints: Not nullable, Maximum length: 30voidsetProcmtHubPlantUniqueID(String procmtHubPlantUniqueID) Constraints: Not nullable, Maximum length: 30voidsetProcurementHubSourceSystem(String procurementHubSourceSystem) Constraints: Not nullable, Maximum length: 10voidsetProcurementHubSourceSystemName(String procurementHubSourceSystemName) Constraints: Not nullable, Maximum length: 30voidsetSourcingOrigin(String sourcingOrigin) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.voidOverwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.voidsetSourcingProjectItemUUID(UUID sourcingProjectItemUUID) Constraints: Not nullablevoidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: Not nullablevoidsetSourcingScenario(String sourcingScenario) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjItemCndnValdtyUUID(UUID srcgProjItemCndnValdtyUUID) (Key Field) Constraints: Not nullablevoidOverwrites the list of associated SrcgProjItmCndnAmount entities for the loaded navigation property _SrcgProjItmCndnAmount.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, 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 SrcgProjItmCndnValidity. -
SRCG_PROJ_ITEM_CNDN_VALDTY_UUID
-
SOURCING_PROJECT_UUID
-
SOURCING_PROJECT_ITEM_UUID
-
CONDITION_VALIDITY_START_DATE
-
CONDITION_VALIDITY_END_DATE
-
PROCMT_HUB_PLANT_UNIQUE_ID
-
CONDITION_TYPE
-
SOURCING_ORIGIN
-
SOURCING_SCENARIO
-
CONDITION_TEXT
-
PROCMT_HUB_PLANT
-
PROCMT_HUB_PLANT_NAME
-
PROCUREMENT_HUB_SOURCE_SYSTEM
-
PROCUREMENT_HUB_SOURCE_SYSTEM_NAME
public static final SimpleProperty.String<SrcgProjItmCndnValidity> PROCUREMENT_HUB_SOURCE_SYSTEM_NAME -
TO__SOURCING_PROJECT
public static final NavigationProperty.Single<SrcgProjItmCndnValidity,SourcingProject> TO__SOURCING_PROJECTUse with available request builders to apply the _SourcingProject navigation property to query operations. -
TO__SOURCING_PROJECT_ITEM
public static final NavigationProperty.Single<SrcgProjItmCndnValidity,SourcingProjectItem> TO__SOURCING_PROJECT_ITEMUse with available request builders to apply the _SourcingProjectItem navigation property to query operations. -
TO__SRCG_PROJ_ITM_CNDN_AMOUNT
public static final NavigationProperty.Collection<SrcgProjItmCndnValidity,SrcgProjItmCndnAmount> TO__SRCG_PROJ_ITM_CNDN_AMOUNTUse with available request builders to apply the _SrcgProjItmCndnAmount navigation property to query operations.
-
-
Constructor Details
-
SrcgProjItmCndnValidity
public SrcgProjItmCndnValidity() -
SrcgProjItmCndnValidity
public SrcgProjItmCndnValidity(@Nullable UUID srcgProjItemCndnValdtyUUID, @Nullable UUID sourcingProjectUUID, @Nullable UUID sourcingProjectItemUUID, @Nullable LocalDate conditionValidityStartDate, @Nullable LocalDate conditionValidityEndDate, @Nullable String procmtHubPlantUniqueID, @Nullable String conditionType, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable String conditionText, @Nullable String procmtHubPlant, @Nullable String procmtHubPlantName, @Nullable String procurementHubSourceSystem, @Nullable String procurementHubSourceSystemName, @Nullable SourcingProject to_SourcingProject, @Nullable SourcingProjectItem to_SourcingProjectItem, List<SrcgProjItmCndnAmount> to_SrcgProjItmCndnAmount)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjItmCndnValidity>
-
setSrcgProjItemCndnValdtyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnValdtyUUID
- Parameters:
srcgProjItemCndnValdtyUUID- Condition Validity UUID in Sourcing Project
-
setSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project UUID
-
setSourcingProjectItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Parameters:
sourcingProjectItemUUID- Sourcing Project Item UUID
-
setConditionValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityStartDate
- Parameters:
conditionValidityStartDate- Validity start date of the condition record
-
setConditionValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityEndDate
- Parameters:
conditionValidityEndDate- Validity end date of the condition record
-
setProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Parameters:
procmtHubPlantUniqueID- Plant Unique ID
-
setConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Parameters:
conditionType- Condition Type
-
setSourcingOrigin
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingOrigin
- Parameters:
sourcingOrigin- Sourcing Origin
-
setSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Parameters:
sourcingScenario- Sourcing Integration Scenario
-
setConditionText
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ConditionText
- Parameters:
conditionText- Description
-
setProcmtHubPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubPlant
- Parameters:
procmtHubPlant- Connected Plant
-
setProcmtHubPlantName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantName
- Parameters:
procmtHubPlantName- Plant Name
-
setProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Parameters:
procurementHubSourceSystem- Connected System ID
-
setProcurementHubSourceSystemName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcurementHubSourceSystemName
- Parameters:
procurementHubSourceSystemName- Connected System Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjItmCndnValidity>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjItmCndnValidity>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjItmCndnValidity>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjItmCndnValidity>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjItmCndnValidity>
-
getSourcingProjectIfPresent
Retrieval of associated SourcingProject entity (one to one). This corresponds to the OData navigation property _SourcingProject.If the navigation property for an entity SrcgProjItmCndnValidity 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 _SourcingProject is already loaded, the result will
contain the SourcingProject entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProject
Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.- Parameters:
value- New SourcingProject entity.
-
getSourcingProjectItemIfPresent
Retrieval of associated SourcingProjectItem entity (one to one). This corresponds to the OData navigation property _SourcingProjectItem.If the navigation property for an entity SrcgProjItmCndnValidity 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 _SourcingProjectItem is already loaded, the result will
contain the SourcingProjectItem entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectItem
Overwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.- Parameters:
value- New SourcingProjectItem entity.
-
getSrcgProjItmCndnAmountIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjItmCndnAmount>> getSrcgProjItmCndnAmountIfPresent()Retrieval of associated SrcgProjItmCndnAmount entities (one to many). This corresponds to the OData navigation property _SrcgProjItmCndnAmount.If the navigation property for an entity SrcgProjItmCndnValidity 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 _SrcgProjItmCndnAmount is already loaded, the result
will contain the SrcgProjItmCndnAmount entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjItmCndnAmount
Overwrites the list of associated SrcgProjItmCndnAmount entities for the loaded navigation property _SrcgProjItmCndnAmount.If the navigation property _SrcgProjItmCndnAmount of a queried SrcgProjItmCndnValidity 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 SrcgProjItmCndnAmount entities.
-
addSrcgProjItmCndnAmount
Adds elements to the list of associated SrcgProjItmCndnAmount entities. This corresponds to the OData navigation property _SrcgProjItmCndnAmount.If the navigation property _SrcgProjItmCndnAmount of a queried SrcgProjItmCndnValidity 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 SrcgProjItmCndnAmount entities.
-
builder
-
getSrcgProjItemCndnValdtyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnValdtyUUID
- Returns:
- Condition Validity UUID in Sourcing Project
-
getSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project UUID
-
getSourcingProjectItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Returns:
- Sourcing Project Item UUID
-
getConditionValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityStartDate
- Returns:
- Validity start date of the condition record
-
getConditionValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityEndDate
- Returns:
- Validity end date of the condition record
-
getProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Returns:
- Plant Unique ID
-
getConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Returns:
- Condition Type
-
getSourcingOrigin
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingOrigin
- Returns:
- Sourcing Origin
-
getSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Returns:
- Sourcing Integration Scenario
-
getConditionText
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ConditionText
- Returns:
- Description
-
getProcmtHubPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubPlant
- Returns:
- Connected Plant
-
getProcmtHubPlantName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantName
- Returns:
- Plant Name
-
getProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Returns:
- Connected System ID
-
getProcurementHubSourceSystemName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcurementHubSourceSystemName
- Returns:
- Connected System Name
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjItmCndnValidity>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjItmCndnValidity>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjItmCndnValidity>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjItmCndnValidity>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjItmCndnValidity>
-