Class PlannedIndepRqmtItem
Original entity name from the Odata EDM: PlannedIndepRqmtItemType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PlannedIndepRqmtItem instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PlannedIndepRqmtItemSelectableSelector for all available fields of PlannedIndepRqmtItem.static final PlannedIndepRqmtItemField<LocalDateTime>Use with available fluent helpers to apply the LastChangeDate field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the MRPArea field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the PeriodType field to query operations.static final PlannedIndepRqmtItemField<BigDecimal>Use with available fluent helpers to apply the PlannedQuantity field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the Plant field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the PlndIndepRqmtInternalID field to query operations.static final PlannedIndepRqmtItemField<ZonedDateTime>Use with available fluent helpers to apply the PlndIndepRqmtLastChgdDateTime field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the PlndIndepRqmtPeriod field to query operations.static final PlannedIndepRqmtItemField<LocalDateTime>Use with available fluent helpers to apply the PlndIndepRqmtPeriodStartDate field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the PlndIndepRqmtType field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the PlndIndepRqmtVersion field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the Product field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the RequirementPlan field to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the RequirementSegment field to query operations.static final PlannedIndepRqmtItemOneToOneLink<PlannedIndepRqmt>Use with available fluent helpers to apply the to_PlndIndepRqmt navigation property to query operations.static final PlannedIndepRqmtItemField<String>Use with available fluent helpers to apply the UnitOfMeasure field to query operations.static final PlannedIndepRqmtItemField<Boolean>Use with available fluent helpers to apply the Update_mc field to query operations.static final PlannedIndepRqmtItemField<BigDecimal>Use with available fluent helpers to apply the WithdrawalQuantity field to query operations.static final PlannedIndepRqmtItemField<LocalDateTime>Use with available fluent helpers to apply the WorkingDayDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPlannedIndepRqmtItem(Boolean update_mc, String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment, String plndIndepRqmtPeriod, String periodType, LocalDateTime plndIndepRqmtPeriodStartDate, String plndIndepRqmtInternalID, LocalDateTime workingDayDate, BigDecimal plannedQuantity, BigDecimal withdrawalQuantity, String unitOfMeasure, String lastChangedByUser, LocalDateTime lastChangeDate, ZonedDateTime plndIndepRqmtLastChgdDateTime, PlannedIndepRqmt toPlndIndepRqmt) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the PlannedIndepRqmt entity (one to one) associated with this entity.static <T,DomainT>
PlannedIndepRqmtItemField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PlannedIndepRqmtItemField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 13, Scale: 3getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<PlannedIndepRqmt>Retrieval of associated PlannedIndepRqmt entity (one to one).Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 7Retrieval of associated PlannedIndepRqmt entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 40getType()Constraints: Not nullable, Maximum length: 3Constraints: noneConstraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Precision: 0inthashCode()voidsetLastChangeDate(LocalDateTime lastChangeDate) Constraints: Not nullable, Precision: 0voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetMRPArea(String mRPArea) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetPeriodType(String periodType) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetPlannedQuantity(BigDecimal plannedQuantity) Constraints: Not nullable, Precision: 13, Scale: 3void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetPlndIndepRqmt(PlannedIndepRqmt value) Overwrites the associated PlannedIndepRqmt entity for the loaded navigation property to_PlndIndepRqmt.voidsetPlndIndepRqmtInternalID(String plndIndepRqmtInternalID) Constraints: Not nullable, Maximum length: 12voidsetPlndIndepRqmtLastChgdDateTime(ZonedDateTime plndIndepRqmtLastChgdDateTime) Constraints: Not nullable, Precision: 7voidsetPlndIndepRqmtPeriod(String plndIndepRqmtPeriod) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetPlndIndepRqmtPeriodStartDate(LocalDateTime plndIndepRqmtPeriodStartDate) Constraints: Not nullable, Precision: 0voidsetPlndIndepRqmtType(String plndIndepRqmtType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetPlndIndepRqmtVersion(String plndIndepRqmtVersion) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetRequirementPlan(String requirementPlan) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetRequirementSegment(String requirementSegment) (Key Field) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) voidsetUnitOfMeasure(String unitOfMeasure) Constraints: Not nullable, Maximum length: 3voidsetUpdate_mc(Boolean update_mc) Constraints: nonevoidsetWithdrawalQuantity(BigDecimal withdrawalQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidsetWorkingDayDate(LocalDateTime workingDayDate) Constraints: Not nullable, Precision: 0toString()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 PlannedIndepRqmtItem. -
UPDATE_MC
Use with available fluent helpers to apply the Update_mc field to query operations. -
PRODUCT
Use with available fluent helpers to apply the Product 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. -
PLND_INDEP_RQMT_TYPE
Use with available fluent helpers to apply the PlndIndepRqmtType field to query operations. -
PLND_INDEP_RQMT_VERSION
Use with available fluent helpers to apply the PlndIndepRqmtVersion field to query operations. -
REQUIREMENT_PLAN
Use with available fluent helpers to apply the RequirementPlan field to query operations. -
REQUIREMENT_SEGMENT
Use with available fluent helpers to apply the RequirementSegment field to query operations. -
PLND_INDEP_RQMT_PERIOD
Use with available fluent helpers to apply the PlndIndepRqmtPeriod field to query operations. -
PERIOD_TYPE
Use with available fluent helpers to apply the PeriodType field to query operations. -
PLND_INDEP_RQMT_PERIOD_START_DATE
Use with available fluent helpers to apply the PlndIndepRqmtPeriodStartDate field to query operations. -
PLND_INDEP_RQMT_INTERNAL_ID
Use with available fluent helpers to apply the PlndIndepRqmtInternalID field to query operations. -
WORKING_DAY_DATE
Use with available fluent helpers to apply the WorkingDayDate field to query operations. -
PLANNED_QUANTITY
Use with available fluent helpers to apply the PlannedQuantity field to query operations. -
WITHDRAWAL_QUANTITY
Use with available fluent helpers to apply the WithdrawalQuantity field to query operations. -
UNIT_OF_MEASURE
Use with available fluent helpers to apply the UnitOfMeasure field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations. -
PLND_INDEP_RQMT_LAST_CHGD_DATE_TIME
Use with available fluent helpers to apply the PlndIndepRqmtLastChgdDateTime field to query operations. -
TO_PLND_INDEP_RQMT
Use with available fluent helpers to apply the to_PlndIndepRqmt navigation property to query operations.
-
-
Constructor Details
-
PlannedIndepRqmtItem
public PlannedIndepRqmtItem() -
PlannedIndepRqmtItem
public PlannedIndepRqmtItem(@Nullable Boolean update_mc, @Nullable String product, @Nullable String plant, @Nullable String mRPArea, @Nullable String plndIndepRqmtType, @Nullable String plndIndepRqmtVersion, @Nullable String requirementPlan, @Nullable String requirementSegment, @Nullable String plndIndepRqmtPeriod, @Nullable String periodType, @Nullable LocalDateTime plndIndepRqmtPeriodStartDate, @Nullable String plndIndepRqmtInternalID, @Nullable LocalDateTime workingDayDate, @Nullable BigDecimal plannedQuantity, @Nullable BigDecimal withdrawalQuantity, @Nullable String unitOfMeasure, @Nullable String lastChangedByUser, @Nullable LocalDateTime lastChangeDate, @Nullable ZonedDateTime plndIndepRqmtLastChgdDateTime, @Nullable PlannedIndepRqmt toPlndIndepRqmt)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PlannedIndepRqmtItem>
-
setUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Parameters:
update_mc- Dyn. Method Control
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- 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
-
setPlndIndepRqmtType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PlndIndepRqmtType
- Parameters:
plndIndepRqmtType- Requirements type
-
setPlndIndepRqmtVersion
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PlndIndepRqmtVersion
- Parameters:
plndIndepRqmtVersion- Version Number for Independent Requirements
-
setRequirementPlan
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RequirementPlan
- Parameters:
requirementPlan- Requirements Plan
-
setRequirementSegment
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: RequirementSegment
- Parameters:
requirementSegment- Requirement Segment
-
setPlndIndepRqmtPeriod
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PlndIndepRqmtPeriod
- Parameters:
plndIndepRqmtPeriod- Period Text
-
setPeriodType
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PeriodType
- Parameters:
periodType- Type of a Period
-
setPlndIndepRqmtPeriodStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PlndIndepRqmtPeriodStartDate
- Parameters:
plndIndepRqmtPeriodStartDate- Date of a Working Day
-
setPlndIndepRqmtInternalID
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PlndIndepRqmtInternalID
- Parameters:
plndIndepRqmtInternalID- Independent Requirements Pointer
-
setWorkingDayDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: WorkingDayDate
- Parameters:
workingDayDate- Date of a Working Day
-
setPlannedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: PlannedQuantity
- Parameters:
plannedQuantity- Planned quantity
-
setWithdrawalQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: WithdrawalQuantity
- Parameters:
withdrawalQuantity- Withdrawal Quantity
-
setUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Parameters:
unitOfMeasure- Base Unit of Measure
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Name of Person Who Changed Object
-
setLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Parameters:
lastChangeDate- Date of Last Change
-
setPlndIndepRqmtLastChgdDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTime
- Parameters:
plndIndepRqmtLastChgdDateTime- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PlannedIndepRqmtItem>
-
getKey
- Overrides:
getKeyin classVdmObject<PlannedIndepRqmtItem>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PlannedIndepRqmtItem>
-
fromMap
- Overrides:
fromMapin classVdmObject<PlannedIndepRqmtItem>
-
field
@Nonnull public static <T> PlannedIndepRqmtItemField<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> PlannedIndepRqmtItemField<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<PlannedIndepRqmtItem>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PlannedIndepRqmtItem>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PlannedIndepRqmtItem>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PlannedIndepRqmtItem>
-
fetchPlndIndepRqmt
Fetches the PlannedIndepRqmt entity (one to one) associated with this entity. This corresponds to the OData navigation property to_PlndIndepRqmt.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated PlannedIndepRqmt 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.
-
getPlndIndepRqmtOrFetch
Retrieval of associated PlannedIndepRqmt entity (one to one). This corresponds to the OData navigation property to_PlndIndepRqmt.If the navigation property to_PlndIndepRqmt of a queried PlannedIndepRqmtItem 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 PlannedIndepRqmt 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.
-
getPlndIndepRqmtIfPresent
Retrieval of associated PlannedIndepRqmt entity (one to one). This corresponds to the OData navigation property to_PlndIndepRqmt.If the navigation property for an entity PlannedIndepRqmtItem 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_PlndIndepRqmt is already loaded, the result will
contain the PlannedIndepRqmt entity. If not, an
Optionwith result stateemptyis returned.
-
setPlndIndepRqmt
Overwrites the associated PlannedIndepRqmt entity for the loaded navigation property to_PlndIndepRqmt.- Parameters:
value- New PlannedIndepRqmt entity.
-
builder
-
getUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Returns:
- Dyn. Method Control
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- 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
-
getPlndIndepRqmtType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PlndIndepRqmtType
- Returns:
- Requirements type
-
getPlndIndepRqmtVersion
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PlndIndepRqmtVersion
- Returns:
- Version Number for Independent Requirements
-
getRequirementPlan
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RequirementPlan
- Returns:
- Requirements Plan
-
getRequirementSegment
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: RequirementSegment
- Returns:
- Requirement Segment
-
getPlndIndepRqmtPeriod
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PlndIndepRqmtPeriod
- Returns:
- Period Text
-
getPeriodType
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PeriodType
- Returns:
- Type of a Period
-
getPlndIndepRqmtPeriodStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PlndIndepRqmtPeriodStartDate
- Returns:
- Date of a Working Day
-
getPlndIndepRqmtInternalID
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PlndIndepRqmtInternalID
- Returns:
- Independent Requirements Pointer
-
getWorkingDayDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: WorkingDayDate
- Returns:
- Date of a Working Day
-
getPlannedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: PlannedQuantity
- Returns:
- Planned quantity
-
getWithdrawalQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: WithdrawalQuantity
- Returns:
- Withdrawal Quantity
-
getUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Returns:
- Base Unit of Measure
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Name of Person Who Changed Object
-
getLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Returns:
- Date of Last Change
-
getPlndIndepRqmtLastChgdDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTime
- Returns:
- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
toString
- Overrides:
toStringin classVdmObject<PlannedIndepRqmtItem>
-
equals
- Overrides:
equalsin classVdmEntity<PlannedIndepRqmtItem>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PlannedIndepRqmtItem>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PlannedIndepRqmtItem>
-