Skip to content

Instantly share code, notes, and snippets.

@christiangoudreau
Last active December 16, 2015 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christiangoudreau/5514167 to your computer and use it in GitHub Desktop.
Save christiangoudreau/5514167 to your computer and use it in GitHub Desktop.
@ColumnsDefinition(definitionFor = RatingDto.class)
public interface RatingColumnsDefinition extends ColumnInitializer<RatingDto> {
@Column(cellType = NumberCell.class, cellReturnType = Number.class, headerName = "ID")
String getId();
@Column(cellType = TextCell.class, cellReturnType = String.class, headerName = "Car")
String toString();
@Column(cellType = NumberCell.class, cellReturnType = Number.class, headerName = "Rating")
String getRating();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment