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

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

Original entity name from the Odata EDM: RespyMgmtTeamHeader_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      Original property name from the Odata EDM: RespyMgmtTeamType

      Parameters:
      respyMgmtTeamType - Team Type
    • setRespyMgmtTeamCategory

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

      Original property name from the Odata EDM: RespyMgmtTeamCategory

      Parameters:
      respyMgmtTeamCategory - Team Category
    • getEntityCollection

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      If the navigation property _TeamOwners of a queried RespyMgmtTeamHeader 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 RespyMgmtTeamOwner 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 RespyMgmtTeamHeader 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 RespyMgmtTeamHeader 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 RespyMgmtTeamHeader 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<RespyMgmtTeamType> getTeamTypeIfPresent()
      Retrieval of associated RespyMgmtTeamType entity (one to one). This corresponds to the OData navigation property _TeamType.

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

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

      @Nonnull public static RespyMgmtTeamHeader.RespyMgmtTeamHeaderBuilder 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: 30

      Original property name from the Odata EDM: RespyMgmtTeamType

      Returns:
      Team Type
    • getRespyMgmtTeamCategory

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

      Original property name from the Odata EDM: RespyMgmtTeamCategory

      Returns:
      Team Category
    • toString

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

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

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

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

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