cfa.vo.sherpa
Class AbstractModel

java.lang.Object
  extended by cfa.vo.sherpa.AbstractModel
All Implemented Interfaces:
Model
Direct Known Subclasses:
Gaussian1D, PowerLaw1D

public abstract class AbstractModel
extends Object
implements Model

Author:
olaurino

Constructor Summary
AbstractModel(String name, String id)
           
 
Method Summary
 void addPar(Parameter par)
           
protected  void addParams(List<String> paramNames)
           
 String getId()
           
 String getName()
           
 Parameter getParameter(String name)
           
 List<Parameter> getPars()
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractModel

public AbstractModel(String name,
                     String id)
Method Detail

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.