java.lang.Object
eu.dzhw.fdz.metadatamanagement.analysispackagemanagement.domain.AbstractAnalysisDataPackage
eu.dzhw.fdz.metadatamanagement.analysispackagemanagement.domain.ExternalDataPackage
All Implemented Interfaces:
Serializable

public class ExternalDataPackage
extends AbstractAnalysisDataPackage
External data describes data sets of an AnalysisPackage which cannot be ordered in our RDC. Scenario: The actual files (that are part of the analysis package) are not hosted by FDZ-DZHW. Therefore, this object refers to external data sources.
Author:
René Reitmann
See Also:
Serialized Form
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
      Constant Field Values
    • OPEN_ACCESS

      private static final I18nString OPEN_ACCESS
    • RESTRICTED_ACCESS

      private static final I18nString RESTRICTED_ACCESS
    • NOT_ACCESSIBLE

      private static final I18nString NOT_ACCESSIBLE
    • AVAILABLE_AVAILABILITY_TYPES

      public static final List<I18nString> AVAILABLE_AVAILABILITY_TYPES
    • title

      @NotNull(message="analysis-package-management.error.external-data-package.title.not-null") @I18nStringSize(max=2048, message="analysis-package-management.error.external-data-package.title.i18n-string-size") @I18nStringEntireNotEmpty(message="analysis-package-management.error.external-data-package.title.i18n-string-entire-not-empty") private @NotNull(message="analysis-package-management.error.external-data-package.title.not-null") @I18nStringSize(max=2048,message="analysis-package-management.error.external-data-package.title.i18n-string-size") @I18nStringEntireNotEmpty(message="analysis-package-management.error.external-data-package.title.i18n-string-entire-not-empty") I18nString title
      The title of the external data package. It must be specified in German and English and it must not contain more than 2048 characters.
    • description

      @NotNull(message="analysis-package-management.error.external-data-package.description.not-null") @I18nStringSize(max=2048, message="analysis-package-management.error.external-data-package.description.i18n-string-size") @I18nStringEntireNotEmpty(message="analysis-package-management.error.external-data-package.description.i18n-string-not-empty") private @NotNull(message="analysis-package-management.error.external-data-package.description.not-null") @I18nStringSize(max=2048,message="analysis-package-management.error.external-data-package.description.i18n-string-size") @I18nStringEntireNotEmpty(message="analysis-package-management.error.external-data-package.description.i18n-string-not-empty") I18nString description
      A description of the analysis package. Markdown is supported. It must be specified in German and English and it must not contain more than 2048 characters.
    • annotations

      @I18nStringSize(max=2048, message="analysis-package-management.error.external-data-package.annotations.i18n-string-size") private @I18nStringSize(max=2048,message="analysis-package-management.error.external-data-package.annotations.i18n-string-size") I18nString annotations
      Arbitrary additional text for this analysis package. Markdown is supported. Must not contain more than 2048 characters.
    • dataSource

      @NotNull(message="analysis-package-management.error.external-data-package.data-source.not-null") @I18nStringSize(max=512, message="analysis-package-management.error.external-data-package.data-source.i18n-string-size") @I18nStringEntireNotEmpty(message="analysis-package-management.error.external-data-package.data-source.i18n-string-not-empty") private @NotNull(message="analysis-package-management.error.external-data-package.data-source.not-null") @I18nStringSize(max=512,message="analysis-package-management.error.external-data-package.data-source.i18n-string-size") @I18nStringEntireNotEmpty(message="analysis-package-management.error.external-data-package.data-source.i18n-string-not-empty") I18nString dataSource
      The data source where the data is stored must be specified here (e.g. name of the institution/repository, private data storage). Must not be empty and must not contain more than 512 characters.
    • dataSourceUrl

      @URL(message="analysis-package-management.error.external-data-package.data-source-url.invalid-url") @Size(max=2000, message="analysis-package-management.error.external-data-package.data-source-url.length") private @URL(message="analysis-package-management.error.external-data-package.data-source-url.invalid-url") @Size(max=2000,message="analysis-package-management.error.external-data-package.data-source-url.length") String dataSourceUrl
      Optional url for the data source. If specified it must be a valid URL and not longer than 2000 characters.
    • availabilityType

      @ValidExternalDataPackageAvailabilityType(message="analysis-package-management.error.external-data-package.availability-type.not-valid") private I18nString availabilityType
      Must be one of AVAILABLE_AVAILABILITY_TYPES.
    • license

      @Size(max=1048576, message="analysis-package-management.error.analysis-package.license.size") private @Size(max=1048576,message="analysis-package-management.error.analysis-package.license.size") String license
      The license of this external data package. Markdown is supported. May be empty. Must not contain more than 1 MB characters.
  • Constructor Details

    • ExternalDataPackage

      public ExternalDataPackage()