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

public class EntProjElmntBlockFunc extends VdmEntity<EntProjElmntBlockFunc>
Project Element Block Function

Original entity name from the Odata EDM: A_EntProjElmntBlockFuncType

  • Field Details

    • ALL_FIELDS

      public static final EntProjElmntBlockFuncSelectable ALL_FIELDS
      Selector for all available fields of EntProjElmntBlockFunc.
    • ENT_PROJ_OTHER_EXPENSE_POSTG_IS_BLKD_FC

      public static final EntProjElmntBlockFuncField<Short> ENT_PROJ_OTHER_EXPENSE_POSTG_IS_BLKD_FC
      Use with available fluent helpers to apply the EntProjOtherExpensePostgIsBlkd_fc field to query operations.
    • ENT_PROJ_PURCHASING_IS_BLKD_FC

      public static final EntProjElmntBlockFuncField<Short> ENT_PROJ_PURCHASING_IS_BLKD_FC
      Use with available fluent helpers to apply the EntProjPurchasingIsBlkd_fc field to query operations.
    • ENT_PROJ_SERVICE_POSTING_IS_BLKD_FC

      public static final EntProjElmntBlockFuncField<Short> ENT_PROJ_SERVICE_POSTING_IS_BLKD_FC
      Use with available fluent helpers to apply the EntProjServicePostingIsBlkd_fc field to query operations.
    • ENT_PROJ_STAFF_EXPENSE_POSTG_IS_BLKD_FC

      public static final EntProjElmntBlockFuncField<Short> ENT_PROJ_STAFF_EXPENSE_POSTG_IS_BLKD_FC
      Use with available fluent helpers to apply the EntProjStaffExpensePostgIsBlkd_fc field to query operations.
    • ENT_PROJ_TIME_RECG_IS_BLKD_FC

      public static final EntProjElmntBlockFuncField<Short> ENT_PROJ_TIME_RECG_IS_BLKD_FC
      Use with available fluent helpers to apply the EntProjTimeRecgIsBlkd_fc field to query operations.
    • UPDATE_MC

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

      public static final EntProjElmntBlockFuncField<UUID> PROJECT_ELEMENT_UUID
      Use with available fluent helpers to apply the ProjectElementUUID field to query operations.
    • PROJECT_UUID

      public static final EntProjElmntBlockFuncField<UUID> PROJECT_UUID
      Use with available fluent helpers to apply the ProjectUUID field to query operations.
    • ENT_PROJ_TIME_RECG_IS_BLKD

      public static final EntProjElmntBlockFuncField<Boolean> ENT_PROJ_TIME_RECG_IS_BLKD
      Use with available fluent helpers to apply the EntProjTimeRecgIsBlkd field to query operations.
    • ENT_PROJ_STAFF_EXPENSE_POSTG_IS_BLKD

      public static final EntProjElmntBlockFuncField<Boolean> ENT_PROJ_STAFF_EXPENSE_POSTG_IS_BLKD
      Use with available fluent helpers to apply the EntProjStaffExpensePostgIsBlkd field to query operations.
    • ENT_PROJ_SERVICE_POSTING_IS_BLKD

      public static final EntProjElmntBlockFuncField<Boolean> ENT_PROJ_SERVICE_POSTING_IS_BLKD
      Use with available fluent helpers to apply the EntProjServicePostingIsBlkd field to query operations.
    • ENT_PROJ_OTHER_EXPENSE_POSTG_IS_BLKD

      public static final EntProjElmntBlockFuncField<Boolean> ENT_PROJ_OTHER_EXPENSE_POSTG_IS_BLKD
      Use with available fluent helpers to apply the EntProjOtherExpensePostgIsBlkd field to query operations.
    • ENT_PROJ_PURCHASING_IS_BLKD

      public static final EntProjElmntBlockFuncField<Boolean> ENT_PROJ_PURCHASING_IS_BLKD
      Use with available fluent helpers to apply the EntProjPurchasingIsBlkd field to query operations.
    • TO_ENTERPRISE_PROJECT_ELEMENT

      public static final EntProjElmntBlockFuncOneToOneLink<EnterpriseProjectElement> TO_ENTERPRISE_PROJECT_ELEMENT
      Use with available fluent helpers to apply the to_EnterpriseProjectElement navigation property to query operations.
    • TO_ENTERPRISE_PROJECT

      public static final EntProjElmntBlockFuncOneToOneLink<EnterpriseProject> TO_ENTERPRISE_PROJECT
      Use with available fluent helpers to apply the to_EnterpriseProject navigation property to query operations.
  • Constructor Details

    • EntProjElmntBlockFunc

      public EntProjElmntBlockFunc()
    • EntProjElmntBlockFunc

      public EntProjElmntBlockFunc(@Nullable Short entProjOtherExpensePostgIsBlkd_fc, @Nullable Short entProjPurchasingIsBlkd_fc, @Nullable Short entProjServicePostingIsBlkd_fc, @Nullable Short entProjStaffExpensePostgIsBlkd_fc, @Nullable Short entProjTimeRecgIsBlkd_fc, @Nullable Boolean update_mc, @Nullable UUID projectElementUUID, @Nullable UUID projectUUID, @Nullable Boolean entProjTimeRecgIsBlkd, @Nullable Boolean entProjStaffExpensePostgIsBlkd, @Nullable Boolean entProjServicePostingIsBlkd, @Nullable Boolean entProjOtherExpensePostgIsBlkd, @Nullable Boolean entProjPurchasingIsBlkd, @Nullable EnterpriseProjectElement toEnterpriseProjectElement, @Nullable EnterpriseProject toEnterpriseProject)
  • Method Details

    • getType

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

      public void setEntProjOtherExpensePostgIsBlkd_fc(@Nullable Short entProjOtherExpensePostgIsBlkd_fc)
      Constraints: none

      Original property name from the Odata EDM: EntProjOtherExpensePostgIsBlkd_fc

      Parameters:
      entProjOtherExpensePostgIsBlkd_fc - Dyn. Field Control
    • setEntProjPurchasingIsBlkd_fc

      public void setEntProjPurchasingIsBlkd_fc(@Nullable Short entProjPurchasingIsBlkd_fc)
      Constraints: none

      Original property name from the Odata EDM: EntProjPurchasingIsBlkd_fc

      Parameters:
      entProjPurchasingIsBlkd_fc - Dyn. Field Control
    • setEntProjServicePostingIsBlkd_fc

      public void setEntProjServicePostingIsBlkd_fc(@Nullable Short entProjServicePostingIsBlkd_fc)
      Constraints: none

      Original property name from the Odata EDM: EntProjServicePostingIsBlkd_fc

      Parameters:
      entProjServicePostingIsBlkd_fc - Dyn. Field Control
    • setEntProjStaffExpensePostgIsBlkd_fc

      public void setEntProjStaffExpensePostgIsBlkd_fc(@Nullable Short entProjStaffExpensePostgIsBlkd_fc)
      Constraints: none

      Original property name from the Odata EDM: EntProjStaffExpensePostgIsBlkd_fc

      Parameters:
      entProjStaffExpensePostgIsBlkd_fc - Dyn. Field Control
    • setEntProjTimeRecgIsBlkd_fc

      public void setEntProjTimeRecgIsBlkd_fc(@Nullable Short entProjTimeRecgIsBlkd_fc)
      Constraints: none

      Original property name from the Odata EDM: EntProjTimeRecgIsBlkd_fc

      Parameters:
      entProjTimeRecgIsBlkd_fc - Dyn. Field Control
    • 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
    • setProjectElementUUID

      public void setProjectElementUUID(@Nullable UUID projectElementUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProjectElementUUID

      Parameters:
      projectElementUUID - Entity Guid
    • setProjectUUID

      public void setProjectUUID(@Nullable UUID projectUUID)
      Constraints: none

      Original property name from the Odata EDM: ProjectUUID

      Parameters:
      projectUUID - Entity Guid
    • setEntProjTimeRecgIsBlkd

      public void setEntProjTimeRecgIsBlkd(@Nullable Boolean entProjTimeRecgIsBlkd)
      Constraints: none

      Original property name from the Odata EDM: EntProjTimeRecgIsBlkd

      Parameters:
      entProjTimeRecgIsBlkd - Boolean Variable (X = True, - = False, Space = Unknown)
    • setEntProjStaffExpensePostgIsBlkd

      public void setEntProjStaffExpensePostgIsBlkd(@Nullable Boolean entProjStaffExpensePostgIsBlkd)
      Constraints: none

      Original property name from the Odata EDM: EntProjStaffExpensePostgIsBlkd

      Parameters:
      entProjStaffExpensePostgIsBlkd - Boolean Variable (X = True, - = False, Space = Unknown)
    • setEntProjServicePostingIsBlkd

      public void setEntProjServicePostingIsBlkd(@Nullable Boolean entProjServicePostingIsBlkd)
      Constraints: none

      Original property name from the Odata EDM: EntProjServicePostingIsBlkd

      Parameters:
      entProjServicePostingIsBlkd - Boolean Variable (X = True, - = False, Space = Unknown)
    • setEntProjOtherExpensePostgIsBlkd

      public void setEntProjOtherExpensePostgIsBlkd(@Nullable Boolean entProjOtherExpensePostgIsBlkd)
      Constraints: none

      Original property name from the Odata EDM: EntProjOtherExpensePostgIsBlkd

      Parameters:
      entProjOtherExpensePostgIsBlkd - Boolean Variable (X = True, - = False, Space = Unknown)
    • setEntProjPurchasingIsBlkd

      public void setEntProjPurchasingIsBlkd(@Nullable Boolean entProjPurchasingIsBlkd)
      Constraints: none

      Original property name from the Odata EDM: EntProjPurchasingIsBlkd

      Parameters:
      entProjPurchasingIsBlkd - Boolean Variable (X = True, - = False, Space = Unknown)
    • getEntityCollection

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

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

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

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<EntProjElmntBlockFunc>
    • field

      @Nonnull public static <T> EntProjElmntBlockFuncField<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> EntProjElmntBlockFuncField<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<EntProjElmntBlockFunc>
    • setServicePathForFetch

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

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

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

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

      @Nullable public EnterpriseProjectElement fetchEnterpriseProjectElement()
      Fetches the EnterpriseProjectElement entity (one to one) associated with this entity. This corresponds to the OData navigation property to_EnterpriseProjectElement.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated EnterpriseProjectElement entity, or null if 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.
    • getEnterpriseProjectElementOrFetch

      @Nullable public EnterpriseProjectElement getEnterpriseProjectElementOrFetch()
      Retrieval of associated EnterpriseProjectElement entity (one to one). This corresponds to the OData navigation property to_EnterpriseProjectElement.

      If the navigation property to_EnterpriseProjectElement of a queried EntProjElmntBlockFunc 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 EnterpriseProjectElement 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.
    • getEnterpriseProjectElementIfPresent

      @Nonnull public io.vavr.control.Option<EnterpriseProjectElement> getEnterpriseProjectElementIfPresent()
      Retrieval of associated EnterpriseProjectElement entity (one to one). This corresponds to the OData navigation property to_EnterpriseProjectElement.

      If the navigation property for an entity EntProjElmntBlockFunc 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_EnterpriseProjectElement is already loaded, the result will contain the EnterpriseProjectElement entity. If not, an Option with result state empty is returned.
    • setEnterpriseProjectElement

      public void setEnterpriseProjectElement(EnterpriseProjectElement value)
      Overwrites the associated EnterpriseProjectElement entity for the loaded navigation property to_EnterpriseProjectElement.
      Parameters:
      value - New EnterpriseProjectElement entity.
    • fetchEnterpriseProject

      @Nullable public EnterpriseProject fetchEnterpriseProject()
      Fetches the EnterpriseProject entity (one to one) associated with this entity. This corresponds to the OData navigation property to_EnterpriseProject.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated EnterpriseProject entity, or null if 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.
    • getEnterpriseProjectOrFetch

      @Nullable public EnterpriseProject getEnterpriseProjectOrFetch()
      Retrieval of associated EnterpriseProject entity (one to one). This corresponds to the OData navigation property to_EnterpriseProject.

      If the navigation property to_EnterpriseProject of a queried EntProjElmntBlockFunc 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 EnterpriseProject 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.
    • getEnterpriseProjectIfPresent

      @Nonnull public io.vavr.control.Option<EnterpriseProject> getEnterpriseProjectIfPresent()
      Retrieval of associated EnterpriseProject entity (one to one). This corresponds to the OData navigation property to_EnterpriseProject.

      If the navigation property for an entity EntProjElmntBlockFunc 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_EnterpriseProject is already loaded, the result will contain the EnterpriseProject entity. If not, an Option with result state empty is returned.
    • setEnterpriseProject

      public void setEnterpriseProject(EnterpriseProject value)
      Overwrites the associated EnterpriseProject entity for the loaded navigation property to_EnterpriseProject.
      Parameters:
      value - New EnterpriseProject entity.
    • builder

      @Nonnull public static EntProjElmntBlockFunc.EntProjElmntBlockFuncBuilder builder()
    • getEntProjOtherExpensePostgIsBlkd_fc

      @Nullable public Short getEntProjOtherExpensePostgIsBlkd_fc()
      Constraints: none

      Original property name from the Odata EDM: EntProjOtherExpensePostgIsBlkd_fc

      Returns:
      Dyn. Field Control
    • getEntProjPurchasingIsBlkd_fc

      @Nullable public Short getEntProjPurchasingIsBlkd_fc()
      Constraints: none

      Original property name from the Odata EDM: EntProjPurchasingIsBlkd_fc

      Returns:
      Dyn. Field Control
    • getEntProjServicePostingIsBlkd_fc

      @Nullable public Short getEntProjServicePostingIsBlkd_fc()
      Constraints: none

      Original property name from the Odata EDM: EntProjServicePostingIsBlkd_fc

      Returns:
      Dyn. Field Control
    • getEntProjStaffExpensePostgIsBlkd_fc

      @Nullable public Short getEntProjStaffExpensePostgIsBlkd_fc()
      Constraints: none

      Original property name from the Odata EDM: EntProjStaffExpensePostgIsBlkd_fc

      Returns:
      Dyn. Field Control
    • getEntProjTimeRecgIsBlkd_fc

      @Nullable public Short getEntProjTimeRecgIsBlkd_fc()
      Constraints: none

      Original property name from the Odata EDM: EntProjTimeRecgIsBlkd_fc

      Returns:
      Dyn. Field Control
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getProjectElementUUID

      @Nullable public UUID getProjectElementUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProjectElementUUID

      Returns:
      Entity Guid
    • getProjectUUID

      @Nullable public UUID getProjectUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectUUID

      Returns:
      Entity Guid
    • getEntProjTimeRecgIsBlkd

      @Nullable public Boolean getEntProjTimeRecgIsBlkd()
      Constraints: none

      Original property name from the Odata EDM: EntProjTimeRecgIsBlkd

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getEntProjStaffExpensePostgIsBlkd

      @Nullable public Boolean getEntProjStaffExpensePostgIsBlkd()
      Constraints: none

      Original property name from the Odata EDM: EntProjStaffExpensePostgIsBlkd

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getEntProjServicePostingIsBlkd

      @Nullable public Boolean getEntProjServicePostingIsBlkd()
      Constraints: none

      Original property name from the Odata EDM: EntProjServicePostingIsBlkd

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getEntProjOtherExpensePostgIsBlkd

      @Nullable public Boolean getEntProjOtherExpensePostgIsBlkd()
      Constraints: none

      Original property name from the Odata EDM: EntProjOtherExpensePostgIsBlkd

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getEntProjPurchasingIsBlkd

      @Nullable public Boolean getEntProjPurchasingIsBlkd()
      Constraints: none

      Original property name from the Odata EDM: EntProjPurchasingIsBlkd

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • toString

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

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

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

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