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

public class TeamCategoryFunctions extends VdmEntity<TeamCategoryFunctions> implements VdmEntitySet
Team Category Functions

Original entity name from the Odata EDM: TeamCategoryFunctionsType

  • Field Details

  • Constructor Details

    • TeamCategoryFunctions

      public TeamCategoryFunctions()
    • TeamCategoryFunctions

      public TeamCategoryFunctions(@Nullable String respyMgmtTeamCategory, @Nullable String respyMgmtFunction, List<TeamCategoryFunctionTexts> to_FunctionTexts, @Nullable TeamCategories to_TeamCategory)
  • Method Details

    • getType

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

      public void setRespyMgmtFunction(@Nullable String respyMgmtFunction)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RespyMgmtFunction

      Parameters:
      respyMgmtFunction - Function
    • getEntityCollection

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

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

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

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

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

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

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

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

      public void setFunctionTexts(@Nonnull List<TeamCategoryFunctionTexts> value)
      Overwrites the list of associated TeamCategoryFunctionTexts entities for the loaded navigation property _FunctionTexts.

      If the navigation property _FunctionTexts of a queried TeamCategoryFunctions 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 TeamCategoryFunctionTexts entities.
    • addFunctionTexts

      public void addFunctionTexts(TeamCategoryFunctionTexts... entity)
      Adds elements to the list of associated TeamCategoryFunctionTexts entities. This corresponds to the OData navigation property _FunctionTexts.

      If the navigation property _FunctionTexts of a queried TeamCategoryFunctions 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 TeamCategoryFunctionTexts entities.
    • getTeamCategoryIfPresent

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

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

      public void setTeamCategory(TeamCategories value)
      Overwrites the associated TeamCategories entity for the loaded navigation property _TeamCategory.
      Parameters:
      value - New TeamCategories entity.
    • builder

      @Nonnull public static TeamCategoryFunctions.TeamCategoryFunctionsBuilder 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
    • getRespyMgmtFunction

      @Nullable public String getRespyMgmtFunction()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RespyMgmtFunction

      Returns:
      Function
    • toString

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

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

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

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

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