Class ProjectDemandMaterialSupply
Original entity name from the Odata EDM: A_ProjectDemandMaterialSupply_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectDemandMaterialSupply instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProjectDemandMaterialSupplySelectableSelector for all available fields of ProjectDemandMaterialSupply.static final ProjectDemandMaterialSupplyField<UUID>Use with available fluent helpers to apply the ProjDemandMaterialSupplyUUID field to query operations.static final ProjectDemandMaterialSupplyField<String>Use with available fluent helpers to apply the ProjDmndPlndIndepRqmtItem field to query operations.static final ProjectDemandMaterialSupplyField<UUID>Use with available fluent helpers to apply the ProjectDemandMaterialUUID field to query operations.static final ProjectDemandMaterialSupplyField<String>Use with available fluent helpers to apply the ProjectDemandRequirementPlan field to query operations.static final ProjectDemandMaterialSupplyField<UUID>Use with available fluent helpers to apply the ProjectDemandUUID field to query operations.static final ProjectDemandMaterialSupplyField<String>Use with available fluent helpers to apply the PurchaseRequisition field to query operations.static final ProjectDemandMaterialSupplyField<String>Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations.static final ProjectDemandMaterialSupplyOneToOneLink<ProjectDemandMaterial>Use with available fluent helpers to apply the to_Material navigation property to query operations.static final ProjectDemandMaterialSupplyOneToOneLink<ProjectDemand>Use with available fluent helpers to apply the to_Root navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProjectDemandMaterialSupply(UUID projDemandMaterialSupplyUUID, UUID projectDemandMaterialUUID, String purchaseRequisition, String purchaseRequisitionItem, String projectDemandRequirementPlan, String projDmndPlndIndepRqmtItem, UUID projectDemandUUID, ProjectDemandMaterial toMaterial, ProjectDemand toRoot) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ProjectDemandMaterial entity (one to one) associated with this entity.Fetches the ProjectDemand entity (one to one) associated with this entity.static <T,DomainT>
ProjectDemandMaterialSupplyField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProjectDemandMaterialSupplyField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()io.vavr.control.Option<ProjectDemandMaterial>Retrieval of associated ProjectDemandMaterial entity (one to one).Retrieval of associated ProjectDemandMaterial entity (one to one).(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 60Constraints: noneConstraints: Not nullable, Maximum length: 10Constraints: noneConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 5io.vavr.control.Option<ProjectDemand>Retrieval of associated ProjectDemand entity (one to one).Retrieval of associated ProjectDemand entity (one to one).getType()inthashCode()voidsetMaterial(ProjectDemandMaterial value) Overwrites the associated ProjectDemandMaterial entity for the loaded navigation property to_Material.voidsetProjDemandMaterialSupplyUUID(UUID projDemandMaterialSupplyUUID) (Key Field) Constraints: Not nullablevoidsetProjDmndPlndIndepRqmtItem(String projDmndPlndIndepRqmtItem) Constraints: Not nullable, Maximum length: 60voidsetProjectDemandMaterialUUID(UUID projectDemandMaterialUUID) Constraints: nonevoidsetProjectDemandRequirementPlan(String projectDemandRequirementPlan) Constraints: Not nullable, Maximum length: 10voidsetProjectDemandUUID(UUID projectDemandUUID) Constraints: nonevoidsetPurchaseRequisition(String purchaseRequisition) Constraints: Not nullable, Maximum length: 10voidsetPurchaseRequisitionItem(String purchaseRequisitionItem) Constraints: Not nullable, Maximum length: 5voidsetRoot(ProjectDemand value) Overwrites the associated ProjectDemand entity for the loaded navigation property to_Root.protected 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 ProjectDemandMaterialSupply. -
PROJ_DEMAND_MATERIAL_SUPPLY_UUID
Use with available fluent helpers to apply the ProjDemandMaterialSupplyUUID field to query operations. -
PROJECT_DEMAND_MATERIAL_UUID
Use with available fluent helpers to apply the ProjectDemandMaterialUUID field to query operations. -
PURCHASE_REQUISITION
Use with available fluent helpers to apply the PurchaseRequisition field to query operations. -
PURCHASE_REQUISITION_ITEM
Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations. -
PROJECT_DEMAND_REQUIREMENT_PLAN
Use with available fluent helpers to apply the ProjectDemandRequirementPlan field to query operations. -
PROJ_DMND_PLND_INDEP_RQMT_ITEM
Use with available fluent helpers to apply the ProjDmndPlndIndepRqmtItem field to query operations. -
PROJECT_DEMAND_UUID
Use with available fluent helpers to apply the ProjectDemandUUID field to query operations. -
TO_MATERIAL
Use with available fluent helpers to apply the to_Material navigation property to query operations. -
TO_ROOT
Use with available fluent helpers to apply the to_Root navigation property to query operations.
-
-
Constructor Details
-
ProjectDemandMaterialSupply
public ProjectDemandMaterialSupply() -
ProjectDemandMaterialSupply
public ProjectDemandMaterialSupply(@Nullable UUID projDemandMaterialSupplyUUID, @Nullable UUID projectDemandMaterialUUID, @Nullable String purchaseRequisition, @Nullable String purchaseRequisitionItem, @Nullable String projectDemandRequirementPlan, @Nullable String projDmndPlndIndepRqmtItem, @Nullable UUID projectDemandUUID, @Nullable ProjectDemandMaterial toMaterial, @Nullable ProjectDemand toRoot)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectDemandMaterialSupply>
-
setProjDemandMaterialSupplyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjDemandMaterialSupplyUUID
- Parameters:
projDemandMaterialSupplyUUID- UUID for the Material Demand Supply
-
setProjectDemandMaterialUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandMaterialUUID
- Parameters:
projectDemandMaterialUUID- Global Identification for Material Demand
-
setPurchaseRequisition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Parameters:
purchaseRequisition- Purchase Requisition Number
-
setPurchaseRequisitionItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Parameters:
purchaseRequisitionItem- Purchase Requisition Item Number
-
setProjectDemandRequirementPlan
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProjectDemandRequirementPlan
- Parameters:
projectDemandRequirementPlan- Project Demand Requirement Plan
-
setProjDmndPlndIndepRqmtItem
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProjDmndPlndIndepRqmtItem
- Parameters:
projDmndPlndIndepRqmtItem- Project Demand Planned Independent Requirement Item
-
setProjectDemandUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandUUID
- Parameters:
projectDemandUUID- Global Identification of a Project Demand
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectDemandMaterialSupply>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectDemandMaterialSupply>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectDemandMaterialSupply>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectDemandMaterialSupply>
-
field
@Nonnull public static <T> ProjectDemandMaterialSupplyField<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> ProjectDemandMaterialSupplyField<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<ProjectDemandMaterialSupply>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProjectDemandMaterialSupply>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProjectDemandMaterialSupply>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectDemandMaterialSupply>
-
fetchMaterial
Fetches the ProjectDemandMaterial entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Material.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ProjectDemandMaterial 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.
-
getMaterialOrFetch
Retrieval of associated ProjectDemandMaterial entity (one to one). This corresponds to the OData navigation property to_Material.If the navigation property to_Material of a queried ProjectDemandMaterialSupply 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 ProjectDemandMaterial 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.
-
getMaterialIfPresent
Retrieval of associated ProjectDemandMaterial entity (one to one). This corresponds to the OData navigation property to_Material.If the navigation property for an entity ProjectDemandMaterialSupply 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_Material is already loaded, the result will contain
the ProjectDemandMaterial entity. If not, an
Optionwith result stateemptyis returned.
-
setMaterial
Overwrites the associated ProjectDemandMaterial entity for the loaded navigation property to_Material.- Parameters:
value- New ProjectDemandMaterial entity.
-
fetchRoot
Fetches the ProjectDemand entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Root.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ProjectDemand 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.
-
getRootOrFetch
Retrieval of associated ProjectDemand entity (one to one). This corresponds to the OData navigation property to_Root.If the navigation property to_Root of a queried ProjectDemandMaterialSupply 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 ProjectDemand 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.
-
getRootIfPresent
Retrieval of associated ProjectDemand entity (one to one). This corresponds to the OData navigation property to_Root.If the navigation property for an entity ProjectDemandMaterialSupply 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_Root is already loaded, the result will contain the
ProjectDemand entity. If not, an
Optionwith result stateemptyis returned.
-
setRoot
Overwrites the associated ProjectDemand entity for the loaded navigation property to_Root.- Parameters:
value- New ProjectDemand entity.
-
builder
-
getProjDemandMaterialSupplyUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjDemandMaterialSupplyUUID
- Returns:
- UUID for the Material Demand Supply
-
getProjectDemandMaterialUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandMaterialUUID
- Returns:
- Global Identification for Material Demand
-
getPurchaseRequisition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Returns:
- Purchase Requisition Number
-
getPurchaseRequisitionItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Returns:
- Purchase Requisition Item Number
-
getProjectDemandRequirementPlan
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProjectDemandRequirementPlan
- Returns:
- Project Demand Requirement Plan
-
getProjDmndPlndIndepRqmtItem
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProjDmndPlndIndepRqmtItem
- Returns:
- Project Demand Planned Independent Requirement Item
-
getProjectDemandUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandUUID
- Returns:
- Global Identification of a Project Demand
-
toString
- Overrides:
toStringin classVdmObject<ProjectDemandMaterialSupply>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectDemandMaterialSupply>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectDemandMaterialSupply>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectDemandMaterialSupply>
-