Class EntityDataItem

java.lang.Object
io.jmix.ui.data.impl.EntityDataItem
All Implemented Interfaces:
DataItem, DataItem.HasId, Serializable

public class EntityDataItem extends Object implements DataItem, DataItem.HasId
Chart data item, which contains an instance of an entity.
See Also:
  • Field Details

    • item

      protected final Entity item
  • Constructor Details

    • EntityDataItem

      public EntityDataItem(Entity item)
  • Method Details

    • getValue

      public Object getValue(String property)
      Returns the value of entity property with the specified property name.
      Specified by:
      getValue in interface DataItem
      Parameters:
      property - name of entity property
      Returns:
      the value of entity property with the specified property name.
    • getItem

      public Entity getItem()
      Returns:
      contained entity
    • getId

      public Object getId()
      Specified by:
      getId in interface DataItem.HasId
      Returns:
      unique identifier of DataItem