com.sas.drugdev.remote.sas
Class ProcessFileParameter
java.lang.Object
com.sas.drugdev.remote.sas.ProcessParameter
com.sas.drugdev.remote.sas.ProcessPathParameter
com.sas.drugdev.remote.sas.ProcessFileParameter
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ProcessInputFileParameter, ProcessOutputFileParameter
- public abstract class ProcessFileParameter
- extends ProcessPathParameter
Class used to represent a file parameter to be used by a Process
- See Also:
- Serialized Form
Fields inherited from class com.sas.drugdev.remote.sas.ProcessParameter |
SDD_PARAMETER_VALUE_TYPE_BASEPATH, SDD_PARAMETER_VALUE_TYPE_BOOLEAN, SDD_PARAMETER_VALUE_TYPE_FOLDER, SDD_PARAMETER_VALUE_TYPE_GROUPVAR, SDD_PARAMETER_VALUE_TYPE_GROUPVARPOS, SDD_PARAMETER_VALUE_TYPE_IGNORE, SDD_PARAMETER_VALUE_TYPE_INCATALOG, SDD_PARAMETER_VALUE_TYPE_INFILE, SDD_PARAMETER_VALUE_TYPE_INPROCESS, SDD_PARAMETER_VALUE_TYPE_INTABLE, SDD_PARAMETER_VALUE_TYPE_LISTFILE, SDD_PARAMETER_VALUE_TYPE_LISTMAP, SDD_PARAMETER_VALUE_TYPE_LOGFILE, SDD_PARAMETER_VALUE_TYPE_NSELECTED, SDD_PARAMETER_VALUE_TYPE_NUMERIC, SDD_PARAMETER_VALUE_TYPE_OUTCATALOG, SDD_PARAMETER_VALUE_TYPE_OUTFILE, SDD_PARAMETER_VALUE_TYPE_OUTTABLE, SDD_PARAMETER_VALUE_TYPE_PARMFILE, SDD_PARAMETER_VALUE_TYPE_PGMFILE, SDD_PARAMETER_VALUE_TYPE_SELECTIONLIST, SDD_PARAMETER_VALUE_TYPE_TEMPFOLDER, SDD_PARAMETER_VALUE_TYPE_TEXT, SDD_PARAMETER_VALUE_TYPE_VALUELIST, SDD_PARAMETER_VALUE_TYPE_VARIABLE, SDD_PARAMETER_VALUE_TYPE_VARLIST |
Constructor Summary |
ProcessFileParameter()
Constructs a ProcessFileParameter object of FOLDER type |
ProcessFileParameter(java.lang.String name,
java.lang.String label,
java.lang.String path,
java.lang.String fileName,
boolean read,
boolean write,
boolean isRelative)
Constructs a ProcessFileParameter with the given data |
Method Summary |
java.lang.String |
getFileName()
Gets the file name |
void |
setFileName(java.lang.String fileName)
Sets the file name |
Methods inherited from class com.sas.drugdev.remote.sas.ProcessParameter |
getAttributes, getLabel, getName, getType, isEnabled, isRequired, setAttributes, setEnabled, setLabel, setName, setRequired, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProcessFileParameter
public ProcessFileParameter()
- Constructs a ProcessFileParameter object of FOLDER type
ProcessFileParameter
public ProcessFileParameter(java.lang.String name,
java.lang.String label,
java.lang.String path,
java.lang.String fileName,
boolean read,
boolean write,
boolean isRelative)
- Constructs a ProcessFileParameter with the given data
- Parameters:
name
- the parameterpath
- of the parameterfileName
- the file nameread
- true if the file is readable, false otherwisewrite
- true if the file is writable, false otherwiseisRelative
- true if the file path is relative, false if absolute
getFileName
public java.lang.String getFileName()
- Gets the file name
- Returns:
- the file name
setFileName
public void setFileName(java.lang.String fileName)
- Sets the file name
- Parameters:
fileName
- the file name to set to