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

public class SrcgProjQtnNote extends VdmEntity<SrcgProjQtnNote> implements VdmEntitySet
Note

Original entity name from the Odata EDM: SrcgProjQtnNote_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnNote

      public SrcgProjQtnNote()
    • SrcgProjQtnNote

      public SrcgProjQtnNote(@Nullable UUID noteBasicUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String noteBasicLanguage, @Nullable String noteBasicType, @Nullable String noteBasicTitle, @Nullable String noteBasicMimeType, @Nullable String noteBasicCreatedByUser, @Nullable OffsetDateTime noteBasicCreationDateTime, @Nullable String noteBasicChangedByUser, @Nullable OffsetDateTime noteBasicChangeDateTime, @Nullable String noteBasicContent, @Nullable Boolean srcgProjQtnNoteTypeIsInternal, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation)
  • Method Details

    • getType

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

      public void setNoteBasicUUID(@Nullable UUID noteBasicUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: NoteBasicUUID

      Parameters:
      noteBasicUUID - Note ID
    • setSourcingProjectQuotationUUID

      public void setSourcingProjectQuotationUUID(@Nullable UUID sourcingProjectQuotationUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Parameters:
      sourcingProjectQuotationUUID - Supplier Quotation UUID
    • setNoteBasicLanguage

      public void setNoteBasicLanguage(@Nullable String noteBasicLanguage)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: NoteBasicLanguage

      Parameters:
      noteBasicLanguage - Language
    • setNoteBasicType

      public void setNoteBasicType(@Nullable String noteBasicType)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: NoteBasicType

      Parameters:
      noteBasicType - Name of Note Type
    • setNoteBasicTitle

      public void setNoteBasicTitle(@Nullable String noteBasicTitle)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: NoteBasicTitle

      Parameters:
      noteBasicTitle - Title
    • setNoteBasicMimeType

      public void setNoteBasicMimeType(@Nullable String noteBasicMimeType)
      Constraints: Not nullable, Maximum length: 127

      Original property name from the Odata EDM: NoteBasicMimeType

      Parameters:
      noteBasicMimeType - MIME Type
    • setNoteBasicCreatedByUser

      public void setNoteBasicCreatedByUser(@Nullable String noteBasicCreatedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: NoteBasicCreatedByUser

      Parameters:
      noteBasicCreatedByUser - Created By
    • setNoteBasicCreationDateTime

      public void setNoteBasicCreationDateTime(@Nullable OffsetDateTime noteBasicCreationDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: NoteBasicCreationDateTime

      Parameters:
      noteBasicCreationDateTime - Created At
    • setNoteBasicChangedByUser

      public void setNoteBasicChangedByUser(@Nullable String noteBasicChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: NoteBasicChangedByUser

      Parameters:
      noteBasicChangedByUser - Last Changed By
    • setNoteBasicChangeDateTime

      public void setNoteBasicChangeDateTime(@Nullable OffsetDateTime noteBasicChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: NoteBasicChangeDateTime

      Parameters:
      noteBasicChangeDateTime - Last Changed At
    • setNoteBasicContent

      public void setNoteBasicContent(@Nullable String noteBasicContent)
      Constraints: Not nullable

      Original property name from the Odata EDM: NoteBasicContent

      Parameters:
      noteBasicContent - Content of note
    • setSrcgProjQtnNoteTypeIsInternal

      public void setSrcgProjQtnNoteTypeIsInternal(@Nullable Boolean srcgProjQtnNoteTypeIsInternal)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnNoteTypeIsInternal

      Parameters:
      srcgProjQtnNoteTypeIsInternal - Note Type Is Internal
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjQtnNote 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 _SourcingProjectQuotation is already loaded, the result will contain the SourcingProjectQuotation entity. If not, an Option with result state empty is returned.
    • setSourcingProjectQuotation

      public void setSourcingProjectQuotation(SourcingProjectQuotation value)
      Overwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.
      Parameters:
      value - New SourcingProjectQuotation entity.
    • builder

      @Nonnull public static SrcgProjQtnNote.SrcgProjQtnNoteBuilder builder()
    • getNoteBasicUUID

      @Nullable public UUID getNoteBasicUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: NoteBasicUUID

      Returns:
      Note ID
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      Supplier Quotation UUID
    • getNoteBasicLanguage

      @Nullable public String getNoteBasicLanguage()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: NoteBasicLanguage

      Returns:
      Language
    • getNoteBasicType

      @Nullable public String getNoteBasicType()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: NoteBasicType

      Returns:
      Name of Note Type
    • getNoteBasicTitle

      @Nullable public String getNoteBasicTitle()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: NoteBasicTitle

      Returns:
      Title
    • getNoteBasicMimeType

      @Nullable public String getNoteBasicMimeType()
      Constraints: Not nullable, Maximum length: 127

      Original property name from the Odata EDM: NoteBasicMimeType

      Returns:
      MIME Type
    • getNoteBasicCreatedByUser

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

      Original property name from the Odata EDM: NoteBasicCreatedByUser

      Returns:
      Created By
    • getNoteBasicCreationDateTime

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

      Original property name from the Odata EDM: NoteBasicCreationDateTime

      Returns:
      Created At
    • getNoteBasicChangedByUser

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

      Original property name from the Odata EDM: NoteBasicChangedByUser

      Returns:
      Last Changed By
    • getNoteBasicChangeDateTime

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

      Original property name from the Odata EDM: NoteBasicChangeDateTime

      Returns:
      Last Changed At
    • getNoteBasicContent

      @Nullable public String getNoteBasicContent()
      Constraints: Not nullable

      Original property name from the Odata EDM: NoteBasicContent

      Returns:
      Content of note
    • getSrcgProjQtnNoteTypeIsInternal

      @Nullable public Boolean getSrcgProjQtnNoteTypeIsInternal()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnNoteTypeIsInternal

      Returns:
      Note Type Is Internal
    • toString

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

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

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

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

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