Interface DefaultDisplay
- All Known Implementing Classes:
DefaultDisplayImpl
public interface DefaultDisplay
Used to represent entities in lists, fields, tables...
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(EntityReference entity) Evaluate the value against an entity.evaluate
(EntityReference entity, DefaultDisplay.Options options) @Nullable DisplayExpression
Returns the expression as String
-
Method Details
-
evaluate
Evaluate the value against an entity. This is somewhat similar to an object's toString() method. Often it takes the current user (and his locale) into account. On evaluation failure an exception is thrown (development) or logged (production) (depending on run-env).- Parameters:
entity
- the entity- Returns:
- the value as string
-
evaluate
-
getExpression
Returns the expression as String- Returns:
- expression
-