Package com.walkfares.odsl.var.matrix
Class VarSpreadsheet
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.var.matrix.VarSpreadsheet
- All Implemented Interfaces:
DynamicVar
,Var
public class VarSpreadsheet extends BaseVar implements Var, DynamicVar
-
Constructor Summary
Constructors Constructor Description VarSpreadsheet()
-
Method Summary
Modifier and Type Method Description Var
_clone()
void
add(int column, int row, double value)
void
add(int column, int row, Var value)
void
add(int column, int row, String value)
Var
applyChanges(Var update)
VarTable
asTable()
Var
get(int column, int row)
Var
get(String cell)
VarList
getCells()
String
getId()
DynamicProperties
getProperties()
VarType
getType()
Var
range(String range)
int
rowSize()
Var
set_Id(String id)
int
size()
String
toName(int number)
int
toNumber(String name)
VarSpreadsheet
withCells(List<VarCell> cells)
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, getLinks, getTypeName, getUID, setLinks, toString, tryConvert
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.walkfares.odsl.var.Var
DATE, DATE_NULL, DYNAMIC, getReference, getTypeName, getUID, isEmpty, LIST, SCALAR, setId, tryConvert
-
Constructor Details
-
VarSpreadsheet
public VarSpreadsheet()
-
-
Method Details
-
withCells
-
asTable
-
size
public int size() -
rowSize
public int rowSize() -
add
-
add
public void add(int column, int row, double value) -
add
-
get
-
get
- Specified by:
get
in interfaceDynamicVar
-
range
-
getCells
-
getType
-
getId
-
set_Id
-
_clone
-
applyChanges
- Specified by:
applyChanges
in interfaceVar
- Overrides:
applyChanges
in classBaseVar
-
getProperties
- Specified by:
getProperties
in interfaceDynamicVar
-
toNumber
-
toName
-