Class FileImportInfo

java.lang.Object
com.sas.lsaf.content.common.FileImportInfo
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StudyComponentImportInfo

public class FileImportInfo extends Object implements Serializable
The class containing information for importing metadata from a file within the system.
Since:
2.4
See Also:
  • Constructor Details

    • FileImportInfo

      public FileImportInfo()
      Constructor.
    • FileImportInfo

      public FileImportInfo(String importFilePath, String importFileVersion, SourceLocation importFileSourceLocation)
      Constructor.
      Parameters:
      importFilePath - The path of the import file.
      importFileVersion - The version of the import file.
      importFileSourceLocation - The source location (repository or workspace) of the import file.
  • Method Details

    • getImportFilePath

      public String getImportFilePath()
      Gets the file path from within the system in which to import.
      Returns:
      The file path from within the system in which to import.
    • setImportFilePath

      public void setImportFilePath(String importFilePath)
      Sets the file path from within the system in which to import.
      Parameters:
      importFilePath - The file path from within the system in which to import.
    • getImportFileVersion

      public String getImportFileVersion()
      Gets the version of the file path from within the system in which to import. Default is null. If null, the latest version of the file will be used.
      Returns:
      The version of the file path from within the system in which to import.
    • setImportSourceVersion

      public void setImportSourceVersion(String importFileVersion)
      Sets the version of the file path from within the system in which to import. Default is null. If null, the latest version of the file will be used.
      Parameters:
      importFileVersion - The version of the file path from within the system in which to import.
    • getImportFileSourceLocation

      public SourceLocation getImportFileSourceLocation()
      Gets the source location (repository or workspace) of the import file.
      Returns:
      The source location (repository or workspace) of the import file.
    • setImportFileSourceLocation

      public void setImportFileSourceLocation(SourceLocation importFileSourceLocation)
      Sets the source location (repository or workspace) of the import file.
      Parameters:
      importFileSourceLocation - The source location (repository or workspace) of the import file.