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

public class VarCnfHistlObjectDependency extends VdmEntity<VarCnfHistlObjectDependency> implements VdmEntitySet
Historical Dependencies

Original entity name from the Odata EDM: VarCnfHistlObjectDependency_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setChangeNumber(@Nullable String changeNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Parameters:
      changeNumber - Change Number
    • setObjectDependencyStatus

      public void setObjectDependencyStatus(@Nullable String objectDependencyStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ObjectDependencyStatus

      Parameters:
      objectDependencyStatus - Dependency status
    • setObjectDependencyStatusName

      public void setObjectDependencyStatusName(@Nullable String objectDependencyStatusName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ObjectDependencyStatusName

      Parameters:
      objectDependencyStatusName - Object Dependency Status Name
    • setObjectDependencyGroup

      public void setObjectDependencyGroup(@Nullable String objectDependencyGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ObjectDependencyGroup

      Parameters:
      objectDependencyGroup - Dependency Group
    • setObjectDependencyGroupName

      public void setObjectDependencyGroupName(@Nullable String objectDependencyGroupName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ObjectDependencyGroupName

      Parameters:
      objectDependencyGroupName - Object Dependency Group Name
    • setObjectDependencyType

      public void setObjectDependencyType(@Nullable String objectDependencyType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ObjectDependencyType

      Parameters:
      objectDependencyType - Dependency Type
    • setCreationDate

      public void setCreationDate(@Nullable LocalDate creationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Creation Date
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Person Who Created Dependency
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDate lastChangeDate)
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Date of Last Change
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Last Changed By
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDate validityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-From Date
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDate validityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Valid-to date
    • setIsDeleted

      public void setIsDeleted(@Nullable Boolean isDeleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - Deletion Indicator
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<VarCnfHistlObjectDependency>
    • 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 VarCnfHistlObjectDependency 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 VarCnfHistlObjectDependency 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 VarCnfHistlObjectDependency 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 VarCnfHistlObjectDependency 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.
    • getSourceCodeIfPresent

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

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

      public void setSourceCode(VarCnfObjDependencySourceCode value)
      Overwrites the associated VarCnfObjDependencySourceCode entity for the loaded navigation property _SourceCode.
      Parameters:
      value - New VarCnfObjDependencySourceCode 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
    • getChangeNumber

      @Nullable public String getChangeNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      Change Number
    • getObjectDependencyStatus

      @Nullable public String getObjectDependencyStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ObjectDependencyStatus

      Returns:
      Dependency status
    • getObjectDependencyStatusName

      @Nullable public String getObjectDependencyStatusName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ObjectDependencyStatusName

      Returns:
      Object Dependency Status Name
    • getObjectDependencyGroup

      @Nullable public String getObjectDependencyGroup()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ObjectDependencyGroup

      Returns:
      Dependency Group
    • getObjectDependencyGroupName

      @Nullable public String getObjectDependencyGroupName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ObjectDependencyGroupName

      Returns:
      Object Dependency Group Name
    • getObjectDependencyType

      @Nullable public String getObjectDependencyType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ObjectDependencyType

      Returns:
      Dependency Type
    • getCreationDate

      @Nullable public LocalDate getCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Returns:
      Creation Date
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Person Who Created Dependency
    • getLastChangeDate

      @Nullable public LocalDate getLastChangeDate()
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Date of Last Change
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Last Changed By
    • getValidityStartDate

      @Nullable public LocalDate getValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-From Date
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Valid-to date
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Returns:
      Deletion Indicator
    • toString

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

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

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

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

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