java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CntrlPurContractItemNotes>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.centralpurchasecontract.CntrlPurContractItemNotes

public class CntrlPurContractItemNotes extends VdmEntity<CntrlPurContractItemNotes>
Item Notes

Original entity name from the Odata EDM: A_CntrlPurContractItemNotesType

  • Field Details

    • ALL_FIELDS

      public static final CntrlPurContractItemNotesSelectable ALL_FIELDS
      Selector for all available fields of CntrlPurContractItemNotes.
    • PURCHASING_DOCUMENT_NOTE_OBJECT_ID

      public static final CntrlPurContractItemNotesField<String> PURCHASING_DOCUMENT_NOTE_OBJECT_ID
      Use with available fluent helpers to apply the PurchasingDocumentNoteObjectID field to query operations.
    • PURCHASING_DOCUMENT_NOTE_TYPE

      public static final CntrlPurContractItemNotesField<String> PURCHASING_DOCUMENT_NOTE_TYPE
      Use with available fluent helpers to apply the PurchasingDocumentNoteType field to query operations.
    • PURCHASING_DOCUMENT_NOTE_LANGUAGE

      public static final CntrlPurContractItemNotesField<String> PURCHASING_DOCUMENT_NOTE_LANGUAGE
      Use with available fluent helpers to apply the PurchasingDocumentNoteLanguage field to query operations.
    • CENTRAL_PURCHASE_CONTRACT

      public static final CntrlPurContractItemNotesField<String> CENTRAL_PURCHASE_CONTRACT
      Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.
    • PURG_DOC_NOTE_TEXT

      public static final CntrlPurContractItemNotesField<String> PURG_DOC_NOTE_TEXT
      Use with available fluent helpers to apply the PurgDocNoteText field to query operations.
    • PURCHASING_DOCUMENT_NOTE_TITLE

      public static final CntrlPurContractItemNotesField<String> PURCHASING_DOCUMENT_NOTE_TITLE
      Use with available fluent helpers to apply the PurchasingDocumentNoteTitle field to query operations.
  • Constructor Details

    • CntrlPurContractItemNotes

      public CntrlPurContractItemNotes()
    • CntrlPurContractItemNotes

      public CntrlPurContractItemNotes(@Nullable String purchasingDocumentNoteObjectID, @Nullable String purchasingDocumentNoteType, @Nullable String purchasingDocumentNoteLanguage, @Nullable String centralPurchaseContract, @Nullable String purgDocNoteText, @Nullable String purchasingDocumentNoteTitle)
  • Method Details

    • getType

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

      public void setPurchasingDocumentNoteObjectID(@Nullable String purchasingDocumentNoteObjectID)
      (Key Field) Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: PurchasingDocumentNoteObjectID

      Parameters:
      purchasingDocumentNoteObjectID - Application Object ID
    • setPurchasingDocumentNoteType

      public void setPurchasingDocumentNoteType(@Nullable String purchasingDocumentNoteType)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: PurchasingDocumentNoteType

      Parameters:
      purchasingDocumentNoteType - Name of Note Type
    • setPurchasingDocumentNoteLanguage

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

      Original property name from the Odata EDM: PurchasingDocumentNoteLanguage

      Parameters:
      purchasingDocumentNoteLanguage - Language
    • setCentralPurchaseContract

      public void setCentralPurchaseContract(@Nullable String centralPurchaseContract)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CentralPurchaseContract

      Parameters:
      centralPurchaseContract - The centralPurchaseContract to set.
    • setPurgDocNoteText

      public void setPurgDocNoteText(@Nullable String purgDocNoteText)
      Constraints: none

      Original property name from the Odata EDM: PurgDocNoteText

      Parameters:
      purgDocNoteText - Content of note
    • setPurchasingDocumentNoteTitle

      public void setPurchasingDocumentNoteTitle(@Nullable String purchasingDocumentNoteTitle)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: PurchasingDocumentNoteTitle

      Parameters:
      purchasingDocumentNoteTitle - Description of Note Type
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CntrlPurContractItemNotesField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> CntrlPurContractItemNotesField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<CntrlPurContractItemNotes>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<CntrlPurContractItemNotes>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<CntrlPurContractItemNotes>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CntrlPurContractItemNotes>
    • builder

    • getPurchasingDocumentNoteObjectID

      @Nullable public String getPurchasingDocumentNoteObjectID()
      (Key Field) Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: PurchasingDocumentNoteObjectID

      Returns:
      Application Object ID
    • getPurchasingDocumentNoteType

      @Nullable public String getPurchasingDocumentNoteType()
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: PurchasingDocumentNoteType

      Returns:
      Name of Note Type
    • getPurchasingDocumentNoteLanguage

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

      Original property name from the Odata EDM: PurchasingDocumentNoteLanguage

      Returns:
      Language
    • getCentralPurchaseContract

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

      Original property name from the Odata EDM: CentralPurchaseContract

      Returns:
      The centralPurchaseContract contained in this entity.
    • getPurgDocNoteText

      @Nullable public String getPurgDocNoteText()
      Constraints: none

      Original property name from the Odata EDM: PurgDocNoteText

      Returns:
      Content of note
    • getPurchasingDocumentNoteTitle

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

      Original property name from the Odata EDM: PurchasingDocumentNoteTitle

      Returns:
      Description of Note Type
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CntrlPurContractItemNotes>