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

public class EntTeamMemberEntitlement extends VdmEntity<EntTeamMemberEntitlement>
Project Entitlement

Original entity name from the Odata EDM: A_EntTeamMemberEntitlementType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<EntTeamMemberEntitlement> getType()
      Specified by:
      getType in class VdmObject<EntTeamMemberEntitlement>
    • 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
    • setProjectEntitlementUUID

      public void setProjectEntitlementUUID(@Nullable UUID projectEntitlementUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProjectEntitlementUUID

      Parameters:
      projectEntitlementUUID - Entitlement Guid
    • setProjectUUID

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

      Original property name from the Odata EDM: ProjectUUID

      Parameters:
      projectUUID - Project GUID
    • setProjectRoleUUID

      public void setProjectRoleUUID(@Nullable UUID projectRoleUUID)
      Constraints: none

      Original property name from the Odata EDM: ProjectRoleUUID

      Parameters:
      projectRoleUUID - Role GUID
    • setTeamMemberUUID

      public void setTeamMemberUUID(@Nullable UUID teamMemberUUID)
      Constraints: none

      Original property name from the Odata EDM: TeamMemberUUID

      Parameters:
      teamMemberUUID - Team Member GUID
    • setProjectRoleType

      public void setProjectRoleType(@Nullable String projectRoleType)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: ProjectRoleType

      Parameters:
      projectRoleType - Role Type
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person Who Created Object
    • setCreationDateTime

      public void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Timestamp of Object Creation
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Name of Person Who Changed Object
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Timestamp of Last Object Change
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> EntTeamMemberEntitlementField<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> EntTeamMemberEntitlementField<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<EntTeamMemberEntitlement>
    • setServicePathForFetch

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

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

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

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

      @Nullable public EnterpriseProjectTeamMember fetchTeamMember()
      Fetches the EnterpriseProjectTeamMember entity (one to one) associated with this entity. This corresponds to the OData navigation property to_TeamMember.

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

      Returns:
      The single associated EnterpriseProjectTeamMember 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.
    • getTeamMemberOrFetch

      @Nullable public EnterpriseProjectTeamMember getTeamMemberOrFetch()
      Retrieval of associated EnterpriseProjectTeamMember entity (one to one). This corresponds to the OData navigation property to_TeamMember.

      If the navigation property to_TeamMember of a queried EntTeamMemberEntitlement 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 EnterpriseProjectTeamMember 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.
    • getTeamMemberIfPresent

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

      If the navigation property for an entity EntTeamMemberEntitlement 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_TeamMember is already loaded, the result will contain the EnterpriseProjectTeamMember entity. If not, an Option with result state empty is returned.
    • setTeamMember

      public void setTeamMember(EnterpriseProjectTeamMember value)
      Overwrites the associated EnterpriseProjectTeamMember entity for the loaded navigation property to_TeamMember.
      Parameters:
      value - New EnterpriseProjectTeamMember 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 EntTeamMemberEntitlement 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 EntTeamMemberEntitlement 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.
    • fetchRole

      @Nullable public EnterpriseProjectRole fetchRole()
      Fetches the EnterpriseProjectRole entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Role.

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

      Returns:
      The single associated EnterpriseProjectRole 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.
    • getRoleOrFetch

      @Nullable public EnterpriseProjectRole getRoleOrFetch()
      Retrieval of associated EnterpriseProjectRole entity (one to one). This corresponds to the OData navigation property to_Role.

      If the navigation property to_Role of a queried EntTeamMemberEntitlement 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 EnterpriseProjectRole 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.
    • getRoleIfPresent

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

      If the navigation property for an entity EntTeamMemberEntitlement 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_Role is already loaded, the result will contain the EnterpriseProjectRole entity. If not, an Option with result state empty is returned.
    • setRole

      public void setRole(EnterpriseProjectRole value)
      Overwrites the associated EnterpriseProjectRole entity for the loaded navigation property to_Role.
      Parameters:
      value - New EnterpriseProjectRole entity.
    • 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
    • getProjectEntitlementUUID

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

      Original property name from the Odata EDM: ProjectEntitlementUUID

      Returns:
      Entitlement Guid
    • getProjectUUID

      @Nullable public UUID getProjectUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectUUID

      Returns:
      Project GUID
    • getProjectRoleUUID

      @Nullable public UUID getProjectRoleUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectRoleUUID

      Returns:
      Role GUID
    • getTeamMemberUUID

      @Nullable public UUID getTeamMemberUUID()
      Constraints: none

      Original property name from the Odata EDM: TeamMemberUUID

      Returns:
      Team Member GUID
    • getProjectRoleType

      @Nullable public String getProjectRoleType()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: ProjectRoleType

      Returns:
      Role Type
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person Who Created Object
    • getCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Timestamp of Object Creation
    • getLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • getLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Timestamp of Last Object Change
    • toString

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

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

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

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