Package io.jmix.core

Interface EntityAttributeVisitor

All Known Implementing Classes:
AbstractSingleValueHolder.SingleValuePropertyVisitor, CollectionValuePropertyHolder.CollectionValuePropertyVisitor

public interface EntityAttributeVisitor
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    skip(MetaProperty property)
    Optionally indicates, whether the property has to be visited
    void
    visit(Object entity, MetaProperty property)
    Visits an entity attribute.
  • Method Details

    • visit

      void visit(Object entity, MetaProperty property)
      Visits an entity attribute.
      Parameters:
      entity - entity instance
      property - meta-property pointing to the visited attribute
    • skip

      default boolean skip(MetaProperty property)
      Optionally indicates, whether the property has to be visited
      Parameters:
      property - meta-property that is about to be visited
      Returns:
      false if the property has to be visited