Interface DefaultDisplay

All Known Implementing Classes:
DefaultDisplayImpl

public interface DefaultDisplay
Used to represent entities in lists, fields, tables...
  • Method Details

    • evaluate

      String evaluate(EntityReference entity)
      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

      String evaluate(EntityReference entity, DefaultDisplay.Options options)
    • getExpression

      @Nullable @Nullable DisplayExpression getExpression()
      Returns the expression as String
      Returns:
      expression