Class DefectDetailedDescription

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

public class DefectDetailedDescription extends VdmEntity<DefectDetailedDescription> implements VdmEntitySet
Defect Detailed Description - Text

Original entity name from the Odata EDM: DefectDetailedDescription_Type

  • Field Details

  • Constructor Details

    • DefectDetailedDescription

      public DefectDetailedDescription()
    • DefectDetailedDescription

      public DefectDetailedDescription(@Nullable String defectInternalID, @Nullable Short longTextInternalNumber, @Nullable String language, @Nullable String defectLongText, @Nullable String longTextCreatedByUser, @Nullable OffsetDateTime longTextCreatedAt, @Nullable String longTextLastChangedByUser, @Nullable OffsetDateTime longTextLastChangedAt, @Nullable Defect to_Defect)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: DefectInternalID

      Parameters:
      defectInternalID - Internal Defect ID
    • setLongTextInternalNumber

      public void setLongTextInternalNumber(@Nullable Short longTextInternalNumber)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LongTextInternalNumber

      Parameters:
      longTextInternalNumber - Long Text Counter
    • setLanguage

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

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setDefectLongText

      public void setDefectLongText(@Nullable String defectLongText)
      Constraints: Not nullable

      Original property name from the Odata EDM: DefectLongText

      Parameters:
      defectLongText - Long Text
    • setLongTextCreatedByUser

      public void setLongTextCreatedByUser(@Nullable String longTextCreatedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LongTextCreatedByUser

      Parameters:
      longTextCreatedByUser - Name of Person Responsible for Creating the Object
    • setLongTextCreatedAt

      public void setLongTextCreatedAt(@Nullable OffsetDateTime longTextCreatedAt)
      Constraints: Nullable

      Original property name from the Odata EDM: LongTextCreatedAt

      Parameters:
      longTextCreatedAt - Long Text Created On as Timestamp in UTC
    • setLongTextLastChangedByUser

      public void setLongTextLastChangedByUser(@Nullable String longTextLastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LongTextLastChangedByUser

      Parameters:
      longTextLastChangedByUser - Name of Person Who Changed Object
    • setLongTextLastChangedAt

      public void setLongTextLastChangedAt(@Nullable OffsetDateTime longTextLastChangedAt)
      Constraints: Nullable

      Original property name from the Odata EDM: LongTextLastChangedAt

      Parameters:
      longTextLastChangedAt - Long Text Changed On as Timestamp in UTC
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity DefectDetailedDescription 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 _Defect is already loaded, the result will contain the Defect entity. If not, an Option with result state empty is returned.
    • setDefect

      public void setDefect(Defect value)
      Overwrites the associated Defect entity for the loaded navigation property _Defect.
      Parameters:
      value - New Defect entity.
    • builder

    • getDefectInternalID

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

      Original property name from the Odata EDM: DefectInternalID

      Returns:
      Internal Defect ID
    • getLongTextInternalNumber

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

      Original property name from the Odata EDM: LongTextInternalNumber

      Returns:
      Long Text Counter
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getDefectLongText

      @Nullable public String getDefectLongText()
      Constraints: Not nullable

      Original property name from the Odata EDM: DefectLongText

      Returns:
      Long Text
    • getLongTextCreatedByUser

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

      Original property name from the Odata EDM: LongTextCreatedByUser

      Returns:
      Name of Person Responsible for Creating the Object
    • getLongTextCreatedAt

      @Nullable public OffsetDateTime getLongTextCreatedAt()
      Constraints: Nullable

      Original property name from the Odata EDM: LongTextCreatedAt

      Returns:
      Long Text Created On as Timestamp in UTC
    • getLongTextLastChangedByUser

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

      Original property name from the Odata EDM: LongTextLastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • getLongTextLastChangedAt

      @Nullable public OffsetDateTime getLongTextLastChangedAt()
      Constraints: Nullable

      Original property name from the Odata EDM: LongTextLastChangedAt

      Returns:
      Long Text Changed On as Timestamp in UTC
    • toString

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

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

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

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

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