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

public class RespyMgmtTeamTypeFunction extends VdmEntity<RespyMgmtTeamTypeFunction> implements VdmEntitySet
Team Type Functions

Original entity name from the Odata EDM: RespyMgmtTeamTypeFunction_Type

  • Field Details

  • Constructor Details

    • RespyMgmtTeamTypeFunction

      public RespyMgmtTeamTypeFunction()
    • RespyMgmtTeamTypeFunction

      public RespyMgmtTeamTypeFunction(@Nullable String respyMgmtTeamType, @Nullable String respyMgmtFunction, @Nullable String respyMgmtTeamCategory, List<RespyMTeamTypeFunctionText> to_FunctionTexts, @Nullable RespyMgmtTeamType to_TeamType)
  • Method Details

    • getType

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

      public void setRespyMgmtTeamType(@Nullable String respyMgmtTeamType)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: RespyMgmtTeamType

      Parameters:
      respyMgmtTeamType - Team Type
    • 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
    • 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<RespyMgmtTeamTypeFunction>
    • getKey

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

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

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

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

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

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

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

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

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

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

      If the navigation property _FunctionTexts of a queried RespyMgmtTeamTypeFunction 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 RespyMTeamTypeFunctionText 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 RespyMgmtTeamTypeFunction 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

    • getRespyMgmtTeamType

      @Nullable public String getRespyMgmtTeamType()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: RespyMgmtTeamType

      Returns:
      Team Type
    • getRespyMgmtFunction

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

      Original property name from the Odata EDM: RespyMgmtFunction

      Returns:
      Function
    • 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<RespyMgmtTeamTypeFunction>
    • equals

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

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

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

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