Interface EntityFieldValueFactory<T>

All Known Implementing Classes:
BinaryFieldValueFactory

public interface EntityFieldValueFactory<T>
Implement this interface and add it to the configuration point `nice2.rest.entity.EntityFieldValueFactories` to output values for certain field types in a special way. A EntityFieldValueFactory is always mapped to a specific field type. If no EntityFieldValueFactory implementation is found for a given field type, the value is gathered using `entity.getValue(fieldModel).getValue()`.
  • Method Details