Class QueryResultImpl.RowImpl
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.interceptor.QueryResultImpl.RowImpl
- All Implemented Interfaces:
QueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
- Enclosing class:
QueryResultImpl
protected static class QueryResultImpl.RowImpl
extends Object
implements QueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
Standard implementation of
QueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
that directly reads from / writes to the underlying Object
[]-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
RowImpl
(SelectionRegistry selectionRegistry, Object[] row) -
Method Summary
Modifier and TypeMethodDescriptiongetValueForPath
(Path path) void
If this method is called, this row will be ignored by all future calls toQueryBuilderInterceptor.SelectionInterceptor.QueryResult.findRowsWithValueAtPath(Path, Object)
boolean
void
setValueForPath
(Path path, Object value) Overwrites the query result of the givenPath
with the given value
-
Field Details
-
selectionRegistry
-
row
-
-
Constructor Details
-
RowImpl
-
-
Method Details
-
getValueForPath
- Specified by:
getValueForPath
in interfaceQueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
- Returns:
- the value of the given
Path
-
setValueForPath
Description copied from interface:QueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
Overwrites the query result of the givenPath
with the given value- Specified by:
setValueForPath
in interfaceQueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
-
ignoreRow
public void ignoreRow()Description copied from interface:QueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
If this method is called, this row will be ignored by all future calls toQueryBuilderInterceptor.SelectionInterceptor.QueryResult.findRowsWithValueAtPath(Path, Object)
- Specified by:
ignoreRow
in interfaceQueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
-
isIgnored
public boolean isIgnored()- Specified by:
isIgnored
in interfaceQueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
- Returns:
- true if this row is ignored.
-