public interface InstantiableFromParameterSet
InstanceParameterSet
. Each class ABC
implementing this
interface must provide a constructor of kindABC(InstanceParameterSet
parameters)
.
InstanceParameterSet
to obtain all
necessary values of these variables the user should implement a subclass of
the abstract class InstanceParameterSet
or one of its subclasses,
that creates the necessary Parameter
s in its
loadParameters()
-method.Modifier and Type | Method and Description |
---|---|
InstanceParameterSet<? extends InstantiableFromParameterSet> |
getCurrentParameterSet()
Returns the
InstanceParameterSet that has been used to
instantiate the current instance of the implementing class. |
InstanceParameterSet<? extends InstantiableFromParameterSet> getCurrentParameterSet() throws Exception
InstanceParameterSet
that has been used to
instantiate the current instance of the implementing class. If the
current instance was not created using an InstanceParameterSet
,
an equivalent InstanceParameterSet
should be returned, so that an
instance created using this InstanceParameterSet
would be in
principle equal to the current instance.InstanceParameterSet
Exception
- if the InstanceParameterSet
could not be returned