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

public class EntProjElmntDlvbrlType extends VdmEntity<EntProjElmntDlvbrlType> implements VdmEntitySet
Deliverable Type

Original entity name from the Odata EDM: EntProjElmntDlvbrlType_Type

  • Field Details

  • Constructor Details

    • EntProjElmntDlvbrlType

      public EntProjElmntDlvbrlType()
    • EntProjElmntDlvbrlType

      public EntProjElmntDlvbrlType(@Nullable String entProjElmntDeliverableType, @Nullable String entProjElmntDlvbrlTypeText, List<EntProjElmntDlvbrlTypeText> to_DeliverableTypeText)
  • Method Details

    • getType

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

      public void setEntProjElmntDeliverableType(@Nullable String entProjElmntDeliverableType)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: EntProjElmntDeliverableType

      Parameters:
      entProjElmntDeliverableType - Type of a Project Element Deliverable
    • setEntProjElmntDlvbrlTypeText

      public void setEntProjElmntDlvbrlTypeText(@Nullable String entProjElmntDlvbrlTypeText)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: EntProjElmntDlvbrlTypeText

      Parameters:
      entProjElmntDlvbrlTypeText - General Name
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity EntProjElmntDlvbrlType 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 _DeliverableTypeText is already loaded, the result will contain the EntProjElmntDlvbrlTypeText entities. If not, an Option with result state empty is returned.
    • setDeliverableTypeText

      public void setDeliverableTypeText(@Nonnull List<EntProjElmntDlvbrlTypeText> value)
      Overwrites the list of associated EntProjElmntDlvbrlTypeText entities for the loaded navigation property _DeliverableTypeText.

      If the navigation property _DeliverableTypeText of a queried EntProjElmntDlvbrlType 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 EntProjElmntDlvbrlTypeText entities.
    • addDeliverableTypeText

      public void addDeliverableTypeText(EntProjElmntDlvbrlTypeText... entity)
      Adds elements to the list of associated EntProjElmntDlvbrlTypeText entities. This corresponds to the OData navigation property _DeliverableTypeText.

      If the navigation property _DeliverableTypeText of a queried EntProjElmntDlvbrlType 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 EntProjElmntDlvbrlTypeText entities.
    • builder

      @Nonnull public static EntProjElmntDlvbrlType.EntProjElmntDlvbrlTypeBuilder builder()
    • getEntProjElmntDeliverableType

      @Nullable public String getEntProjElmntDeliverableType()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: EntProjElmntDeliverableType

      Returns:
      Type of a Project Element Deliverable
    • getEntProjElmntDlvbrlTypeText

      @Nullable public String getEntProjElmntDlvbrlTypeText()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: EntProjElmntDlvbrlTypeText

      Returns:
      General Name
    • toString

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

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

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

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

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