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

public class PrintDocumentBlob extends VdmEntity<PrintDocumentBlob>

Original entity name from the Odata EDM: PrintDocumentBlob

  • Field Details

    • ALL_FIELDS

      public static final PrintDocumentBlobSelectable ALL_FIELDS
      Selector for all available fields of PrintDocumentBlob.
    • COUNT_ID

      public static final PrintDocumentBlobField<Short> COUNT_ID
      Use with available fluent helpers to apply the CountId field to query operations.
    • DOCUMENT_NAME

      public static final PrintDocumentBlobField<String> DOCUMENT_NAME
      Use with available fluent helpers to apply the DocumentName field to query operations.
    • FILESIZE

      public static final PrintDocumentBlobField<String> FILESIZE
      Use with available fluent helpers to apply the Filesize field to query operations.
    • URL

      public static final PrintDocumentBlobField<String> URL
      Use with available fluent helpers to apply the Url field to query operations.
    • BLOB

      public static final PrintDocumentBlobField<byte[]> BLOB
      Use with available fluent helpers to apply the Blob field to query operations.
    • Q_ITEM_PARAMS

      public static final PrintDocumentBlobField<String> Q_ITEM_PARAMS
      Use with available fluent helpers to apply the QItemParams field to query operations.
    • METADATA

      public static final PrintDocumentBlobField<String> METADATA
      Use with available fluent helpers to apply the Metadata field to query operations.
  • Constructor Details

    • PrintDocumentBlob

      public PrintDocumentBlob()
    • PrintDocumentBlob

      public PrintDocumentBlob(@Nullable Short countId, @Nullable String documentName, @Nullable String filesize, @Nullable String url, @Nullable byte[] blob, @Nullable String qItemParams, @Nullable String metadata)
  • Method Details

    • getType

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

      public void setCountId(@Nullable Short countId)
      Constraints: Not nullable

      Original property name from the Odata EDM: CountId

      Parameters:
      countId - Attachment counter
    • setDocumentName

      public void setDocumentName(@Nullable String documentName)
      (Key Field) Constraints: Not nullable, Maximum length: 120

      Original property name from the Odata EDM: DocumentName

      Parameters:
      documentName - Documen Name
    • setFilesize

      public void setFilesize(@Nullable String filesize)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: Filesize

      Parameters:
      filesize - Document Size
    • setUrl

      public void setUrl(@Nullable String url)
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: Url

      Parameters:
      url - Document URL
    • setBlob

      public void setBlob(@Nullable byte[] blob)
      Constraints: Not nullable

      Original property name from the Odata EDM: Blob

      Parameters:
      blob - The blob to set.
    • setQItemParams

      public void setQItemParams(@Nullable String qItemParams)
      Constraints: Not nullable

      Original property name from the Odata EDM: QItemParams

      Parameters:
      qItemParams - Print Parameter
    • setMetadata

      public void setMetadata(@Nullable String metadata)
      Constraints: Not nullable

      Original property name from the Odata EDM: Metadata

      Parameters:
      metadata - Item metadata
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PrintDocumentBlobField<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> PrintDocumentBlobField<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<PrintDocumentBlob>
    • setServicePathForFetch

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

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

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

      @Nonnull public static PrintDocumentBlob.PrintDocumentBlobBuilder builder()
    • getCountId

      @Nullable public Short getCountId()
      Constraints: Not nullable

      Original property name from the Odata EDM: CountId

      Returns:
      Attachment counter
    • getDocumentName

      @Nullable public String getDocumentName()
      (Key Field) Constraints: Not nullable, Maximum length: 120

      Original property name from the Odata EDM: DocumentName

      Returns:
      Documen Name
    • getFilesize

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

      Original property name from the Odata EDM: Filesize

      Returns:
      Document Size
    • getUrl

      @Nullable public String getUrl()
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: Url

      Returns:
      Document URL
    • getBlob

      @Nullable public byte[] getBlob()
      Constraints: Not nullable

      Original property name from the Odata EDM: Blob

      Returns:
      The blob contained in this entity.
    • getQItemParams

      @Nullable public String getQItemParams()
      Constraints: Not nullable

      Original property name from the Odata EDM: QItemParams

      Returns:
      Print Parameter
    • getMetadata

      @Nullable public String getMetadata()
      Constraints: Not nullable

      Original property name from the Odata EDM: Metadata

      Returns:
      Item metadata
    • toString

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

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

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

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