Package de.dlr.proseo.model.joborder
Klasse InputOutput
java.lang.Object
de.dlr.proseo.model.joborder.InputOutput
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 *
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
File name type for ZIP archives (non-standard extension!)static final String
File name type for directoriesstatic final String
File name type for logical filesstatic final String
File name type for physical filesstatic final String
File name type for regular expressionsstatic final String
File name type for file name stemsstatic final String
Type string for input elementsstatic final String
Type string for output elements -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungInputOutput
(String type) Create an Input/Output element of the given typeInputOutput
(String fileType, String fileNameType, String type, String productID) Create an Input/Output element with all attributes set -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Add contents of this to XML node parentElement.Gets the list of file namesGets the file name typeGets the file typeGets the product IDvoid
Read info from XML sub treevoid
setFileNames
(List<IpfFileName> fileNames) Sets file namesvoid
setFileNameType
(String fileNameType) Sets the file name typevoid
setFileType
(String fileType) Sets the file typevoid
setProductID
(String productID) Sets the product IDvoid
setTimeIntervals
(List<TimeInterval> timeIntervals) Sets time intervals
-
Felddetails
-
IO_TYPE_INPUT
Type string for input elements- Siehe auch:
-
IO_TYPE_OUTPUT
Type string for output elements- Siehe auch:
-
FN_TYPE_PHYSICAL
File name type for physical files- Siehe auch:
-
FN_TYPE_LOGICAL
File name type for logical files- Siehe auch:
-
FN_TYPE_STEM
File name type for file name stems- Siehe auch:
-
FN_TYPE_REGEXP
File name type for regular expressions- Siehe auch:
-
FN_TYPE_DIRECTORY
File name type for directories- Siehe auch:
-
FN_TYPE_ARCHIVE
File name type for ZIP archives (non-standard extension!)- Siehe auch:
-
-
Konstruktordetails
-
InputOutput
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 typefileNameType
- 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
Gets the product ID- Gibt zurück:
- the productID
-
setProductID
Sets the product ID- Parameter:
productID
- the productID to set
-
getFileType
Gets the file type- Gibt zurück:
- the fileType
-
setFileType
Sets the file type- Parameter:
fileType
- the fileType to set
-
getFileNameType
Gets the file name type- Gibt zurück:
- the fileNameType
-
setFileNameType
Sets the file name type- Parameter:
fileNameType
- the file name type to set ('Physical', 'Logical', 'Stem', 'Regexp', 'Directory')- Löst aus:
IllegalArgumentException
-
getFileNames
Gets the list of file names- Gibt zurück:
- the list of file names
-
setFileNames
Sets file names- Parameter:
fileNames
- file names to set
-
getTimeIntervals
- Gibt zurück:
- the timeIntervals
-
setTimeIntervals
Sets time intervals- Parameter:
timeIntervals
- the time intervals to set
-
buildXML
Add contents of this to XML node parentElement. Use doc to create elements- Parameter:
doc
- The DocumentparentElement
- The node to add this as childprosEOAttributes
- if true, write attributes of prosEO specific data
-
read
Read info from XML sub tree- Parameter:
thisNode
- XML node containing information
-