Package net.splitcells.gel.data.lookup
Class LookupTableRef
- java.lang.Object
-
- net.splitcells.gel.data.lookup.LookupTable
-
- net.splitcells.gel.data.lookup.LookupTableRef
-
- All Implemented Interfaces:
net.splitcells.dem.lang.dom.Domable
,net.splitcells.dem.object.Discoverable
,Table
public class LookupTableRef extends LookupTable
-
-
Field Summary
-
Fields inherited from class net.splitcells.gel.data.lookup.LookupTable
columns, columnsView, content, name, tableView
-
Fields inherited from interface net.splitcells.gel.data.table.Table
GET_LINE_VIA_STREAM
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LookupTableRef(Table table, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Column<T>
columnView(Attribute<T> attribute)
TODO Check if types of return value andLookupTableRef
fit each other.net.splitcells.dem.data.set.list.ListView<Line>
rawLinesView()
The indexes needs to be preserved and therefore the null value gaps needs to be added as well.void
register(Line line)
TODO RENAMEvoid
removeRegistration(Line line)
TODO RENAMEElement
toDom()
-
Methods inherited from class net.splitcells.gel.data.lookup.LookupTable
base, columnsView, headerView, headerView2, linesStream, lookupEquals, lookupTable, lookupTable, lookupTable, path, rawLine, rawLines, size, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.splitcells.gel.data.table.Table
contains, distinctLines, distinctLineValues, hasContent, isEmpty, isPresent, line, lines, lookup, lookupEquals, toCSV, toFods, toHtmlTable
-
-
-
-
Method Detail
-
columnView
public <T> Column<T> columnView(Attribute<T> attribute)
TODO Check if types of return value andLookupTableRef
fit each other.- Specified by:
columnView
in interfaceTable
- Overrides:
columnView
in classLookupTable
-
rawLinesView
public net.splitcells.dem.data.set.list.ListView<Line> rawLinesView()
The indexes needs to be preserved and therefore the null value gaps needs to be added as well. TODO PERFORMANCE- Specified by:
rawLinesView
in interfaceTable
- Overrides:
rawLinesView
in classLookupTable
-
register
public void register(Line line)
TODO RENAME- Overrides:
register
in classLookupTable
-
removeRegistration
public void removeRegistration(Line line)
TODO RENAME- Overrides:
removeRegistration
in classLookupTable
-
toDom
public Element toDom()
- Specified by:
toDom
in interfacenet.splitcells.dem.lang.dom.Domable
- Overrides:
toDom
in classLookupTable
-
-