TEntity
- The type of entity.@FunctionalInterface public static interface LabelCallback.Function<TEntity>
Modifier and Type | Method and Description |
---|---|
String |
invoke(Transaction transaction,
TEntity entity)
Returns a label for the specified entity.
|
String invoke(Transaction transaction, TEntity entity)
transaction
- The transaction to use.entity
- The entity for which to retrieve a label.