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

public class SupplierItemAttachment extends VdmEntity<SupplierItemAttachment> implements VdmEntitySet
Supplier Item Attachments

Original entity name from the Odata EDM: supplierItemAttachment_Type

  • Field Details

  • Constructor Details

    • SupplierItemAttachment

      public SupplierItemAttachment()
    • SupplierItemAttachment

      public SupplierItemAttachment(@Nullable UUID fldLogsSuplrItemUUID, @Nullable String fldLogsSuplrBasePlant, @Nullable String fldLogsRemotePlant, @Nullable String fldLogsSuplrItemType, @Nullable String fldLogsSuplrItemStatusID, @Nullable String fileName, @Nullable String fldLogsSuplrItmFileContentText, @Nullable String mimeType, @Nullable String fldLogsExtWorkerIdentifier, @Nullable Collection<SAP__Message> _Messages)
  • Method Details

    • getType

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

      public void setFldLogsSuplrItemUUID(@Nullable UUID fldLogsSuplrItemUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: FldLogsSuplrItemUUID

      Parameters:
      fldLogsSuplrItemUUID - Supplier Item UUID
    • setFldLogsSuplrBasePlant

      public void setFldLogsSuplrBasePlant(@Nullable String fldLogsSuplrBasePlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsSuplrBasePlant

      Parameters:
      fldLogsSuplrBasePlant - Plant
    • setFldLogsRemotePlant

      public void setFldLogsRemotePlant(@Nullable String fldLogsRemotePlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsRemotePlant

      Parameters:
      fldLogsRemotePlant - Plant
    • setFldLogsSuplrItemType

      public void setFldLogsSuplrItemType(@Nullable String fldLogsSuplrItemType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FldLogsSuplrItemType

      Parameters:
      fldLogsSuplrItemType - Supplier Item Type
    • setFldLogsSuplrItemStatusID

      public void setFldLogsSuplrItemStatusID(@Nullable String fldLogsSuplrItemStatusID)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FldLogsSuplrItemStatusID

      Parameters:
      fldLogsSuplrItemStatusID - Supplier Item Status ID
    • setFileName

      public void setFileName(@Nullable String fileName)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: FileName

      Parameters:
      fileName - Relative storage location of physical document
    • setFldLogsSuplrItmFileContentText

      public void setFldLogsSuplrItmFileContentText(@Nullable String fldLogsSuplrItmFileContentText)
      Constraints: Not nullable

      Original property name from the Odata EDM: FldLogsSuplrItmFileContentText

      Parameters:
      fldLogsSuplrItmFileContentText - The fldLogsSuplrItmFileContentText to set.
    • setMimeType

      public void setMimeType(@Nullable String mimeType)
      Constraints: Not nullable, Maximum length: 128

      Original property name from the Odata EDM: MimeType

      Parameters:
      mimeType - HTML content type
    • setFldLogsExtWorkerIdentifier

      public void setFldLogsExtWorkerIdentifier(@Nullable String fldLogsExtWorkerIdentifier)
      Constraints: Not nullable, Maximum length: 14

      Original property name from the Odata EDM: FldLogsExtWorkerIdentifier

      Parameters:
      fldLogsExtWorkerIdentifier - Auxiliary Worker ID
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SupplierItemAttachment>
    • assignAttachment

      @Nonnull public static BoundAction.CollectionToSingle<SupplierItemAttachment,SupplierItemAttachment> assignAttachment(@Nonnull String fldLogsSuplrItmFileContentText, @Nonnull String fileName, @Nonnull String fldLogsExtWorkerIdentifier, @Nonnull String mimeType)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      fileName - Constraints: Not nullable, Maximum length: 255

      Original parameter name from the Odata EDM: FileName

      fldLogsExtWorkerIdentifier - Constraints: Not nullable, Maximum length: 14

      Original parameter name from the Odata EDM: FldLogsExtWorkerIdentifier

      mimeType - Constraints: Not nullable, Maximum length: 128

      Original parameter name from the Odata EDM: MimeType

      fldLogsSuplrItmFileContentText - Constraints: Not nullable

      Original parameter name from the Odata EDM: FldLogsSuplrItmFileContentText

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

      @Nonnull public static SupplierItemAttachment.SupplierItemAttachmentBuilder builder()
    • getFldLogsSuplrItemUUID

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

      Original property name from the Odata EDM: FldLogsSuplrItemUUID

      Returns:
      Supplier Item UUID
    • getFldLogsSuplrBasePlant

      @Nullable public String getFldLogsSuplrBasePlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsSuplrBasePlant

      Returns:
      Plant
    • getFldLogsRemotePlant

      @Nullable public String getFldLogsRemotePlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsRemotePlant

      Returns:
      Plant
    • getFldLogsSuplrItemType

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

      Original property name from the Odata EDM: FldLogsSuplrItemType

      Returns:
      Supplier Item Type
    • getFldLogsSuplrItemStatusID

      @Nullable public String getFldLogsSuplrItemStatusID()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FldLogsSuplrItemStatusID

      Returns:
      Supplier Item Status ID
    • getFileName

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

      Original property name from the Odata EDM: FileName

      Returns:
      Relative storage location of physical document
    • getFldLogsSuplrItmFileContentText

      @Nullable public String getFldLogsSuplrItmFileContentText()
      Constraints: Not nullable

      Original property name from the Odata EDM: FldLogsSuplrItmFileContentText

      Returns:
      The fldLogsSuplrItmFileContentText contained in this VdmEntity.
    • getMimeType

      @Nullable public String getMimeType()
      Constraints: Not nullable, Maximum length: 128

      Original property name from the Odata EDM: MimeType

      Returns:
      HTML content type
    • getFldLogsExtWorkerIdentifier

      @Nullable public String getFldLogsExtWorkerIdentifier()
      Constraints: Not nullable, Maximum length: 14

      Original property name from the Odata EDM: FldLogsExtWorkerIdentifier

      Returns:
      Auxiliary Worker ID
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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