Klasse BreakpointFile

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

public class BreakpointFile extends Object
Breakpoint file information Uses file name types from InputOutput class For details see Generic IPF Interface Specification issue 1 revision 8 - 03/08/2009 MMFI-GSEG-EOPG-TN-07-0003
Autor:
Thomas Bassler
  • Konstruktordetails

    • BreakpointFile

      public BreakpointFile()
      Create a Breakpoint File element
    • BreakpointFile

      public BreakpointFile(boolean enable, String fileType, String fileNameType, String fileName) throws IllegalArgumentException
      Create a Breakpoint File element with all attributes set
      Parameter:
      enable - flag indicating whether the breakpoint file is enabled
      fileType - the file type
      fileNameType - the file name type ('Physical', 'Logical', 'Stem', 'Regexp', 'Directory')
      fileName - the file name
      Löst aus:
      IllegalArgumentException
  • Methodendetails

    • getEnable

      public boolean getEnable()
      Gets the flag indicating whether the breakpoint file is active
      Gibt zurück:
      true, if active, false otherwise
    • setEnable

      public void setEnable(boolean enable)
      Sets the flag indicating whether the breakpoint file is active
      Parameter:
      enable - the flag 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
    • getFileName

      public String getFileName()
      Gets the file name
      Gibt zurück:
      the file name
    • setFileName

      public void setFileName(String fileName)
      Sets the file name
      Parameter:
      fileName - the file name 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