Class DummyParameters
java.lang.Object
com.compomics.util.experiment.io.parameters.DummyParameters
- All Implemented Interfaces:
MarshallableParameter
public class DummyParameters extends Object implements MarshallableParameter
Dummy parameters used to retrieve the parameters type and version.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.compomics.util.experiment.io.parameters.MarshallableParameter
MarshallableParameter.Type
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DummyParameters()
Empty default constructor -
Method Summary
Modifier and Type Method Description MarshallableParameter.Type
getType()
Returns the type of marshalled parameter from an unmarshalled object.void
setType()
Sets the parameters type.
-
Field Details
-
version
Version number.
-
-
Constructor Details
-
DummyParameters
public DummyParameters()Empty default constructor
-
-
Method Details
-
getType
Description copied from interface:MarshallableParameter
Returns the type of marshalled parameter from an unmarshalled object. The type must be written in the file but not set in the constructor. Null if not a MarshallableParameter.- Specified by:
getType
in interfaceMarshallableParameter
- Returns:
- the type of marshalled parameter from an unmarshalled object
-
setType
public void setType()Description copied from interface:MarshallableParameter
Sets the parameters type. The type must be set before writing a file but not in the constructor.- Specified by:
setType
in interfaceMarshallableParameter
-