org.orekit.parameter
Class Parameterizable

java.lang.Object
  extended by org.orekit.parameter.Parameterizable
All Implemented Interfaces:
Serializable, IParameterizable
Direct Known Subclasses:
AeroFacetProperty, AeroGlobalProperty, AeroModel, AeroSphereProperty, DirectRadiativeModel, DragLiftModel, DrozinerAttractionModel, JacobiansParameterizable, MassProperty, ParamDiffFunction, RediffusedRadiativeModel, SolarRadiationWrench, StelaAeroModel

public class Parameterizable
extends Object
implements IParameterizable

Simple class providing a list and method for handling Parameters. These parameters should be simple Parameter and/or the Parameters used in parameterizable functions

Since:
2.3
Version:
$Id: Parameterizable.java 13916 2015-08-19 14:54:12Z maggiorani $
Author:
auguief
See Also:
Serialized Form
Concurrency :
not thread-safe, uses internal mutable attributes

Constructor Summary
Parameterizable()
          Simple constructor.
Parameterizable(ArrayList<Parameter> paramList)
          Simple constructor.
Parameterizable(IParamDiffFunction... paramDiffFunctions)
          Simple constructor.
Parameterizable(Parameter... params)
          Simple constructor.
 
Method Summary
protected  void addParameter(Parameter param)
          Add a new parameter in the lit, only if it does not exist.
 ArrayList<Parameter> getParameters()
          Get the supported parameters.
 boolean supportsParameter(Parameter param)
          Check if a parameter is supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameterizable

public Parameterizable()
Simple constructor.


Parameterizable

public Parameterizable(Parameter... params)
Simple constructor.

Parameters:
params - the supported parameters

Parameterizable

public Parameterizable(ArrayList<Parameter> paramList)
Simple constructor.

Parameters:
paramList - the supported parameters

Parameterizable

public Parameterizable(IParamDiffFunction... paramDiffFunctions)
Simple constructor.

Parameters:
paramDiffFunctions - IParamDiffFunction with their parameters
Method Detail

supportsParameter

public boolean supportsParameter(Parameter param)
Check if a parameter is supported.

Specified by:
supportsParameter in interface IParameterizable
Parameters:
param - parameter to check
Returns:
true if the parameter is supported

getParameters

public ArrayList<Parameter> getParameters()
Get the supported parameters.

Specified by:
getParameters in interface IParameterizable
Returns:
list of supported parameters

addParameter

protected void addParameter(Parameter param)
Add a new parameter in the lit, only if it does not exist.

Parameters:
param - parameter


Copyright © 2016 CNES. All Rights Reserved.