Interface SystemViewRowAttributeWalker<R>
-
public interface SystemViewRowAttributeWalker<R>
Utility class for quick iteration over row properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SystemViewRowAttributeWalker.AttributeVisitor
Attribute visitor.static interface
SystemViewRowAttributeWalker.AttributeWithValueVisitor
Attribute visitor.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
count()
default List<String>
filtrableAttributes()
void
visitAll(SystemViewRowAttributeWalker.AttributeVisitor visitor)
Calls visitor for each row attribute.void
visitAll(R row, SystemViewRowAttributeWalker.AttributeWithValueVisitor visitor)
Calls visitor for each row attribute.
-
-
-
Method Detail
-
count
int count()
- Returns:
- Count of a row properties.
-
visitAll
void visitAll(SystemViewRowAttributeWalker.AttributeVisitor visitor)
Calls visitor for each row attribute.- Parameters:
visitor
- Attribute visitor.
-
visitAll
void visitAll(R row, SystemViewRowAttributeWalker.AttributeWithValueVisitor visitor)
Calls visitor for each row attribute. Value of the attribute also provided.- Parameters:
row
- Row to iterate.visitor
- Attribute visitor.
-
-