|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eobjects.metamodel.data.AbstractRow
public abstract class AbstractRow
An abstract row that decorates another row. Useful for virtual data that may e.g. be converting physical data etc.
| Constructor Summary | |
|---|---|
AbstractRow()
|
|
| Method Summary | |
|---|---|
protected Row |
clone()
|
boolean |
equals(Object obj)
|
protected abstract DataSetHeader |
getHeader()
|
SelectItem[] |
getSelectItems()
Gets the select items that represent the columns of the DataSet
that this row pertains to. |
Style |
getStyle(Column column)
|
Style |
getStyle(SelectItem item)
|
Style[] |
getStyles()
|
Row |
getSubSelection(DataSetHeader header)
Creates a row similar to this one but only with a subset of the values. |
Row |
getSubSelection(SelectItem[] selectItems)
Creates a row similar to this one but only with a subset of the values. |
Object |
getValue(Column column)
Shorthand method for getting the value of a SelectItem based on the provided column. |
Object |
getValue(SelectItem item)
Gets the value of the provided SelectItem. |
Object[] |
getValues()
Gets the values of the row, represented as an object array |
int |
hashCode()
|
int |
indexOf(Column column)
Gets the index of a Column in the row. |
int |
indexOf(SelectItem item)
Gets the index of a SelectItem in the row. |
int |
size()
Gets the amount of values/columns/select items represented in this row. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eobjects.metamodel.data.Row |
|---|
getStyle, getValue |
| Constructor Detail |
|---|
public AbstractRow()
| Method Detail |
|---|
protected abstract DataSetHeader getHeader()
public final int hashCode()
hashCode in class Objectpublic final boolean equals(Object obj)
equals in class Objectpublic final String toString()
toString in class Objectpublic final Object getValue(SelectItem item)
Row
getValue in interface Rowpublic final Style getStyle(SelectItem item)
getStyle in interface Rowpublic final Style getStyle(Column column)
getStyle in interface Rowpublic Object[] getValues()
Row
getValues in interface Rowpublic final Object getValue(Column column)
Row
getValue in interface Rowpublic final int indexOf(SelectItem item)
Row
indexOf in interface Rowitem - the item to get the index of
public final int indexOf(Column column)
Row
indexOf in interface Rowcolumn - the column to get the index of
public Row getSubSelection(SelectItem[] selectItems)
Row
getSubSelection in interface RowselectItems - the select items (~ columns) to sub-select the row with
public final SelectItem[] getSelectItems()
RowDataSet
that this row pertains to.
getSelectItems in interface Rowpublic final int size()
Row
size in interface Rowpublic Style[] getStyles()
getStyles in interface Rowprotected Row clone()
clone in class Objectpublic final Row getSubSelection(DataSetHeader header)
Row
getSubSelection in interface Rowheader - the new header to sub-select the row with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||