Enum EObjectGraphVisitResult

java.lang.Object
java.lang.Enum<EObjectGraphVisitResult>
de.xima.fc.mdl.enums.EObjectGraphVisitResult
All Implemented Interfaces:
Serializable, Comparable<EObjectGraphVisitResult>

public enum EObjectGraphVisitResult extends Enum<EObjectGraphVisitResult>
Result returned by IObjectGraphVisitor that indicates how the visit should proceed.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Enum Constant Details

    • ACCEPT

      public static final EObjectGraphVisitResult ACCEPT
      This result indicates that the visit should descend into the children of the currently visited field's value (when it is a list or map etc.).
    • COMPLETE

      public static final EObjectGraphVisitResult COMPLETE
      This result indicates that the visit should be terminated and no more field should be visited.
    • REJECT

      public static final EObjectGraphVisitResult REJECT
      This result indicates that the visit should continue, but should skip the currently the children of the currently visited field's value.
  • Method Details

    • values

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

      public static EObjectGraphVisitResult valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null