Class GenericParameter<T>
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.cmd.param.AbstractParameter
-
- cern.accsoft.steering.jmad.kernel.cmd.param.GenericParameter<T>
-
- All Implemented Interfaces:
Parameter
public class GenericParameter<T> extends AbstractParameter
-
-
Constructor Summary
Constructors Constructor Description GenericParameter(java.lang.String name)
GenericParameter(java.lang.String name, T value)
GenericParameter(java.lang.String name, T value, boolean useValueQuotes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
compose()
has to be implemented in subclass to return the correct "name=value" - syntax.boolean
isSet()
has to be implemented in subclass to determine if the parameter is set or not.-
Methods inherited from class cern.accsoft.steering.jmad.kernel.cmd.param.AbstractParameter
toString
-
-
-
-
Method Detail
-
isSet
public boolean isSet()
Description copied from interface:Parameter
has to be implemented in subclass to determine if the parameter is set or not.- Returns:
- true, if set, false otherwise.
-
compose
public java.lang.String compose()
Description copied from interface:Parameter
has to be implemented in subclass to return the correct "name=value" - syntax.- Returns:
- a string representing the correct syntax for MadX
-
-