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

public class Script
extends Object
implements Serializable
A script which will be published with this AnalysisPackage.
Author:
René Reitmann
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    private @Size(max=1048576,message="analysis-package-management.error.analysis-package.license.size") String license
    The license of the script.
    private static long serialVersionUID  
    private String softwarePackage
    The software package in which this script was written.
    private @NotEmpty(message="analysis-package-management.error.script.software-package-version.not-empty") @Size(max=32,message="analysis-package-management.error.script.software-package-version.string-size") String softwarePackageVersion
    The version of the software package in which this script was written.
    private @Size(max=2048,message="analysis-package-management.error.script.title.size") String title
    The title of the script.
    private @NotEmpty(message="analysis-package-management.error.script.used-language.not-empty") @ValidIsoLanguage(message="analysis-package-management.error.script.used-language.not-valid") String usedLanguage
    The human language used for code comments as ISO 639 code.
    private @NotEmpty(message="analysis-package-management.error.script.uuid.not-empty") String uuid
    Client side generated id of the script.
  • Constructor Summary

    Constructors
    Constructor Description
    Script()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

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

      @NotEmpty(message="analysis-package-management.error.script.uuid.not-empty") private @NotEmpty(message="analysis-package-management.error.script.uuid.not-empty") String uuid
      Client side generated id of the script. Used to reference script attachments. Not unique in the DB cause shadow copies of AnalysisPackages do not changes this id. Must not be empty and must be unique within the AnalysisPackage.
    • title

      @Size(max=2048, message="analysis-package-management.error.script.title.size") private @Size(max=2048,message="analysis-package-management.error.script.title.size") String title
      The title of the script. It must not contain more than 2048 characters.
    • usedLanguage

      @NotEmpty(message="analysis-package-management.error.script.used-language.not-empty") @ValidIsoLanguage(message="analysis-package-management.error.script.used-language.not-valid") private @NotEmpty(message="analysis-package-management.error.script.used-language.not-empty") @ValidIsoLanguage(message="analysis-package-management.error.script.used-language.not-valid") String usedLanguage
      The human language used for code comments as ISO 639 code. Must not be empty and must be a valid ISO 639 code.
    • softwarePackage

      @ValidSoftwarePackage(message="analysis-package-management.error.script.software-package.not-valid") private String softwarePackage
      The software package in which this script was written. Must be one of SoftwarePackages.
    • softwarePackageVersion

      @NotEmpty(message="analysis-package-management.error.script.software-package-version.not-empty") @Size(max=32, message="analysis-package-management.error.script.software-package-version.string-size") private @NotEmpty(message="analysis-package-management.error.script.software-package-version.not-empty") @Size(max=32,message="analysis-package-management.error.script.software-package-version.string-size") String softwarePackageVersion
      The version of the software package in which this script was written. Must not be empty and must not contain more than 32 characters.
    • 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 the script. Markdown is supported. May be empty. Must not contain more than 1 MB characters.
  • Constructor Details

    • Script

      public Script()