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

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

Original entity name from the Odata EDM: RespyMgmtTeamMember_Type

  • Field Details

  • Constructor Details

    • RespyMgmtTeamMember

      public RespyMgmtTeamMember()
    • RespyMgmtTeamMember

      public RespyMgmtTeamMember(@Nullable String respyMgmtGlobalTeamID, @Nullable String respyMgmtTeamMemberType, @Nullable String responsibilityTeamMember, @Nullable RespyMgmtTeamHeader to_TeamHeader, List<RespyMTeamMemberFunction> to_TeamMemberFunctions)
  • Method Details

    • getType

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

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

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

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

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

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

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

      If the navigation property for an entity RespyMgmtTeamMember 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 RespyMgmtTeamHeader entity. If not, an Option with result state empty is returned.
    • setTeamHeader

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

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

      If the navigation property for an entity RespyMgmtTeamMember 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 RespyMTeamMemberFunction entities. If not, an Option with result state empty is returned.
    • setTeamMemberFunctions

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

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

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

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

      @Nonnull public static RespyMgmtTeamMember.RespyMgmtTeamMemberBuilder 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<RespyMgmtTeamMember>
    • equals

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

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

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

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