Klasse InputOutput

java.lang.Object
de.dlr.proseo.model.joborder.InputOutput

public class InputOutput extends Object
Input or Output information For details see Generic IPF Interface Specification issue 1 revision 8 - 03/08/2009 MMFI-GSEG-EOPG-TN-07-0003
Autor:
Ernst Melchinger *
  • Felddetails

    • IO_TYPE_INPUT

      public static final String IO_TYPE_INPUT
      Type string for input elements
      Siehe auch:
    • IO_TYPE_OUTPUT

      public static final String IO_TYPE_OUTPUT
      Type string for output elements
      Siehe auch:
    • FN_TYPE_PHYSICAL

      public static final String FN_TYPE_PHYSICAL
      File name type for physical files
      Siehe auch:
    • FN_TYPE_LOGICAL

      public static final String FN_TYPE_LOGICAL
      File name type for logical files
      Siehe auch:
    • FN_TYPE_STEM

      public static final String FN_TYPE_STEM
      File name type for file name stems
      Siehe auch:
    • FN_TYPE_REGEXP

      public static final String FN_TYPE_REGEXP
      File name type for regular expressions
      Siehe auch:
    • FN_TYPE_DIRECTORY

      public static final String FN_TYPE_DIRECTORY
      File name type for directories
      Siehe auch:
    • FN_TYPE_ARCHIVE

      public static final String FN_TYPE_ARCHIVE
      File name type for ZIP archives (non-standard extension!)
      Siehe auch:
  • Konstruktordetails

    • InputOutput

      public InputOutput(String type) throws IllegalArgumentException
      Create an Input/Output element of the given type
      Parameter:
      type - the input/output type (either 'Input' or 'Output')
      Löst aus:
      IllegalArgumentException - if the given type is not correct
    • InputOutput

      public InputOutput(String fileType, String fileNameType, String type, String productID) throws IllegalArgumentException
      Create an Input/Output element with all attributes set
      Parameter:
      fileType - the file type
      fileNameType - the file name type ('Physical', 'Logical', 'Stem', 'Regexp', 'Directory')
      type - the input/output type (either 'Input' or 'Output')
      productID - the product database ID
      Löst aus:
      IllegalArgumentException
  • Methodendetails

    • getProductID

      public String getProductID()
      Gets the product ID
      Gibt zurück:
      the productID
    • setProductID

      public void setProductID(String productID)
      Sets the product ID
      Parameter:
      productID - the productID to set
    • getFileType

      public String getFileType()
      Gets the file type
      Gibt zurück:
      the fileType
    • setFileType

      public void setFileType(String fileType)
      Sets the file type
      Parameter:
      fileType - the fileType to set
    • getFileNameType

      public String getFileNameType()
      Gets the file name type
      Gibt zurück:
      the fileNameType
    • setFileNameType

      public void setFileNameType(String fileNameType) throws IllegalArgumentException
      Sets the file name type
      Parameter:
      fileNameType - the file name type to set ('Physical', 'Logical', 'Stem', 'Regexp', 'Directory')
      Löst aus:
      IllegalArgumentException
    • getFileNames

      public List<IpfFileName> getFileNames()
      Gets the list of file names
      Gibt zurück:
      the list of file names
    • setFileNames

      public void setFileNames(List<IpfFileName> fileNames)
      Sets file names
      Parameter:
      fileNames - file names to set
    • getTimeIntervals

      public List<TimeInterval> getTimeIntervals()
      Gibt zurück:
      the timeIntervals
    • setTimeIntervals

      public void setTimeIntervals(List<TimeInterval> timeIntervals)
      Sets time intervals
      Parameter:
      timeIntervals - the time intervals to set
    • buildXML

      public void buildXML(Document doc, Element parentElement, Boolean prosEOAttributes)
      Add contents of this to XML node parentElement. Use doc to create elements
      Parameter:
      doc - The Document
      parentElement - The node to add this as child
      prosEOAttributes - if true, write attributes of prosEO specific data
    • read

      public void read(Node thisNode)
      Read info from XML sub tree
      Parameter:
      thisNode - XML node containing information