public class SegmentationStrategy extends VdmEntity<SegmentationStrategy>
Original entity name from the Odata EDM: SegmentationStrategyType
Modifier and Type | Class and Description |
---|---|
static class |
SegmentationStrategy.SegmentationStrategyBuilder
Helper class to allow for fluent creation of SegmentationStrategy instances.
|
Modifier and Type | Field and Description |
---|---|
static SegmentationStrategySelectable |
ALL_FIELDS
Selector for all available fields of SegmentationStrategy.
|
static SegmentationStrategyField<String> |
PROD_SEGMENTATION_STRATEGY_SCOPE
Use with available fluent helpers to apply the ProdSegmentationStrategyScope field to query operations.
|
static SegmentationStrategyField<String> |
SEGMENTATION_STRATEGY
Use with available fluent helpers to apply the SegmentationStrategy field to query operations.
|
static SegmentationStrategyField<String> |
SEGMENTATION_STRUCTURE
Use with available fluent helpers to apply the SegmentationStructure field to query operations.
|
static SegmentationStrategyLink<ATPPoolSegmentAndCheckLevel> |
TO_ATP_RQMT_TO_STK_SEGMTN_ALLOC_TP
Use with available fluent helpers to apply the to_ATPRqmtToStkSegmtnAllocTP navigation property to query
operations.
|
static SegmentationStrategyLink<DepdntRqmtsOrStocktransfer> |
TO_DEPDNT_RQMT_AND_STK_SEGMENT_TP
Use with available fluent helpers to apply the to_DepdntRqmtAndStkSegmentTP navigation property to query
operations.
|
static SegmentationStrategyLink<ARunOrMRPRqmtOrStockAllocation> |
TO_MRP_RQMT_TO_STK_SEGMTN_ALLOC_TP
Use with available fluent helpers to apply the to_MRPRqmtToStkSegmtnAllocTP navigation property to query
operations.
|
static SegmentationStrategyLink<PlndIndepRqmtsConsumption> |
TO_PLND_REQUIREMENT_CONSUMPTION_TP
Use with available fluent helpers to apply the to_PlndRequirementConsumptionTP navigation property to
query operations.
|
static SegmentationStrategyLink<RequirementToStockConversion> |
TO_RQMT_TO_STOCK_CONVERSION_TP
Use with available fluent helpers to apply the to_RqmtToStockConversionTP navigation property to query
operations.
|
static SegmentationStrategyLink<SegmtnStrategyDescription> |
TO_SEGMENTATION_STRATEGY_TEXT_TP
Use with available fluent helpers to apply the to_SegmentationStrategyTextTP navigation property to query
operations.
|
static SegmentationStrategyOneToOneLink<SegmentationStructure> |
TO_SEGMENTATION_STRUCTURE_TP
Use with available fluent helpers to apply the to_SegmentationStructureTP navigation property to query
operations.
|
static SegmentationStrategyLink<SegmentValueCombinations> |
TO_SEGMTN_VALID_COMBINATION_TP
Use with available fluent helpers to apply the to_SegmtnValidCombinationTP navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
SegmentationStrategy() |
SegmentationStrategy(String segmentationStrategy,
String segmentationStructure,
String prodSegmentationStrategyScope,
List<ATPPoolSegmentAndCheckLevel> toATPRqmtToStkSegmtnAllocTP,
List<DepdntRqmtsOrStocktransfer> toDepdntRqmtAndStkSegmentTP,
List<ARunOrMRPRqmtOrStockAllocation> toMRPRqmtToStkSegmtnAllocTP,
List<PlndIndepRqmtsConsumption> toPlndRequirementConsumptionTP,
List<RequirementToStockConversion> toRqmtToStockConversionTP,
List<SegmtnStrategyDescription> toSegmentationStrategyTextTP,
SegmentationStructure toSegmentationStructureTP,
List<SegmentValueCombinations> toSegmtnValidCombinationTP) |
Modifier and Type | Method and Description |
---|---|
void |
addATPRqmtToStkSegmtnAllocTP(ATPPoolSegmentAndCheckLevel... entity)
Adds elements to the list of associated ATPPoolSegmentAndCheckLevel entities.
|
void |
addDepdntRqmtAndStkSegmentTP(DepdntRqmtsOrStocktransfer... entity)
Adds elements to the list of associated DepdntRqmtsOrStocktransfer entities.
|
void |
addMRPRqmtToStkSegmtnAllocTP(ARunOrMRPRqmtOrStockAllocation... entity)
Adds elements to the list of associated ARunOrMRPRqmtOrStockAllocation entities.
|
void |
addPlndRequirementConsumptionTP(PlndIndepRqmtsConsumption... entity)
Adds elements to the list of associated PlndIndepRqmtsConsumption entities.
|
void |
addRqmtToStockConversionTP(RequirementToStockConversion... entity)
Adds elements to the list of associated RequirementToStockConversion entities.
|
void |
addSegmentationStrategyTextTP(SegmtnStrategyDescription... entity)
Adds elements to the list of associated SegmtnStrategyDescription entities.
|
void |
addSegmtnValidCombinationTP(SegmentValueCombinations... entity)
Adds elements to the list of associated SegmentValueCombinations entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static SegmentationStrategy.SegmentationStrategyBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ATPPoolSegmentAndCheckLevel> |
fetchATPRqmtToStkSegmtnAllocTP()
Fetches the ATPPoolSegmentAndCheckLevel entities (one to many) associated with this entity.
|
List<DepdntRqmtsOrStocktransfer> |
fetchDepdntRqmtAndStkSegmentTP()
Fetches the DepdntRqmtsOrStocktransfer entities (one to many) associated with this entity.
|
List<ARunOrMRPRqmtOrStockAllocation> |
fetchMRPRqmtToStkSegmtnAllocTP()
Fetches the ARunOrMRPRqmtOrStockAllocation entities (one to many) associated with this entity.
|
List<PlndIndepRqmtsConsumption> |
fetchPlndRequirementConsumptionTP()
Fetches the PlndIndepRqmtsConsumption entities (one to many) associated with this entity.
|
List<RequirementToStockConversion> |
fetchRqmtToStockConversionTP()
Fetches the RequirementToStockConversion entities (one to many) associated with this entity.
|
List<SegmtnStrategyDescription> |
fetchSegmentationStrategyTextTP()
Fetches the SegmtnStrategyDescription entities (one to many) associated with this entity.
|
SegmentationStructure |
fetchSegmentationStructureTP()
Fetches the SegmentationStructure entity (one to one) associated with this entity.
|
List<SegmentValueCombinations> |
fetchSegmtnValidCombinationTP()
Fetches the SegmentValueCombinations entities (one to many) associated with this entity.
|
static <T> SegmentationStrategyField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
io.vavr.control.Option<List<ATPPoolSegmentAndCheckLevel>> |
getATPRqmtToStkSegmtnAllocTPIfPresent()
Retrieval of associated ATPPoolSegmentAndCheckLevel entities (one to many).
|
List<ATPPoolSegmentAndCheckLevel> |
getATPRqmtToStkSegmtnAllocTPOrFetch()
Retrieval of associated ATPPoolSegmentAndCheckLevel entities (one to many).
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
io.vavr.control.Option<List<DepdntRqmtsOrStocktransfer>> |
getDepdntRqmtAndStkSegmentTPIfPresent()
Retrieval of associated DepdntRqmtsOrStocktransfer entities (one to many).
|
List<DepdntRqmtsOrStocktransfer> |
getDepdntRqmtAndStkSegmentTPOrFetch()
Retrieval of associated DepdntRqmtsOrStocktransfer entities (one to many).
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
io.vavr.control.Option<List<ARunOrMRPRqmtOrStockAllocation>> |
getMRPRqmtToStkSegmtnAllocTPIfPresent()
Retrieval of associated ARunOrMRPRqmtOrStockAllocation entities (one to many).
|
List<ARunOrMRPRqmtOrStockAllocation> |
getMRPRqmtToStkSegmtnAllocTPOrFetch()
Retrieval of associated ARunOrMRPRqmtOrStockAllocation entities (one to many).
|
io.vavr.control.Option<List<PlndIndepRqmtsConsumption>> |
getPlndRequirementConsumptionTPIfPresent()
Retrieval of associated PlndIndepRqmtsConsumption entities (one to many).
|
List<PlndIndepRqmtsConsumption> |
getPlndRequirementConsumptionTPOrFetch()
Retrieval of associated PlndIndepRqmtsConsumption entities (one to many).
|
String |
getProdSegmentationStrategyScope()
Constraints: Not nullable, Maximum length: 1
|
io.vavr.control.Option<List<RequirementToStockConversion>> |
getRqmtToStockConversionTPIfPresent()
Retrieval of associated RequirementToStockConversion entities (one to many).
|
List<RequirementToStockConversion> |
getRqmtToStockConversionTPOrFetch()
Retrieval of associated RequirementToStockConversion entities (one to many).
|
String |
getSegmentationStrategy()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
io.vavr.control.Option<List<SegmtnStrategyDescription>> |
getSegmentationStrategyTextTPIfPresent()
Retrieval of associated SegmtnStrategyDescription entities (one to many).
|
List<SegmtnStrategyDescription> |
getSegmentationStrategyTextTPOrFetch()
Retrieval of associated SegmtnStrategyDescription entities (one to many).
|
String |
getSegmentationStructure()
Constraints: Not nullable, Maximum length: 4
|
io.vavr.control.Option<SegmentationStructure> |
getSegmentationStructureTPIfPresent()
Retrieval of associated SegmentationStructure entity (one to one).
|
SegmentationStructure |
getSegmentationStructureTPOrFetch()
Retrieval of associated SegmentationStructure entity (one to one).
|
io.vavr.control.Option<List<SegmentValueCombinations>> |
getSegmtnValidCombinationTPIfPresent()
Retrieval of associated SegmentValueCombinations entities (one to many).
|
List<SegmentValueCombinations> |
getSegmtnValidCombinationTPOrFetch()
Retrieval of associated SegmentValueCombinations entities (one to many).
|
Class<SegmentationStrategy> |
getType() |
int |
hashCode() |
void |
setATPRqmtToStkSegmtnAllocTP(List<ATPPoolSegmentAndCheckLevel> value)
Overwrites the list of associated ATPPoolSegmentAndCheckLevel entities for the loaded navigation property
to_ATPRqmtToStkSegmtnAllocTP.
|
void |
setDepdntRqmtAndStkSegmentTP(List<DepdntRqmtsOrStocktransfer> value)
Overwrites the list of associated DepdntRqmtsOrStocktransfer entities for the loaded navigation property
to_DepdntRqmtAndStkSegmentTP.
|
void |
setMRPRqmtToStkSegmtnAllocTP(List<ARunOrMRPRqmtOrStockAllocation> value)
Overwrites the list of associated ARunOrMRPRqmtOrStockAllocation entities for the loaded navigation
property to_MRPRqmtToStkSegmtnAllocTP.
|
void |
setPlndRequirementConsumptionTP(List<PlndIndepRqmtsConsumption> value)
Overwrites the list of associated PlndIndepRqmtsConsumption entities for the loaded navigation property
to_PlndRequirementConsumptionTP.
|
void |
setProdSegmentationStrategyScope(String prodSegmentationStrategyScope)
Constraints: Not nullable, Maximum length: 1
|
void |
setRqmtToStockConversionTP(List<RequirementToStockConversion> value)
Overwrites the list of associated RequirementToStockConversion entities for the loaded navigation property
to_RqmtToStockConversionTP.
|
void |
setSegmentationStrategy(String segmentationStrategy)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setSegmentationStrategyTextTP(List<SegmtnStrategyDescription> value)
Overwrites the list of associated SegmtnStrategyDescription entities for the loaded navigation property
to_SegmentationStrategyTextTP.
|
void |
setSegmentationStructure(String segmentationStructure)
Constraints: Not nullable, Maximum length: 4
|
void |
setSegmentationStructureTP(SegmentationStructure value)
Overwrites the associated SegmentationStructure entity for the loaded navigation property
to_SegmentationStructureTP.
|
void |
setSegmtnValidCombinationTP(List<SegmentValueCombinations> value)
Overwrites the list of associated SegmentValueCombinations entities for the loaded navigation property
to_SegmtnValidCombinationTP.
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SegmentationStrategySelectable ALL_FIELDS
public static final SegmentationStrategyField<String> SEGMENTATION_STRATEGY
public static final SegmentationStrategyField<String> SEGMENTATION_STRUCTURE
public static final SegmentationStrategyField<String> PROD_SEGMENTATION_STRATEGY_SCOPE
public static final SegmentationStrategyLink<ATPPoolSegmentAndCheckLevel> TO_ATP_RQMT_TO_STK_SEGMTN_ALLOC_TP
public static final SegmentationStrategyLink<DepdntRqmtsOrStocktransfer> TO_DEPDNT_RQMT_AND_STK_SEGMENT_TP
public static final SegmentationStrategyLink<ARunOrMRPRqmtOrStockAllocation> TO_MRP_RQMT_TO_STK_SEGMTN_ALLOC_TP
public static final SegmentationStrategyLink<PlndIndepRqmtsConsumption> TO_PLND_REQUIREMENT_CONSUMPTION_TP
public static final SegmentationStrategyLink<RequirementToStockConversion> TO_RQMT_TO_STOCK_CONVERSION_TP
public static final SegmentationStrategyLink<SegmtnStrategyDescription> TO_SEGMENTATION_STRATEGY_TEXT_TP
public static final SegmentationStrategyOneToOneLink<SegmentationStructure> TO_SEGMENTATION_STRUCTURE_TP
public static final SegmentationStrategyLink<SegmentValueCombinations> TO_SEGMTN_VALID_COMBINATION_TP
public SegmentationStrategy()
public SegmentationStrategy(@Nullable String segmentationStrategy, @Nullable String segmentationStructure, @Nullable String prodSegmentationStrategyScope, List<ATPPoolSegmentAndCheckLevel> toATPRqmtToStkSegmtnAllocTP, List<DepdntRqmtsOrStocktransfer> toDepdntRqmtAndStkSegmentTP, List<ARunOrMRPRqmtOrStockAllocation> toMRPRqmtToStkSegmtnAllocTP, List<PlndIndepRqmtsConsumption> toPlndRequirementConsumptionTP, List<RequirementToStockConversion> toRqmtToStockConversionTP, List<SegmtnStrategyDescription> toSegmentationStrategyTextTP, @Nullable SegmentationStructure toSegmentationStructureTP, List<SegmentValueCombinations> toSegmtnValidCombinationTP)
@Nonnull public Class<SegmentationStrategy> getType()
getType
in class VdmObject<SegmentationStrategy>
public void setSegmentationStrategy(@Nullable String segmentationStrategy)
Original property name from the Odata EDM: SegmentationStrategy
segmentationStrategy
- Segmentation Strategypublic void setSegmentationStructure(@Nullable String segmentationStructure)
Original property name from the Odata EDM: SegmentationStructure
segmentationStructure
- Segmentation Structurepublic void setProdSegmentationStrategyScope(@Nullable String prodSegmentationStrategyScope)
Original property name from the Odata EDM: ProdSegmentationStrategyScope
prodSegmentationStrategyScope
- Segmentation Strategy Scopeprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SegmentationStrategy>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SegmentationStrategy>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SegmentationStrategy>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SegmentationStrategy>
@Nonnull public static <T> SegmentationStrategyField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> SegmentationStrategyField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<SegmentationStrategy>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<SegmentationStrategy>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<SegmentationStrategy>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SegmentationStrategy>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SegmentationStrategy>
@Nonnull public List<ATPPoolSegmentAndCheckLevel> fetchATPRqmtToStkSegmtnAllocTP() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<ATPPoolSegmentAndCheckLevel> getATPRqmtToStkSegmtnAllocTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ATPRqmtToStkSegmtnAllocTP of a queried SegmentationStrategy 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<ATPPoolSegmentAndCheckLevel>> getATPRqmtToStkSegmtnAllocTPIfPresent()
If the navigation property for an entity SegmentationStrategy has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with
result state empty
is returned.public void setATPRqmtToStkSegmtnAllocTP(@Nonnull List<ATPPoolSegmentAndCheckLevel> value)
If the navigation property to_ATPRqmtToStkSegmtnAllocTP of a queried SegmentationStrategy 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.
value
- List of ATPPoolSegmentAndCheckLevel entities.public void addATPRqmtToStkSegmtnAllocTP(ATPPoolSegmentAndCheckLevel... entity)
If the navigation property to_ATPRqmtToStkSegmtnAllocTP of a queried SegmentationStrategy 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.
entity
- Array of ATPPoolSegmentAndCheckLevel entities.@Nonnull public List<DepdntRqmtsOrStocktransfer> fetchDepdntRqmtAndStkSegmentTP() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<DepdntRqmtsOrStocktransfer> getDepdntRqmtAndStkSegmentTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_DepdntRqmtAndStkSegmentTP of a queried SegmentationStrategy 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<DepdntRqmtsOrStocktransfer>> getDepdntRqmtAndStkSegmentTPIfPresent()
If the navigation property for an entity SegmentationStrategy has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with
result state empty
is returned.public void setDepdntRqmtAndStkSegmentTP(@Nonnull List<DepdntRqmtsOrStocktransfer> value)
If the navigation property to_DepdntRqmtAndStkSegmentTP of a queried SegmentationStrategy 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.
value
- List of DepdntRqmtsOrStocktransfer entities.public void addDepdntRqmtAndStkSegmentTP(DepdntRqmtsOrStocktransfer... entity)
If the navigation property to_DepdntRqmtAndStkSegmentTP of a queried SegmentationStrategy 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.
entity
- Array of DepdntRqmtsOrStocktransfer entities.@Nonnull public List<ARunOrMRPRqmtOrStockAllocation> fetchMRPRqmtToStkSegmtnAllocTP() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<ARunOrMRPRqmtOrStockAllocation> getMRPRqmtToStkSegmtnAllocTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_MRPRqmtToStkSegmtnAllocTP of a queried SegmentationStrategy 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<ARunOrMRPRqmtOrStockAllocation>> getMRPRqmtToStkSegmtnAllocTPIfPresent()
If the navigation property for an entity SegmentationStrategy has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is returned.public void setMRPRqmtToStkSegmtnAllocTP(@Nonnull List<ARunOrMRPRqmtOrStockAllocation> value)
If the navigation property to_MRPRqmtToStkSegmtnAllocTP of a queried SegmentationStrategy 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.
value
- List of ARunOrMRPRqmtOrStockAllocation entities.public void addMRPRqmtToStkSegmtnAllocTP(ARunOrMRPRqmtOrStockAllocation... entity)
If the navigation property to_MRPRqmtToStkSegmtnAllocTP of a queried SegmentationStrategy 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.
entity
- Array of ARunOrMRPRqmtOrStockAllocation entities.@Nonnull public List<PlndIndepRqmtsConsumption> fetchPlndRequirementConsumptionTP() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<PlndIndepRqmtsConsumption> getPlndRequirementConsumptionTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PlndRequirementConsumptionTP of a queried SegmentationStrategy 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<PlndIndepRqmtsConsumption>> getPlndRequirementConsumptionTPIfPresent()
If the navigation property for an entity SegmentationStrategy has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with
result state empty
is returned.public void setPlndRequirementConsumptionTP(@Nonnull List<PlndIndepRqmtsConsumption> value)
If the navigation property to_PlndRequirementConsumptionTP of a queried SegmentationStrategy 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.
value
- List of PlndIndepRqmtsConsumption entities.public void addPlndRequirementConsumptionTP(PlndIndepRqmtsConsumption... entity)
If the navigation property to_PlndRequirementConsumptionTP of a queried SegmentationStrategy 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.
entity
- Array of PlndIndepRqmtsConsumption entities.@Nonnull public List<RequirementToStockConversion> fetchRqmtToStockConversionTP() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<RequirementToStockConversion> getRqmtToStockConversionTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_RqmtToStockConversionTP of a queried SegmentationStrategy 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<RequirementToStockConversion>> getRqmtToStockConversionTPIfPresent()
If the navigation property for an entity SegmentationStrategy has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with
result state empty
is returned.public void setRqmtToStockConversionTP(@Nonnull List<RequirementToStockConversion> value)
If the navigation property to_RqmtToStockConversionTP of a queried SegmentationStrategy 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.
value
- List of RequirementToStockConversion entities.public void addRqmtToStockConversionTP(RequirementToStockConversion... entity)
If the navigation property to_RqmtToStockConversionTP of a queried SegmentationStrategy 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.
entity
- Array of RequirementToStockConversion entities.@Nonnull public List<SegmtnStrategyDescription> fetchSegmentationStrategyTextTP() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<SegmtnStrategyDescription> getSegmentationStrategyTextTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SegmentationStrategyTextTP of a queried SegmentationStrategy 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<SegmtnStrategyDescription>> getSegmentationStrategyTextTPIfPresent()
If the navigation property for an entity SegmentationStrategy has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with
result state empty
is returned.public void setSegmentationStrategyTextTP(@Nonnull List<SegmtnStrategyDescription> value)
If the navigation property to_SegmentationStrategyTextTP of a queried SegmentationStrategy 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.
value
- List of SegmtnStrategyDescription entities.public void addSegmentationStrategyTextTP(SegmtnStrategyDescription... entity)
If the navigation property to_SegmentationStrategyTextTP of a queried SegmentationStrategy 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.
entity
- Array of SegmtnStrategyDescription entities.@Nullable public SegmentationStructure fetchSegmentationStructureTP() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public SegmentationStructure getSegmentationStructureTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SegmentationStructureTP of a queried SegmentationStrategy 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<SegmentationStructure> getSegmentationStructureTPIfPresent()
If the navigation property for an entity SegmentationStrategy has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result
state empty
is returned.public void setSegmentationStructureTP(SegmentationStructure value)
value
- New SegmentationStructure entity.@Nonnull public List<SegmentValueCombinations> fetchSegmtnValidCombinationTP() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<SegmentValueCombinations> getSegmtnValidCombinationTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SegmtnValidCombinationTP of a queried SegmentationStrategy 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<SegmentValueCombinations>> getSegmtnValidCombinationTPIfPresent()
If the navigation property for an entity SegmentationStrategy has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with
result state empty
is returned.public void setSegmtnValidCombinationTP(@Nonnull List<SegmentValueCombinations> value)
If the navigation property to_SegmtnValidCombinationTP of a queried SegmentationStrategy 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.
value
- List of SegmentValueCombinations entities.public void addSegmtnValidCombinationTP(SegmentValueCombinations... entity)
If the navigation property to_SegmtnValidCombinationTP of a queried SegmentationStrategy 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.
entity
- Array of SegmentValueCombinations entities.@Nonnull public static SegmentationStrategy.SegmentationStrategyBuilder builder()
@Nullable public String getSegmentationStrategy()
Original property name from the Odata EDM: SegmentationStrategy
@Nullable public String getSegmentationStructure()
Original property name from the Odata EDM: SegmentationStructure
@Nullable public String getProdSegmentationStrategyScope()
Original property name from the Odata EDM: ProdSegmentationStrategyScope
@Nonnull public String toString()
toString
in class VdmObject<SegmentationStrategy>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SegmentationStrategy>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SegmentationStrategy>
public int hashCode()
hashCode
in class VdmObject<SegmentationStrategy>
Copyright © 2021 SAP SE. All rights reserved.