Class DemandAdjustmentFactors
Original entity name from the Odata EDM: A_DemandAdjustmentFactorsType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of DemandAdjustmentFactors instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DemandAdjustmentFactorsSelectableSelector for all available fields of DemandAdjustmentFactors.static final DemandAdjustmentFactorsField<BigDecimal>Use with available fluent helpers to apply the DemandAdjustmentFactor field to query operations.static final DemandAdjustmentFactorsField<String>Use with available fluent helpers to apply the Material field to query operations.static final DemandAdjustmentFactorsField<String>Use with available fluent helpers to apply the MRPArea field to query operations.static final DemandAdjustmentFactorsField<String>Use with available fluent helpers to apply the Plant field to query operations.static final DemandAdjustmentFactorsField<LocalDateTime>Use with available fluent helpers to apply the ProposalDmndAdjmtFctrEndDate field to query operations.static final DemandAdjustmentFactorsField<LocalDateTime>Use with available fluent helpers to apply the ProposalDmndAdjmtFctrStartDate field to query operations.static final DemandAdjustmentFactorsField<LocalDateTime>Use with available fluent helpers to apply the ProposalStartDate field to query operations.static final DemandAdjustmentFactorsField<String>Use with available fluent helpers to apply the ProposalVersion field to query operations.static final DemandAdjustmentFactorsOneToOneLink<ProposalHeader>Use with available fluent helpers to apply the to_ProposalHdr navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionDemandAdjustmentFactors(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime proposalDmndAdjmtFctrStartDate, LocalDateTime proposalDmndAdjmtFctrEndDate, BigDecimal demandAdjustmentFactor, ProposalHeader toProposalHdr) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ProposalHeader entity (one to one) associated with this entity.static <T,DomainT>
DemandAdjustmentFactorsField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> DemandAdjustmentFactorsField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected StringConstraints: Not nullable, Precision: 4, Scale: 2protected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 18(Key Field) Constraints: Not nullable, Maximum length: 10getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullable, Precision: 0io.vavr.control.Option<ProposalHeader>Retrieval of associated ProposalHeader entity (one to one).Retrieval of associated ProposalHeader entity (one to one).(Key Field) Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullable, Maximum length: 8getType()inthashCode()voidsetDemandAdjustmentFactor(BigDecimal demandAdjustmentFactor) Constraints: Not nullable, Precision: 4, Scale: 2voidsetMaterial(String material) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetMRPArea(String mRPArea) (Key Field) Constraints: Not nullable, Maximum length: 10void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProposalDmndAdjmtFctrEndDate(LocalDateTime proposalDmndAdjmtFctrEndDate) Constraints: Not nullable, Precision: 0voidsetProposalDmndAdjmtFctrStartDate(LocalDateTime proposalDmndAdjmtFctrStartDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetProposalHdr(ProposalHeader value) Overwrites the associated ProposalHeader entity for the loaded navigation property to_ProposalHdr.voidsetProposalStartDate(LocalDateTime proposalStartDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetProposalVersion(String proposalVersion) (Key Field) Constraints: Not nullable, Maximum length: 8protected 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 DemandAdjustmentFactors. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
MRP_AREA
Use with available fluent helpers to apply the MRPArea field to query operations. -
PROPOSAL_START_DATE
Use with available fluent helpers to apply the ProposalStartDate field to query operations. -
PROPOSAL_VERSION
Use with available fluent helpers to apply the ProposalVersion field to query operations. -
PROPOSAL_DMND_ADJMT_FCTR_START_DATE
Use with available fluent helpers to apply the ProposalDmndAdjmtFctrStartDate field to query operations. -
PROPOSAL_DMND_ADJMT_FCTR_END_DATE
Use with available fluent helpers to apply the ProposalDmndAdjmtFctrEndDate field to query operations. -
DEMAND_ADJUSTMENT_FACTOR
Use with available fluent helpers to apply the DemandAdjustmentFactor field to query operations. -
TO_PROPOSAL_HDR
Use with available fluent helpers to apply the to_ProposalHdr navigation property to query operations.
-
-
Constructor Details
-
DemandAdjustmentFactors
public DemandAdjustmentFactors() -
DemandAdjustmentFactors
public DemandAdjustmentFactors(@Nullable String material, @Nullable String plant, @Nullable String mRPArea, @Nullable LocalDateTime proposalStartDate, @Nullable String proposalVersion, @Nullable LocalDateTime proposalDmndAdjmtFctrStartDate, @Nullable LocalDateTime proposalDmndAdjmtFctrEndDate, @Nullable BigDecimal demandAdjustmentFactor, @Nullable ProposalHeader toProposalHdr)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<DemandAdjustmentFactors>
-
setMaterial
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setMRPArea
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MRPArea
- Parameters:
mRPArea- MRP Area
-
setProposalStartDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProposalStartDate
- Parameters:
proposalStartDate- Proposal Validity From Date
-
setProposalVersion
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProposalVersion
- Parameters:
proposalVersion- Proposal Version
-
setProposalDmndAdjmtFctrStartDate
public void setProposalDmndAdjmtFctrStartDate(@Nullable LocalDateTime proposalDmndAdjmtFctrStartDate) (Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProposalDmndAdjmtFctrStartDate
- Parameters:
proposalDmndAdjmtFctrStartDate- Proposal Details Valid From
-
setProposalDmndAdjmtFctrEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProposalDmndAdjmtFctrEndDate
- Parameters:
proposalDmndAdjmtFctrEndDate- Proposal Demand Adjustment Factor Valid To
-
setDemandAdjustmentFactor
Constraints: Not nullable, Precision: 4, Scale: 2Original property name from the Odata EDM: DemandAdjustmentFactor
- Parameters:
demandAdjustmentFactor- Demand Adjustment Factor
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<DemandAdjustmentFactors>
-
getKey
- Overrides:
getKeyin classVdmObject<DemandAdjustmentFactors>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<DemandAdjustmentFactors>
-
fromMap
- Overrides:
fromMapin classVdmObject<DemandAdjustmentFactors>
-
field
@Nonnull public static <T> DemandAdjustmentFactorsField<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> DemandAdjustmentFactorsField<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<DemandAdjustmentFactors>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<DemandAdjustmentFactors>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<DemandAdjustmentFactors>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<DemandAdjustmentFactors>
-
fetchProposalHdr
Fetches the ProposalHeader entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ProposalHdr.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ProposalHeader 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.
-
getProposalHdrOrFetch
Retrieval of associated ProposalHeader entity (one to one). This corresponds to the OData navigation property to_ProposalHdr.If the navigation property to_ProposalHdr of a queried DemandAdjustmentFactors 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 ProposalHeader 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.
-
getProposalHdrIfPresent
Retrieval of associated ProposalHeader entity (one to one). This corresponds to the OData navigation property to_ProposalHdr.If the navigation property for an entity DemandAdjustmentFactors 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_ProposalHdr is already loaded, the result will
contain the ProposalHeader entity. If not, an
Optionwith result stateemptyis returned.
-
setProposalHdr
Overwrites the associated ProposalHeader entity for the loaded navigation property to_ProposalHdr.- Parameters:
value- New ProposalHeader entity.
-
builder
-
getMaterial
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getMRPArea
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MRPArea
- Returns:
- MRP Area
-
getProposalStartDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProposalStartDate
- Returns:
- Proposal Validity From Date
-
getProposalVersion
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProposalVersion
- Returns:
- Proposal Version
-
getProposalDmndAdjmtFctrStartDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProposalDmndAdjmtFctrStartDate
- Returns:
- Proposal Details Valid From
-
getProposalDmndAdjmtFctrEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProposalDmndAdjmtFctrEndDate
- Returns:
- Proposal Demand Adjustment Factor Valid To
-
getDemandAdjustmentFactor
Constraints: Not nullable, Precision: 4, Scale: 2Original property name from the Odata EDM: DemandAdjustmentFactor
- Returns:
- Demand Adjustment Factor
-
toString
- Overrides:
toStringin classVdmObject<DemandAdjustmentFactors>
-
equals
- Overrides:
equalsin classVdmEntity<DemandAdjustmentFactors>
-
canEqual
- Overrides:
canEqualin classVdmEntity<DemandAdjustmentFactors>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<DemandAdjustmentFactors>
-