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

public class TeamHeaders extends VdmEntity<TeamHeaders> implements VdmEntitySet
Team Headers

Original entity name from the Odata EDM: TeamHeadersType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setRespyMgmtTeamName(@Nullable String respyMgmtTeamName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtTeamName

      Parameters:
      respyMgmtTeamName - Name
    • setRespyMgmtTeamStatus

      public void setRespyMgmtTeamStatus(@Nullable String respyMgmtTeamStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RespyMgmtTeamStatus

      Parameters:
      respyMgmtTeamStatus - Team Status
    • setRespyMgmtTeamType

      public void setRespyMgmtTeamType(@Nullable String respyMgmtTeamType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RespyMgmtTeamType

      Parameters:
      respyMgmtTeamType - Team Type
    • setRespyMgmtTeamCategory

      public void setRespyMgmtTeamCategory(@Nullable String respyMgmtTeamCategory)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RespyMgmtTeamCategory

      Parameters:
      respyMgmtTeamCategory - Team Category
    • getEntityCollection

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

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

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

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

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

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

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

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

      public void setTeamAttributes(@Nonnull List<TeamAttributes> value)
      Overwrites the list of associated TeamAttributes entities for the loaded navigation property _TeamAttributes.

      If the navigation property _TeamAttributes of a queried TeamHeaders 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 TeamAttributes entities.
    • addTeamAttributes

      public void addTeamAttributes(TeamAttributes... entity)
      Adds elements to the list of associated TeamAttributes entities. This corresponds to the OData navigation property _TeamAttributes.

      If the navigation property _TeamAttributes of a queried TeamHeaders 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 TeamAttributes entities.
    • getTeamMembersIfPresent

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

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

      public void setTeamMembers(@Nonnull List<TeamMembers> value)
      Overwrites the list of associated TeamMembers entities for the loaded navigation property _TeamMembers.

      If the navigation property _TeamMembers of a queried TeamHeaders 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 TeamMembers entities.
    • addTeamMembers

      public void addTeamMembers(TeamMembers... entity)
      Adds elements to the list of associated TeamMembers entities. This corresponds to the OData navigation property _TeamMembers.

      If the navigation property _TeamMembers of a queried TeamHeaders 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 TeamMembers entities.
    • getTeamOwnersIfPresent

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

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

      public void setTeamOwners(@Nonnull List<TeamOwners> value)
      Overwrites the list of associated TeamOwners entities for the loaded navigation property _TeamOwners.

      If the navigation property _TeamOwners of a queried TeamHeaders 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 TeamOwners entities.
    • addTeamOwners

      public void addTeamOwners(TeamOwners... entity)
      Adds elements to the list of associated TeamOwners entities. This corresponds to the OData navigation property _TeamOwners.

      If the navigation property _TeamOwners of a queried TeamHeaders 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 TeamOwners entities.
    • getTeamStatusTextsIfPresent

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

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

      public void setTeamStatusTexts(@Nonnull List<TeamStatusTexts> value)
      Overwrites the list of associated TeamStatusTexts entities for the loaded navigation property _TeamStatusTexts.

      If the navigation property _TeamStatusTexts of a queried TeamHeaders 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 TeamStatusTexts entities.
    • addTeamStatusTexts

      public void addTeamStatusTexts(TeamStatusTexts... entity)
      Adds elements to the list of associated TeamStatusTexts entities. This corresponds to the OData navigation property _TeamStatusTexts.

      If the navigation property _TeamStatusTexts of a queried TeamHeaders 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 TeamStatusTexts entities.
    • getTeamTypeIfPresent

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

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

      public void setTeamType(TeamTypes value)
      Overwrites the associated TeamTypes entity for the loaded navigation property _TeamType.
      Parameters:
      value - New TeamTypes entity.
    • builder

      @Nonnull public static TeamHeaders.TeamHeadersBuilder 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.
    • getRespyMgmtTeamName

      @Nullable public String getRespyMgmtTeamName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtTeamName

      Returns:
      Name
    • getRespyMgmtTeamStatus

      @Nullable public String getRespyMgmtTeamStatus()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RespyMgmtTeamStatus

      Returns:
      Team Status
    • getRespyMgmtTeamType

      @Nullable public String getRespyMgmtTeamType()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RespyMgmtTeamType

      Returns:
      Team Type
    • getRespyMgmtTeamCategory

      @Nullable public String getRespyMgmtTeamCategory()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RespyMgmtTeamCategory

      Returns:
      Team Category
    • toString

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

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

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

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

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