Enum VisitorConfig

java.lang.Object
java.lang.Enum<VisitorConfig>
com.querydsl.apt.VisitorConfig
All Implemented Interfaces:
Serializable, Comparable<VisitorConfig>, java.lang.constant.Constable

public enum VisitorConfig extends Enum<VisitorConfig>
VisitorConfig defines the EntityType-specific visiting configuration
Author:
tiwe
  • Enum Constant Details

    • ALL

      public static final VisitorConfig ALL
      visit both fields and getters
    • FIELDS_ONLY

      public static final VisitorConfig FIELDS_ONLY
      visit fields only
    • METHODS_ONLY

      public static final VisitorConfig METHODS_ONLY
      visit methods only
    • NONE

      public static final VisitorConfig NONE
      visit none
  • Method Details

    • values

      public static VisitorConfig[] 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 VisitorConfig 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
    • get

      public static VisitorConfig get(boolean fields, boolean methods)
    • get

      public static VisitorConfig get(boolean fields, boolean methods, VisitorConfig defaultConfig)
    • visitConstructors

      public boolean visitConstructors()
    • visitFieldProperties

      public boolean visitFieldProperties()
    • visitMethodProperties

      public boolean visitMethodProperties()