de.skrueger.xulu.plugin.gnur
Class RVarAdapter
java.lang.Object
de.skrueger.xulu.plugin.gnur.RVarAdapter
- Direct Known Subclasses:
- RVarMatrix, RVarScalar, RVarSingleGrid
public abstract class RVarAdapter
- extends Object
Link between datapool and R-Engine
- Author:
- stefan
Field Summary |
protected Property |
prop
|
Constructor Summary |
protected |
RVarAdapter(Property prop)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prop
protected Property prop
RVarAdapter
protected RVarAdapter(Property prop)
createFrom
public static RVarAdapter createFrom(Property obj,
boolean testOnly)
throws PropertytypeNotConvertableToRVar
- Parameters:
obj
- testOnly
- if true, than only check if Property is compatible-.. otherwise throw PropertytypeNotConvertableToRVarException
- Throws:
PropertytypeNotConvertableToRVar
isExport
public Boolean isExport()
isImport
public Boolean isImport()
getRName
public String getRName()
- Returns:
- the name of the variabl ein the R environment
setRName
public void setRName(String rname)
- Set the name that will reference the R-variable inside the RVar.
TODO: Check for doubles, name validity
- Parameters:
rname
-
getName
public String getName()
- Returns:
- the name of the object in the datapool
toR
public abstract void toR(Rengine re)
fromR
public abstract void fromR(Rengine re)