Class ProcurementProjectPlant
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProcurementProjectPlant_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProcurementProjectPlant instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProcurementProjectPlant>Selector for all available fields of ProcurementProjectPlant.static final SimpleProperty.String<ProcurementProjectPlant>static final SimpleProperty.String<ProcurementProjectPlant>static final SimpleProperty.Guid<ProcurementProjectPlant>static final SimpleProperty.String<ProcurementProjectPlant>static final SimpleProperty.String<ProcurementProjectPlant>static final SimpleProperty.Guid<ProcurementProjectPlant>static final SimpleProperty.Date<ProcurementProjectPlant>static final SimpleProperty.Date<ProcurementProjectPlant>static final SimpleProperty.String<ProcurementProjectPlant>static final SimpleProperty.String<ProcurementProjectPlant>Use with available request builders to apply the _ProcurementProject 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
ConstructorsConstructorDescriptionProcurementProjectPlant(UUID procmtProjectPlantUUID, String procurementProjectPlant, LocalDate productionStartDate, LocalDate productionEndDate, UUID procurementProjectUUID, String companyCode, String procurementHubSourceSystem, String procmtHubPlantUniqueID, String sourcingOrigin, String sourcingScenario, ProcurementProject to_ProcurementProject) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 4protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 30(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 10io.vavr.control.Option<ProcurementProject>Retrieval of associated ProcurementProject entity (one to one).Constraints: Not nullable, Maximum length: 4Constraints: Not nullableConstraints: NullableConstraints: NullableConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetProcmtHubPlantUniqueID(String procmtHubPlantUniqueID) Constraints: Not nullable, Maximum length: 30voidsetProcmtProjectPlantUUID(UUID procmtProjectPlantUUID) (Key Field) Constraints: Not nullablevoidsetProcurementHubSourceSystem(String procurementHubSourceSystem) Constraints: Not nullable, Maximum length: 10voidOverwrites the associated ProcurementProject entity for the loaded navigation property _ProcurementProject.voidsetProcurementProjectPlant(String procurementProjectPlant) Constraints: Not nullable, Maximum length: 4voidsetProcurementProjectUUID(UUID procurementProjectUUID) Constraints: Not nullablevoidsetProductionEndDate(LocalDate productionEndDate) Constraints: NullablevoidsetProductionStartDate(LocalDate productionStartDate) Constraints: NullablevoidsetSourcingOrigin(String sourcingOrigin) Constraints: Not nullable, Maximum length: 2voidsetSourcingScenario(String sourcingScenario) Constraints: Not nullable, Maximum length: 2toString()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 ProcurementProjectPlant. -
PROCMT_PROJECT_PLANT_UUID
-
PROCUREMENT_PROJECT_PLANT
-
PRODUCTION_START_DATE
-
PRODUCTION_END_DATE
-
PROCUREMENT_PROJECT_UUID
-
COMPANY_CODE
-
PROCUREMENT_HUB_SOURCE_SYSTEM
-
PROCMT_HUB_PLANT_UNIQUE_ID
-
SOURCING_ORIGIN
-
SOURCING_SCENARIO
-
TO__PROCUREMENT_PROJECT
public static final NavigationProperty.Single<ProcurementProjectPlant,ProcurementProject> TO__PROCUREMENT_PROJECTUse with available request builders to apply the _ProcurementProject navigation property to query operations.
-
-
Constructor Details
-
ProcurementProjectPlant
public ProcurementProjectPlant() -
ProcurementProjectPlant
public ProcurementProjectPlant(@Nullable UUID procmtProjectPlantUUID, @Nullable String procurementProjectPlant, @Nullable LocalDate productionStartDate, @Nullable LocalDate productionEndDate, @Nullable UUID procurementProjectUUID, @Nullable String companyCode, @Nullable String procurementHubSourceSystem, @Nullable String procmtHubPlantUniqueID, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable ProcurementProject to_ProcurementProject)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProcurementProjectPlant>
-
setProcmtProjectPlantUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProcmtProjectPlantUUID
- Parameters:
procmtProjectPlantUUID- UUID of Plant in Procurement Project
-
setProcurementProjectPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcurementProjectPlant
- Parameters:
procurementProjectPlant- Plant
-
setProductionStartDate
Constraints: NullableOriginal property name from the Odata EDM: ProductionStartDate
- Parameters:
productionStartDate- Start of Production
-
setProductionEndDate
Constraints: NullableOriginal property name from the Odata EDM: ProductionEndDate
- Parameters:
productionEndDate- End of Production
-
setProcurementProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: ProcurementProjectUUID
- Parameters:
procurementProjectUUID- Procurement Project UUID
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Parameters:
procurementHubSourceSystem- Connected System ID
-
setProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Parameters:
procmtHubPlantUniqueID- Plant Unique ID
-
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
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProcurementProjectPlant>
-
getKey
- Overrides:
getKeyin classVdmObject<ProcurementProjectPlant>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProcurementProjectPlant>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProcurementProjectPlant>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProcurementProjectPlant>
-
getProcurementProjectIfPresent
Retrieval of associated ProcurementProject entity (one to one). This corresponds to the OData navigation property _ProcurementProject.If the navigation property for an entity ProcurementProjectPlant 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 _ProcurementProject is already loaded, the result will
contain the ProcurementProject entity. If not, an
Optionwith result stateemptyis returned.
-
setProcurementProject
Overwrites the associated ProcurementProject entity for the loaded navigation property _ProcurementProject.- Parameters:
value- New ProcurementProject entity.
-
builder
-
getProcmtProjectPlantUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProcmtProjectPlantUUID
- Returns:
- UUID of Plant in Procurement Project
-
getProcurementProjectPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcurementProjectPlant
- Returns:
- Plant
-
getProductionStartDate
Constraints: NullableOriginal property name from the Odata EDM: ProductionStartDate
- Returns:
- Start of Production
-
getProductionEndDate
Constraints: NullableOriginal property name from the Odata EDM: ProductionEndDate
- Returns:
- End of Production
-
getProcurementProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: ProcurementProjectUUID
- Returns:
- Procurement Project UUID
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Returns:
- Connected System ID
-
getProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Returns:
- Plant Unique ID
-
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
-
toString
- Overrides:
toStringin classVdmObject<ProcurementProjectPlant>
-
equals
- Overrides:
equalsin classVdmEntity<ProcurementProjectPlant>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProcurementProjectPlant>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProcurementProjectPlant>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProcurementProjectPlant>
-