Class 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
Author:
Ernst Melchinger *
  • Field Details

  • Constructor Details

    • InputOutput

      public InputOutput(String type) throws IllegalArgumentException
      Create an Input/Output element of the given type
      Parameters:
      type - the input/output type (either 'Input' or 'Output')
      Throws:
      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
      Parameters:
      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
      Throws:
      IllegalArgumentException
  • Method Details

    • getProductID

      public String getProductID()
      Gets the product ID
      Returns:
      the productID
    • setProductID

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

      public String getFileType()
      Gets the file type
      Returns:
      the fileType
    • setFileType

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

      public String getFileNameType()
      Gets the file name type
      Returns:
      the fileNameType
    • setFileNameType

      public void setFileNameType(String fileNameType) throws IllegalArgumentException
      Sets the file name type
      Parameters:
      fileNameType - the file name type to set ('Physical', 'Logical', 'Stem', 'Regexp', 'Directory')
      Throws:
      IllegalArgumentException
    • getFileNames

      public List<IpfFileName> getFileNames()
      Gets the list of file names
      Returns:
      the list of file names
    • setFileNames

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

      public List<TimeInterval> getTimeIntervals()
      Returns:
      the timeIntervals
    • setTimeIntervals

      public void setTimeIntervals(List<TimeInterval> timeIntervals)
      Sets time intervals
      Parameters:
      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
      Parameters:
      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
      Parameters:
      thisNode - XML node containing information