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

public class RespyMTeamCatRespyAttrib extends VdmEntity<RespyMTeamCatRespyAttrib> implements VdmEntitySet
Team Category Responsibility Attributes

Original entity name from the Odata EDM: RespyMTeamCatRespyAttrib_Type

  • Field Details

  • Constructor Details

    • RespyMTeamCatRespyAttrib

      public RespyMTeamCatRespyAttrib()
    • RespyMTeamCatRespyAttrib

      public RespyMTeamCatRespyAttrib(@Nullable String respyMgmtTeamCategory, @Nullable String respyMgmtAttributeName, List<RespyTeamCategoryAttribTxt> to_ResponsibilityAttributeTexts, @Nullable RespyMgmtTeamCategory to_TeamCategory)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: RespyMgmtAttributeName

      Parameters:
      respyMgmtAttributeName - Responsibility Definition Name
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity RespyMTeamCatRespyAttrib 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 _ResponsibilityAttributeTexts is already loaded, the result will contain the RespyTeamCategoryAttribTxt entities. If not, an Option with result state empty is returned.
    • setResponsibilityAttributeTexts

      public void setResponsibilityAttributeTexts(@Nonnull List<RespyTeamCategoryAttribTxt> value)
      Overwrites the list of associated RespyTeamCategoryAttribTxt entities for the loaded navigation property _ResponsibilityAttributeTexts.

      If the navigation property _ResponsibilityAttributeTexts of a queried RespyMTeamCatRespyAttrib 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 RespyTeamCategoryAttribTxt entities.
    • addResponsibilityAttributeTexts

      public void addResponsibilityAttributeTexts(RespyTeamCategoryAttribTxt... entity)
      Adds elements to the list of associated RespyTeamCategoryAttribTxt entities. This corresponds to the OData navigation property _ResponsibilityAttributeTexts.

      If the navigation property _ResponsibilityAttributeTexts of a queried RespyMTeamCatRespyAttrib 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 RespyTeamCategoryAttribTxt entities.
    • getTeamCategoryIfPresent

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

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

      public void setTeamCategory(RespyMgmtTeamCategory value)
      Overwrites the associated RespyMgmtTeamCategory entity for the loaded navigation property _TeamCategory.
      Parameters:
      value - New RespyMgmtTeamCategory entity.
    • 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
    • getRespyMgmtAttributeName

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

      Original property name from the Odata EDM: RespyMgmtAttributeName

      Returns:
      Responsibility Definition Name
    • toString

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

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

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

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

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