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

public class VarCnfObjectDependencyText extends VdmEntity<VarCnfObjectDependencyText> implements VdmEntitySet
Object Dependency Texts

Original entity name from the Odata EDM: VarCnfObjectDependencyText_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ObjectDependencyName

      Parameters:
      objectDependencyName - Name of Dependency
    • setLanguageCode

      public void setLanguageCode(@Nullable String languageCode)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LanguageCode

      Parameters:
      languageCode - Language Key
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity VarCnfObjectDependencyText 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 _HistoricalText is already loaded, the result will contain the VarCnfHistlObjDependencyText entities. If not, an Option with result state empty is returned.
    • setHistoricalText

      public void setHistoricalText(@Nonnull List<VarCnfHistlObjDependencyText> value)
      Overwrites the list of associated VarCnfHistlObjDependencyText entities for the loaded navigation property _HistoricalText.

      If the navigation property _HistoricalText of a queried VarCnfObjectDependencyText 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 VarCnfHistlObjDependencyText entities.
    • addHistoricalText

      public void addHistoricalText(VarCnfHistlObjDependencyText... entity)
      Adds elements to the list of associated VarCnfHistlObjDependencyText entities. This corresponds to the OData navigation property _HistoricalText.

      If the navigation property _HistoricalText of a queried VarCnfObjectDependencyText 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 VarCnfHistlObjDependencyText entities.
    • getObjectDependencyIfPresent

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

      If the navigation property for an entity VarCnfObjectDependencyText 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 _ObjectDependency is already loaded, the result will contain the VarConfignObjectDependency entity. If not, an Option with result state empty is returned.
    • setObjectDependency

      public void setObjectDependency(VarConfignObjectDependency value)
      Overwrites the associated VarConfignObjectDependency entity for the loaded navigation property _ObjectDependency.
      Parameters:
      value - New VarConfignObjectDependency entity.
    • builder

    • getObjectDependencyName

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

      Original property name from the Odata EDM: ObjectDependencyName

      Returns:
      Name of Dependency
    • getLanguageCode

      @Nullable public String getLanguageCode()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LanguageCode

      Returns:
      Language Key
    • toString

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

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

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

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

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