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

public class VarConfignObjectDependency extends VdmEntity<VarConfignObjectDependency> implements VdmEntitySet
Object Dependencies

Original entity name from the Odata EDM: VarConfignObjectDependency_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setObjectDependencyIsLocal(@Nullable Boolean objectDependencyIsLocal)
      Constraints: Not nullable

      Original property name from the Odata EDM: ObjectDependencyIsLocal

      Parameters:
      objectDependencyIsLocal - Object Dependency Is Local
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Object Dependency Last Change Datetime
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

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

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

      public void setHistoricalObjectDependency(@Nonnull List<VarCnfHistlObjectDependency> value)
      Overwrites the list of associated VarCnfHistlObjectDependency entities for the loaded navigation property _HistoricalObjectDependency.

      If the navigation property _HistoricalObjectDependency of a queried VarConfignObjectDependency 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 VarCnfHistlObjectDependency entities.
    • addHistoricalObjectDependency

      public void addHistoricalObjectDependency(VarCnfHistlObjectDependency... entity)
      Adds elements to the list of associated VarCnfHistlObjectDependency entities. This corresponds to the OData navigation property _HistoricalObjectDependency.

      If the navigation property _HistoricalObjectDependency of a queried VarConfignObjectDependency 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 VarCnfHistlObjectDependency entities.
    • getSourceCodeIfPresent

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

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

      public void setSourceCode(@Nonnull List<VarCnfObjDependencySourceCode> value)
      Overwrites the list of associated VarCnfObjDependencySourceCode entities for the loaded navigation property _SourceCode.

      If the navigation property _SourceCode of a queried VarConfignObjectDependency 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 VarCnfObjDependencySourceCode entities.
    • addSourceCode

      public void addSourceCode(VarCnfObjDependencySourceCode... entity)
      Adds elements to the list of associated VarCnfObjDependencySourceCode entities. This corresponds to the OData navigation property _SourceCode.

      If the navigation property _SourceCode of a queried VarConfignObjectDependency 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 VarCnfObjDependencySourceCode entities.
    • getTextIfPresent

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

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

      public void setText(@Nonnull List<VarCnfObjectDependencyText> value)
      Overwrites the list of associated VarCnfObjectDependencyText entities for the loaded navigation property _Text.

      If the navigation property _Text of a queried VarConfignObjectDependency 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 VarCnfObjectDependencyText entities.
    • addText

      public void addText(VarCnfObjectDependencyText... entity)
      Adds elements to the list of associated VarCnfObjectDependencyText entities. This corresponds to the OData navigation property _Text.

      If the navigation property _Text of a queried VarConfignObjectDependency 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 VarCnfObjectDependencyText entities.
    • 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
    • getObjectDependencyIsLocal

      @Nullable public Boolean getObjectDependencyIsLocal()
      Constraints: Not nullable

      Original property name from the Odata EDM: ObjectDependencyIsLocal

      Returns:
      Object Dependency Is Local
    • getLastChangeDateTime

      @Nullable public OffsetDateTime getLastChangeDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Object Dependency Last Change Datetime
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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