Class ParentItemPropertyColumn
- java.lang.Object
-
- net.sf.basedb.clients.web.extensions.list.AbstractListColumnBean<Annotatable,Object>
-
- net.sf.basedb.clients.web.extensions.list.ParentItemColumn
-
- net.sf.basedb.clients.web.extensions.list.ParentItemPropertyColumn
-
- All Implemented Interfaces:
ListColumnAction<Annotatable,Object>
,Action
public class ParentItemPropertyColumn extends ParentItemColumn
Parent item column that get values from parent items by specifying a "property path". SeeMetadata
.- Since:
- 3.16
- Author:
- nicklas
-
-
Field Summary
Fields Modifier and Type Field Description private Metadata.PropertyPath<? super Annotatable,?>
property
-
Constructor Summary
Constructors Constructor Description ParentItemPropertyColumn(int index, String id, Filter<Annotatable> filter, ParentItemHelper helper, Metadata.PropertyPath<? super Annotatable,?> property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValue(ParentItemHelper helper, Annotatable item)
Alternate implementation for loading data.-
Methods inherited from class net.sf.basedb.clients.web.extensions.list.ParentItemColumn
create, getExportValue, getParentItems, getValue
-
Methods inherited from class net.sf.basedb.clients.web.extensions.list.AbstractListColumnBean
getClazz, getEnumeration, getExportFormatter, getExportProperty, getFilterProperty, getFormatter, getId, getProperty, getSortProperty, getStyle, getTitle, getTooltip, getValueType, isExportable, isFilterable, isSortable, setClazz, setEnumeration, setExportable, setExportFormatter, setExportProperty, setFilterable, setFilterProperty, setFormatter, setId, setProperty, setSortable, setSortProperty, setStyle, setTitle, setTooltip, setValueType
-
-
-
-
Field Detail
-
property
private final Metadata.PropertyPath<? super Annotatable,?> property
-
-
Constructor Detail
-
ParentItemPropertyColumn
ParentItemPropertyColumn(int index, String id, Filter<Annotatable> filter, ParentItemHelper helper, Metadata.PropertyPath<? super Annotatable,?> property)
-
-
Method Detail
-
getValue
public Object getValue(ParentItemHelper helper, Annotatable item)
Description copied from class:ParentItemColumn
Alternate implementation for loading data.- Specified by:
getValue
in classParentItemColumn
-
-