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

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

Original entity name from the Odata EDM: RespyMgmtTeamOwner_Type

  • Field Details

  • Constructor Details

    • RespyMgmtTeamOwner

      public RespyMgmtTeamOwner()
    • RespyMgmtTeamOwner

      public RespyMgmtTeamOwner(@Nullable String respyMgmtGlobalTeamID, @Nullable String respyMgmtTeamOwnerType, @Nullable String responsibilityTeamOwner, @Nullable RespyMgmtTeamHeader to_TeamHeader)
  • Method Details

    • getType

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

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

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

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

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

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

      @Nonnull public static RespyMgmtTeamOwner.RespyMgmtTeamOwnerBuilder 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<RespyMgmtTeamOwner>
    • equals

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

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

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

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