Enum Class Context.Ancestors

java.lang.Object
java.lang.Enum<Context.Ancestors>
com.levigo.jadice.web.client.util.context.Context.Ancestors
All Implemented Interfaces:
Serializable, Comparable<Context.Ancestors>, Constable
Enclosing class:
Context

public static enum Context.Ancestors extends Enum<Context.Ancestors>
Enum used to determine whether the aggregated view includes elements of ancestor (parent, grand-parent etc.) contexts.
  • Enum Constant Details

    • NONE

      public static final Context.Ancestors NONE
      No elements from ancestor contexts are included.
    • ALL

      public static final Context.Ancestors ALL
      Elements from all ancestors are included. This doesn't however, encompass elements from ancestor's child contexts (e.g. siblings).
    • PARENT

      public static final Context.Ancestors PARENT
      Elements from the direct parent context are included. This doesn't however, encompass elements from the parent's child contexts (e.g. siblings).
    • PARENT_WITH_AGGREGATION

      public static final Context.Ancestors PARENT_WITH_AGGREGATION
      Elements from the direct parent context are included. If the parent has some form of aggregation, those ancestors or descendants (e.g. siblings, nephews) are included as well.
  • Method Details

    • values

      public static Context.Ancestors[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Context.Ancestors valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null