com.sas.drugdev.remote.sas
Class ProcessFileParameter

java.lang.Object
  extended by com.sas.drugdev.remote.sas.ProcessParameter
      extended by com.sas.drugdev.remote.sas.ProcessPathParameter
          extended by 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

Field Summary
 
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.ProcessPathParameter
getPath, isRead, isRelative, isWrite, setIsRelative, setPath, setRead, setWrite
 
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
 

Constructor Detail

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 parameter
path - of the parameter
fileName - the file name
read - true if the file is readable, false otherwise
write - true if the file is writable, false otherwise
isRelative - true if the file path is relative, false if absolute
Method Detail

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