cfa.vo.sherpa
Class AbstractModel
java.lang.Object
cfa.vo.sherpa.AbstractModel
- All Implemented Interfaces:
- Model
- Direct Known Subclasses:
- Gaussian1D, PowerLaw1D
public abstract class AbstractModel
- extends Object
- implements Model
- Author:
- olaurino
AbstractModel
public AbstractModel(String name,
String id)
addPar
public void addPar(Parameter par)
- Specified by:
addPar
in interface Model
getName
public String getName()
- Specified by:
getName
in interface Model
getPars
public List<Parameter> getPars()
- Specified by:
getPars
in interface Model
setName
public void setName(String name)
- Specified by:
setName
in interface Model
getId
public String getId()
addParams
protected void addParams(List<String> paramNames)
getParameter
public Parameter getParameter(String name)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013. All rights reserved.