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

public class SourcingProjectItemNote extends VdmEntity<SourcingProjectItemNote> implements VdmEntitySet
Note for Item

Original entity name from the Odata EDM: SourcingProjectItemNoteType

  • Field Details

  • Constructor Details

    • SourcingProjectItemNote

      public SourcingProjectItemNote()
    • SourcingProjectItemNote

      public SourcingProjectItemNote(@Nullable UUID noteBasicUUID, @Nullable UUID sourcingProjectItemUUID, @Nullable String noteBasicType, @Nullable String noteBasicLanguage, @Nullable String noteBasicTitle, @Nullable String noteBasicMimeType, @Nullable String noteBasicCreatedByUser, @Nullable OffsetDateTime noteBasicCreationDateTime, @Nullable String noteBasicChangedByUser, @Nullable OffsetDateTime noteBasicChangeDateTime, @Nullable String noteBasicContent, @Nullable UUID sourcingProjectUUID, @Nullable Boolean srcPrjItemNoteTypeIsInternal, @Nullable SourcingProject to_SourcingProject, @Nullable SourcingProjectItem to_SourcingProjectItem)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: NoteBasicUUID

      Parameters:
      noteBasicUUID - Note ID
    • setSourcingProjectItemUUID

      public void setSourcingProjectItemUUID(@Nullable UUID sourcingProjectItemUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectItemUUID

      Parameters:
      sourcingProjectItemUUID - The sourcingProjectItemUUID to set.
    • 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
    • setNoteBasicLanguage

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

      Original property name from the Odata EDM: NoteBasicLanguage

      Parameters:
      noteBasicLanguage - Language
    • 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
    • setSourcingProjectUUID

      public void setSourcingProjectUUID(@Nullable UUID sourcingProjectUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSrcPrjItemNoteTypeIsInternal

      public void setSrcPrjItemNoteTypeIsInternal(@Nullable Boolean srcPrjItemNoteTypeIsInternal)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcPrjItemNoteTypeIsInternal

      Parameters:
      srcPrjItemNoteTypeIsInternal - Note Type Is Internal
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SourcingProjectItemNote 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 _SourcingProject is already loaded, the result will contain the SourcingProject entity. If not, an Option with result state empty is returned.
    • setSourcingProject

      public void setSourcingProject(SourcingProject value)
      Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.
      Parameters:
      value - New SourcingProject entity.
    • getSourcingProjectItemIfPresent

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

      If the navigation property for an entity SourcingProjectItemNote 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 _SourcingProjectItem is already loaded, the result will contain the SourcingProjectItem entity. If not, an Option with result state empty is returned.
    • setSourcingProjectItem

      public void setSourcingProjectItem(SourcingProjectItem value)
      Overwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.
      Parameters:
      value - New SourcingProjectItem entity.
    • builder

    • getNoteBasicUUID

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

      Original property name from the Odata EDM: NoteBasicUUID

      Returns:
      Note ID
    • getSourcingProjectItemUUID

      @Nullable public UUID getSourcingProjectItemUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectItemUUID

      Returns:
      The sourcingProjectItemUUID contained in this VdmEntity.
    • getNoteBasicType

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

      Original property name from the Odata EDM: NoteBasicType

      Returns:
      Name of Note Type
    • getNoteBasicLanguage

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

      Original property name from the Odata EDM: NoteBasicLanguage

      Returns:
      Language
    • 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
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSrcPrjItemNoteTypeIsInternal

      @Nullable public Boolean getSrcPrjItemNoteTypeIsInternal()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcPrjItemNoteTypeIsInternal

      Returns:
      Note Type Is Internal
    • toString

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

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

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

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

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