Class PlannedIndepRqmt
Original entity name from the Odata EDM: PlannedIndepRqmtType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PlannedIndepRqmt instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PlannedIndepRqmtSelectableSelector for all available fields of PlannedIndepRqmt.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the MRPArea field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the Plant field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the PlndIndepRqmtAcctAssgmtCat field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the PlndIndepRqmtInternalID field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the PlndIndepRqmtIsActive field to query operations.static final PlannedIndepRqmtField<Boolean>Use with available fluent helpers to apply the to_PlndIndepRqmtItem_oc field to query operations.static final PlannedIndepRqmtField<ZonedDateTime>Use with available fluent helpers to apply the PlndIndepRqmtLastChgdDateTime field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the PlndIndepRqmtType field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the PlndIndepRqmtVersion field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the Product field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the RequirementPlan field to query operations.static final PlannedIndepRqmtField<Boolean>Use with available fluent helpers to apply the RequirementPlanIsExternal field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the RequirementSegment field to query operations.static final PlannedIndepRqmtLink<PlannedIndepRqmtItem>Use with available fluent helpers to apply the to_PlndIndepRqmtItem navigation property to query operations.static final PlannedIndepRqmtField<Boolean>Use with available fluent helpers to apply the Update_mc field to query operations.static final PlannedIndepRqmtField<String>Use with available fluent helpers to apply the WBSElement field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPlannedIndepRqmt(Boolean update_mc, Boolean plndIndepRqmtItem_oc, String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment, Boolean requirementPlanIsExternal, String plndIndepRqmtInternalID, String plndIndepRqmtIsActive, String wBSElement, String plndIndepRqmtAcctAssgmtCat, ZonedDateTime plndIndepRqmtLastChgdDateTime, List<PlannedIndepRqmtItem> toPlndIndepRqmtItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlndIndepRqmtItem(PlannedIndepRqmtItem... entity) Adds elements to the list of associated PlannedIndepRqmtItem entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the PlannedIndepRqmtItem entities (one to many) associated with this entity.static <T,DomainT>
PlannedIndepRqmtField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PlannedIndepRqmtField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 10getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 1Constraints: noneio.vavr.control.Option<List<PlannedIndepRqmtItem>>Retrieval of associated PlannedIndepRqmtItem entities (one to many).Retrieval of associated PlannedIndepRqmtItem entities (one to many).Constraints: Not nullable, Precision: 7(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: 10Constraints: none(Key Field) Constraints: Not nullable, Maximum length: 40getType()Constraints: noneConstraints: Not nullable, Maximum length: 24inthashCode()voidsetMRPArea(String mRPArea) (Key Field) Constraints: Not nullable, Maximum length: 10void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetPlndIndepRqmtAcctAssgmtCat(String plndIndepRqmtAcctAssgmtCat) Constraints: Not nullable, Maximum length: 1voidsetPlndIndepRqmtInternalID(String plndIndepRqmtInternalID) Constraints: Not nullable, Maximum length: 12voidsetPlndIndepRqmtIsActive(String plndIndepRqmtIsActive) Constraints: Not nullable, Maximum length: 1voidOverwrites the list of associated PlannedIndepRqmtItem entities for the loaded navigation property to_PlndIndepRqmtItem.voidsetPlndIndepRqmtItem_oc(Boolean plndIndepRqmtItem_oc) Constraints: nonevoidsetPlndIndepRqmtLastChgdDateTime(ZonedDateTime plndIndepRqmtLastChgdDateTime) Constraints: Not nullable, Precision: 7voidsetPlndIndepRqmtType(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: 10voidsetRequirementPlanIsExternal(Boolean requirementPlanIsExternal) Constraints: nonevoidsetRequirementSegment(String requirementSegment) (Key Field) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) voidsetUpdate_mc(Boolean update_mc) Constraints: nonevoidsetWBSElement(String wBSElement) Constraints: Not nullable, Maximum length: 24toString()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 PlannedIndepRqmt. -
UPDATE_MC
Use with available fluent helpers to apply the Update_mc field to query operations. -
PLND_INDEP_RQMT_ITEM_OC
Use with available fluent helpers to apply the to_PlndIndepRqmtItem_oc 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. -
REQUIREMENT_PLAN_IS_EXTERNAL
Use with available fluent helpers to apply the RequirementPlanIsExternal field to query operations. -
PLND_INDEP_RQMT_INTERNAL_ID
Use with available fluent helpers to apply the PlndIndepRqmtInternalID field to query operations. -
PLND_INDEP_RQMT_IS_ACTIVE
Use with available fluent helpers to apply the PlndIndepRqmtIsActive field to query operations. -
WBS_ELEMENT
Use with available fluent helpers to apply the WBSElement field to query operations. -
PLND_INDEP_RQMT_ACCT_ASSGMT_CAT
Use with available fluent helpers to apply the PlndIndepRqmtAcctAssgmtCat 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_ITEM
Use with available fluent helpers to apply the to_PlndIndepRqmtItem navigation property to query operations.
-
-
Constructor Details
-
PlannedIndepRqmt
public PlannedIndepRqmt() -
PlannedIndepRqmt
public PlannedIndepRqmt(@Nullable Boolean update_mc, @Nullable Boolean plndIndepRqmtItem_oc, @Nullable String product, @Nullable String plant, @Nullable String mRPArea, @Nullable String plndIndepRqmtType, @Nullable String plndIndepRqmtVersion, @Nullable String requirementPlan, @Nullable String requirementSegment, @Nullable Boolean requirementPlanIsExternal, @Nullable String plndIndepRqmtInternalID, @Nullable String plndIndepRqmtIsActive, @Nullable String wBSElement, @Nullable String plndIndepRqmtAcctAssgmtCat, @Nullable ZonedDateTime plndIndepRqmtLastChgdDateTime, List<PlannedIndepRqmtItem> toPlndIndepRqmtItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PlannedIndepRqmt>
-
setUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Parameters:
update_mc- Dyn. Method Control
-
setPlndIndepRqmtItem_oc
Constraints: noneOriginal property name from the Odata EDM: to_PlndIndepRqmtItem_oc
- Parameters:
plndIndepRqmtItem_oc- Dynamic CbA-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
-
setRequirementPlanIsExternal
Constraints: noneOriginal property name from the Odata EDM: RequirementPlanIsExternal
- Parameters:
requirementPlanIsExternal- Indicates that the Requirement Plan is external
-
setPlndIndepRqmtInternalID
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PlndIndepRqmtInternalID
- Parameters:
plndIndepRqmtInternalID- Independent Requirements Pointer
-
setPlndIndepRqmtIsActive
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PlndIndepRqmtIsActive
- Parameters:
plndIndepRqmtIsActive- Indicator: Version Active
-
setWBSElement
Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: WBSElement
- Parameters:
wBSElement- WBS Element
-
setPlndIndepRqmtAcctAssgmtCat
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PlndIndepRqmtAcctAssgmtCat
- Parameters:
plndIndepRqmtAcctAssgmtCat- Account Assignment Category
-
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<PlannedIndepRqmt>
-
getKey
- Overrides:
getKeyin classVdmObject<PlannedIndepRqmt>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PlannedIndepRqmt>
-
fromMap
- Overrides:
fromMapin classVdmObject<PlannedIndepRqmt>
-
field
@Nonnull public static <T> PlannedIndepRqmtField<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> PlannedIndepRqmtField<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<PlannedIndepRqmt>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PlannedIndepRqmt>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PlannedIndepRqmt>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PlannedIndepRqmt>
-
fetchPlndIndepRqmtItem
Fetches the PlannedIndepRqmtItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PlndIndepRqmtItem.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PlannedIndepRqmtItem entities. If no entities are associated then an empty list is returned.
- 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.
-
getPlndIndepRqmtItemOrFetch
Retrieval of associated PlannedIndepRqmtItem entities (one to many). This corresponds to the OData navigation property to_PlndIndepRqmtItem.If the navigation property to_PlndIndepRqmtItem of a queried PlannedIndepRqmt 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 PlannedIndepRqmtItem entities.
- 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.
-
getPlndIndepRqmtItemIfPresent
Retrieval of associated PlannedIndepRqmtItem entities (one to many). This corresponds to the OData navigation property to_PlndIndepRqmtItem.If the navigation property for an entity PlannedIndepRqmt 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_PlndIndepRqmtItem is already loaded, the result will
contain the PlannedIndepRqmtItem entities. If not, an
Optionwith result stateemptyis returned.
-
setPlndIndepRqmtItem
Overwrites the list of associated PlannedIndepRqmtItem entities for the loaded navigation property to_PlndIndepRqmtItem.If the navigation property to_PlndIndepRqmtItem of a queried PlannedIndepRqmt 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.
- Parameters:
value- List of PlannedIndepRqmtItem entities.
-
addPlndIndepRqmtItem
Adds elements to the list of associated PlannedIndepRqmtItem entities. This corresponds to the OData navigation property to_PlndIndepRqmtItem.If the navigation property to_PlndIndepRqmtItem of a queried PlannedIndepRqmt 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.
- Parameters:
entity- Array of PlannedIndepRqmtItem entities.
-
builder
-
getUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Returns:
- Dyn. Method Control
-
getPlndIndepRqmtItem_oc
Constraints: noneOriginal property name from the Odata EDM: to_PlndIndepRqmtItem_oc
- Returns:
- Dynamic CbA-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
-
getRequirementPlanIsExternal
Constraints: noneOriginal property name from the Odata EDM: RequirementPlanIsExternal
- Returns:
- Indicates that the Requirement Plan is external
-
getPlndIndepRqmtInternalID
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PlndIndepRqmtInternalID
- Returns:
- Independent Requirements Pointer
-
getPlndIndepRqmtIsActive
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PlndIndepRqmtIsActive
- Returns:
- Indicator: Version Active
-
getWBSElement
Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: WBSElement
- Returns:
- WBS Element
-
getPlndIndepRqmtAcctAssgmtCat
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PlndIndepRqmtAcctAssgmtCat
- Returns:
- Account Assignment Category
-
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<PlannedIndepRqmt>
-
equals
- Overrides:
equalsin classVdmEntity<PlannedIndepRqmt>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PlannedIndepRqmt>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PlannedIndepRqmt>
-