Class VarCnfObjDpndcySourceCodeLine

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

public class VarCnfObjDpndcySourceCodeLine extends VdmEntity<VarCnfObjDpndcySourceCodeLine> implements VdmEntitySet
Dependency Source Code Lines

Original entity name from the Odata EDM: VarCnfObjDpndcySourceCodeLine_Type

  • Field Details

  • Constructor Details

    • VarCnfObjDpndcySourceCodeLine

      public VarCnfObjDpndcySourceCodeLine()
    • VarCnfObjDpndcySourceCodeLine

      public VarCnfObjDpndcySourceCodeLine(@Nullable String objectDependencyName, @Nullable String changeNumber, @Nullable Short objectDependencyCodeLineNumber, @Nullable String objectDependencyCodeLineText, @Nullable VarConfignObjectDependency to_ObjectDependency, @Nullable VarCnfObjDependencySourceCode to_SourceCode)
  • Method Details

    • getType

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

      public void setObjectDependencyCodeLineNumber(@Nullable Short objectDependencyCodeLineNumber)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ObjectDependencyCodeLineNumber

      Parameters:
      objectDependencyCodeLineNumber - Object Dependency Source Code Line Number
    • setObjectDependencyCodeLineText

      public void setObjectDependencyCodeLineText(@Nullable String objectDependencyCodeLineText)
      Constraints: Not nullable, Maximum length: 72

      Original property name from the Odata EDM: ObjectDependencyCodeLineText

      Parameters:
      objectDependencyCodeLineText - Object Dependency Source Code Line Text
    • getEntityCollection

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

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

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

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

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

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

      @Nullable public Short getObjectDependencyCodeLineNumber()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ObjectDependencyCodeLineNumber

      Returns:
      Object Dependency Source Code Line Number
    • getObjectDependencyCodeLineText

      @Nullable public String getObjectDependencyCodeLineText()
      Constraints: Not nullable, Maximum length: 72

      Original property name from the Odata EDM: ObjectDependencyCodeLineText

      Returns:
      Object Dependency Source Code Line Text
    • toString

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

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

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

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

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