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

public class TeamTypes extends VdmEntity<TeamTypes> implements VdmEntitySet
Team Types

Original entity name from the Odata EDM: TeamTypesType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setRespyMgmtTeamType(@Nullable String respyMgmtTeamType)
      (Key Field) 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<TeamTypes>
    • getKey

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<TeamTypes>
    • 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 TeamTypes 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.
    • getTeamTypeFunctionsIfPresent

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

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

      public void setTeamTypeFunctions(@Nonnull List<TeamTypeFunctions> value)
      Overwrites the list of associated TeamTypeFunctions entities for the loaded navigation property _TeamTypeFunctions.

      If the navigation property _TeamTypeFunctions of a queried TeamTypes 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 TeamTypeFunctions entities.
    • addTeamTypeFunctions

      public void addTeamTypeFunctions(TeamTypeFunctions... entity)
      Adds elements to the list of associated TeamTypeFunctions entities. This corresponds to the OData navigation property _TeamTypeFunctions.

      If the navigation property _TeamTypeFunctions of a queried TeamTypes 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 TeamTypeFunctions entities.
    • getTeamTypeRespyAttributesIfPresent

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

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

      public void setTeamTypeRespyAttributes(@Nonnull List<TeamTypeRespyAttributes> value)
      Overwrites the list of associated TeamTypeRespyAttributes entities for the loaded navigation property _TeamTypeRespyAttributes.

      If the navigation property _TeamTypeRespyAttributes of a queried TeamTypes 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 TeamTypeRespyAttributes entities.
    • addTeamTypeRespyAttributes

      public void addTeamTypeRespyAttributes(TeamTypeRespyAttributes... entity)
      Adds elements to the list of associated TeamTypeRespyAttributes entities. This corresponds to the OData navigation property _TeamTypeRespyAttributes.

      If the navigation property _TeamTypeRespyAttributes of a queried TeamTypes 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 TeamTypeRespyAttributes entities.
    • getTeamTypeTextsIfPresent

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

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

      public void setTeamTypeTexts(@Nonnull List<TeamTypeTexts> value)
      Overwrites the list of associated TeamTypeTexts entities for the loaded navigation property _TeamTypeTexts.

      If the navigation property _TeamTypeTexts of a queried TeamTypes 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 TeamTypeTexts entities.
    • addTeamTypeTexts

      public void addTeamTypeTexts(TeamTypeTexts... entity)
      Adds elements to the list of associated TeamTypeTexts entities. This corresponds to the OData navigation property _TeamTypeTexts.

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

      @Nonnull public static TeamTypes.TeamTypesBuilder builder()
    • getRespyMgmtTeamType

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

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

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

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

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