|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nasa.gsfc.hessi.jidl.prep.server.Parameter.PrepParameterSet
public class PrepParameterSet
This class is being sent from the client to the server and contains a set of PrepParameter that will be used
by the IDL instrument preprocessing routines.
| Field Summary | |
|---|---|
private java.lang.String |
instrument
This specifies the instrument and therefore the preprocessing routines that have to be used. |
private java.util.List<PrepParameter> |
parameter
This is the list of applied preprocessing directives and its values |
private byte[] |
raw
If the data comes in form of a byte[] package attached by the client, this must be set. |
private java.lang.String |
url
If the data comes in form of a url, this must be set. |
| Constructor Summary | |
|---|---|
PrepParameterSet()
Default non-arg constructor |
|
PrepParameterSet(java.lang.String instrument)
Default constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getInstrument()
Accessor method for instrument |
java.util.List<PrepParameter> |
getParameters()
Accessor method for the PrepParameter attached to this PrepParameterSet. |
byte[] |
getRawData()
Accessor method to get the raw data as byte[] (if applicable) |
java.lang.String |
getUrl()
Accessor method for url |
void |
setInstrument(java.lang.String instrument)
Mutator method for instrument |
void |
setParameters(java.util.List<PrepParameter> parameter)
Mutator method to set the PrepParameter for this preprocessing request. |
void |
setRawData(byte[] raw)
Mutator method to set the raw data as byte[] (if applicable) |
void |
setUrl(java.lang.String url)
Mutator method for url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String url
private byte[] raw
private java.util.List<PrepParameter> parameter
private java.lang.String instrument
| Constructor Detail |
|---|
public PrepParameterSet()
public PrepParameterSet(java.lang.String instrument)
instrument - is the instrument type for this preprocessing request| Method Detail |
|---|
public java.lang.String getInstrument()
public void setInstrument(java.lang.String instrument)
instrument - specifies the instrument typepublic java.util.List<PrepParameter> getParameters()
PrepParameter attached to this PrepParameterSet. Come as a List
List of PrepParameterpublic void setParameters(java.util.List<PrepParameter> parameter)
PrepParameter for this preprocessing request.
parameter - is a List containing all PrepParameter used in this preprocessing requestpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - is the HTTP url to the data file (if applicable)public byte[] getRawData()
public void setRawData(byte[] raw)
raw - is a byte[] of raw data directly specified by the client (if applicable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||