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

public class TeamOwners extends VdmEntity<TeamOwners> implements VdmEntitySet
Team Owners

Original entity name from the Odata EDM: TeamOwnersType

  • Field Details

  • Constructor Details

    • TeamOwners

      public TeamOwners()
    • TeamOwners

      public TeamOwners(@Nullable String respyMgmtGlobalTeamID, @Nullable String respyMgmtTeamOwnerType, @Nullable String responsibilityTeamOwner, @Nullable TeamHeaders to_TeamHeader)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: RespyMgmtTeamOwnerType

      Parameters:
      respyMgmtTeamOwnerType - Team Owner Type
    • setResponsibilityTeamOwner

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

      Original property name from the Odata EDM: ResponsibilityTeamOwner

      Parameters:
      responsibilityTeamOwner - Business Partner Number
    • getEntityCollection

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

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

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

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

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

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

      @Nonnull public static TeamOwners.TeamOwnersBuilder 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.
    • getRespyMgmtTeamOwnerType

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

      Original property name from the Odata EDM: RespyMgmtTeamOwnerType

      Returns:
      Team Owner Type
    • getResponsibilityTeamOwner

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

      Original property name from the Odata EDM: ResponsibilityTeamOwner

      Returns:
      Business Partner Number
    • toString

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

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

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

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

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