public class DownloadFile extends VdmMediaEntity<DownloadFile>
ZIP File

Original entity name from the Odata EDM: DownloadFile

  • Field Details

    • ALL_FIELDS

      public static final DownloadFileSelectable ALL_FIELDS
      Selector for all available fields of DownloadFile.
    • PACKAGE_NAME

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

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

    • DownloadFile

      public DownloadFile()
    • DownloadFile

      public DownloadFile(@Nullable String packageName, @Nullable String fileName)
  • Method Details

    • getType

      @Nonnull public Class<DownloadFile> getType()
      Specified by:
      getType in class VdmObject<DownloadFile>
    • 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 - ZIP File Name
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> DownloadFileField<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> DownloadFileField<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<DownloadFile>
    • setServicePathForFetch

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

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

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

      @Nonnull public static DownloadFile.DownloadFileBuilder 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:
      ZIP File Name
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmMediaEntity<DownloadFile>