java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<TeamMembers>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.responsibilitymanagementteam.TeamMembers
All Implemented Interfaces:
VdmEntitySet

public class TeamMembers extends VdmEntity<TeamMembers> implements VdmEntitySet
Team Members

Original entity name from the Odata EDM: TeamMembersType

  • Field Details

  • Constructor Details

    • TeamMembers

      public TeamMembers()
    • TeamMembers

      public TeamMembers(@Nullable String respyMgmtGlobalTeamID, @Nullable String respyMgmtTeamMemberType, @Nullable String responsibilityTeamMember, @Nullable TeamHeaders to_TeamHeader, List<TeamMemberFunctions> to_TeamMemberFunctions)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: RespyMgmtGlobalTeamID

      Parameters:
      respyMgmtGlobalTeamID - Global Team ID in Responsibility Mgmt.
    • setRespyMgmtTeamMemberType

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

      Original property name from the Odata EDM: RespyMgmtTeamMemberType

      Parameters:
      respyMgmtTeamMemberType - Team Member Type
    • setResponsibilityTeamMember

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

      Original property name from the Odata EDM: ResponsibilityTeamMember

      Parameters:
      responsibilityTeamMember - Business Partner Number
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<TeamMembers>
    • toMapOfFields

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

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

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

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

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

      If the navigation property for an entity TeamMembers 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 _TeamHeader is already loaded, the result will contain the TeamHeaders entity. If not, an Option with result state empty is returned.
    • setTeamHeader

      public void setTeamHeader(TeamHeaders value)
      Overwrites the associated TeamHeaders entity for the loaded navigation property _TeamHeader.
      Parameters:
      value - New TeamHeaders entity.
    • getTeamMemberFunctionsIfPresent

      @Nonnull public io.vavr.control.Option<List<TeamMemberFunctions>> getTeamMemberFunctionsIfPresent()
      Retrieval of associated TeamMemberFunctions entities (one to many). This corresponds to the OData navigation property _TeamMemberFunctions.

      If the navigation property for an entity TeamMembers 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 _TeamMemberFunctions is already loaded, the result will contain the TeamMemberFunctions entities. If not, an Option with result state empty is returned.
    • setTeamMemberFunctions

      public void setTeamMemberFunctions(@Nonnull List<TeamMemberFunctions> value)
      Overwrites the list of associated TeamMemberFunctions entities for the loaded navigation property _TeamMemberFunctions.

      If the navigation property _TeamMemberFunctions of a queried TeamMembers 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 TeamMemberFunctions entities.
    • addTeamMemberFunctions

      public void addTeamMemberFunctions(TeamMemberFunctions... entity)
      Adds elements to the list of associated TeamMemberFunctions entities. This corresponds to the OData navigation property _TeamMemberFunctions.

      If the navigation property _TeamMemberFunctions of a queried TeamMembers 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 TeamMemberFunctions entities.
    • builder

      @Nonnull public static TeamMembers.TeamMembersBuilder builder()
    • getRespyMgmtGlobalTeamID

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

      Original property name from the Odata EDM: RespyMgmtGlobalTeamID

      Returns:
      Global Team ID in Responsibility Mgmt.
    • getRespyMgmtTeamMemberType

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

      Original property name from the Odata EDM: RespyMgmtTeamMemberType

      Returns:
      Team Member Type
    • getResponsibilityTeamMember

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

      Original property name from the Odata EDM: ResponsibilityTeamMember

      Returns:
      Business Partner Number
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<TeamMembers>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<TeamMembers>