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

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

Original entity name from the Odata EDM: RespyMgmtTeamCategory_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      @Nonnull public static RespyMgmtTeamCategory.RespyMgmtTeamCategoryBuilder builder()
    • getRespyMgmtTeamCategory

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

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

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

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

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