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

public class EntProjElmntWorkItem extends VdmEntity<EntProjElmntWorkItem>
Project Element Work Item

Original entity name from the Odata EDM: A_EntProjElmntWorkItemType

  • Field Details

    • ALL_FIELDS

      public static final EntProjElmntWorkItemSelectable ALL_FIELDS
      Selector for all available fields of EntProjElmntWorkItem.
    • DELETE_MC

      public static final EntProjElmntWorkItemField<Boolean> DELETE_MC
      Use with available fluent helpers to apply the Delete_mc field to query operations.
    • UPDATE_MC

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

      public static final EntProjElmntWorkItemField<UUID> ENT_PROJ_ELMNT_WORK_ITEM_UUID
      Use with available fluent helpers to apply the EntProjElmntWorkItemUUID field to query operations.
    • ENT_PROJ_ELMNT_WORK_ITEM

      public static final EntProjElmntWorkItemField<String> ENT_PROJ_ELMNT_WORK_ITEM
      Use with available fluent helpers to apply the EntProjElmntWorkItem field to query operations.
    • ENT_PROJ_ELMNT_WORK_ITEM_NAME

      public static final EntProjElmntWorkItemField<String> ENT_PROJ_ELMNT_WORK_ITEM_NAME
      Use with available fluent helpers to apply the EntProjElmntWorkItemName field to query operations.
    • ENT_PROJ_ELMNT_WORK_ITEM_IS_INACTIVE

      public static final EntProjElmntWorkItemField<Boolean> ENT_PROJ_ELMNT_WORK_ITEM_IS_INACTIVE
      Use with available fluent helpers to apply the EntProjElmntWorkItemIsInactive field to query operations.
    • ENT_PROJ_ELMNT_WORK_ITEM_IS_CNFGRD

      public static final EntProjElmntWorkItemField<Boolean> ENT_PROJ_ELMNT_WORK_ITEM_IS_CNFGRD
      Use with available fluent helpers to apply the EntProjElmntWorkItemIsCnfgrd field to query operations.
    • PROJECT_UUID

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

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

      public static final EntProjElmntWorkItemField<String> ENT_PROJ_ELMNT_WRK_ITM_LAST_UPDT_SRCE
      Use with available fluent helpers to apply the EntProjElmntWrkItmLastUpdtSrce field to query operations.
    • ENT_PROJ_ELMNT_WRK_ITM_CRTED_BY_USR

      public static final EntProjElmntWorkItemField<String> ENT_PROJ_ELMNT_WRK_ITM_CRTED_BY_USR
      Use with available fluent helpers to apply the EntProjElmntWrkItmCrtedByUsr field to query operations.
    • ENT_PROJ_ELMNT_WRK_ITM_CRTN_DTE_TME

      public static final EntProjElmntWorkItemField<ZonedDateTime> ENT_PROJ_ELMNT_WRK_ITM_CRTN_DTE_TME
      Use with available fluent helpers to apply the EntProjElmntWrkItmCrtnDteTme field to query operations.
    • ENT_PROJ_ELMNT_WRK_ITM_LST_CHG_BY_USR

      public static final EntProjElmntWorkItemField<String> ENT_PROJ_ELMNT_WRK_ITM_LST_CHG_BY_USR
      Use with available fluent helpers to apply the EntProjElmntWrkItmLstChgByUsr field to query operations.
    • ENT_PROJ_ELMNT_WRK_ITM_LST_CHG_DTE_TME

      public static final EntProjElmntWorkItemField<ZonedDateTime> ENT_PROJ_ELMNT_WRK_ITM_LST_CHG_DTE_TME
      Use with available fluent helpers to apply the EntProjElmntWrkItmLstChgDteTme field to query operations.
    • TO_ENTERPRISE_PROJECT_ELEMENT

      public static final EntProjElmntWorkItemOneToOneLink<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 EntProjElmntWorkItemOneToOneLink<EnterpriseProject> TO_ENTERPRISE_PROJECT
      Use with available fluent helpers to apply the to_EnterpriseProject navigation property to query operations.
  • Constructor Details

    • EntProjElmntWorkItem

      public EntProjElmntWorkItem()
    • EntProjElmntWorkItem

      public EntProjElmntWorkItem(@Nullable Boolean delete_mc, @Nullable Boolean update_mc, @Nullable UUID entProjElmntWorkItemUUID, @Nullable String entProjElmntWorkItem, @Nullable String entProjElmntWorkItemName, @Nullable Boolean entProjElmntWorkItemIsInactive, @Nullable Boolean entProjElmntWorkItemIsCnfgrd, @Nullable UUID projectUUID, @Nullable UUID projectElementUUID, @Nullable String entProjElmntWrkItmLastUpdtSrce, @Nullable String entProjElmntWrkItmCrtedByUsr, @Nullable ZonedDateTime entProjElmntWrkItmCrtnDteTme, @Nullable String entProjElmntWrkItmLstChgByUsr, @Nullable ZonedDateTime entProjElmntWrkItmLstChgDteTme, @Nullable EnterpriseProjectElement toEnterpriseProjectElement, @Nullable EnterpriseProject toEnterpriseProject)
  • Method Details

    • getType

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

      public void setDelete_mc(@Nullable Boolean delete_mc)
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Parameters:
      delete_mc - Dyn. Method 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
    • setEntProjElmntWorkItemUUID

      public void setEntProjElmntWorkItemUUID(@Nullable UUID entProjElmntWorkItemUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: EntProjElmntWorkItemUUID

      Parameters:
      entProjElmntWorkItemUUID - Entity Guid
    • setEntProjElmntWorkItem

      public void setEntProjElmntWorkItem(@Nullable String entProjElmntWorkItem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EntProjElmntWorkItem

      Parameters:
      entProjElmntWorkItem - Enterprise Project Element Work Item
    • setEntProjElmntWorkItemName

      public void setEntProjElmntWorkItemName(@Nullable String entProjElmntWorkItemName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: EntProjElmntWorkItemName

      Parameters:
      entProjElmntWorkItemName - Enterprise Project Element Work Item Name
    • setEntProjElmntWorkItemIsInactive

      public void setEntProjElmntWorkItemIsInactive(@Nullable Boolean entProjElmntWorkItemIsInactive)
      Constraints: none

      Original property name from the Odata EDM: EntProjElmntWorkItemIsInactive

      Parameters:
      entProjElmntWorkItemIsInactive - Enterprise Project Element Work Item is Inactive
    • setEntProjElmntWorkItemIsCnfgrd

      public void setEntProjElmntWorkItemIsCnfgrd(@Nullable Boolean entProjElmntWorkItemIsCnfgrd)
      Constraints: none

      Original property name from the Odata EDM: EntProjElmntWorkItemIsCnfgrd

      Parameters:
      entProjElmntWorkItemIsCnfgrd - Enterprise Project Element Work Item is Configured
    • setProjectUUID

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

      Original property name from the Odata EDM: ProjectUUID

      Parameters:
      projectUUID - Entity Guid
    • setProjectElementUUID

      public void setProjectElementUUID(@Nullable UUID projectElementUUID)
      Constraints: none

      Original property name from the Odata EDM: ProjectElementUUID

      Parameters:
      projectElementUUID - Entity Guid
    • setEntProjElmntWrkItmLastUpdtSrce

      public void setEntProjElmntWrkItmLastUpdtSrce(@Nullable String entProjElmntWrkItmLastUpdtSrce)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: EntProjElmntWrkItmLastUpdtSrce

      Parameters:
      entProjElmntWrkItmLastUpdtSrce - Enterprise Project Element Work Item - Source of Update
    • setEntProjElmntWrkItmCrtedByUsr

      public void setEntProjElmntWrkItmCrtedByUsr(@Nullable String entProjElmntWrkItmCrtedByUsr)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: EntProjElmntWrkItmCrtedByUsr

      Parameters:
      entProjElmntWrkItmCrtedByUsr - Name of Person Who Created Object
    • setEntProjElmntWrkItmCrtnDteTme

      public void setEntProjElmntWrkItmCrtnDteTme(@Nullable ZonedDateTime entProjElmntWrkItmCrtnDteTme)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: EntProjElmntWrkItmCrtnDteTme

      Parameters:
      entProjElmntWrkItmCrtnDteTme - Timestamp of Object Creation
    • setEntProjElmntWrkItmLstChgByUsr

      public void setEntProjElmntWrkItmLstChgByUsr(@Nullable String entProjElmntWrkItmLstChgByUsr)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: EntProjElmntWrkItmLstChgByUsr

      Parameters:
      entProjElmntWrkItmLstChgByUsr - Name of Person Who Changed Object
    • setEntProjElmntWrkItmLstChgDteTme

      public void setEntProjElmntWrkItmLstChgDteTme(@Nullable ZonedDateTime entProjElmntWrkItmLstChgDteTme)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: EntProjElmntWrkItmLstChgDteTme

      Parameters:
      entProjElmntWrkItmLstChgDteTme - Timestamp of Last Object Change
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> EntProjElmntWorkItemField<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> EntProjElmntWorkItemField<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<EntProjElmntWorkItem>
    • setServicePathForFetch

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<EntProjElmntWorkItem>
    • 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 EntProjElmntWorkItem 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 EntProjElmntWorkItem 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 EntProjElmntWorkItem 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 EntProjElmntWorkItem 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 EntProjElmntWorkItem.EntProjElmntWorkItemBuilder builder()
    • getDelete_mc

      @Nullable public Boolean getDelete_mc()
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Returns:
      Dyn. Method Control
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getEntProjElmntWorkItemUUID

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

      Original property name from the Odata EDM: EntProjElmntWorkItemUUID

      Returns:
      Entity Guid
    • getEntProjElmntWorkItem

      @Nullable public String getEntProjElmntWorkItem()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EntProjElmntWorkItem

      Returns:
      Enterprise Project Element Work Item
    • getEntProjElmntWorkItemName

      @Nullable public String getEntProjElmntWorkItemName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: EntProjElmntWorkItemName

      Returns:
      Enterprise Project Element Work Item Name
    • getEntProjElmntWorkItemIsInactive

      @Nullable public Boolean getEntProjElmntWorkItemIsInactive()
      Constraints: none

      Original property name from the Odata EDM: EntProjElmntWorkItemIsInactive

      Returns:
      Enterprise Project Element Work Item is Inactive
    • getEntProjElmntWorkItemIsCnfgrd

      @Nullable public Boolean getEntProjElmntWorkItemIsCnfgrd()
      Constraints: none

      Original property name from the Odata EDM: EntProjElmntWorkItemIsCnfgrd

      Returns:
      Enterprise Project Element Work Item is Configured
    • getProjectUUID

      @Nullable public UUID getProjectUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectUUID

      Returns:
      Entity Guid
    • getProjectElementUUID

      @Nullable public UUID getProjectElementUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectElementUUID

      Returns:
      Entity Guid
    • getEntProjElmntWrkItmLastUpdtSrce

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

      Original property name from the Odata EDM: EntProjElmntWrkItmLastUpdtSrce

      Returns:
      Enterprise Project Element Work Item - Source of Update
    • getEntProjElmntWrkItmCrtedByUsr

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

      Original property name from the Odata EDM: EntProjElmntWrkItmCrtedByUsr

      Returns:
      Name of Person Who Created Object
    • getEntProjElmntWrkItmCrtnDteTme

      @Nullable public ZonedDateTime getEntProjElmntWrkItmCrtnDteTme()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: EntProjElmntWrkItmCrtnDteTme

      Returns:
      Timestamp of Object Creation
    • getEntProjElmntWrkItmLstChgByUsr

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

      Original property name from the Odata EDM: EntProjElmntWrkItmLstChgByUsr

      Returns:
      Name of Person Who Changed Object
    • getEntProjElmntWrkItmLstChgDteTme

      @Nullable public ZonedDateTime getEntProjElmntWrkItmLstChgDteTme()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: EntProjElmntWrkItmLstChgDteTme

      Returns:
      Timestamp of Last Object Change
    • toString

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

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

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

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