java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<PlannedIndepRqmt>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.extendedplannedindependentrequirement.PlannedIndepRqmt

public class PlannedIndepRqmt extends VdmEntity<PlannedIndepRqmt>
Planned Independent Requirement

Original entity name from the Odata EDM: PlannedIndepRqmtType

  • Field Details

    • ALL_FIELDS

      public static final PlannedIndepRqmtSelectable ALL_FIELDS
      Selector for all available fields of PlannedIndepRqmt.
    • UPDATE_MC

      public static final PlannedIndepRqmtField<Boolean> UPDATE_MC
      Use with available fluent helpers to apply the Update_mc field to query operations.
    • PLND_INDEP_RQMT_ITEM_OC

      public static final PlannedIndepRqmtField<Boolean> PLND_INDEP_RQMT_ITEM_OC
      Use with available fluent helpers to apply the to_PlndIndepRqmtItem_oc field to query operations.
    • PRODUCT

      public static final PlannedIndepRqmtField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • PLANT

      public static final PlannedIndepRqmtField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • MRP_AREA

      public static final PlannedIndepRqmtField<String> MRP_AREA
      Use with available fluent helpers to apply the MRPArea field to query operations.
    • PLND_INDEP_RQMT_TYPE

      public static final PlannedIndepRqmtField<String> PLND_INDEP_RQMT_TYPE
      Use with available fluent helpers to apply the PlndIndepRqmtType field to query operations.
    • PLND_INDEP_RQMT_VERSION

      public static final PlannedIndepRqmtField<String> PLND_INDEP_RQMT_VERSION
      Use with available fluent helpers to apply the PlndIndepRqmtVersion field to query operations.
    • REQUIREMENT_PLAN

      public static final PlannedIndepRqmtField<String> REQUIREMENT_PLAN
      Use with available fluent helpers to apply the RequirementPlan field to query operations.
    • REQUIREMENT_SEGMENT

      public static final PlannedIndepRqmtField<String> REQUIREMENT_SEGMENT
      Use with available fluent helpers to apply the RequirementSegment field to query operations.
    • REQUIREMENT_PLAN_IS_EXTERNAL

      public static final PlannedIndepRqmtField<Boolean> REQUIREMENT_PLAN_IS_EXTERNAL
      Use with available fluent helpers to apply the RequirementPlanIsExternal field to query operations.
    • PLND_INDEP_RQMT_INTERNAL_ID

      public static final PlannedIndepRqmtField<String> PLND_INDEP_RQMT_INTERNAL_ID
      Use with available fluent helpers to apply the PlndIndepRqmtInternalID field to query operations.
    • PLND_INDEP_RQMT_IS_ACTIVE

      public static final PlannedIndepRqmtField<String> PLND_INDEP_RQMT_IS_ACTIVE
      Use with available fluent helpers to apply the PlndIndepRqmtIsActive field to query operations.
    • WBS_ELEMENT

      public static final PlannedIndepRqmtField<String> WBS_ELEMENT
      Use with available fluent helpers to apply the WBSElement field to query operations.
    • PLND_INDEP_RQMT_ACCT_ASSGMT_CAT

      public static final PlannedIndepRqmtField<String> 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

      public static final PlannedIndepRqmtField<ZonedDateTime> 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

      public static final PlannedIndepRqmtLink<PlannedIndepRqmtItem> 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

      @Nonnull public Class<PlannedIndepRqmt> getType()
      Specified by:
      getType in class VdmObject<PlannedIndepRqmt>
    • setUpdate_mc

      public void setUpdate_mc(@Nullable Boolean update_mc)
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Parameters:
      update_mc - Dyn. Method Control
    • setPlndIndepRqmtItem_oc

      public void setPlndIndepRqmtItem_oc(@Nullable Boolean plndIndepRqmtItem_oc)
      Constraints: none

      Original property name from the Odata EDM: to_PlndIndepRqmtItem_oc

      Parameters:
      plndIndepRqmtItem_oc - Dynamic CbA-Control
    • setProduct

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Parameters:
      product - Material Number
    • setPlant

      public void setPlant(@Nullable String plant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setMRPArea

      public void setMRPArea(@Nullable String mRPArea)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MRPArea

      Parameters:
      mRPArea - MRP Area
    • setPlndIndepRqmtType

      public void setPlndIndepRqmtType(@Nullable String plndIndepRqmtType)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PlndIndepRqmtType

      Parameters:
      plndIndepRqmtType - Requirements type
    • setPlndIndepRqmtVersion

      public void setPlndIndepRqmtVersion(@Nullable String plndIndepRqmtVersion)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PlndIndepRqmtVersion

      Parameters:
      plndIndepRqmtVersion - Version Number for Independent Requirements
    • setRequirementPlan

      public void setRequirementPlan(@Nullable String requirementPlan)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RequirementPlan

      Parameters:
      requirementPlan - Requirements Plan
    • setRequirementSegment

      public void setRequirementSegment(@Nullable String requirementSegment)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RequirementSegment

      Parameters:
      requirementSegment - Requirement Segment
    • setRequirementPlanIsExternal

      public void setRequirementPlanIsExternal(@Nullable Boolean requirementPlanIsExternal)
      Constraints: none

      Original property name from the Odata EDM: RequirementPlanIsExternal

      Parameters:
      requirementPlanIsExternal - Indicates that the Requirement Plan is external
    • setPlndIndepRqmtInternalID

      public void setPlndIndepRqmtInternalID(@Nullable String plndIndepRqmtInternalID)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PlndIndepRqmtInternalID

      Parameters:
      plndIndepRqmtInternalID - Independent Requirements Pointer
    • setPlndIndepRqmtIsActive

      public void setPlndIndepRqmtIsActive(@Nullable String plndIndepRqmtIsActive)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PlndIndepRqmtIsActive

      Parameters:
      plndIndepRqmtIsActive - Indicator: Version Active
    • setWBSElement

      public void setWBSElement(@Nullable String wBSElement)
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElement

      Parameters:
      wBSElement - WBS Element
    • setPlndIndepRqmtAcctAssgmtCat

      public void setPlndIndepRqmtAcctAssgmtCat(@Nullable String plndIndepRqmtAcctAssgmtCat)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PlndIndepRqmtAcctAssgmtCat

      Parameters:
      plndIndepRqmtAcctAssgmtCat - Account Assignment Category
    • setPlndIndepRqmtLastChgdDateTime

      public void setPlndIndepRqmtLastChgdDateTime(@Nullable ZonedDateTime plndIndepRqmtLastChgdDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTime

      Parameters:
      plndIndepRqmtLastChgdDateTime - UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<PlannedIndepRqmt>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<PlannedIndepRqmt>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<PlannedIndepRqmt>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<PlannedIndepRqmt>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<PlannedIndepRqmt>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<PlannedIndepRqmt>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<PlannedIndepRqmt>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<PlannedIndepRqmt>
    • fetchPlndIndepRqmtItem

      @Nonnull public List<PlannedIndepRqmtItem> 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

      @Nonnull public List<PlannedIndepRqmtItem> 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

      @Nonnull public io.vavr.control.Option<List<PlannedIndepRqmtItem>> 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 Option result state will be empty.

      Returns:
      If the information for navigation property to_PlndIndepRqmtItem is already loaded, the result will contain the PlannedIndepRqmtItem entities. If not, an Option with result state empty is returned.
    • setPlndIndepRqmtItem

      public void setPlndIndepRqmtItem(@Nonnull List<PlannedIndepRqmtItem> value)
      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

      public void addPlndIndepRqmtItem(PlannedIndepRqmtItem... entity)
      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

      @Nonnull public static PlannedIndepRqmt.PlannedIndepRqmtBuilder builder()
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getPlndIndepRqmtItem_oc

      @Nullable public Boolean getPlndIndepRqmtItem_oc()
      Constraints: none

      Original property name from the Odata EDM: to_PlndIndepRqmtItem_oc

      Returns:
      Dynamic CbA-Control
    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getPlant

      @Nullable public String getPlant()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getMRPArea

      @Nullable public String getMRPArea()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MRPArea

      Returns:
      MRP Area
    • getPlndIndepRqmtType

      @Nullable public String getPlndIndepRqmtType()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PlndIndepRqmtType

      Returns:
      Requirements type
    • getPlndIndepRqmtVersion

      @Nullable public String getPlndIndepRqmtVersion()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PlndIndepRqmtVersion

      Returns:
      Version Number for Independent Requirements
    • getRequirementPlan

      @Nullable public String getRequirementPlan()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RequirementPlan

      Returns:
      Requirements Plan
    • getRequirementSegment

      @Nullable public String getRequirementSegment()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RequirementSegment

      Returns:
      Requirement Segment
    • getRequirementPlanIsExternal

      @Nullable public Boolean getRequirementPlanIsExternal()
      Constraints: none

      Original property name from the Odata EDM: RequirementPlanIsExternal

      Returns:
      Indicates that the Requirement Plan is external
    • getPlndIndepRqmtInternalID

      @Nullable public String getPlndIndepRqmtInternalID()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PlndIndepRqmtInternalID

      Returns:
      Independent Requirements Pointer
    • getPlndIndepRqmtIsActive

      @Nullable public String getPlndIndepRqmtIsActive()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PlndIndepRqmtIsActive

      Returns:
      Indicator: Version Active
    • getWBSElement

      @Nullable public String getWBSElement()
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElement

      Returns:
      WBS Element
    • getPlndIndepRqmtAcctAssgmtCat

      @Nullable public String getPlndIndepRqmtAcctAssgmtCat()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PlndIndepRqmtAcctAssgmtCat

      Returns:
      Account Assignment Category
    • getPlndIndepRqmtLastChgdDateTime

      @Nullable public ZonedDateTime getPlndIndepRqmtLastChgdDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: PlndIndepRqmtLastChgdDateTime

      Returns:
      UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<PlannedIndepRqmt>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<PlannedIndepRqmt>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<PlannedIndepRqmt>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<PlannedIndepRqmt>