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

public class FileDownloadStatus extends VdmEntity<FileDownloadStatus>
File Download Status

Original entity name from the Odata EDM: FileDownloadStatus

  • Field Details

    • ALL_FIELDS

      public static final FileDownloadStatusSelectable ALL_FIELDS
      Selector for all available fields of FileDownloadStatus.
    • PACKAGE_NAME

      public static final FileDownloadStatusField<String> PACKAGE_NAME
      Use with available fluent helpers to apply the PackageName field to query operations.
    • FILE_NAME

      public static final FileDownloadStatusField<String> FILE_NAME
      Use with available fluent helpers to apply the FileName field to query operations.
    • SCENARIO

      public static final FileDownloadStatusField<String> SCENARIO
      Use with available fluent helpers to apply the Scenario field to query operations.
    • OBJECT_NAME

      public static final FileDownloadStatusField<String> OBJECT_NAME
      Use with available fluent helpers to apply the ObjectName field to query operations.
    • FAILED

      public static final FileDownloadStatusField<String> FAILED
      Use with available fluent helpers to apply the Failed field to query operations.
    • IN_PROCESS

      public static final FileDownloadStatusField<String> IN_PROCESS
      Use with available fluent helpers to apply the InProcess field to query operations.
    • FINISHED

      public static final FileDownloadStatusField<String> FINISHED
      Use with available fluent helpers to apply the Finished field to query operations.
    • DOWNLOAD_USER

      public static final FileDownloadStatusField<String> DOWNLOAD_USER
      Use with available fluent helpers to apply the DownloadUser field to query operations.
  • Constructor Details

    • FileDownloadStatus

      public FileDownloadStatus()
    • FileDownloadStatus

      public FileDownloadStatus(@Nullable String packageName, @Nullable String fileName, @Nullable String scenario, @Nullable String objectName, @Nullable String failed, @Nullable String inProcess, @Nullable String finished, @Nullable String downloadUser)
  • Method Details

    • getType

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

      public void setPackageName(@Nullable String packageName)
      (Key Field) Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: PackageName

      Parameters:
      packageName - Package Name
    • setFileName

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

      Original property name from the Odata EDM: FileName

      Parameters:
      fileName - File Name
    • setScenario

      public void setScenario(@Nullable String scenario)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Scenario

      Parameters:
      scenario - Scenario
    • setObjectName

      public void setObjectName(@Nullable String objectName)
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: ObjectName

      Parameters:
      objectName - Object Name
    • setFailed

      public void setFailed(@Nullable String failed)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: Failed

      Parameters:
      failed - Download Failed
    • setInProcess

      public void setInProcess(@Nullable String inProcess)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InProcess

      Parameters:
      inProcess - Download In Process
    • setFinished

      public void setFinished(@Nullable String finished)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: Finished

      Parameters:
      finished - Download Finished
    • setDownloadUser

      public void setDownloadUser(@Nullable String downloadUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: DownloadUser

      Parameters:
      downloadUser - Download User Name
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> FileDownloadStatusField<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> FileDownloadStatusField<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<FileDownloadStatus>
    • setServicePathForFetch

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

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

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

      @Nonnull public static FileDownloadStatus.FileDownloadStatusBuilder builder()
    • getPackageName

      @Nullable public String getPackageName()
      (Key Field) Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: PackageName

      Returns:
      Package Name
    • getFileName

      @Nullable public String getFileName()
      (Key Field) Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: FileName

      Returns:
      File Name
    • getScenario

      @Nullable public String getScenario()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Scenario

      Returns:
      Scenario
    • getObjectName

      @Nullable public String getObjectName()
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: ObjectName

      Returns:
      Object Name
    • getFailed

      @Nullable public String getFailed()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: Failed

      Returns:
      Download Failed
    • getInProcess

      @Nullable public String getInProcess()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InProcess

      Returns:
      Download In Process
    • getFinished

      @Nullable public String getFinished()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: Finished

      Returns:
      Download Finished
    • getDownloadUser

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

      Original property name from the Odata EDM: DownloadUser

      Returns:
      Download User Name
    • toString

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

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

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

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