List of usage examples for com.vaadin.v7.data.sort SortOrder getPropertyId
public Object getPropertyId()
From source file:com.haulmont.cuba.web.widgets.renderers.componentrenderer.grid.ComponentPropertyGenerator.java
License:Apache License
/** * Checks if the generated property hides an existing property of the bean. * If that's the case the underlying bean-property can be used for sorting. * * @param order the sort-order//from www . j av a 2s . c om * @return true when the property of the column to be sorted hides a bean-field, false otherwise */ private boolean hidesBeanField(SortOrder order) { return typeOfRows != null && typeHasProperty((String) order.getPropertyId()); }