Package io.jmix.core

Class FetchPlanProperty

java.lang.Object
io.jmix.core.FetchPlanProperty
All Implemented Interfaces:
Serializable

public class FetchPlanProperty extends Object implements Serializable
Defines a FetchPlan property. Each fetch plan property corresponds to a MetaProperty with the same name.
See Also:
  • Constructor Details

    • FetchPlanProperty

      public FetchPlanProperty(String name, @Nullable FetchPlan fetchPlan)
    • FetchPlanProperty

      public FetchPlanProperty(String name, @Nullable FetchPlan fetchPlan, FetchMode fetchMode)
  • Method Details

    • getName

      public String getName()
      Returns:
      property name that is a metaclass attribute name
    • getFetchPlan

      @Nullable public FetchPlan getFetchPlan()
      Returns:
      fetch plan of the property if the corresponding meta class attribute is a reference
    • getFetchMode

      public FetchMode getFetchMode()
      Returns:
      fetch mode if the property is a reference
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object