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

public class TeamCategories extends VdmEntity<TeamCategories> implements VdmEntitySet
Team Categories

Original entity name from the Odata EDM: TeamCategoriesType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<TeamCategories> getType()
      Specified by:
      getType in class VdmObject<TeamCategories>
    • setRespyMgmtTeamCategory

      public void setRespyMgmtTeamCategory(@Nullable String respyMgmtTeamCategory)
      (Key Field) 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<TeamCategories>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity TeamCategories 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 _TeamCategoryFunctions is already loaded, the result will contain the TeamCategoryFunctions entities. If not, an Option with result state empty is returned.
    • setTeamCategoryFunctions

      public void setTeamCategoryFunctions(@Nonnull List<TeamCategoryFunctions> value)
      Overwrites the list of associated TeamCategoryFunctions entities for the loaded navigation property _TeamCategoryFunctions.

      If the navigation property _TeamCategoryFunctions of a queried TeamCategories 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 TeamCategoryFunctions entities.
    • addTeamCategoryFunctions

      public void addTeamCategoryFunctions(TeamCategoryFunctions... entity)
      Adds elements to the list of associated TeamCategoryFunctions entities. This corresponds to the OData navigation property _TeamCategoryFunctions.

      If the navigation property _TeamCategoryFunctions of a queried TeamCategories 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 TeamCategoryFunctions entities.
    • getTeamCategoryRespyAttributesIfPresent

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

      If the navigation property for an entity TeamCategories 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 _TeamCategoryRespyAttributes is already loaded, the result will contain the TeamCategoryRespyAttributes entities. If not, an Option with result state empty is returned.
    • setTeamCategoryRespyAttributes

      public void setTeamCategoryRespyAttributes(@Nonnull List<TeamCategoryRespyAttributes> value)
      Overwrites the list of associated TeamCategoryRespyAttributes entities for the loaded navigation property _TeamCategoryRespyAttributes.

      If the navigation property _TeamCategoryRespyAttributes of a queried TeamCategories 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 TeamCategoryRespyAttributes entities.
    • addTeamCategoryRespyAttributes

      public void addTeamCategoryRespyAttributes(TeamCategoryRespyAttributes... entity)
      Adds elements to the list of associated TeamCategoryRespyAttributes entities. This corresponds to the OData navigation property _TeamCategoryRespyAttributes.

      If the navigation property _TeamCategoryRespyAttributes of a queried TeamCategories 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 TeamCategoryRespyAttributes entities.
    • getTeamCategoryTextsIfPresent

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

      If the navigation property for an entity TeamCategories 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 _TeamCategoryTexts is already loaded, the result will contain the TeamCategoryTexts entities. If not, an Option with result state empty is returned.
    • setTeamCategoryTexts

      public void setTeamCategoryTexts(@Nonnull List<TeamCategoryTexts> value)
      Overwrites the list of associated TeamCategoryTexts entities for the loaded navigation property _TeamCategoryTexts.

      If the navigation property _TeamCategoryTexts of a queried TeamCategories 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 TeamCategoryTexts entities.
    • addTeamCategoryTexts

      public void addTeamCategoryTexts(TeamCategoryTexts... entity)
      Adds elements to the list of associated TeamCategoryTexts entities. This corresponds to the OData navigation property _TeamCategoryTexts.

      If the navigation property _TeamCategoryTexts of a queried TeamCategories 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 TeamCategoryTexts entities.
    • getTeamTypesIfPresent

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

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

      public void setTeamTypes(@Nonnull List<TeamTypes> value)
      Overwrites the list of associated TeamTypes entities for the loaded navigation property _TeamTypes.

      If the navigation property _TeamTypes of a queried TeamCategories 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 TeamTypes entities.
    • addTeamTypes

      public void addTeamTypes(TeamTypes... entity)
      Adds elements to the list of associated TeamTypes entities. This corresponds to the OData navigation property _TeamTypes.

      If the navigation property _TeamTypes of a queried TeamCategories 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 TeamTypes entities.
    • builder

      @Nonnull public static TeamCategories.TeamCategoriesBuilder builder()
    • getRespyMgmtTeamCategory

      @Nullable public String getRespyMgmtTeamCategory()
      (Key Field) 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<TeamCategories>
    • equals

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

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

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

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